CN105548698A - Electric power signal frequency fine-tuning method and system - Google Patents
Electric power signal frequency fine-tuning method and system Download PDFInfo
- Publication number
- CN105548698A CN105548698A CN201510890720.4A CN201510890720A CN105548698A CN 105548698 A CN105548698 A CN 105548698A CN 201510890720 A CN201510890720 A CN 201510890720A CN 105548698 A CN105548698 A CN 105548698A
- Authority
- CN
- China
- Prior art keywords
- sequence
- frequency
- multiplication
- fine setting
- obtains
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R23/00—Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
- G01R23/16—Spectrum analysis; Fourier analysis
- G01R23/165—Spectrum analysis; Fourier analysis using filters
- G01R23/167—Spectrum analysis; Fourier analysis using filters with digital filters
Landscapes
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- General Physics & Mathematics (AREA)
- Tests Of Electronic Circuits (AREA)
- Inverter Devices (AREA)
Abstract
The invention relates to an electric power signal frequency fine-tuning method and system. An actual electric power signal comprises a fundamental wave component, a sub-frequency harmonic component and a subharmonic component, and the amplitude of the fundamental wave component is the largest, so if the problem of non-integer period cut-off of a fundamental wave signal is solved, the problem of spectrum leakage caused by the non-integer period cut-off is solved to a great extent, and the degree of accuracy of sine parameter calculation is improved. The fundamental wave frequency of a signal sequence is changed through several multiplication sequences that are obtained, and integer period cut-off of a fundamental wave signal can be realized theoretically, thereby greatly improving the degree of accuracy of sine parameter calculation.
Description
Technical field
The present invention relates to technical field of power systems, particularly relate to a kind of frequency power signal method for trimming and system.
Background technology
The frequency measurement of electric system, phase measurement and amplitude measurement etc. are the measurement of sine parameter in itself.Fast fourier transform algorithm (FFT) and discrete fourier transform algorithm (DFT) are the basic mathematical methods calculated for sine parameter.In these algorithms, it is cause the main immanent cause of Algorithm Error that the non-integer of signal sampling process blocks the spectrum leakage problem caused, and spectrum leakage problem is objectively difficult to avoid.
Also have the method that some improve, as added window function algorithm, adopting interpolation correction algorithm scheduling algorithm, although these algorithms can reduce the impact of spectrum leakage problem, experimental result shows these algorithms and is not suitable for the calculating of pin-point accuracy sine parameter.
Summary of the invention
Based on this, be necessary for the problems referred to above, a kind of frequency power signal method for trimming and system are provided, the pin-point accuracy that sine parameter calculates can be ensured.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of frequency power signal method for trimming, comprises step:
According to the lower limit of frequency power signal scope, default sample frequency and default integer signal period number, obtain preliminary sequence length;
According to described preliminary sequence length, electric power signal is sampled, obtain the preliminary sequence of described electric power signal;
Frequency preliminary survey is carried out to described preliminary sequence, obtains the first synchronizing frequency of described electric power signal, obtain reference frequency according to described just synchronizing frequency;
According to described default sample frequency and described reference frequency, obtain the unit period sequence length of described electric power signal;
According to described default integer signal period number and described unit period sequence length, obtain predetermined sequence length;
According to described predetermined sequence length and default starting point, from described preliminary sequence, obtain the first forward sequence, obtain the first anti-pleat sequence according to described first forward sequence;
Obtain the first positive phase according to described first forward sequence, obtain the first antiphase according to described first anti-pleat sequence;
The first average initial phase is obtained according to described first positive phase and described first antiphase;
According to the described first average initial phase and preset phase value, obtain phase compare value, according to described phase compare value, described default starting point and described unit period sequence length, obtain new starting point;
According to described predetermined sequence length and described new starting point, from described preliminary sequence, obtain the second forward sequence, obtain the second anti-pleat sequence according to the second forward sequence;
Obtain the second positive phase according to described second forward sequence, obtain the second antiphase according to described second anti-pleat sequence;
The second average initial phase is obtained according to described second positive phase and described second antiphase;
Described second forward sequence is added with described second anti-pleat sequence, obtains and sequence, according to described and sequence and the described second average initial phase cosine function value, obtain cosine function modulation sequence;
Described second forward sequence and described second anti-pleat sequence are subtracted each other, obtains difference sequence, according to the sine function of described difference sequence and the described second average initial phase, obtain sine function modulation sequence;
Fine setting frequency is set, be multiplied the discrete sine function of described fine setting frequency with described cosine function modulation sequence acquisition first multiplication sequence, be multiplied the discrete cosine function of described fine setting frequency with described sine function modulation sequence acquisition second multiplication sequence, be multiplied the discrete sine function of described fine setting frequency with described sine function modulation sequence acquisition the 3rd multiplication sequence, and be multiplied the discrete cosine function of described fine setting frequency with described cosine function modulation sequence acquisition the 4th multiplication sequence;
Adjust the frequency of sine function sequence according to described first multiplication sequence and described second multiplication sequence, adjust the frequency of cosine function sequence according to described 3rd multiplication sequence and described 4th multiplication sequence.
A kind of frequency power signal micro-tensioning system, comprising:
Preliminary sequence length determination modul, for the lower limit according to frequency power signal scope, presets sample frequency and default integer signal period number, obtains preliminary sequence length;
Preliminary sequence acquisition module, for sampling to electric power signal according to described preliminary sequence length, obtains the preliminary sequence of described electric power signal;
Reference frequency determination module, for carrying out frequency preliminary survey to described preliminary sequence, obtains the first synchronizing frequency of described electric power signal, obtains reference frequency according to described just synchronizing frequency;
Unit period sequence length determination module, for according to described default sample frequency and described reference frequency, obtains the unit period sequence length of described electric power signal;
Predetermined sequence length determination modul, for according to described default integer signal period number and described unit period sequence length, obtains predetermined sequence length;
First ray acquisition module, for according to described predetermined sequence length and default starting point, obtains the first forward sequence from described preliminary sequence, obtains the first anti-pleat sequence according to described first forward sequence;
First positive and negative phase determination module, for obtaining the first positive phase according to described first forward sequence, obtains the first antiphase according to described first anti-pleat sequence;
First average initial phase determination module, for obtaining the first average initial phase according to described first positive phase and described first antiphase;
New starting point determination module, for according to the described first average initial phase and preset phase value, obtains phase compare value, according to described phase compare value, described default starting point and described unit period sequence length, obtains new starting point;
Second retrieval module, for according to described predetermined sequence length and described new starting point, obtains the second forward sequence from described preliminary sequence, obtains the second anti-pleat sequence according to the second forward sequence;
Second positive and negative phase determination module, for obtaining the second positive phase according to described second forward sequence, obtains the second antiphase according to described second anti-pleat sequence;
Second average initial phase determination module, for obtaining the second average initial phase according to described second positive phase and described second antiphase;
Cosine function modulation sequence determination module, for described second forward sequence being added with described second anti-pleat sequence, obtains and sequence, according to described and sequence and the described second average initial phase cosine function value, obtains cosine function modulation sequence;
Sine function modulation sequence determination module, for described second forward sequence and described second anti-pleat sequence being subtracted each other, obtains difference sequence, according to the sine function of described difference sequence and the described second average initial phase, obtains sine function modulation sequence;
Multiplication sequence determination module, for arranging fine setting frequency, be multiplied the discrete sine function of described fine setting frequency with described cosine function modulation sequence acquisition first multiplication sequence, be multiplied the discrete cosine function of described fine setting frequency with described sine function modulation sequence acquisition second multiplication sequence, be multiplied the discrete sine function of described fine setting frequency with described sine function modulation sequence acquisition the 3rd multiplication sequence, and be multiplied the discrete cosine function of described fine setting frequency with described cosine function modulation sequence acquisition the 4th multiplication sequence;
Frequency regulation block, for the frequency according to described first multiplication sequence and described second multiplication sequence adjustment sine function sequence, adjusts the frequency of cosine function sequence according to described 3rd multiplication sequence and described 4th multiplication sequence.
First-harmonic composition, subharmonic composition and subharmonic composition etc. are included in actual electrical force signal, but with the amplitude maximum of first-harmonic composition, so the non-integer solving fundamental signal blocks, also just solving non-integer to a great extent blocks the spectral leakage problem caused, and improves the accuracy that sine parameter calculates.The present invention changes the fundamental frequency of burst by the several multiplication sequences obtained, and can realize in theory blocking the number of cycles of fundamental signal, thus substantially increases the accuracy of sine parameter calculating.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of frequency power signal method for trimming embodiment of the present invention;
Fig. 2 is the schematic diagram of preliminary sequence of the present invention, the first forward sequence and the first anti-pleat sequence;
Fig. 3 is the structural representation of frequency power signal micro-tensioning system embodiment of the present invention;
Fig. 4 is the structural representation of frequency regulation block embodiment of the present invention.
Embodiment
For further setting forth the technological means that the present invention takes and the effect obtained, below in conjunction with accompanying drawing and preferred embodiment, to technical scheme of the present invention, carry out clear and complete description.
As shown in Figure 1, a kind of frequency power signal method for trimming, comprises step:
S101, the lower limit according to frequency power signal scope, default sample frequency and default integer signal period number, obtain preliminary sequence length;
S102, according to described preliminary sequence length, electric power signal to be sampled, obtain the preliminary sequence of described electric power signal;
S103, frequency preliminary survey is carried out to described preliminary sequence, obtain the first synchronizing frequency of described electric power signal, obtain reference frequency according to described just synchronizing frequency;
S104, according to described default sample frequency and described reference frequency, obtain the unit period sequence length of described electric power signal;
S105, according to described default integer signal period number and described unit period sequence length, obtain predetermined sequence length;
S106, according to described predetermined sequence length and default starting point, from described preliminary sequence, obtain the first forward sequence, obtain the first anti-pleat sequence according to described first forward sequence;
S107, obtain the first positive phase according to described first forward sequence, obtain the first antiphase according to described first anti-pleat sequence;
S108, according to described first positive phase and described first antiphase obtain the first average initial phase;
S109, according to the described first average initial phase and preset phase value, obtain phase compare value, according to described phase compare value, described default starting point and described unit period sequence length, obtain new starting point;
S110, according to described predetermined sequence length and described new starting point, from described preliminary sequence, obtain the second forward sequence, obtain the second anti-pleat sequence according to the second forward sequence;
S111, obtain the second positive phase according to described second forward sequence, obtain the second antiphase according to described second anti-pleat sequence;
S112, according to described second positive phase and described second antiphase obtain the second average initial phase;
S113, described second forward sequence to be added with described second anti-pleat sequence, to obtain and sequence, according to described and sequence and the described second average initial phase cosine function value, acquisition cosine function modulation sequence;
S114, described second forward sequence and described second anti-pleat sequence to be subtracted each other, obtain difference sequence, according to the sine function of described difference sequence and the described second average initial phase, obtain sine function modulation sequence;
S115, fine setting frequency is set, be multiplied the discrete sine function of described fine setting frequency with described cosine function modulation sequence acquisition first multiplication sequence, be multiplied the discrete cosine function of described fine setting frequency with described sine function modulation sequence acquisition second multiplication sequence, be multiplied the discrete sine function of described fine setting frequency with described sine function modulation sequence acquisition the 3rd multiplication sequence, and be multiplied the discrete cosine function of described fine setting frequency with described cosine function modulation sequence acquisition the 4th multiplication sequence;
S116, frequency according to described first multiplication sequence and described second multiplication sequence adjustment sine function sequence, according to the frequency of described 3rd multiplication sequence and described 4th multiplication sequence adjustment cosine function sequence.
Actual electrical force signal is a kind of based on the sinusoidal signal of first-harmonic composition, and if no special instructions, electric power signal all refers to fundamental signal, and frequency power signal all refers to fundamental frequency.For step S101, power system frequency scope is generally at 45Hz (hertz)-55Hz, so the lower limit f of frequency power signal scope
min45Hz can be taken as.Preset integer signal period number C
2 πcan arrange according to actual needs, such as, by C
2 πbe taken as 13.Preliminary sequence length can calculate according to formula (1):
Wherein, N
startfor preliminary sequence length; (int) expression rounds; C
2 πfor default integer signal period number; f
minfor the lower limit of frequency power signal scope, unit Hz; F is for presetting sample frequency, unit Hz.
For step S102, can with the cosine function signal representation electric power signal of single fundamental frequency, so preliminary sequence is formula (2):
Wherein, X
startn () is preliminary sequence; A is signal amplitude, unit v; ω
ifor signal frequency, T is sampling interval duration, and f is for presetting sample frequency, and unit Hz, n are series of discrete number,
for the initial phase of preliminary sequence, N
startfor preliminary sequence length.
For step S103, by zero friendship method, based on filtering algorithm, based on Wavelet Transformation Algorithm, based on neural network algorithm, based on DFT conversion frequency algorithm or based on the frequency algorithm of phase differential, frequency preliminary survey is carried out to preliminary sequence, obtain preliminary frequencies omega
o.In one embodiment, described reference frequency ω
s=ω
o.
For step S104, in one embodiment, the unit period sequence length of described electric power signal calculates, and is formula (3):
Wherein, N
2 πfor unit periodic sequence length; (int) be round numbers; F is for presetting sample frequency, unit Hz; ω
sfor reference frequency.There is the error in 1 sampling interval in described unit period sequence length integer.
For step S105, in one embodiment, described predetermined sequence length computation, is formula (4):
N=(int)[(C
2π-1)N
2π](4)
Wherein, N is predetermined sequence length, and (int) is round numbers, N
2 πfor described unit period sequence length, C
2 πfor default integer signal period number.
For step S106, in one embodiment, default starting point can be 0.5 times of described unit period sequence length, and described first forward sequence is formula (5):
Wherein, X
startn () is preliminary sequence, X
+ startn () is the first forward sequence, P
startfor default starting point, N
2 πfor described unit period sequence length, (int) is round numbers, and A is signal amplitude, unit v, ω
ifor signal frequency, T is sampling interval duration, and n is series of discrete number,
be the first forward sequence initial phase, N predetermined sequence length.
Described first anti-pleat sequence, is formula (6):
Wherein, X
-start(-n) is the first anti-pleat sequence, X
+ startn () is the first forward sequence, A is signal amplitude, unit v, ω
ifor signal frequency, T is sampling interval duration, and n is series of discrete number, and β 1 is the first anti-pleat sequence initial phase, and N is predetermined sequence length.As shown in Figure 2, be the schematic diagram of preliminary sequence, the first forward sequence and the first anti-pleat sequence.
For step S107, in one embodiment, according to the result of the first forward sequence being carried out to quadrature downconvert and integral and calculating, the first positive phase is obtained; According to the result of the first anti-pleat sequence being carried out to quadrature downconvert and integral and calculating, obtain the first antiphase.When not considering the mixing interfering frequency of quadrature downconvert, quadrature downconvert is expressed as formula (7), and integral and calculating is expressed as formula (8):
Wherein, R
+ startn () is the first positive real sequence of mixing frequently, I
+ startn () is the first weakened body resistance frequency mixing sequence, R
-start(-n) is the first anti-real sequence of mixing frequently, I
-start(-n) is the first anti-empty sequence of mixing frequently, cos (ω
sor cos (-ω Tn)
stn) be the discrete cosine function of reference frequency, sin (ω
sor sin (-ω Tn)
stn) be the discrete sine function of reference frequency, Ω is signal frequency ω
iwith reference frequency ω
sfrequency difference, T is sampling interval duration, and n is series of discrete number,
be the first forward sequence initial phase, β 1 is the first forward sequence initial phase, and N is predetermined sequence length.
Wherein, R
+ startfirst positive real integrated value frequently, unit dimensionless, I
+ startbe the first weakened body resistance frequency integrated value, unit dimensionless, R
-startbe the first anti-real integrated value frequently, unit dimensionless, I
-startbe the first anti-empty integrated value of mixing frequently, unit dimensionless, Ω is signal frequency ω
iwith reference frequency ω
sfrequency difference, T is sampling interval duration, and n is series of discrete number, and N is predetermined sequence length,
be the first forward sequence initial phase, β 1 is the first anti-pleat sequence initial phase, and N is predetermined sequence length.
In one embodiment, the calculating of the first positive phase and the first antiphase, is expressed as formula (9):
Wherein, PH
+ startbe the first positive phase, PH
-startbe the first antiphase, R
+ startbe the first positive real integrated value frequently, unit dimensionless, I
+ startbe the first weakened body resistance frequency integrated value, unit dimensionless, R
-startbe the first anti-real integrated value frequently, unit dimensionless, I
-startbe the first anti-empty integrated value of mixing frequently, unit dimensionless, Ω is signal frequency ω
iwith reference frequency ω
sfrequency difference, T is sampling interval duration, and N is predetermined sequence length,
be the first forward sequence initial phase, β 1 is the first anti-pleat sequence initial phase.
For step S108, in one embodiment, the first average initial phase computing method, are expressed as formula (10):
Wherein, PH
start-avgbe the first average initial phase, PH
+ startbe the first positive phase, PH
-startbe the first antiphase,
be the first forward sequence initial phase, β 1 is the first anti-pleat sequence initial phase.
For step S109, in one embodiment, described preset phase value can be ± π/4; According to the described first average initial phase and preset phase value, the step obtaining phase compare value can comprise:
If the described first average initial phase is more than or equal to 0 and is less than or equal to pi/2, deduct the described first average initial phase according to π/4 and obtain phase compare value;
If the described first average initial phase is more than or equal to-and pi/2 is less than or equal to 0, deducts the described first average initial phase obtain phase compare value according to-π/4.
Be specially formula (11):
Wherein, △ PH
comfor phase compare value, unit rad, PH
start-avgit is the first average initial phase.
In one embodiment, described new starting point calculates, and is formula (12):
Wherein, P
newfor new starting point, unit dimensionless, P
startfor default starting point, △ PH
comfor phase compare value, unit rad, N
2 πfor unit periodic sequence length, (int) is round numbers.
For step S110, the second forward sequence and the second anti-pleat sequence are formula (13):
Wherein, X
+ endn () is the second forward sequence, X
-end(-n) is the second anti-pleat sequence, P
newfor new starting point, unit dimensionless,
be the second forward sequence initial phase, β 2 is the second anti-pleat sequence initial phase, ω
ifor signal frequency, T is sampling interval duration, and n is series of discrete number, and N is predetermined sequence length.
For step S111, in one embodiment, according to the result of the second forward sequence being carried out to quadrature downconvert and digital filtering, the second positive phase is obtained; According to the result of the second anti-pleat sequence being carried out to quadrature downconvert and digital filtering, obtain the second antiphase.The i.e. computing method of the second positive phase and the second antiphase are the results calculated based on quadrature downconvert and digital filtering.Described digital filtering is made up of 6 grades of rectangular window arithmetic mean filter of 2 kinds of filtering parameters.
When not considering the mixing interfering frequency of quadrature downconvert, quadrature downconvert is expressed as formula (14), and 6 grades of rectangular window arithmetic mean filter filtering calculation expressions of 2 kinds of filtering parameters are formula (15):
Wherein, R
+ endn () is the second positive real sequence of mixing frequently, I
+ endn () is the second weakened body resistance frequency mixing sequence, R
-end(-n) is the second anti-real sequence of mixing frequently, I
-end(-n) is the second anti-empty sequence of mixing frequently, cos (ω
sor cos (-ω Tn)
stn) be the discrete cosine function of reference frequency, sin (ω
sor sin (-ω Tn)
stn) be the discrete sine function of reference frequency, Ω is signal frequency ω
iwith reference frequency ω
sfrequency difference, T is sampling interval duration, and n is series of discrete number,
be the first forward sequence initial phase, β 1 is the first anti-pleat sequence initial phase, and N is predetermined sequence length.
Wherein, R
+ endbe the second positive real digital filtering final value frequently, unit dimensionless; I
+ endbe the second weakened body resistance frequency digital filtering final value, unit dimensionless; R
-endbe the second anti-digital filtering final value, unit dimensionless; I
-endbe the second anti-empty digital filtering final value frequently, unit dimensionless; Ω is signal frequency ω
iwith reference frequency ω
sfrequency difference; K (Ω) for digital filtering is in the amplitude gain of frequency difference Ω, unit dimensionless; T is sampling interval duration;
it is the second forward sequence initial phase; β 2 is the second anti-pleat sequence initial phase; N
d1for filtering parameter 1, namely to N
d1individual continuous discrete value is added, and then gets its arithmetic mean and exports as this filter value; N
d2for filtering parameter 2, namely to N
d2individual continuous discrete value is added, and then gets its arithmetic mean and exports as this filter value; N
dfor digital filtering uses sequence length, be quantitatively the summation of 6 grades of rectangular window arithmetic mean filter filtering parameters, be less than or equal to predetermined sequence length N.
In one embodiment, filtering parameter N
d1value is 1.5 times of the unit period sequence length of described reference frequency, and object carries out degree of depth suppression to the mixing interfering frequency that 1/3 subharmonic produces; Filtering parameter N
d2value is 2 times of the unit period sequence length of described reference frequency, and object carries out degree of depth suppression to the mixing interfering frequency that direct current, 1/2 gradation, subharmonic etc. produce.6 grades of rectangular window arithmetic mean filter filtering of 2 kinds of filtering parameters calculate 10.5 times that need to use signal period sequence length.
Filtering parameter N
d1with filtering parameter N
d2be calculated as formula (16):
Wherein, N
d1for digital filter parameters 1, unit dimensionless, (int) is round numbers, N
d2for digital filter parameters 2, unit dimensionless, N
2 πfor unit periodic sequence length.
In one embodiment, the computing method of the second positive phase and the second antiphase, are expressed as formula (17):
Wherein, PH
+ endbe the second positive phase, PH
-endbe the second antiphase, R
+ endbe the second positive real integrated value frequently, unit dimensionless, I
+ endbe the second weakened body resistance frequency integrated value, unit dimensionless, R
-endbe the second anti-real integrated value frequently, unit dimensionless, I
-endbe the second anti-empty integrated value of mixing frequently, unit dimensionless, Ω is signal frequency ω
iwith reference frequency ω
sfrequency difference, T is sampling interval duration, N
dfor digital filtering uses sequence length,
be the second forward sequence initial phase, β 2 is the second anti-pleat sequence initial phase.
For step S112, the second average initial phase computing method, are expressed as formula (18):
Wherein, PH
end-avgbe the second average initial phase, PH
+ endbe the second positive phase, PH
-endbe the second antiphase,
be the second forward sequence initial phase, β 2 is the second forward sequence initial phase.
For step S113, cosine function modulation sequence is expressed as formula (19):
Wherein, X
cosn () is cosine function modulation sequence; A is cosine function modulation sequence amplitude, unit v;
for cosine function modulation sequence initial phase, ω
ifor signal frequency, T is sampling interval duration, and n is series of discrete number, and N is predetermined sequence length,
be the second forward sequence initial phase, β 2 is the second anti-pleat sequence initial phase.
For step S114, sine function modulation sequence is expressed as formula (20):
Wherein, X
sinn () is sine function modulation sequence, A is sine function modulation sequence amplitude, unit v,
for cosine function modulation sequence initial phase, ω
isignal frequency, T is sampling interval duration, and n is series of discrete number, and N is predetermined sequence length,
be the second forward sequence initial phase, β 2 is the second anti-pleat sequence initial phase.
For step S115, in one embodiment, fine setting frequency is the arithmetic number being less than or equal to actual signal frequency 1%, and unit rad/s, is expressed as formula (21):
Wherein, Ω
setfor fine setting frequency, unit rad/s.
In one embodiment, the first multiplication sequence is formula (22):
In one embodiment, the second multiplication sequence is formula (23):
In one embodiment, the 3rd multiplication sequence is formula (24):
In one embodiment, the 4th multiplication sequence is formula (25):
For step S116, in one embodiment, adjust the frequency of sine function sequence according to described first multiplication sequence and described second multiplication sequence, can comprise according to the step that described 3rd multiplication sequence and described 4th multiplication sequence adjust the frequency of cosine function sequence:
Described second multiplication sequence and described first multiplication sequence are added, improve the frequency of sine function sequence;
Described second multiplication sequence and described first multiplication sequence are subtracted each other, reduces the frequency of sine function sequence;
Described 4th multiplication sequence and described 3rd multiplication sequence are subtracted each other, improves the frequency of cosine function sequence;
Described 4th multiplication sequence and described 3rd multiplication sequence are added, reduce the frequency of cosine function sequence.
Wherein, described second multiplication sequence and described first multiplication sequence are added, sine function sequence frequency can be improved, be formula (26):
Wherein, X
sin+fn (), for improving the frequency sine sequence of function, sequence frequency improves Ω
set.
Described second multiplication sequence and described first multiplication sequence are subtracted each other, sine function sequence frequency can be reduced, be formula (27):
Wherein, X
sin-fn (), for reducing the frequency sine sequence of function, sequence frequency reduces Ω
set.
Described 4th multiplication sequence and described 3rd multiplication sequence are subtracted each other, cosine function sequence frequency can be improved, be formula (28):
Wherein, X
cos+fn (), for improving frequency cosine function sequence, sequence frequency improves Ω
set.
Described 4th multiplication sequence and described 3rd multiplication sequence are added, cosine function sequence frequency can be reduced, be formula (29):
Wherein, X
cos-fn (), for reducing frequency cosine function sequence, sequence frequency reduces Ω
set.
Based on same inventive concept, the present invention also provides a kind of frequency power signal micro-tensioning system, is described in detail embodiments of systems of the invention below in conjunction with accompanying drawing.
As shown in Figure 3, a kind of frequency power signal micro-tensioning system, comprising:
Preliminary sequence length determination modul 101, for the lower limit according to frequency power signal scope, presets sample frequency and default integer signal period number, obtains preliminary sequence length;
Preliminary sequence acquisition module 102, for sampling to electric power signal according to described preliminary sequence length, obtains the preliminary sequence of described electric power signal;
Reference frequency determination module 103, for carrying out frequency preliminary survey to described preliminary sequence, obtains the first synchronizing frequency of described electric power signal, obtains reference frequency according to described just synchronizing frequency;
Unit period sequence length determination module 104, for according to described default sample frequency and described reference frequency, obtains the unit period sequence length of described electric power signal;
Predetermined sequence length determination modul 105, for according to described default integer signal period number and described unit period sequence length, obtains predetermined sequence length;
First ray acquisition module 106, for according to described predetermined sequence length and default starting point, obtains the first forward sequence from described preliminary sequence, obtains the first anti-pleat sequence according to described first forward sequence;
First positive and negative phase determination module 107, for obtaining the first positive phase according to described first forward sequence, obtains the first antiphase according to described first anti-pleat sequence;
First average initial phase determination module 108, for obtaining the first average initial phase according to described first positive phase and described first antiphase;
New starting point determination module 109, for according to the described first average initial phase and preset phase value, obtains phase compare value, according to described phase compare value, described default starting point and described unit period sequence length, obtains new starting point;
Second retrieval module 110, for according to described predetermined sequence length and described new starting point, obtains the second forward sequence from described preliminary sequence, obtains the second anti-pleat sequence according to the second forward sequence;
Second positive and negative phase determination module 111, for obtaining the second positive phase according to described second forward sequence, obtains the second antiphase according to described second anti-pleat sequence;
Second average initial phase determination module 112, for obtaining the second average initial phase according to described second positive phase and described second antiphase;
Cosine function modulation sequence determination module 113, for described second forward sequence being added with described second anti-pleat sequence, obtains and sequence, according to described and sequence and the described second average initial phase cosine function value, obtains cosine function modulation sequence;
Sine function modulation sequence determination module 114, for described second forward sequence and described second anti-pleat sequence being subtracted each other, obtains difference sequence, according to the sine function of described difference sequence and the described second average initial phase, obtains sine function modulation sequence;
Multiplication sequence determination module 115, for arranging fine setting frequency, be multiplied the discrete sine function of described fine setting frequency with described cosine function modulation sequence acquisition first multiplication sequence, be multiplied the discrete cosine function of described fine setting frequency with described sine function modulation sequence acquisition second multiplication sequence, be multiplied the discrete sine function of described fine setting frequency with described sine function modulation sequence acquisition the 3rd multiplication sequence, and be multiplied the discrete cosine function of described fine setting frequency with described cosine function modulation sequence acquisition the 4th multiplication sequence;
Frequency regulation block 116, for the frequency according to described first multiplication sequence and described second multiplication sequence adjustment sine function sequence, adjusts the frequency of cosine function sequence according to described 3rd multiplication sequence and described 4th multiplication sequence.
As shown in Figure 4, in one embodiment, described frequency regulation block 116 can comprise:
First sine function sequence frequency adjustment unit 1161, for described second multiplication sequence and described first multiplication sequence being added, improves the frequency of sine function sequence;
Second sine function sequence frequency adjustment unit 1162, for described second multiplication sequence and described first multiplication sequence being subtracted each other, reduces the frequency of sine function sequence;
First cosine function sequence frequency adjustment unit 1163, for described 4th multiplication sequence and described 3rd multiplication sequence being subtracted each other, improves the frequency of cosine function sequence;
Second cosine function sequence frequency adjustment unit 1164, for described 4th multiplication sequence and described 3rd multiplication sequence being added, reduces the frequency of cosine function sequence.
In one embodiment, described multiplication sequence determination module 115 can according to expression formula X1 (n)=X
cos(n) sin (Ω
settn) the first multiplication sequence X1 (n) is obtained, wherein, X
cosn () is cosine function modulation sequence, sin (Ω
settn) be the discrete sine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
In one embodiment, described multiplication sequence determination module 115 can according to expression formula X2 (n)=X
sin(n) cos (Ω
settn) the second multiplication sequence is obtained, wherein, X
sinn () is sine function modulation sequence, cos (Ω
settn) be the discrete cosine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
In one embodiment, described multiplication sequence determination module 115 can according to expression formula X3 (n)=X
sin(n) sin (Ω
settn) the 3rd multiplication sequence is obtained, wherein, X
sinn () is sine function modulation sequence, sin (Ω
settn) be the discrete sine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number;
In one embodiment, described multiplication sequence determination module 115 can according to expression formula X4 (n)=X
cos(n) cos (Ω
settn) the 4th multiplication sequence is obtained, wherein, X
cosn () is cosine function modulation sequence, cos (Ω
settn) be the discrete cosine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
Other technical characteristic of present system is identical with the inventive method, does not repeat them here.
Each technical characteristic of the above embodiment can combine arbitrarily, for making description succinct, the all possible combination of each technical characteristic in above-described embodiment is not all described, but, as long as the combination of these technical characteristics does not exist contradiction, be all considered to be the scope that this instructions is recorded.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but can not therefore be construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.
Claims (10)
1. a frequency power signal method for trimming, is characterized in that, comprises step:
According to the lower limit of frequency power signal scope, default sample frequency and default integer signal period number, obtain preliminary sequence length;
According to described preliminary sequence length, electric power signal is sampled, obtain the preliminary sequence of described electric power signal;
Frequency preliminary survey is carried out to described preliminary sequence, obtains the first synchronizing frequency of described electric power signal, obtain reference frequency according to described just synchronizing frequency;
According to described default sample frequency and described reference frequency, obtain the unit period sequence length of described electric power signal;
According to described default integer signal period number and described unit period sequence length, obtain predetermined sequence length;
According to described predetermined sequence length and default starting point, from described preliminary sequence, obtain the first forward sequence, obtain the first anti-pleat sequence according to described first forward sequence;
Obtain the first positive phase according to described first forward sequence, obtain the first antiphase according to described first anti-pleat sequence;
The first average initial phase is obtained according to described first positive phase and described first antiphase;
According to the described first average initial phase and preset phase value, obtain phase compare value, according to described phase compare value, described default starting point and described unit period sequence length, obtain new starting point;
According to described predetermined sequence length and described new starting point, from described preliminary sequence, obtain the second forward sequence, obtain the second anti-pleat sequence according to the second forward sequence;
Obtain the second positive phase according to described second forward sequence, obtain the second antiphase according to described second anti-pleat sequence;
The second average initial phase is obtained according to described second positive phase and described second antiphase;
Described second forward sequence is added with described second anti-pleat sequence, obtains and sequence, according to described and sequence and the described second average initial phase cosine function value, obtain cosine function modulation sequence;
Described second forward sequence and described second anti-pleat sequence are subtracted each other, obtains difference sequence, according to the sine function of described difference sequence and the described second average initial phase, obtain sine function modulation sequence;
Fine setting frequency is set, be multiplied the discrete sine function of described fine setting frequency with described cosine function modulation sequence acquisition first multiplication sequence, be multiplied the discrete cosine function of described fine setting frequency with described sine function modulation sequence acquisition second multiplication sequence, be multiplied the discrete sine function of described fine setting frequency with described sine function modulation sequence acquisition the 3rd multiplication sequence, and be multiplied the discrete cosine function of described fine setting frequency with described cosine function modulation sequence acquisition the 4th multiplication sequence;
Adjust the frequency of sine function sequence according to described first multiplication sequence and described second multiplication sequence, adjust the frequency of cosine function sequence according to described 3rd multiplication sequence and described 4th multiplication sequence.
2. frequency power signal method for trimming according to claim 1, it is characterized in that, adjust the frequency of sine function sequence according to described first multiplication sequence and described second multiplication sequence, comprise according to the step that described 3rd multiplication sequence and described 4th multiplication sequence adjust the frequency of cosine function sequence:
Described second multiplication sequence and described first multiplication sequence are added, improve the frequency of sine function sequence;
Described second multiplication sequence and described first multiplication sequence are subtracted each other, reduces the frequency of sine function sequence;
Described 4th multiplication sequence and described 3rd multiplication sequence are subtracted each other, improves the frequency of cosine function sequence;
Described 4th multiplication sequence and described 3rd multiplication sequence are added, reduce the frequency of cosine function sequence.
3. frequency power signal method for trimming according to claim 1, is characterized in that, according to expression formula X1 (n)=X
cos(n) sin (Ω
settn) the first multiplication sequence X1 (n) is obtained, wherein, X
cosn () is cosine function modulation sequence, sin (Ω
settn) be the discrete sine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
4. frequency power signal method for trimming according to claim 1, is characterized in that, according to expression formula X2 (n)=X
sin(n) cos (Ω
settn) the second multiplication sequence is obtained, wherein, X
sinn () is sine function modulation sequence, cos (Ω
settn) be the discrete cosine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
5. the frequency power signal method for trimming according to Claims 1-4 any one, is characterized in that:
According to expression formula X3 (n)=X
sin(n) sin (Ω
settn) the 3rd multiplication sequence is obtained, wherein, X
sinn () is sine function modulation sequence, sin (Ω
settn) be the discrete sine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number;
According to expression formula X4 (n)=X
cos(n) cos (Ω
settn) the 4th multiplication sequence is obtained, wherein, X
cosn () is cosine function modulation sequence, cos (Ω
settn) be the discrete cosine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
6. a frequency power signal micro-tensioning system, is characterized in that, comprising:
Preliminary sequence length determination modul, for the lower limit according to frequency power signal scope, presets sample frequency and default integer signal period number, obtains preliminary sequence length;
Preliminary sequence acquisition module, for sampling to electric power signal according to described preliminary sequence length, obtains the preliminary sequence of described electric power signal;
Reference frequency determination module, for carrying out frequency preliminary survey to described preliminary sequence, obtains the first synchronizing frequency of described electric power signal, obtains reference frequency according to described just synchronizing frequency;
Unit period sequence length determination module, for according to described default sample frequency and described reference frequency, obtains the unit period sequence length of described electric power signal;
Predetermined sequence length determination modul, for according to described default integer signal period number and described unit period sequence length, obtains predetermined sequence length;
First ray acquisition module, for according to described predetermined sequence length and default starting point, obtains the first forward sequence from described preliminary sequence, obtains the first anti-pleat sequence according to described first forward sequence;
First positive and negative phase determination module, for obtaining the first positive phase according to described first forward sequence, obtains the first antiphase according to described first anti-pleat sequence;
First average initial phase determination module, for obtaining the first average initial phase according to described first positive phase and described first antiphase;
New starting point determination module, for according to the described first average initial phase and preset phase value, obtains phase compare value, according to described phase compare value, described default starting point and described unit period sequence length, obtains new starting point;
Second retrieval module, for according to described predetermined sequence length and described new starting point, obtains the second forward sequence from described preliminary sequence, obtains the second anti-pleat sequence according to the second forward sequence;
Second positive and negative phase determination module, for obtaining the second positive phase according to described second forward sequence, obtains the second antiphase according to described second anti-pleat sequence;
Second average initial phase determination module, for obtaining the second average initial phase according to described second positive phase and described second antiphase;
Cosine function modulation sequence determination module, for described second forward sequence being added with described second anti-pleat sequence, obtains and sequence, according to described and sequence and the described second average initial phase cosine function value, obtains cosine function modulation sequence;
Sine function modulation sequence determination module, for described second forward sequence and described second anti-pleat sequence being subtracted each other, obtains difference sequence, according to the sine function of described difference sequence and the described second average initial phase, obtains sine function modulation sequence;
Multiplication sequence determination module, for arranging fine setting frequency, be multiplied the discrete sine function of described fine setting frequency with described cosine function modulation sequence acquisition first multiplication sequence, be multiplied the discrete cosine function of described fine setting frequency with described sine function modulation sequence acquisition second multiplication sequence, be multiplied the discrete sine function of described fine setting frequency with described sine function modulation sequence acquisition the 3rd multiplication sequence, and be multiplied the discrete cosine function of described fine setting frequency with described cosine function modulation sequence acquisition the 4th multiplication sequence;
Frequency regulation block, for the frequency according to described first multiplication sequence and described second multiplication sequence adjustment sine function sequence, adjusts the frequency of cosine function sequence according to described 3rd multiplication sequence and described 4th multiplication sequence.
7. frequency power signal micro-tensioning system according to claim 6, is characterized in that, described frequency regulation block comprises:
First sine function sequence frequency adjustment unit, for described second multiplication sequence and described first multiplication sequence being added, improves the frequency of sine function sequence;
Second sine function sequence frequency adjustment unit, for described second multiplication sequence and described first multiplication sequence being subtracted each other, reduces the frequency of sine function sequence;
First cosine function sequence frequency adjustment unit, for described 4th multiplication sequence and described 3rd multiplication sequence being subtracted each other, improves the frequency of cosine function sequence;
Second cosine function sequence frequency adjustment unit, for described 4th multiplication sequence and described 3rd multiplication sequence being added, reduces the frequency of cosine function sequence.
8. frequency power signal micro-tensioning system according to claim 6, is characterized in that, described multiplication sequence determination module is according to expression formula X1 (n)=X
cos(n) sin (Ω
settn) the first multiplication sequence X1 (n) is obtained, wherein, X
cosn () is cosine function modulation sequence, sin (Ω
settn) be the discrete sine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
9. frequency power signal micro-tensioning system according to claim 6, is characterized in that, described multiplication sequence determination module is according to expression formula X2 (n)=X
sin(n) cos (Ω
settn) the second multiplication sequence is obtained, wherein, X
sinn () is sine function modulation sequence, cos (Ω
settn) be the discrete cosine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
10. the frequency power signal micro-tensioning system according to claim 6 to 9 any one, is characterized in that:
Described multiplication sequence determination module is according to expression formula X3 (n)=X
sin(n) sin (Ω
settn) the 3rd multiplication sequence is obtained, wherein, X
sinn () is sine function modulation sequence, sin (Ω
settn) be the discrete sine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number;
Described multiplication sequence determination module is according to expression formula X4 (n)=X
cos(n) cos (Ω
settn) the 4th multiplication sequence is obtained, wherein, X
cosn () is cosine function modulation sequence, cos (Ω
settn) be the discrete cosine function of described fine setting frequency, Ω
setfor fine setting frequency, T is sampling interval duration, and n is series of discrete number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510890720.4A CN105548698B (en) | 2015-12-04 | 2015-12-04 | Frequency power signal method for trimming and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510890720.4A CN105548698B (en) | 2015-12-04 | 2015-12-04 | Frequency power signal method for trimming and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105548698A true CN105548698A (en) | 2016-05-04 |
CN105548698B CN105548698B (en) | 2018-04-03 |
Family
ID=55828019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510890720.4A Active CN105548698B (en) | 2015-12-04 | 2015-12-04 | Frequency power signal method for trimming and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105548698B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3441871A (en) * | 1967-01-05 | 1969-04-29 | Gen Electric Co Ltd | Oscillator system selectively operable as frequency measuring device or automatic frequency control |
US3675124A (en) * | 1970-10-28 | 1972-07-04 | Sperry Rand Corp | Apparatus for measuring frequency modulation noise signals and for calibrating same |
DE3327876A1 (en) * | 1982-08-02 | 1984-03-01 | Raytheon Co., 02173 Lexington, Mass. | FREQUENCY MEASURING DEVICE |
JP2015025726A (en) * | 2013-07-26 | 2015-02-05 | 東芝三菱電機産業システム株式会社 | Frequency detecting device, frequency detecting method, and electric power converter |
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 |
CN104635044A (en) * | 2015-02-05 | 2015-05-20 | 广东电网有限责任公司电力科学研究院 | Power signal frequency detection method and system based on amplitude modulation |
CN104635045A (en) * | 2015-02-05 | 2015-05-20 | 广东电网有限责任公司电力科学研究院 | Power signal frequency detection method and system based on phase modulation |
CN105067880A (en) * | 2015-09-18 | 2015-11-18 | 广东电网有限责任公司电力科学研究院 | Method and system for orthogonal modulation of power signals |
-
2015
- 2015-12-04 CN CN201510890720.4A patent/CN105548698B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US3441871A (en) * | 1967-01-05 | 1969-04-29 | Gen Electric Co Ltd | Oscillator system selectively operable as frequency measuring device or automatic frequency control |
US3675124A (en) * | 1970-10-28 | 1972-07-04 | Sperry Rand Corp | Apparatus for measuring frequency modulation noise signals and for calibrating same |
DE3327876A1 (en) * | 1982-08-02 | 1984-03-01 | Raytheon Co., 02173 Lexington, Mass. | FREQUENCY MEASURING DEVICE |
JP2015025726A (en) * | 2013-07-26 | 2015-02-05 | 東芝三菱電機産業システム株式会社 | Frequency detecting device, frequency detecting method, and electric power converter |
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 |
CN104635044A (en) * | 2015-02-05 | 2015-05-20 | 广东电网有限责任公司电力科学研究院 | Power signal frequency detection method and system based on amplitude modulation |
CN104635045A (en) * | 2015-02-05 | 2015-05-20 | 广东电网有限责任公司电力科学研究院 | Power signal frequency detection method and system based on phase modulation |
CN105067880A (en) * | 2015-09-18 | 2015-11-18 | 广东电网有限责任公司电力科学研究院 | Method and system for orthogonal modulation of power signals |
Also Published As
Publication number | Publication date |
---|---|
CN105548698B (en) | 2018-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104635045A (en) | Power signal frequency detection method and system based on phase modulation | |
CN105067880A (en) | Method and system for orthogonal modulation of power signals | |
CN105548698A (en) | Electric power signal frequency fine-tuning method and system | |
CN105548699A (en) | Method and system for obtaining improved frequency reference sine function sequence of electric power signal | |
CN105548706A (en) | Method and system for obtaining reduced frequency sine function sequence of electric power signal | |
CN105548691A (en) | Method and system for obtaining improved frequency sine function sequence of electric power signal | |
CN105182077B (en) | The electric power signal all phase difference detection method and system modulated according to cosine function | |
CN105425031A (en) | Method and system for acquiring zero initial phase reference quadrature frequency multiplication sequence from electric power signal | |
CN105548700A (en) | Method and system for obtaining improved frequency orthogonal sequence of electric power signal | |
CN105548701A (en) | Method and system for obtaining reduced 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 | |
CN105425036A (en) | Method and system for acquiring reduction frequency cosine function sequence of electric power signal | |
CN105548702A (en) | Method and system for obtaining reduced frequency zero initial phase reference cosine function sequence | |
CN105467211B (en) | Obtain the method and system of the raising frequency reference cosine function sequence of electric power signal | |
CN105425032A (en) | Method and system for acquiring sine function frequency multiplication sequence from electric power signal | |
CN105467212A (en) | A method and system for obtaining a raised-frequency cosine function sequence of electric power signals | |
CN105548704A (en) | Method and system for obtaining fine tuning frequency reference sequence from electric power signal | |
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 | |
CN105388359A (en) | Method and system for obtaining orthogonal frequency multiplication sequences from electric signals | |
CN105372490B (en) | The method and system of frequency measurement based on zero orthogonal times of frequency sequence of initial phase benchmark | |
CN105372489B (en) | The method and system of any initial phase cosine function sequence is obtained from electric power signal | |
CN105548693A (en) | Method and system for obtaining zero initial phase reference sine function frequency multiplication sequence | |
CN105403768B (en) | The method and system of cosine function times frequency sequence is obtained from electric power signal | |
CN105548703B (en) | The method and system of any initial phase SIN function sequence is obtained from electric power signal |
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 |