CN105548704B - The method and system of fine setting frequency reference sequence is obtained from electric power signal - Google Patents

The method and system of fine setting frequency reference sequence is obtained from electric power signal Download PDF

Info

Publication number
CN105548704B
CN105548704B CN201510891587.4A CN201510891587A CN105548704B CN 105548704 B CN105548704 B CN 105548704B CN 201510891587 A CN201510891587 A CN 201510891587A CN 105548704 B CN105548704 B CN 105548704B
Authority
CN
China
Prior art keywords
sequence
electric power
power signal
frequency
initial phase
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.)
Active
Application number
CN201510891587.4A
Other languages
Chinese (zh)
Other versions
CN105548704A (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.)
Guangzhou Yueneng Electric Technology Development Co Ltd
Original Assignee
Guangzhou Yueneng Electric Technology Development Co Ltd
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 Guangzhou Yueneng Electric Technology Development Co Ltd filed Critical Guangzhou Yueneng Electric Technology Development Co Ltd
Priority to CN201510891587.4A priority Critical patent/CN105548704B/en
Publication of CN105548704A publication Critical patent/CN105548704A/en
Application granted granted Critical
Publication of CN105548704B publication Critical patent/CN105548704B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/16Spectrum analysis; Fourier analysis
    • G01R23/165Spectrum analysis; Fourier analysis using filters
    • G01R23/167Spectrum analysis; Fourier analysis using filters with digital filters

Landscapes

  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • General Physics & Mathematics (AREA)
  • Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
  • Testing Relating To Insulation (AREA)

Abstract

The invention discloses a kind of method and system that fine setting frequency reference sequence is obtained from electric power signal, methods described includes:Obtain electric power signal preliminary sequence length and preliminary sequence;Enter line frequency preliminary survey to preliminary sequence, set reference frequency;Electric power signal unit period sequence length and predetermined sequence length are obtained, further obtains first positive/anti-pleat sequence;Averagely initial phase is obtained for the first time according to first positive/anti-pleat sequence;Further according to first averagely initial phase and the first phase fiducial value of ± π/4 and new starting point obtain again positive/anti-pleat sequence, be averaged initial phase again;According to positive/anti-pleat sequence again, be averaged initial phase again, obtain zero initial phase benchmark it is remaining/SIN function modulation sequence, the multiplication sequence of first/second/the 3rd/the 4th is further obtained, fine setting frequency reference sequence is finally obtained according to the multiplication sequence of first/second/the 3rd/the 4th.The present invention improves the degree of accuracy that sine parameter calculates, and is adapted to application.

Description

The method and system of fine setting frequency reference sequence is obtained from electric power signal
Technical field
The present invention relates to technical field of electric power, obtains fine setting frequency reference sequence from electric power signal more particularly to one kind Method and system.
Background technology
The frequency measurement of power system, phase measurement, amplitude measurement etc. are the measurement of sine parameter in itself.Quickly Fourier transformation and discrete Fourier transform are to realize the basic skills of sine parameter measurement, widely should be had in power system With.But the above method blocks in the non-integer of signal sampling process, cause spectrum leakage, and spectrum leakage can produce phase The error answered.
In terms of power system sine parameter measurement, there are many measuring methods, repaiied such as adding window mouth functional based method, using interpolation Correction method etc., reduce the influence of spectrum leakage problem.But above-mentioned measuring method measurement accuracy is low, it is being not suitable for high accuracy just The measurement of string parameter.
The content of the invention
Based on the above situation, the present invention propose a kind of method that fine setting frequency reference sequence is obtained from electric power signal and System, improve the degree of accuracy of sine parameter measurement.
To achieve these goals, the embodiment of technical solution of the present invention is:
A kind of method that fine setting frequency reference sequence is obtained from electric power signal, comprises the following steps:
According to the lower limit of frequency power signal scope, preset sample frequency and default integer signal period number, described in acquisition The preliminary sequence length of electric power signal;
The electric power signal is sampled according to the preliminary sequence length, obtains the preliminary sequence of the electric power signal Row;
Line frequency preliminary survey is entered to the preliminary sequence, generates the preliminary frequency of the electric power signal, and according to described preliminary The reference frequency of electric power signal described in frequency setting;
According to the preset sample frequency and the reference frequency, the unit period sequence for obtaining the electric power signal is grown Degree;
According to the default integer signal period number and the unit period sequence length, the pre- of the electric power signal is obtained If sequence length, the predetermined sequence length is odd number;
According to default starting point and the predetermined sequence length, the first of the electric power signal is obtained from the preliminary sequence Secondary positive sequence;
The first anti-pleat sequence of the electric power signal is obtained according to the first positive sequence;
The first positive phase of the electric power signal is obtained according to the first positive sequence, and according to the first anti-pleat sequence Row obtain the first antiphase of the electric power signal;
The initial phase that is averaged for the first time of the electric power signal is obtained according to the first positive phase and the first antiphase;
By the averagely initial phase for the first time compared with ± π/4, the first phase bit comparison compared with ± π/4 is obtained Value, and according to the first phase fiducial value and the default starting point, obtain new starting point;
According to the new starting point and the predetermined sequence length, the electric power signal is obtained from the preliminary sequence Positive sequence again, and according to the pleat sequence anti-again of the positive sequence acquisition again electric power signal;
The positive phase again of the electric power signal is obtained according to the sequence positive again, and according to the pleat sequence anti-again Row obtain the antiphase again of the electric power signal;
The initial phase that is averaged again of the electric power signal is obtained according to the positive phase again and the antiphase again;
Will described in again positive sequence be added with the pleat sequence anti-again, and according to the result after addition and it is described again Average initial phase, obtain the cosine function modulation sequence of the electric power signal;
The sequence positive again and the pleat sequence anti-again are subtracted each other, and according to the result after subtracting each other and it is described again Average initial phase, obtain the SIN function modulation sequence of the electric power signal;
Exported from the cosine function modulation sequence central point, obtain zero initial phase benchmark cosine letter of the electric power signal Number modulation sequence;Exported from the SIN function modulation sequence central point, obtaining zero initial phase benchmark of the electric power signal just String FUNCTION MODULATION sequence;
The discrete sine function of default fine setting frequency is multiplied with the zero initial phase benchmark cosine function modulation sequence and obtained The first multiplication sequence of the electric power signal is obtained, by the discrete cosine function of the default fine setting frequency and the zero initial phase base Quasi sinusoids modulation sequence, which is multiplied, obtains the second multiplication sequence of the electric power signal, by the discrete sine of default fine setting frequency Function is multiplied with the zero initial phase reference sinusoidal FUNCTION MODULATION sequence obtains the 3rd multiplication sequence of the electric power signal, by institute The discrete cosine function for stating default fine setting frequency is multiplied the acquisition electricity with the zero initial phase benchmark cosine function modulation sequence 4th multiplication sequence of force signal;
Second multiplication sequence is added with first multiplication sequence, it is high-frequency to obtain carrying for the electric power signal The zero initial phase reference sinusoidal sequence of function;Second multiplication sequence and first multiplication sequence are subtracted each other, obtain the electricity The low-frequency zero initial phase reference sinusoidal sequence of function of drop of force signal;By the 4th multiplication sequence and the 3rd multiplication sequence Row subtract each other, and obtain the electric power signal puies forward high-frequency zero initial phase benchmark cosine function sequence;By the 4th multiplication sequence Row are added with the 3rd multiplication sequence, obtain the low-frequency zero initial phase benchmark cosine function sequence of drop of the electric power signal Row.
A kind of system that fine setting frequency reference sequence is obtained from electric power signal, including:
Preliminary sequence length modules, for the lower limit according to frequency power signal scope, preset sample frequency and preset whole Number signal period number, obtain the preliminary sequence length of the electric power signal;
Preliminary sequence module, for being sampled according to the preliminary sequence length to the electric power signal, described in acquisition The preliminary sequence of electric power signal;
Frequency preliminary survey module, for entering line frequency preliminary survey to the preliminary sequence, generate the first cadence of the electric power signal Rate, and according to the reference frequency of the preliminary frequency setting electric power signal;
Unit period sequence length module, for according to the preset sample frequency and the reference frequency, described in acquisition The unit period sequence length of electric power signal;
Predetermined sequence length modules, for according to the default integer signal period number and unit period sequence length Degree, obtains the predetermined sequence length of the electric power signal, the predetermined sequence length is odd number;
First positive block, for the default starting point of basis and the predetermined sequence length, from the preliminary sequence The middle first positive sequence for obtaining the electric power signal;
First anti-pleat block, for obtaining the first anti-pleat sequence of the electric power signal according to the first positive sequence Row;
First phase module, for obtaining the first positive phase of the electric power signal according to the first positive sequence, and The first antiphase of the electric power signal is obtained according to the first anti-pleat sequence;
Be averaged initial phase module for the first time, for obtaining the electric power according to the first positive phase and the first antiphase The initial phase that is averaged for the first time of signal;
Phase bits comparison module, for the averagely initial phase for the first time compared with ± π/4, to be obtained and ± π/4 The first phase fiducial value compared, and according to the first phase fiducial value and the default starting point, obtain new starting point;
Block again, for according to the new starting point and the predetermined sequence length, from the preliminary sequence The sequence positive again of the electric power signal is obtained, and the anti-again of the electric power signal is obtained according to the sequence positive again Pleat sequence;
Phase module again, for the positive phase again according to the positive sequence acquisition again electric power signal, and The antiphase again of the electric power signal is obtained according to the pleat sequence anti-again;
Be averaged initial phase module again, for positive phase and the antiphase again to obtain the electric power again according to The initial phase that is averaged again of signal;
Cosine function modulation sequence module, for will described in again positive sequence be added with the pleat sequence anti-again, and According to the result after addition and the initial phase that is averaged again, the cosine function modulation sequence of the electric power signal is obtained;
SIN function modulation sequence module, for the sequence positive again and the pleat sequence anti-again to be subtracted each other, and According to the result after subtracting each other and the initial phase that is averaged again, the SIN function modulation sequence of the electric power signal is obtained;
Reference function modulation sequence module, for being exported from the cosine function modulation sequence central point, obtain the electricity Zero initial phase benchmark cosine function modulation sequence of force signal;Exported from the SIN function modulation sequence central point, obtain institute State zero initial phase reference sinusoidal FUNCTION MODULATION sequence of electric power signal;
Multiplication sequence module, for by discrete sine function and the zero initial phase benchmark cosine letter of default fine setting frequency Number modulation sequence, which is multiplied, obtains the first multiplication sequence of the electric power signal, by the discrete cosine function of the default fine setting frequency It is multiplied with the zero initial phase reference sinusoidal FUNCTION MODULATION sequence and obtains the second multiplication sequence of the electric power signal, will be default micro- The discrete sine function of frequency modulation rate is multiplied with the zero initial phase reference sinusoidal FUNCTION MODULATION sequence obtains the electric power signal 3rd multiplication sequence, the discrete cosine function of the default fine setting frequency is modulated into sequence with the zero initial phase benchmark cosine function Row, which are multiplied, obtains the 4th multiplication sequence of the electric power signal;
Frequency reference block is finely tuned, for second multiplication sequence to be added with first multiplication sequence, is obtained Obtain the electric power signal puies forward the high-frequency zero initial phase reference sinusoidal sequence of function;By second multiplication sequence and described the One multiplication sequence subtracts each other, and obtains the low-frequency zero initial phase reference sinusoidal sequence of function of drop of the electric power signal;By described Four multiplication sequences subtract each other with the 3rd multiplication sequence, and obtain the electric power signal carries high-frequency zero initial phase benchmark cosine The sequence of function;4th multiplication sequence is added with the 3rd multiplication sequence, obtains the reduction frequency of the electric power signal Zero initial phase benchmark cosine function sequence.
Compared with prior art, beneficial effects of the present invention are:The present invention obtains fine setting frequency reference from electric power signal The method and system of sequence, according to the lower limit of frequency power signal scope, preset sample frequency and preliminary design integer signal period number, Preliminary sequence length is obtained, and electric power signal is tentatively sampled, obtains preliminary sequence;At the beginning of entering line frequency to preliminary sequence Survey, generate preliminary frequency, set reference frequency;According to preset sample frequency and reference frequency, unit period sequence length is obtained; According to default integer signal period number and unit period sequence length, predetermined sequence length is obtained;Obtained from preliminary sequence just Secondary positive sequence, further obtain first anti-pleat sequence;First positive is obtained according to first positive sequence, first anti-pleat sequence Position, first antiphase, further obtain for the first time averagely initial phase;First phase fiducial value is obtained compared with ± π/4, enters one Step obtains new starting point;According to new starting point and predetermined sequence length, positive sequence, again anti-pleat sequence again are obtained, enters one Step obtain again positive phase, again antiphase, again be averaged initial phase;According to positive phase again, again antiphase, average again Initial phase obtains cosine function modulation sequence, SIN function modulation sequence;Export, obtain from cosine function modulation sequence central point Zero initial phase benchmark cosine function modulation sequence, exported from SIN function modulation sequence central point, obtaining zero initial phase benchmark just String FUNCTION MODULATION sequence;According to default fine setting frequency, zero initial phase benchmark cosine function modulation sequence, zero initial phase reference sinusoidal FUNCTION MODULATION sequence obtains fine setting frequency reference sequence, by the fundamental frequency of fine adjustment signal sequence, can be achieved to fundamental signal Number of cycles block, with the amplitude maximum of fundamental wave component in electric power signal, solve the number of cycles truncated problem of fundamental signal, The degree of accuracy of sine parameter calculating is improved, is adapted to practical application.
Brief description of the drawings
Fig. 1 is the method flow diagram for obtaining fine setting frequency reference sequence in one embodiment from electric power signal;
Fig. 2 is first positive sequence and first anti-pleat sequence diagram in one embodiment;
Fig. 3 is zero initial phase datum mark schematic diagram in one embodiment;
Fig. 4 is the system structure diagram for obtaining fine setting frequency reference sequence in one embodiment from electric power signal.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into One step it is described in detail.
Although the step in the present invention is arranged with label, it is not used to limit the precedence of step, unless It specify that the order of step or based on the execution of certain step needs other steps, otherwise the relative rank of step is It is adjustable.
The method for obtaining fine setting frequency reference sequence in one embodiment from electric power signal, as shown in figure 1, including following Step:
Step S101:According to the lower limit of frequency power signal scope, preset sample frequency and default integer signal period number, Obtain the preliminary sequence length of the electric power signal;
Step S102:The electric power signal is sampled according to the preliminary sequence length, obtains the electric power signal Preliminary sequence;
Step S103:Line frequency preliminary survey is entered to the preliminary sequence, generates the preliminary frequency of the electric power signal, and according to The preliminary frequency sets the reference frequency of the electric power signal;
Step S104:According to the preset sample frequency and the reference frequency, the unit for obtaining the electric power signal is all Phase sequence length;
Step S105:According to the default integer signal period number and the unit period sequence length, the electricity is obtained The predetermined sequence length of force signal, the predetermined sequence length are odd number;
Step S106:According to default starting point and the predetermined sequence length, the electricity is obtained from the preliminary sequence The first positive sequence of force signal;
Step S107:The first anti-pleat sequence of the electric power signal is obtained according to the first positive sequence;
Step S108:The first positive phase of the electric power signal is obtained according to the first positive sequence, and according to described First anti-pleat sequence obtains the first antiphase of the electric power signal;
Step S109:The first average of the electric power signal is obtained according to the first positive phase and the first antiphase Initial phase;
Step S110:By the averagely initial phase for the first time compared with ± π/4, obtain first compared with ± π/4 Secondary phase fiducial value, and according to the first phase fiducial value and the default starting point, obtain new starting point;
Step S111:According to the new starting point and the predetermined sequence length, obtained from the preliminary sequence described The sequence positive again of electric power signal, and according to the pleat sequence anti-again of the positive sequence acquisition again electric power signal;
Step S112:The positive phase again of the electric power signal is obtained according to the sequence positive again, and according to described Anti- pleat sequence obtains the antiphase again of the electric power signal again;
Step S113:The average again of the electric power signal is obtained according to the positive phase again and the antiphase again Initial phase;
Step S114:Positive sequence is added with the pleat sequence anti-again again by described in, and according to the result after addition With the initial phase that is averaged again, the cosine function modulation sequence of the electric power signal is obtained;
Step S115:The sequence positive again and the pleat sequence anti-again are subtracted each other, and according to the result after subtracting each other With the initial phase that is averaged again, the SIN function modulation sequence of the electric power signal is obtained;
Step S116:Exported from the cosine function modulation sequence central point, obtain zero initial phase of the electric power signal Benchmark cosine function modulation sequence;Exported from the SIN function modulation sequence central point, at the beginning of obtain the electric power signal zero Phase reference SIN function modulation sequence;
Step S117:By the discrete sine function of default fine setting frequency and zero initial phase benchmark cosine function modulation sequence Row, which are multiplied, obtains the first multiplication sequence of the electric power signal, by the discrete cosine function and described zero of the default fine setting frequency Initial phase reference sinusoidal FUNCTION MODULATION sequence, which is multiplied, obtains the second multiplication sequence of the electric power signal, by default fine setting frequency Discrete sine function is multiplied with the zero initial phase reference sinusoidal FUNCTION MODULATION sequence obtains the 3rd multiplication of the electric power signal Sequence, the discrete cosine function of the default fine setting frequency is multiplied with the zero initial phase benchmark cosine function modulation sequence and obtained Obtain the 4th multiplication sequence of the electric power signal;
Step S118:Second multiplication sequence is added with first multiplication sequence, obtains the electric power signal Put forward the high-frequency zero initial phase reference sinusoidal sequence of function;Second multiplication sequence and first multiplication sequence are subtracted each other, Obtain the low-frequency zero initial phase reference sinusoidal sequence of function of drop of the electric power signal;By the 4th multiplication sequence with it is described 3rd multiplication sequence subtracts each other, and obtain the electric power signal puies forward high-frequency zero initial phase benchmark cosine function sequence;By described in 4th multiplication sequence is added with the 3rd multiplication sequence, more than the low-frequency zero initial phase benchmark of drop for obtaining the electric power signal The string sequence of function.
It is evidenced from the above discussion that the present invention obtains fine setting frequency reference sequence, the degree of accuracy that sine parameter calculates is improved, it is real Border application value is high.
Wherein, the electric power signal is the sinusoidal signal based on a kind of fundamental wave component.Sinusoidal signal extensively refers to SIN function letter Number and cosine function signal.
In one embodiment, power system frequency scope is in 45Hz-55Hz, power taking force signal lower-frequency limit fminFor 45Hz;According to being actually needed, the default integer signal period number C is set, in one embodiment, take CFor 13.
In one embodiment, for step S101, it is formula (1) to obtain the preliminary sequence length:
In formula, NstartFor preliminary sequence length;(int) represent to round;CTo preset integer signal period number;fminFor electricity The lower limit of force signal frequency range, unit Hz;F is preset sample frequency, unit Hz.
In one embodiment, the electric power signal is the cosine function signal of single fundamental frequency, for step S102, is obtained The preliminary sequence for obtaining the electric power signal is formula (2):
Wherein, Xstart(n) it is the preliminary sequence;A is signal amplitude, unit v;ωiFor signal frequency, T is between sampling Every the time, f is preset sample frequency, and unit Hz, n are series of discrete number,For preliminary sequence initial phase, NstartFor preliminary sequence Length.
For step S103, can by zero hand over method, the algorithm based on filtering, based on Wavelet Transformation Algorithm, based on nerve net The algorithm of network, the frequency algorithm based on DFT transform or at the beginning of entering line frequency to the preliminary sequence based on the frequency algorithm of phase difference Survey, obtain the preliminary frequency.
In one embodiment, it is formula (3) to generate the preliminary frequency:ωo(3);
Preferably, the reference frequency is formula (4) equal to the preliminary frequency:ωso(4);
Wherein, ωsFor reference frequency, ωoFor preliminary frequency.
In one embodiment, for step S104, the unit period sequence length for obtaining the electric power signal is formula (5):
In formula, NFor the unit period sequence length;(int) it is round numbers;F is preset sample frequency.
The error in 1 sampling interval be present in the unit period sequence length integer.
In one embodiment, for step S105, it is formula (6) to obtain the predetermined sequence length:
Wherein, N is predetermined sequence length, CFor default integer signal period number, N is odd number.
In one embodiment, 0.5 times that starting point is the unit period sequence length is preset;
In one embodiment, for step S106, it is formula (7) to obtain the first positive sequence:
Pstart=(int) (0.5N) (7);
N=0,1,2 ..., N-1
Wherein, Xstart(n) it is preliminary sequence, X+start(n) it is first positive sequence, PstartDefault starting point, n is sequence Dispersion number,For first positive sequence initial phase.First positive sequence pattern expression, shown in Fig. 2.
In one embodiment, for step S107, it is formula (8) to obtain first anti-pleat sequence:
Wherein, X-start(- n) is first anti-pleat sequence, X+start(n) it is first positive sequence, β 1 is first anti-pleat sequence Initial phase, N predetermined sequence length.The avatars of the first anti-pleat sequence, as shown in Figure 2.
In one embodiment, first positive phase and first antiphase are the results based on orthogonal mixing and integral and calculating, When not considering the mixing interfering frequency of orthogonal mixing, orthogonal mixing is expressed as formula (9), and integral and calculating is expressed as formula (10):
Ω=ωisN=0,1,2 ..., N-1
Wherein, R+start(n) it is first positive real frequency mixing sequence, I+start(n) sequence, R are mixed for first weakened body resistance frequency-start (- n) is that first anti-real frequency is mixed sequence, I-start(- n) is that first anti-empty frequency is mixed sequence, cos (ωs) or cos (- ω TnsTn) For the discrete cosine function of reference frequency, sin (ωs) or sin (- ω TnsTn) it is for the discrete sine function of reference frequency, Ω Signal frequency ωiWith reference frequency ωsFrequency difference, ωiFor signal frequency.
N=0,1,2 ..., N-1
In formula, R+startFirst just real frequency integrated value, unit dimensionless, I+startFor first weakened body resistance frequency integrated value, unit without Dimension, R-startFor first anti-real frequency integrated value, unit dimensionless, I-startIt is immeasurable for first anti-empty frequency mixing integrated value, unit Guiding principle.
In one embodiment, for step S108, it is formula (11) to obtain first positive phase and first antiphase:
In formula, PH+startFor first positive phase, PH-startFor first antiphase.
In one embodiment, for step S109, the expression formula for obtaining first averagely initial phase is (12):
In formula, PHstart-avgFor the initial phase that is averaged for the first time.
In one embodiment, for step S110, by initial phase and the PH of being averaged for the first timestart-avgCarried out with ± π/4 Compare for formula (13):
In formula, Δ PHcomFor first phase fiducial value, unit rad, PHstart-avgFor the initial phase that is averaged for the first time.
In one embodiment, it is formula (14) to obtain the new starting point:
In formula, PnewFor new starting point, unit dimensionless, PstartTo preset starting point, Δ PHcomFor first phase bit comparison Value.
In one embodiment, for step S111, positive sequence and anti-pleat sequence is formula (15) again again:
X-end(- n)=X+end(N-n)=Acos (- ωiTn+β2) (15);
N=0,1,2 ..., N-1
In formula, X+end(n) it is positive sequence again, X-end(- n) is anti-pleat sequence again,For at the beginning of positive sequence again Phase, β 2 are anti-pleat sequence initial phase again, ωiFor signal frequency, T is sampling interval duration.
In one embodiment, again positive phase and again antiphase be based on it is orthogonal mixing and digital filtering calculate knot Fruit.The digital filtering is made up of 6 grades of rectangular window arithmetic mean filters of 2 kinds of filtering parameters.
When not considering the mixing interfering frequency of orthogonal mixing, orthogonal mixing is expressed as formula (16), and the 6 of 2 kinds of filtering parameters Level rectangular window arithmetic mean filter filtering calculation expression is formula (17):
Ω=ωis
N=0,1,2 ..., N-1
In formula, R+end(n) it is positive real frequency mixing sequence again, I+end(n) sequence, R are mixed for weakened body resistance frequency again-end(-n) For anti-real frequency mixing sequence again, I-end(- n) is mixed sequence, cos (ω for anti-empty frequency agains) or cos (- ω TnsTn it is) ginseng Examine the discrete cosine function of frequency, sin (ωs) or sin (- ω TnsTn it is) discrete sine function of reference frequency.
ND=3ND1+3ND2
ND≤N
N=0,1,2 ..., ND-1
In formula, R+endFor just real frequency digital filtering final value again, unit dimensionless;I+endFor weakened body resistance frequency digital filtering again Final value, unit dimensionless;R-endFor anti-digital filtering final value again, unit dimensionless;I-endIt is whole for anti-empty frequency digital filtering again Value, unit dimensionless;K (Ω) is digital filtering in frequency difference Ω amplitude gain, unit dimensionless;ND1For filtering parameter 1, i.e., pair ND1Individual continuous centrifugal pump is added, and then takes its arithmetic mean of instantaneous value to be exported as this filter value;ND2For filtering parameter 2, i.e., to ND2 Individual continuous centrifugal pump is added, and then takes its arithmetic mean of instantaneous value to be exported as this filter value;NDGrown for digital filtering using sequence Spend, be the summation of 6 grades of rectangular window arithmetic mean filter filtering parameters in quantity, less than or equal to predetermined sequence length N.
In one embodiment, filtering parameter ND1Value is 1.5 times of the unit period sequence length of the reference frequency, Purpose carries out depth suppression to being mixed interfering frequency caused by 1/3 subharmonic;Filtering parameter ND2Value is the reference frequency 2 times of unit period sequence length, purpose carries out depth to being mixed interfering frequency caused by direct current, 1/2 gradation, subharmonic etc. Suppress.6 grades of rectangular window arithmetic mean filters filtering of 2 kinds of filtering parameters, which calculates, needs to use signal period sequence length 10.5 times.
Filtering parameter ND1With filtering parameter ND2Expression formula is formula (18):
In formula, ND1For digital filter parameters 1, unit dimensionless, (int) is round numbers, ND2It is single for digital filter parameters 2 Position dimensionless, NFor unit periodic sequence length.
In one embodiment, for step S112, positive phase and antiphase expression formula is (19) again again:
In formula, PH+endFor positive phase again, PH-endFor antiphase again, R+endFor just real frequency integrated value again, unit without Dimension, I+endFor weakened body resistance frequency integrated value again, unit dimensionless, R-endFor anti-real frequency integrated value again, unit dimensionless, I-end For anti-empty frequency mixing integrated value again, unit dimensionless, NDSequence length is used for digital filtering,For positive sequence again Initial phase, β 2 are anti-pleat sequence initial phase again.
In one embodiment, for step S113, the expression formula for obtaining the initial phase that is averaged again is (20):
PH in formulaend-avgFor the initial phase that is averaged again, PH+endFor positive phase again, PH-endFor antiphase again.
In one embodiment, for step S114, it is (21) to obtain cosine function modulation sequence expression formula:
In formula, Xcos(n) it is cosine function modulation sequence;A is cosine function modulation sequence amplitude, unit v;For cosine function modulation sequence initial phase, T is sampling interval duration, and n is series of discrete number.
In one embodiment, for step S115, it is (22) to obtain SIN function modulation sequence expression formula:
In formula, Xsin(n) it is SIN function modulation sequence, A is SIN function modulation sequence amplitude, unit v,For cosine function modulation sequence initial phase, T is sampling interval duration, and n is series of discrete number.
In one embodiment, for step S116, obtaining zero initial phase benchmark cosine function modulation sequence expression formula is (23):
In formula, X0cos(n) it is zero initial phase benchmark cosine function modulation sequence.
In one embodiment, for step S116, obtaining zero initial phase reference sinusoidal FUNCTION MODULATION sequence expression formula is (24):
In formula, X0sin(n) it is zero initial phase reference sinusoidal FUNCTION MODULATION sequence.Zero initial phase datum mark avatars, Fig. 3 It is shown.
In one embodiment, the default frequency of finely tuning is the arithmetic number less than or equal to actual signal frequency 1%, unit Rad/s, it is expressed as formula (25):
In formula, ΩsetTo finely tune frequency, unit rad/s, Ωset≤0.01ωi
For step S117, the first multiplication sequence of acquisition is formula (26):
For step S117, the second multiplication sequence of acquisition is formula (27):
For step S117, the 3rd multiplication sequence of acquisition is formula (28):
For step S117, the 4th multiplication sequence of acquisition is formula (29):
In formula, X1 (n) is the first multiplication sequence, and X2 (n) is the second multiplication sequence, and X3 (n) is the 3rd multiplication sequence, X4 (n) it is the 4th multiplication sequence, sin (ΩsetTn it is) discrete sine function of the fine setting frequency, cos (ΩsetTn) to be described micro- The discrete cosine function of frequency modulation rate.
For step S118, it is formula (30) that acquisition, which puies forward the high-frequency zero initial phase reference sinusoidal sequence of function,:
X0sin+f(n) to put forward the high-frequency zero initial phase reference sinusoidal sequence of function, sequence frequency improves Ωset
For step S118, it is formula (31) to obtain the low-frequency zero initial phase reference sinusoidal sequence of function of drop:
X0sin+f(n) to drop low-frequency zero initial phase reference sinusoidal sequence of function, sequence frequency reduces Ωset
For step S118, it is formula (32) that acquisition, which puies forward high-frequency zero initial phase benchmark cosine function sequence,:
X0cos+f(n) to put forward high-frequency zero initial phase benchmark cosine function sequence, sequence frequency improves Ωset
For step S118, it is formula (33) to obtain the low-frequency zero initial phase benchmark cosine function sequence of drop:
X0cos+f(n) to drop low-frequency zero initial phase benchmark cosine function sequence, sequence frequency reduces Ωset
The system for obtaining fine setting frequency reference sequence in one embodiment from electric power signal, as shown in figure 4, including:
Preliminary sequence length modules 401, for the lower limit according to frequency power signal scope, preset sample frequency and preset Integer signal period number, obtain the preliminary sequence length of the electric power signal;
Preliminary sequence module 402, for being sampled according to the preliminary sequence length to the electric power signal, obtain institute State the preliminary sequence of electric power signal;
Frequency preliminary survey module 403, for entering line frequency preliminary survey to the preliminary sequence, generate the preliminary of the electric power signal Frequency, and according to the reference frequency of the preliminary frequency setting electric power signal;
Unit period sequence length module 404, for according to the preset sample frequency and the reference frequency, obtaining institute State the unit period sequence length of electric power signal;
Predetermined sequence length modules 405, for according to the default integer signal period number and the unit period sequence Length, obtains the predetermined sequence length of the electric power signal, and the predetermined sequence length is odd number;
First positive block 406, for the default starting point of basis and the predetermined sequence length, from the preliminary sequence The first positive sequence of the electric power signal is obtained in row;
First anti-pleat block 407, for obtaining the first anti-of the electric power signal according to the first positive sequence Pleat sequence;
First phase module 408, for obtaining the first positive phase of the electric power signal according to the first positive sequence, And the first antiphase of the electric power signal is obtained according to the first anti-pleat sequence;
Be averaged initial phase module 409 for the first time, described in being obtained according to the first positive phase and the first antiphase The initial phase that is averaged for the first time of electric power signal;
Phase bits comparison module 410, for by it is described for the first time averagely initial phase with ± π/4 compared with, obtain and it is described ± The first phase fiducial value that π/4 are compared, and according to the first phase fiducial value and the default starting point, obtain new starting Point;
Block 411 again, for according to the new starting point and the predetermined sequence length, from the preliminary sequence The middle sequence positive again for obtaining the electric power signal, and the electric power signal is obtained again according to the sequence positive again Anti- pleat sequence;
Phase module 412 again, for the positive phase again according to the positive sequence acquisition again electric power signal, And the antiphase again of the electric power signal is obtained according to the pleat sequence anti-again;
Be averaged initial phase module 413 again, described in positive phase and the antiphase again obtain again according to The initial phase that is averaged again of electric power signal;
Cosine function modulation sequence module 414, for will described in again positive sequence be added with the pleat sequence anti-again, And according to the result after addition and the initial phase that is averaged again, obtain the cosine function modulation sequence of the electric power signal;
SIN function modulation sequence module 415, for the sequence positive again and the pleat sequence anti-again to be subtracted each other, And according to the result after subtracting each other and the initial phase that is averaged again, obtain the SIN function modulation sequence of the electric power signal;
Reference function modulation sequence module 416, for being exported from the cosine function modulation sequence central point, described in acquisition Zero initial phase benchmark cosine function modulation sequence of electric power signal;Export, obtain from the SIN function modulation sequence central point Zero initial phase reference sinusoidal FUNCTION MODULATION sequence of the electric power signal;
Multiplication sequence module 417, for by more than discrete sine function and the zero initial phase benchmark of default fine setting frequency String FUNCTION MODULATION sequence, which is multiplied, obtains the first multiplication sequence of the electric power signal, by the discrete cosine of the default fine setting frequency Function is multiplied with the zero initial phase reference sinusoidal FUNCTION MODULATION sequence obtains the second multiplication sequence of the electric power signal, will be pre- If the discrete sine function of fine setting frequency is multiplied with the zero initial phase reference sinusoidal FUNCTION MODULATION sequence obtains the electric power letter Number the 3rd multiplication sequence, discrete cosine function and the zero initial phase benchmark cosine function of the default fine setting frequency are adjusted Sequence processed, which is multiplied, obtains the 4th multiplication sequence of the electric power signal;
Frequency reference block 418 is finely tuned, for second multiplication sequence to be added with first multiplication sequence, Obtain the electric power signal puies forward the high-frequency zero initial phase reference sinusoidal sequence of function;By second multiplication sequence with it is described First multiplication sequence subtracts each other, and obtains the low-frequency zero initial phase reference sinusoidal sequence of function of drop of the electric power signal;By described in 4th multiplication sequence subtracts each other with the 3rd multiplication sequence, obtains carrying more than high-frequency zero initial phase benchmark for the electric power signal The string sequence of function;4th multiplication sequence is added with the 3rd multiplication sequence, obtains the reduction frequency of the electric power signal Zero initial phase benchmark cosine function sequence of rate.
It is evidenced from the above discussion that the present invention obtains fine setting frequency reference sequence, the degree of accuracy that sine parameter calculates is improved, it is full Foot is actually needed.
Wherein, the electric power signal is the sinusoidal signal based on a kind of fundamental wave component.Sinusoidal signal extensively refers to SIN function letter Number and cosine function signal.
In one embodiment, power system frequency scope is in 45Hz-55Hz, power taking force signal lower-frequency limit fminFor 45Hz;According to being actually needed, the default integer signal period number C is set, in one embodiment, take CFor 13.
In one embodiment, it is formula (1) that preliminary sequence length modules 401, which obtain the preliminary sequence length,:
In formula, NstartFor preliminary sequence length;(int) represent to round;CTo preset integer signal period number;fminFor electricity The lower limit of force signal frequency range, unit Hz;F is preset sample frequency, unit Hz.
In one embodiment, the electric power signal be single fundamental frequency cosine function signal, preliminary sequence module 402 The preliminary sequence for obtaining the electric power signal is formula (2):
Wherein, Xstart(n) it is the preliminary sequence;A is signal amplitude, unit v;ωiFor signal frequency, T is between sampling Every the time, f is preset sample frequency, and unit Hz, n are series of discrete number,For preliminary sequence initial phase, NstartFor preliminary sequence Length.
Frequency preliminary survey module 403 can by zero hand over method, the algorithm based on filtering, based on Wavelet Transformation Algorithm, based on nerve The algorithm of network, the frequency algorithm based on DFT transform enter line frequency based on the frequency algorithm of phase difference to the preliminary sequence Preliminary survey, obtain the preliminary frequency.
In one embodiment, it is formula (3) to generate the preliminary frequency:ωo(3);
Preferably, the reference frequency is formula (4) equal to the preliminary frequency:ωso(4);
Wherein, ωsFor reference frequency, ωoFor preliminary frequency.
In one embodiment, unit period sequence length module 404 obtains the unit period sequence of the electric power signal Length is formula (5):
In formula, NFor the unit period sequence length;(int) it is round numbers;F is preset sample frequency.
The error in 1 sampling interval be present in the unit period sequence length integer.
In one embodiment, it is formula (6) that predetermined sequence length modules 405, which obtain the predetermined sequence length,:
Wherein, N is predetermined sequence length, CFor default integer signal period number, N is odd number.
In one embodiment, 0.5 times that starting point is the unit period sequence length is preset;
In one embodiment, it is formula (7) that first positive block 406, which obtains the first positive sequence,:
Pstart=(int) (0.5N) (7);
N=0,1,2 ..., N-1
Wherein, Xstart(n) it is preliminary sequence, X+start(n) it is first positive sequence, PstartDefault starting point,To be first Secondary positive sequence initial phase, N predetermined sequence length.First positive sequence pattern expression, shown in Fig. 2.
In one embodiment, it is formula (8) that first anti-pleat block 407, which obtains first anti-pleat sequence,:
Wherein, X-start(- n) is first anti-pleat sequence, X+start(n) it is first positive sequence, β 1 is first anti-pleat sequence Initial phase, N predetermined sequence length.The avatars of the first anti-pleat sequence, as shown in Figure 2.
In one embodiment, first positive phase and first antiphase are the results based on orthogonal mixing and integral and calculating, When not considering the mixing interfering frequency of orthogonal mixing, orthogonal mixing is expressed as formula (9), and integral and calculating is expressed as formula (10):
Ω=ωis
N=0,1,2 ..., N-1
Wherein, R+start(n) it is first positive real frequency mixing sequence, I+start(n) sequence, R are mixed for first weakened body resistance frequency-start (- n) is that first anti-real frequency is mixed sequence, I-start(- n) is that first anti-empty frequency is mixed sequence, cos (ωs) or cos (- ω TnsTn) For the discrete cosine function of reference frequency, sin (ωs) or sin (- ω TnsTn) it is for the discrete sine function of reference frequency, Ω Signal frequency ωiWith reference frequency ωsFrequency difference, ωiFor signal frequency.
In formula, R+startFirst just real frequency integrated value, unit dimensionless, I+startFor first weakened body resistance frequency integrated value, unit without Dimension, R-startFor first anti-real frequency integrated value, unit dimensionless, I-startIt is immeasurable for first anti-empty frequency mixing integrated value, unit Guiding principle, Ω are signal frequency ωiWith reference frequency ωsFrequency difference.
In one embodiment, first phase module 408 obtains first positive phase and the expression formula of first antiphase is (11):
In formula, PH+startFor first positive phase, PH-startFor first antiphase.
In one embodiment, the expression formula that averagely initial phase module 409 obtains first averagely initial phase for the first time is (12):
In formula, PHstart-avgFor the initial phase that is averaged for the first time.
In one embodiment, phase bits comparison module 410 by it is described for the first time averagely initial phase and PHstart-avgEnter with ± π/4 Row is relatively formula (13):
In formula, Δ PHcomFor first phase fiducial value, unit rad, PHstart-avgFor the initial phase that is averaged for the first time.
In one embodiment, it is formula (14) to obtain the new starting point:
In formula, PnewFor new starting point, unit dimensionless, PstartTo preset starting point, Δ PHcomFor first phase bit comparison Value.
In one embodiment, block 411 obtains positive sequence again again and anti-pleat sequence is formula (15) again:
In formula, X+end(n) it is positive sequence again, X-end(- n) is anti-pleat sequence again,For at the beginning of positive sequence again Phase, β 2 are anti-pleat sequence initial phase again, ωiFor signal frequency, T is sampling interval duration.
In one embodiment, again positive phase and again antiphase be based on it is orthogonal mixing and digital filtering calculate knot Fruit.The digital filtering is made up of 6 grades of rectangular window arithmetic mean filters of 2 kinds of filtering parameters.
When not considering the mixing interfering frequency of orthogonal mixing, orthogonal mixing is expressed as formula (16), and the 6 of 2 kinds of filtering parameters Level rectangular window arithmetic mean filter filtering calculation expression is formula (17):
Ω=ωis
N=0,1,2 ..., N-1
In formula, R+end(n) it is positive real frequency mixing sequence again, I+end(n) sequence, R are mixed for weakened body resistance frequency again-end(-n) For anti-real frequency mixing sequence again, I-end(- n) is mixed sequence, cos (ω for anti-empty frequency agains) or cos (- ω TnsTn it is) ginseng Examine the discrete cosine function of frequency, sin (ωs) or sin (- ω TnsTn it is) discrete sine function of reference frequency, Ω is signal Frequencies omegaiWith reference frequency ωsFrequency difference, ωiFor signal frequency.
ND=3ND1+3ND2
ND≤N
N=0,1,2 ..., ND-1
In formula, R+endFor just real frequency digital filtering final value again, unit dimensionless;I+endFor weakened body resistance frequency digital filtering again Final value, unit dimensionless;R-endFor anti-digital filtering final value again, unit dimensionless;I-endIt is whole for anti-empty frequency digital filtering again Value, unit dimensionless;K (Ω) is digital filtering in frequency difference Ω amplitude gain, unit dimensionless;ND1For filtering parameter 1, i.e., pair ND1Individual continuous centrifugal pump is added, and then takes its arithmetic mean of instantaneous value to be exported as this filter value;ND2For filtering parameter 2, i.e., to ND2 Individual continuous centrifugal pump is added, and then takes its arithmetic mean of instantaneous value to be exported as this filter value;NDGrown for digital filtering using sequence Spend, be the summation of 6 grades of rectangular window arithmetic mean filter filtering parameters in quantity, less than or equal to predetermined sequence length N.
In one embodiment, filtering parameter ND1Value is 1.5 times of the unit period sequence length of the reference frequency, Purpose carries out depth suppression to being mixed interfering frequency caused by 1/3 subharmonic;Filtering parameter ND2Value is the reference frequency 2 times of unit period sequence length, purpose carries out depth to being mixed interfering frequency caused by direct current, 1/2 gradation, subharmonic etc. Suppress.6 grades of rectangular window arithmetic mean filters filtering of 2 kinds of filtering parameters, which calculates, needs to use signal period sequence length 10.5 times.
Filtering parameter ND1With filtering parameter ND2Expression formula is formula (18):
ND1For digital filter parameters 1, unit dimensionless, ND2For digital filter parameters 2, unit dimensionless.
In one embodiment, phase module 412 obtains positive phase again again and antiphase expression formula is (19) again:
In formula, PH+endFor positive phase again, PH-endFor antiphase again, R+endFor just real frequency integrated value again, unit without Dimension, I+endFor weakened body resistance frequency integrated value again, unit dimensionless, R-endFor anti-real frequency integrated value again, unit dimensionless, I-end For anti-empty frequency mixing integrated value again, unit dimensionless.
In one embodiment, the expression formula that averagely initial phase module 413 obtains the initial phase that is averaged again again is (20):
PHend-avgFor the initial phase that is averaged again, PH+endFor positive phase again, PH-endFor antiphase again.
In one embodiment, the acquisition of cosine function modulation sequence module 414 cosine function modulation sequence expression formula is (21):
In formula, Xcos(n) it is cosine function modulation sequence;A is cosine function modulation sequence amplitude, unit v;For cosine function modulation sequence initial phase.
In one embodiment, the acquisition of SIN function modulation sequence module 415 SIN function modulation sequence expression formula is (22):
In formula, Xsin(n) it is SIN function modulation sequence, A is SIN function modulation sequence amplitude, unit v,For cosine function modulation sequence initial phase.
In one embodiment, reference function modulation sequence module 416 obtains zero initial phase benchmark cosine function modulation sequence Row expression formula is (23):
In formula, X0cos(n) it is zero initial phase benchmark cosine function modulation sequence.
In one embodiment, reference function modulation sequence module 416 obtains zero initial phase reference sinusoidal FUNCTION MODULATION sequence Row expression formula is (24):
In formula, X0sin(n) it is zero initial phase reference sinusoidal FUNCTION MODULATION sequence.Zero initial phase datum mark avatars, Fig. 3 It is shown.
In one embodiment, the default frequency of finely tuning is the arithmetic number less than or equal to actual signal frequency 1%, unit Rad/s, it is expressed as formula (25):
In formula, ΩsetTo finely tune frequency, unit rad/s, Ωset≤0.01ωi
It is formula (26) that multiplication sequence module 417, which obtains the first multiplication sequence,:
It is formula (27) that multiplication sequence module 417, which obtains the second multiplication sequence,:
It is formula (28) that multiplication sequence module 417, which obtains the 3rd multiplication sequence,:
It is formula (29) that multiplication sequence module 417, which obtains the 4th multiplication sequence,:
In formula, X1 (n) is the first multiplication sequence, and X2 (n) is the second multiplication sequence, and X3 (n) is the 3rd multiplication sequence, X4 (n) it is the 4th multiplication sequence, sin (ΩsetTn it is) discrete sine function of the fine setting frequency, cos (ΩsetTn it is) described Finely tune the discrete cosine function of frequency.
It is formula that fine setting frequency reference block 418, which obtains and puies forward the high-frequency zero initial phase reference sinusoidal sequence of function, (30):
X0sin+f(n) to put forward the high-frequency zero initial phase reference sinusoidal sequence of function, sequence frequency improves Ωset
It is formula to finely tune frequency reference block 418 and obtain the low-frequency zero initial phase reference sinusoidal sequence of function of drop (31):
X0sin+f(n) to drop low-frequency zero initial phase reference sinusoidal sequence of function, sequence frequency reduces Ωset
It is formula that fine setting frequency reference block 418, which obtains and puies forward high-frequency zero initial phase benchmark cosine function sequence, (32):
X0cos+f(n) to put forward high-frequency zero initial phase benchmark cosine function sequence, sequence frequency improves Ωset
It is formula to finely tune frequency reference block 418 and obtain the low-frequency zero initial phase benchmark cosine function sequence of drop (33):
X0cos+f(n) to drop low-frequency zero initial phase benchmark cosine function sequence, sequence frequency reduces Ωset
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality Apply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, the scope that this specification is recorded all is considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and its description is more specific and detailed, but simultaneously Can not therefore it be construed as limiting the scope of the patent.It should be pointed out that come for one of ordinary skill in the art Say, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention Scope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (6)

  1. A kind of 1. method that fine setting frequency reference sequence is obtained from electric power signal, it is characterised in that comprise the following steps:
    According to the lower limit of frequency power signal scope, preset sample frequency and default integer signal period number, the electric power is obtained The preliminary sequence length of signal;
    The electric power signal is sampled according to the preliminary sequence length, obtains the preliminary sequence of the electric power signal;
    Line frequency preliminary survey is entered to the preliminary sequence, generates the preliminary frequency of the electric power signal, and according to the preliminary frequency Set the reference frequency of the electric power signal;
    According to the preset sample frequency and the reference frequency, the unit period sequence length of the electric power signal is obtained;
    According to the default integer signal period number and the unit period sequence length, the default sequence of the electric power signal is obtained Row length, the predetermined sequence length are odd number;
    According to default starting point and the predetermined sequence length, obtained from the preliminary sequence electric power signal it is first just To sequence;
    The first anti-pleat sequence of the electric power signal is obtained according to the first positive sequence;
    The first positive phase of the electric power signal is obtained according to the first positive sequence, and is obtained according to the first anti-pleat sequence Obtain the first antiphase of the electric power signal;
    The initial phase that is averaged for the first time of the electric power signal is obtained according to the first positive phase and the first antiphase;
    By the averagely initial phase for the first time compared with ± π/4, the first phase fiducial value compared with ± π/4 is obtained, And according to the first phase fiducial value and the default starting point, obtain new starting point;
    According to the new starting point and the predetermined sequence length, the electric power signal is obtained from the preliminary sequence again Positive sequence, and according to the pleat sequence anti-again of the positive sequence acquisition again electric power signal;
    The positive phase again of the electric power signal is obtained according to the sequence positive again, and obtained according to the pleat sequence anti-again Obtain the antiphase again of the electric power signal;
    The initial phase that is averaged again of the electric power signal is obtained according to the positive phase again and the antiphase again;
    The positive sequence again is added with the pleat sequence anti-again, and described is averaged according to the result after addition and again Initial phase, obtain the cosine function modulation sequence of the electric power signal;According to expression formula Obtain the cosine function modulation sequence Xcos(n), wherein n=0,1,2 ..., N-1, X+end(n) it is the sequence positive again Row, X-end(- n) pleat sequence anti-again, PH for described inend-avgFor the initial phase that is averaged again, n is series of discrete number, and N is institute State predetermined sequence length;
    The sequence positive again and the pleat sequence anti-again are subtracted each other, and according to the result after subtracting each other and described average again Initial phase, obtain the SIN function modulation sequence of the electric power signal;According to expression formula Obtain the SIN function modulation sequence Xsin(n), wherein n=0,1,2 ..., N-1, X+end(n) it is the sequence positive again Row, X-end(- n) pleat sequence anti-again, PH for described inend-avgFor the initial phase that is averaged again, n is series of discrete number, and N is institute State predetermined sequence length;
    Exported from the cosine function modulation sequence central point, the zero initial phase benchmark cosine function for obtaining the electric power signal is adjusted Sequence processed;Exported from the SIN function modulation sequence central point, obtain zero initial phase reference sinusoidal letter of the electric power signal Number modulation sequence;
    The discrete sine function of default fine setting frequency is multiplied with the zero initial phase benchmark cosine function modulation sequence and obtains institute The first multiplication sequence of electric power signal is stated, by discrete cosine function and the zero initial phase benchmark of the default fine setting frequency just String FUNCTION MODULATION sequence, which is multiplied, obtains the second multiplication sequence of the electric power signal, by the discrete sine function of default fine setting frequency It is multiplied with the zero initial phase reference sinusoidal FUNCTION MODULATION sequence and obtains the 3rd multiplication sequence of the electric power signal, will be described pre- If the discrete cosine function of fine setting frequency is multiplied with the zero initial phase benchmark cosine function modulation sequence obtains the electric power letter Number the 4th multiplication sequence;
    Second multiplication sequence is added with first multiplication sequence, obtains carrying at the beginning of high-frequency zero for the electric power signal Phase reference SIN function sequence;Second multiplication sequence and first multiplication sequence are subtracted each other, obtain the electric power letter Number the low-frequency zero initial phase reference sinusoidal sequence of function of drop;By the 4th multiplication sequence and the 3rd multiplication sequence phase Subtract, obtain the electric power signal puies forward high-frequency zero initial phase benchmark cosine function sequence;By the 4th multiplication sequence with 3rd multiplication sequence is added, and obtains the low-frequency zero initial phase benchmark cosine function sequence of drop of the electric power signal.
  2. 2. the method according to claim 1 that fine setting frequency reference sequence is obtained from electric power signal, it is characterised in that institute The cosine function signal that electric power signal is single fundamental frequency is stated, according to expression formulaDescribed in acquisition Preliminary sequence Xstart(n), whereinN=0,1,2,3 ..., Nstart- 1, A are signal amplitude, ωiFor signal frequency, For the initial phase of the preliminary sequence, T is sampling interval duration, and f is the preset sample frequency, and n is series of discrete number, Nstart For the preliminary sequence length.
  3. 3. the method according to claim 1 that fine setting frequency reference sequence is obtained from electric power signal, it is characterised in that root According to expression formula X1 (n)=X0cos(n)sin(ΩsetTn) obtain the first multiplication sequence X1 (n), according to expression formula X2 (n)= X0sin(n)cos(ΩsetTn the second multiplication sequence X2 (n)) is obtained, according to expression formula X3 (n)=X0sin(n)sin(ΩsetTn the 3rd multiplication sequence X3 (n)) is obtained, according to expression formula X4 (n)=X0cos(n)cos(ΩsetTn described the) is obtained Four multiplication sequence X4 (n), whereinX0cos(n) sequence is modulated for the zero initial phase benchmark cosine function Row, X0sin(n) it is the zero initial phase reference sinusoidal FUNCTION MODULATION sequence, sin (ΩsetTn it is) the default fine setting frequency Discrete sine function, cos (ΩsetTn it is) the discrete cosine function of the default fine setting frequency, ΩsetFor the default fine setting frequency Rate, T are sampling interval duration, and n is series of discrete number, and N is the predetermined sequence length.
  4. A kind of 4. system that fine setting frequency reference sequence is obtained from electric power signal, it is characterised in that including:
    Preliminary sequence length modules, believe for the lower limit according to frequency power signal scope, preset sample frequency and default integer Number periodicity, obtain the preliminary sequence length of the electric power signal;
    Preliminary sequence module, for being sampled according to the preliminary sequence length to the electric power signal, obtain the electric power The preliminary sequence of signal;
    Frequency preliminary survey module, for entering line frequency preliminary survey to the preliminary sequence, the preliminary frequency of the electric power signal is generated, and The reference frequency of the electric power signal is set according to the preliminary frequency;
    Unit period sequence length module, for according to the preset sample frequency and the reference frequency, obtaining the electric power The unit period sequence length of signal;
    Predetermined sequence length modules, for according to the default integer signal period number and the unit period sequence length, obtaining The predetermined sequence length of the electric power signal is obtained, the predetermined sequence length is odd number;
    First positive block, for according to default starting point and the predetermined sequence length, being obtained from the preliminary sequence Obtain the first positive sequence of the electric power signal;
    First anti-pleat block, for obtaining the first anti-pleat sequence of the electric power signal according to the first positive sequence;
    First phase module, for the first positive phase according to the first positive sequence acquisition electric power signal, and according to The first anti-pleat sequence obtains the first antiphase of the electric power signal;
    Be averaged initial phase module for the first time, for obtaining the electric power signal according to the first positive phase and the first antiphase For the first time averagely initial phase;
    Phase bits comparison module, for the averagely initial phase for the first time compared with ± π/4, to be obtained compared with ± π/4 First phase fiducial value, and according to the first phase fiducial value and the default starting point, obtain new starting point;
    Block again, for according to the new starting point and the predetermined sequence length, being obtained from the preliminary sequence The sequence positive again of the electric power signal, and according to the pleat sequence anti-again of the positive sequence acquisition again electric power signal Row;
    Phase module again, for the positive phase again according to the positive sequence acquisition again electric power signal, and according to The pleat sequence anti-again obtains the antiphase again of the electric power signal;
    Be averaged initial phase module again, for positive phase and the antiphase again to obtain the electric power signal again according to Again be averaged initial phase;
    Cosine function modulation sequence module, for will described in again positive sequence be added with the pleat sequence anti-again, and according to Result and the initial phase that is averaged again after addition, obtain the cosine function modulation sequence of the electric power signal;The cosine FUNCTION MODULATION block is according to expression formulaObtain the cosine function modulation sequence Xcos(n), wherein n=0,1,2 ..., N-1, X+end(n) it is the sequence positive again, X-end(- n) is the pleat sequence anti-again Row, PHend-avgFor the initial phase that is averaged again, n is series of discrete number, and N is the predetermined sequence length;
    SIN function modulation sequence module, for the sequence positive again and the pleat sequence anti-again to be subtracted each other, and according to Result and the initial phase that is averaged again after subtracting each other, obtain the SIN function modulation sequence of the electric power signal;The sine FUNCTION MODULATION block is according to expression formulaObtain the SIN function modulation sequence Xsin(n), wherein n=0,1,2 ..., N-1, X+end(n) it is the sequence positive again, X-end(- n) is the pleat sequence anti-again Row, PHend-avgFor the initial phase that is averaged again, n is series of discrete number, and N is the predetermined sequence length;
    Reference function modulation sequence module, for being exported from the cosine function modulation sequence central point, obtain the electric power letter Number zero initial phase benchmark cosine function modulation sequence;Exported from the SIN function modulation sequence central point, obtain the electricity Zero initial phase reference sinusoidal FUNCTION MODULATION sequence of force signal;
    Multiplication sequence module, for the discrete sine function of default fine setting frequency to be adjusted with the zero initial phase benchmark cosine function Sequence processed, which is multiplied, obtains the first multiplication sequence of the electric power signal, by the discrete cosine function of the default fine setting frequency and institute The second multiplication sequence that the multiplication of zero initial phase reference sinusoidal FUNCTION MODULATION sequence obtains the electric power signal is stated, by default fine setting frequency The discrete sine function of rate is multiplied with the zero initial phase reference sinusoidal FUNCTION MODULATION sequence obtains the 3rd of the electric power signal Multiplication sequence, by the discrete cosine function of the default fine setting frequency and the zero initial phase benchmark cosine function modulation sequence phase Multiply the 4th multiplication sequence for obtaining the electric power signal;
    Frequency reference block is finely tuned, for second multiplication sequence to be added with first multiplication sequence, obtains institute That states electric power signal puies forward the high-frequency zero initial phase reference sinusoidal sequence of function;Second multiplication sequence and described first are multiplied Method sequence is subtracted each other, and obtains the low-frequency zero initial phase reference sinusoidal sequence of function of drop of the electric power signal;Described 4th is multiplied Method sequence is subtracted each other with the 3rd multiplication sequence, and obtain the electric power signal carries high-frequency zero initial phase benchmark cosine function Sequence;4th multiplication sequence is added with the 3rd multiplication sequence, obtains the drop low-frequency zero of the electric power signal Initial phase benchmark cosine function sequence.
  5. 5. the system according to claim 4 that fine setting frequency reference sequence is obtained from electric power signal, it is characterised in that institute The cosine function signal that electric power signal is single fundamental frequency is stated, the preliminary sequence module is according to expression formulaObtain the preliminary sequence Xstart(n), whereinN=0,1,2,3 ..., Nstart- 1, A is signal amplitude, ωiFor signal frequency,For the initial phase of the preliminary sequence, T is sampling interval duration, and f is described pre- If sample frequency, n is series of discrete number, NstartFor the preliminary sequence length.
  6. 6. the system according to claim 4 that fine setting frequency reference sequence is obtained from electric power signal, it is characterised in that institute Multiplication sequence module is stated according to expression formula X1 (n)=X0cos(n)sin(ΩsetTn the first multiplication sequence X1 (n), root) are obtained According to expression formula X2 (n)=X0sin(n)cos(ΩsetTn) obtain the second multiplication sequence X2 (n), according to expression formula X3 (n)= X0sin(n)sin(ΩsetTn the 3rd multiplication sequence X3 (n)) is obtained, according to expression formula X4 (n)=X0cos(n)cos(ΩsetTn the 4th multiplication sequence X4 (n)) is obtained, whereinX0cos(n) it is the zero initial phase base Quasi- cosine function modulation sequence, X0sin(n) it is the zero initial phase reference sinusoidal FUNCTION MODULATION sequence, sin (ΩsetTn it is) institute State the discrete sine function of default fine setting frequency, cos (ΩsetTn it is) the discrete cosine function of the default fine setting frequency, Ωset For the default fine setting frequency, T is sampling interval duration, and n is series of discrete number, and N is the predetermined sequence length.
CN201510891587.4A 2015-12-04 2015-12-04 The method and system of fine setting frequency reference sequence is obtained from electric power signal Active CN105548704B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510891587.4A CN105548704B (en) 2015-12-04 2015-12-04 The method and system of fine setting frequency reference sequence is obtained from electric power signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510891587.4A CN105548704B (en) 2015-12-04 2015-12-04 The method and system of fine setting frequency reference sequence is obtained from electric power signal

Publications (2)

Publication Number Publication Date
CN105548704A CN105548704A (en) 2016-05-04
CN105548704B true CN105548704B (en) 2018-04-06

Family

ID=55828025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510891587.4A Active CN105548704B (en) 2015-12-04 2015-12-04 The method and system of fine setting frequency reference sequence is obtained from electric power signal

Country Status (1)

Country Link
CN (1) CN105548704B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3675124A (en) * 1970-10-28 1972-07-04 Sperry Rand Corp Apparatus for measuring frequency modulation noise signals and for calibrating same
US4477773A (en) * 1982-08-02 1984-10-16 Raytheon Company Frequency measuring apparatus
CN104502700A (en) * 2014-12-29 2015-04-08 广东电网有限责任公司电力科学研究院 Sinusoidal parameter measurement method and system of power signal
CN104502706A (en) * 2014-12-29 2015-04-08 广东电网有限责任公司电力科学研究院 Harmonic amplitude measurement method and system of power signal
CN104635045A (en) * 2015-02-05 2015-05-20 广东电网有限责任公司电力科学研究院 Power signal frequency detection method and system based on phase modulation
CN104635044A (en) * 2015-02-05 2015-05-20 广东电网有限责任公司电力科学研究院 Power signal frequency detection method and system based on amplitude modulation

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015025726A (en) * 2013-07-26 2015-02-05 東芝三菱電機産業システム株式会社 Frequency detecting device, frequency detecting method, and electric power converter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3675124A (en) * 1970-10-28 1972-07-04 Sperry Rand Corp Apparatus for measuring frequency modulation noise signals and for calibrating same
US4477773A (en) * 1982-08-02 1984-10-16 Raytheon Company Frequency measuring apparatus
CN104502700A (en) * 2014-12-29 2015-04-08 广东电网有限责任公司电力科学研究院 Sinusoidal parameter measurement method and system of power signal
CN104502706A (en) * 2014-12-29 2015-04-08 广东电网有限责任公司电力科学研究院 Harmonic amplitude measurement method and system of power signal
CN104635045A (en) * 2015-02-05 2015-05-20 广东电网有限责任公司电力科学研究院 Power signal frequency detection method and system based on phase modulation
CN104635044A (en) * 2015-02-05 2015-05-20 广东电网有限责任公司电力科学研究院 Power signal frequency detection method and system based on amplitude modulation

Also Published As

Publication number Publication date
CN105548704A (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN105067880B (en) The method and system of orthogonal modulation is carried out to electric power signal
CN105548699B (en) Obtain the method and system of the raising frequency reference SIN function sequence of electric power signal
CN105548704B (en) The method and system of fine setting frequency reference sequence is obtained from electric power signal
CN105548702B (en) Obtain the method and system for dropping low-frequency zero initial phase benchmark cosine function sequence
CN105548689B (en) Obtain the method and system of the reduction frequency reference orthogonal sequence of electric power signal
CN105548705B (en) Obtain the method and system of the raising frequency reference orthogonal sequence of electric power signal
CN105092970B (en) Obtain the method and system of the initial phase datum mark of electric power signal sequence SIN function zero
CN105548700B (en) Obtain the method and system of the raising frequency orthogonal sequence of electric power signal
CN105467211B (en) Obtain the method and system of the raising frequency reference cosine function sequence of electric power signal
CN105548701B (en) Obtain the method and system of the reduction frequency orthogonal sequence of electric power signal
CN105425035B (en) Obtain the method and system for dropping low-frequency zero initial phase reference sinusoidal sequence of function
CN105467212B (en) Obtain the method and system of the raising frequency cosine function sequence of electric power signal
CN105425036B (en) Obtain the method and system of the reduction frequency cosine function sequence of electric power signal
CN105548691B (en) Obtain the method and system of the raising frequency sine sequence of function of electric power signal
CN105425031B (en) The orthogonal frequency multiplication sequence method of zero initial phase benchmark and system are obtained from electric power signal
CN105548706B (en) Obtain the method and system of the reduction frequency sine sequence of function of electric power signal
CN105548698B (en) Frequency power signal method for trimming and system
CN105548703B (en) The method and system of any initial phase SIN function sequence is obtained from electric power signal
CN105548687B (en) The method and system of any initial phase orthogonal sequence is obtained from electric power signal
CN105067885B (en) Electric power signal is converted to the method and system of zero initial phase signal sequence
CN105372489B (en) The method and system of any initial phase cosine function sequence is obtained from electric power signal
CN105445551B (en) The cut-off method for detecting phases and system of sinusoidal signal
CN105548693B (en) Obtain the method and system of zero initial phase reference sinusoidal function times frequency sequence
CN105372490B (en) The method and system of frequency measurement based on zero orthogonal times of frequency sequence of initial phase benchmark
CN105301356B (en) Obtain the method and system of zero initial phase benchmark cosine function times frequency sequence

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant