CN1382995A - Digital measuring method of frequency and phase - Google Patents

Digital measuring method of frequency and phase Download PDF

Info

Publication number
CN1382995A
CN1382995A CN 02116885 CN02116885A CN1382995A CN 1382995 A CN1382995 A CN 1382995A CN 02116885 CN02116885 CN 02116885 CN 02116885 A CN02116885 A CN 02116885A CN 1382995 A CN1382995 A CN 1382995A
Authority
CN
China
Prior art keywords
phase
frequency
signal
data
mentioned
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
Application number
CN 02116885
Other languages
Chinese (zh)
Other versions
CN1159592C (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.)
Tsinghua University
Original Assignee
Tsinghua University
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 Tsinghua University filed Critical Tsinghua University
Priority to CNB021168857A priority Critical patent/CN1159592C/en
Publication of CN1382995A publication Critical patent/CN1382995A/en
Application granted granted Critical
Publication of CN1159592C publication Critical patent/CN1159592C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Measuring Phase Differences (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

The invention relates to the method for measuring frequencies and phases digitally belonging to the technique area for measuring the circuit parameters. Two signals with 90 degrees of the phase difference are obtained by sampling the AC input signal with the help of two sets of pre-processes. Based on the values of the signals, the locked phase data is calculated out. Further, based on the phase locking structure, the measure of the frequency and phase are realized. Taking full advantage of the phase information contained in the signal waveform, the locked phase data can be updated at the sampling speed. Moreover it provides the advantages of increasing the accuracy of discriminating phases, and the speed of tracking the locked phase and reducing the measuring time. When the phase locking is stabilized, the phase can approach the locked phase with zero mean deviation so as to prevent noise interference.

Description

The digital measuring method of a kind of frequency and phase place
Technical field
The present invention relates to the digital measuring method of a kind of frequency and phase place, this method is measured the frequency and the phase data of the ac input signal of a certain frequency based on phase-locked principle, belongs to the circuit parameter measurement technical field.
Background technology
In fields such as communication, household electrical appliances, instrument and meter and automatic control, usually need to measure the frequency of a certain AC signal and phase place at a time thereof.The method of a kind of traditional survey frequency and phase place is based on the phaselocked loop design.With reference to the international standard number be 0070050503 " phaselocked loop: principle, design and use " the digital lock-in technique introduced in a book to AC signal, can obtain as shown in Figure 1 the measuring-signal frequency and the method for phase place.The AC signal u of input handles by the shaping based on the zero passage comparison principle earlier, obtains the square-wave signal u ' of digit pulse form; Digital phase demodulation of signal u ' process and loop filtering are handled and are obtained divider ratio N; The controllable oscillatory signal generation branch that divider ratio N control realizes in the frequency division mode produces counting pulse signal; This count pulse passes through M times of frequency division again, obtains lockin signal; Lockin signal feeds back to digital phase demodulation part, has so just constituted the feedback control loop of phase-locked system.When stable, the divider ratio N that the frequency f of locked signal and loop filtering obtain is inversely proportional to when phase-locked.If this inverse ratio coefficient is G, so can obtain the frequency f of institute's test cross stream signal according to formula f=G/N.On the other hand, if oscillator signal is taken place the counting pulse signal of part generation counts, and the rising edge of basis signal u ' or negative edge, this counting process is carried out zero clearing then can obtain a count value, this count value is changed the phase data that just can obtain AC signal with phase compensation.
Above-mentioned comes with some shortcomings based on the frequency of phaselocked loop realization and the measuring method of phase place.At first, signal is merely able to carry out frequency and phase measurement according to the zero crossing of AC signal through phase-locked again method after the shaping, and the amplitude of not utilizing AC signal itself changes the phase angle information that is comprised, so phaselocked loop reaches locked signal cycle of several times often stable time, the measuring speed of frequency and phase place is slow.Second, asking for the preceding step-by-step counting of phase data needs the rising edge of signal u ' or negative edge to come zero clearing, the measurement of phase place just will rely on the detection to the zero crossing of input exchange signal u, but owing to the bias effect of noise to zero crossing, the precision that zero crossing detects will badly influence the measuring accuracy of phase data.The 3rd, phase-locked stable back oscillator signal take place counting pulse frequency that part produces be the locked signal frequency M doubly, and the change frequency of phase data also depends on the size of M in the one-period, M is big more, the span of phase change is more little, phase measurement is also meticulous more.But M is too big, also will make the bad stability of phase-locked system.The 4th, the number of significant digit of the controlled frequency division data N of input oscillator signal generation part will influence the measuring accuracy of the measured frequency data f of institute, and to increase N, certainly will to increase the frequency that the oscillator signal generating unit is divided required fixed frequency signal source, perhaps need to adopt complicated frequency splitting technology with decimal control bit.At last, the measuring method of said frequencies and phase place is difficult to realize in microprocessor, is unfavorable for designing and applying.
Summary of the invention
The objective of the invention is to propose the digital measuring method of a kind of frequency and phase place, this method also will be based on phase-locked principle design, but wish to overcome the deficiency of the phase-lock technique of above-mentioned traditional survey frequency and phase place, make measuring system can make full use of the information that AC signal wave form varies itself is comprised, the quick lock in measured signal, and rely on signal zero crossing no longer merely and calculate phase place, from improving phase measurement accuracy in essence.In addition, this method will design based on digital signal processing method, control thereby be improved on measuring accuracy and measuring speed and be easy to.At last, this method will help adopting easily the software based on little process chip to be realized.
The frequency that the present invention proposes and the digital measuring method of phase place may further comprise the steps:
1, the ac input signal u (t) that needs survey frequency and phase place is carried out first group of sampling pre-service and second group of sampling pre-service simultaneously, obtain discrete signal u respectively 1(n) and u 2(n).If the upper frequency limit of the tested AC signal u (t) of input is f Max, lower-frequency limit is f Min, aforesaid two groups of sampling preprocessing process should be selected identical sample frequency, if sample frequency is made as F s, F then sShould be greater than 3f MaxIn addition, these two groups sampling preprocessing process also should satisfy following condition:
The tested AC signal of supposing input is u (t)=U mSin (2 π ft+ θ), wherein f is the frequency of this AC signal, and satisfies f Min<f<f Max, θ is the initial phase of this AC signal, then u (t) through first group the sampling pre-service after, gained signal u 1(n) should have following form: u 1 ( n ) = k 1 ( f ) U m sin ( 2 π f F s n + θ + θ 1 ( f ) ) And signal u (t) through second group the sampling pre-service after, gained signal u 2(n) should have following form: u 2 ( n ) = k 2 ( f ) U m sin ( 2 π f F s n + θ + θ 2 ( f ) ) Gain function k wherein 1(f), gain function k 2(f), phase shift function # 1(f), phase shift function # 2(f) all be a function relevant, and satisfy following constraint with frequency input signal f:
Figure A0211688500053
Following formula is to f Min<f<f MaxSet up, and under the situation that satisfies the measuring accuracy requirement, can there be certain error in above-mentioned equation.
2, the discrete digital signal u that above-mentioned the 1st step is obtained 1(n) and u 2(n) be combined into the coordinate (u of the some A in the Cartesian coordinates that initial point is O 2(n), u 1(n)), then thus obtained vector With the angle of transverse axis positive dirction will be in order to as by phase-locked bit data α 0(n).
3, with above-mentioned the 2nd the step obtain by phase-locked bit data α 0(n) with feed back from output frequency f (n) and handle through integration and following the 7th step phase hit adjustment after pll phase data α ' (n) get poorly, obtain phase error Δ α (n).
4, the phase error Δ α (n) that above-mentioned the 3rd step is obtained handles through loop filtering, thereby obtains the frequency f (n) of measured signal; In the above-mentioned loop filtering processing procedure, its complex frequency domain transfer function H LP(s) form is:
Figure A0211688500061
Make the transport function of measuring process simultaneously Stable, and make Has the low-pass filtering performance, H ' cut-off frequecy of passband f (s) LFLower limit f less than the locked signal frequency Min
5, the pll phase data α ' that the frequency f (n) of above-mentioned the 4th measured signal that obtains of step and following the 7th step are obtained (n) carries out integration according to following formula and adds up: α 1 ( n ) = α ′ ( n - 1 ) + 2 π · f ( n ) F s Obtain intermediate phase data α 1(n).
6, to above-mentioned the 2nd the step obtain by phase-locked bit data α 0(n) carry out the quadrant transition detection, obtain transition detection data J (n).The judgment threshold constant of this transition detection is made as J TH, data J THShould satisfy Constraint, so transition detection data J (n) with by phase-locked position α 0(n) relation can be according to following formulate:
Figure A0211688500066
7, the intermediate phase data α that above-mentioned the 5th step is obtained 1(n) and above-mentioned the 6th transition detection data J (n) addition that obtains of step, promptly α ' (n)=α 1(n)+and J (n), thus obtain in order to be input to pll phase data α ' that above-mentioned the 3rd step handle to constitute phase-locked loop (n).
8, the intermediate phase data α that above-mentioned the 6th step is obtained 1(n) carry out phase compensation and data adjustment and handle, be i.e. α (n)=α 1(n)-θ 1(f (n))+K2 π, wherein, function # 1(f) be first group of phase shift function that the sampling pre-service produces input signal in above-mentioned the 1st step, K is an adjustment coefficient, and its value satisfies the integer of 0≤α (n)<2 π for making α (n), and the data α that obtains at last (n) is exactly the signal phase of required measurement.
The frequency that the present invention proposes and the digital measuring method of phase place, on basic structure, still utilized principle of PLL, Phase Tracking characteristic by feedback control loop, the 4th pacing in the foregoing invention step measures the frequency of signal, measures the current phase place of signal in last the 8th step of foregoing invention step.But the inventive method no longer adopts the preprocess method of zero passage shaping to input signal, but directly AC signal is sampled, and obtains two signal u of 90 ° of phase phasic differences by two groups of pre-service 1(n) and u 2(n), calculate by phase-locked bit data α based on these two signal magnitude then 0(n).Like this, can make full use of the phase information that signal waveform itself comprises, and can upgrade by phase-locked bit data, thereby improve the analysis precision that phase place is differentiated, also can improve the speed of phase locked track simultaneously, reduce Measuring Time according to sample rate.In addition, the phase place of the inventive method differentiates that link is by to by phase-locked position α 0(n) and pll phase α ' (n) get that poor mode obtains.So when basicly stable, pll phase can approach by phase-locked position with the zero-mean deviation when phase-locked, this has just fundamentally overcome and has calculated phase place according to zero crossing merely, seriously is subjected to the deficiency of noise, makes phase measurement accuracy improve greatly.Should also be noted that the inventive method at last in the 1st step the treatment step to signal sampling, other processing links can adopt the software mode design to realize.Speed, precision and the stability of controlling whole measuring process by adjustment design parameter and data precision are to be relatively easy to, and can realize this measuring process based on various little process chip easily.
Description of drawings
Fig. 1 is the theory diagram of existing method based on phaselocked loop measuring-signal frequency and phase place.
Fig. 2 is the theory diagram of the digital measuring method of frequency of the present invention and phase place.
Fig. 3 is the input signal squiggle through obtaining after first group of sampling pre-service and second group sampling pre-service respectively in the first embodiment of the invention.
Fig. 4 is the realization block diagram of first embodiment of the invention intermediate ring road Filtering Processing.
Fig. 5 is the amplitude-versus-frequency curve of transfer function H in the first embodiment of the invention ' (s).
Fig. 6 is the phase locked track frequency curve of first embodiment of the invention measuring process.
Fig. 7 is that first embodiment of the invention was at 0~0.4 second interval Phase Tracking curve.
Fig. 8 is that first embodiment of the invention was at 1~1.4 second interval Phase Tracking curve.
Specific implementation method
First embodiment of the digital measuring method of frequency of the present invention and phase place is used for the ac voltage signal about 50Hz is carried out the measurement of frequency and phase place, and the theory diagram of its realization as shown in Figure 2.Concrete treatment step is as follows:
1, to need survey frequency and phase place, the AC signal u (t) of frequency in 45~65Hz scope, at first with sample frequency F s=1000Hz carries out analog to digital conversion to signal u (t), and further discrete data is carried out first group of phase-shift filtering F1 and handle, and obtains signal u 1(n), thus finish first group the sampling pre-service; With same sample frequency F s=1000Hz carries out analog to digital conversion to signal u (t), and further discrete data is carried out second group of phase-shift filtering F2 and handle, and obtains signal u 2(n), thus finish second group the sampling pre-service.
Above-mentioned first group of low-pass digital filter that phase-shift filtering F1 is an infinite-duration impulse response IIR type, its frequency domain transport property H F1(e J ω) have a following form: H F 1 ( e jω ) = B 1 ( 1 ) + B 1 ( 2 ) e - jω + B 1 ( 3 ) e - j 2 ω + B 1 ( 4 ) e - j 3 ω A 1 ( 1 ) + A 1 ( 2 ) e - jω + A 1 ( 3 ) e - j 2 ω + B 1 ( 4 ) e - j 3 ω Concrete coefficient is as follows:
B1=[-0.081603248,-0.6662151,2.0287446,-1.3020016]
A1=[1.3020016,-2.0287446,0.6662151,0.081603248]
According to the digital filtering design theory as can be known, digital filtering F1 is a cause and effect, promptly is attainable.And further analyze as can be known that this Filtering Processing is stable.
Above-mentioned second group of low-pass digital filter that phase-shift filtering F2 also is an infinite-duration impulse response IIR type, its frequency domain transport property H F2(e J ω) have a following form: H F 2 ( e jω ) = B 2 ( 1 ) + B 2 ( 2 ) e - jω + B 2 ( 3 ) e - , 2 ω A 2 ( 1 ) + A 2 ( 2 ) e - jω + A 2 ( 3 ) e - j 2 ω Concrete coefficient is as follows:
B2=[-0.37078953,1.2327431,-0.94007795]
A2=[0.94007795,-1.2327431,0.37078953]
According to the digital filtering design theory as can be known, digital filtering F2 also is a cause and effect, promptly is attainable.And further analyze as can be known that this Filtering Processing is stable.
These two groups of digital filterings amplitude gain in 45~65Hz scope all is 1, and its phase-shift characterisitc differs 90 °.If have sinusoidal ac signal u (t)=sin that an amplitude is 1, frequency is 50Hz (2 π * 50 * t) (volt), to u (t) according to sampling rate F sThe signal that=1000Hz carries out after the analog to digital conversion is u (n), through obtaining output signal u after aforementioned first group of sampling pre-service 1(n), simultaneously through obtaining output signal u after aforementioned second group of sampling pre-service 2(n), u (n), the u in the 100th to 150 sampled point scope then 1(n) and u 2(n) actual waveform curve as shown in Figure 3, wherein u (n), u 1(n) and u 2(n) u, u1 and u2 in the curve difference corresponding diagram 3.As can be seen from the figure, u on phase relation 2(n) the just in time leading u of signal 1(n) signal is 90 °.
2, the discrete digital signal u that above-mentioned the 1st step is obtained 1(n) and u 2(n) be combined as the coordinate (u of the some A in the Cartesian coordinates that initial point is O 2(n), u 1(n)), then thus obtained vector
Figure A0211688500082
With the angle of transverse axis positive dirction will be in order to as by phase-locked bit data α 0(n).Get among the embodiment-π≤α 0(n)<and π, then this processing procedure also can be calculated according to following formula:
3, with above-mentioned the 2nd the step obtain by phase-locked bit data α 0(n) with feed back from output frequency f (n) and handle through integration and the phase hit adjustment in following the 7th step after the pll phase data α ' that obtains (n) get poorly, obtain phase error Δ α (n), computing formula is:
Δα(n)=α 0(n)-α′(n)
4, the Δ α (n) that above-mentioned the 3rd step is obtained handles through loop filtering, obtains the frequency f (n) of locked signal.Can realize this loop filtering processing with reference to the theory structure of Fig. 4.Detailed process is: phase error Δ α (n) obtains y through after the integral element 1(n); Simultaneously, phase error Δ α (n) also obtains y through the proportional delay link 2(n); To y 1(n) and y 2(n) sue for peace and obtain y (n), be i.e. y (n)=y 1(n)+y 2(n); Y (n) needing to obtain the signal frequency f (n) of measurement again through first order inertial loop.
Wherein, the computing formula of integral element is:
y 1(n)=y 1(n-1)+0.0362666 Δ α (n) thus, the complex frequency domain transport function form of integral element can approximate expression be: H 1 ( s ) = 36.2666 s The computing formula of proportional delay link is:
y 2(n)=0.804868y 2(n-1)+0.708540 the complex frequency domain transport function of Δ α (n) proportional delay link is approximately: H 2 ( s ) = 880.3179 s + 242.4401 The computing formula of inertial element is:
The complex frequency domain transport function formal approximation of f (n)=0.932642f (n-1)+0.067358y (n) inertial element is: H 3 ( s ) = f ( s ) y ( s ) = 1 0.013846 s + 1
So, the complex frequency domain transfer function H of whole loop filtering processing section LP(s) form is: H LP ( s ) = ( H 1 ( s ) + H 2 ( s ) ) · H 3 ( s ) = 66198.5 · s + 635019 s ( s 2 + 314.668 · s + 17509.8 ) So, have: H 0 ( s ) = H LP ( s ) · s = 66198.5 · s + 635019 s 2 + 314.668 · s + 17509.8
The transport property of the phase-locked system that calculates thus, is: H ( s ) = s · H 0 ( s ) s 2 + 2 π H 0 ( s ) = 66198.5 · s 2 + 635019 · s s 4 + 314.668 · s 3 + 17509.8 · s 2 + 415937 · s + 3989940 Four limits of H (s) are successively :-251.334 ,-25.1324 and-19.1008 ± j16.3345.According to control theory as can be known, this phase-locked system H (s) is stable.So, transfer function H ' (s) be: H ′ ( s ) = H 0 ( s ) s 2 + 2 π · H 0 ( s ) = 66198.5 · s + 635019 s 4 + 314.668 · s 3 + 17509.8 · s 2 + 415937 · s + 3989940 H ' amplitude-versus-frequency curve (s) as shown in Figure 5, its horizontal ordinate is a logarithmic coordinate system.By H ' amplitude versus frequency characte (s) as seen, H ' (s) has a low-frequency filter characteristics, greater than H ' amplitude versus frequency characte (s) after the 20Hz just drop to-below the 35dB.
5, the pll phase data α ' that the frequency f (n) of above-mentioned the 4th measured signal that obtains of step and following the 7th step are obtained (n) carries out integration according to following formula and adds up:
α 1(n)=α ' (n-1)+0.002 π f (n) obtain intermediate phase data α 1(n).
6, to above-mentioned the 2nd the step obtain by phase-locked bit data α 0(n) carry out the quadrant transition detection, obtain transition detection data J (n).The judgment threshold constant of setting transition detection is J TH=4, because f MaxSo=65Hz is data J THSatisfy
Figure A0211688500101
The computing formula of transition detection data J (n) is:
Figure A0211688500102
7, the intermediate phase data α that above-mentioned the 5th step is obtained 1(n) and above-mentioned the 6th transition detection data J (n) addition that obtains of step, promptly α ' (n)=α 1(n)+and J (n), thus obtain in order to be input to pll phase data α ' that above-mentioned the 3rd step constitutes phase-locked loop (n).
8, the intermediate phase data α that above-mentioned the 6th step is obtained 1(n) carrying out phase compensation and data adjustment handles.In above-mentioned the 1st step, first group of sampling pre-service can be calculated (unit: radian) with following approximate formula to the phase shift function that input signal produces
θ 1(f)=0.822384-0.0574974·f+0.000256414·f 2
(45≤f≤65) so, the tested phase place of output (unit: radian) be:
α (n)=α 1(n)-θ 1(f (n))+K2 π wherein, K is one and adjusts coefficient that its value satisfies the integer of 0≤α (n)<2 π for making α (n).
Adopt first embodiment of the invention one input signal to be carried out the measurement of frequency and phase place.Input signal was that a frequency is that 50Hz, fundamental voltage amplitude are 1 volt sinusoidal ac signal u (t) in 0~1 second, and after one second, the frequency hopping of this input signal is to 55Hz, and its fundamental voltage amplitude still is 1 volt.In addition, this signal includes 2~20 times harmonic wave and noise all the time in 0~2 second, and the amplitude of second harmonic reaches 0.2 volt.The embodiment of the invention to the frequency-tracking curve of input signal as shown in Figure 6, locked through 0.4 second temporal frequency in 0~2 second substantially.After the locking, the frequency data f (n) of output still has certain fluctuation, and this is because harmonic wave and caused by noise.But by the amplitude that fluctuates as seen: this measuring system has had stronger inhibiting effect to harmonic wave and noise.In addition, Fig. 7 has provided the Phase Tracking curve of embodiment in 0~0.4 second time period; Fig. 8 has provided the Phase Tracking curve of embodiment in 1~1.4 second time period.
Second embodiment of the digital measuring method of frequency of the present invention and phase place is used for measuring the frequency and the phase place of A phase voltage signal at three phase network.
The A phase voltage of supposing three phase network is:
u A(t)=U mSin (2 π ft+ ) wherein is the initial phase of A phase voltage.Then the voltage of B phase, C phase is respectively:
u B(t)=U msin(2πft-120°+)
u C(t)=U mSin (2 π ft+120 °+) CB line voltage is:
u CB(t)=u C(t)-u B(t) As seen, CB line voltage signal u CB(t) leading A phase voltage signal u A(t) phase place is 90 °.
Go on foot in the processing in the 1st of second embodiment of the invention, at first A phase voltage u importing A(t) with frequency F s=1000Hz samples, and directly obtains first group of sampling pre-service output: Second group of sampling pre-service then utilized the phase-shift characterisitc of electrical network to three-phase voltage itself.Concrete steps are: at first to C phase, the B line voltage between mutually according to frequency F s=1000Hz samples, and obtains signal u CB(n), calculate according to following formula then:
Figure A0211688500113
The 2nd~7 step subsequently is identical with first embodiment, repeats no more.In the 8th step of second embodiment, the phase shift function of being got is θ 1(f)=0, then according to formula α (n)=α 1(n)-θ 1(f (n))+K2 π calculates the phase place of the A phase voltage signal of being surveyed.By frequency and the phase place of measuring the A phase voltage, also just can further obtain mains frequency and B, C phase place mutually.

Claims (1)

1, the digital measuring method of a kind of frequency and phase place is characterized in that this method comprises the steps:
(1) establishing the ac input signal that needs survey frequency and phase place is u (t)=U mSin (2 π ft+ θ) carries out first group of sampling pre-service and second group of sampling pre-service simultaneously to this signal, obtains discrete signal respectively u 1 ( n ) = k 1 ( f ) U m sin ( 2 π f F s n + θ + θ 1 ( f ) ) u 2 ( n ) = k 2 ( f ) U m sin ( 2 π f F s n + θ + θ 2 ( f ) ) ;
Wherein f is the frequency of this AC signal, and satisfies f Min<f<f Max, θ is the initial phase of this AC signal, gain function k 1(f), gain function k 2(f), phase shift function # 1(f), phase shift function # 2(f) be the arbitrary function that satisfy following relational expression relevant with frequency input signal f:
(2) the discrete digital signal u that above-mentioned (1) step is obtained 1(n) and u 2(n) be combined into the coordinate (u that initial point is the Cartesian coordinates mid point A of O 2(n), u 1(n)), thus obtained vector With the angle of transverse axis positive dirction as by phase-locked bit data α 0(n);
(3) with above-mentioned (2) step obtain by phase-locked bit data α 0(n) with feed back from output frequency f (n) and pll phase data α ' after integration and the phase hit adjustment in following (7) step are handled (n) gets poorly, obtain phase error Δ α (n);
(4) the phase error Δ α (n) that above-mentioned (3) step is obtained handles through loop filtering, thereby obtains the frequency f (n) of measured signal; In the above-mentioned loop filtering processing procedure, its complex frequency domain transfer function H LP(s) form is:
Figure A0211688500024
Make the transport function of measuring process simultaneously
Figure A0211688500025
Stable, and make Has the low-pass filtering performance, H ' cut-off frequecy of passband f (s) LFLower limit f less than the locked signal frequency Min
(5) the pll phase data α ' that the frequency f (n) of above-mentioned (4) measured signal that obtains of step and following (7) step are obtained (n) carries out integration according to following formula and adds up, and obtains intermediate phase data α 1(n): α 1 ( n ) = α ′ ( n - 1 ) + 2 π · f ( n ) F s
(6) to above-mentioned (2) step obtain by phase-locked bit data α 0(n) carry out the quadrant transition detection, obtain transition detection data J (n), the judgment threshold constant of this transition detection is made as J TH, constant J THSatisfy
Figure A0211688500028
So transition detection data J (n) with by phase-locked position α 0(n) relation table is shown:
(7) the intermediate phase data α that above-mentioned (5) step is obtained 1(n) with above-mentioned (6) transition detection data J (n) addition that obtains of step, promptly α ' (n)=α 1(n)+and J (n), be entered into above-mentioned (3) step to handle (n) with the pll phase data α ' that constitutes phase-locked loop;
(8) the intermediate phase data α that above-mentioned (6) step is obtained 1(n) carry out phase compensation and data adjustment and handle, obtain signal phase α (the n)=α of required measurement 1(n)-θ 1(f (n))+K2 π, wherein, function # 1(f) in above-mentioned (1) step input signal being carried out the phase shift function that first group of sampling produces after the pre-service, K is for adjusting coefficient, and its value satisfies the integer of 0≤α (n)<2 π for making α (n).
CNB021168857A 2002-04-24 2002-04-24 Digital measuring method of frequency and phase Expired - Fee Related CN1159592C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB021168857A CN1159592C (en) 2002-04-24 2002-04-24 Digital measuring method of frequency and phase

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB021168857A CN1159592C (en) 2002-04-24 2002-04-24 Digital measuring method of frequency and phase

Publications (2)

Publication Number Publication Date
CN1382995A true CN1382995A (en) 2002-12-04
CN1159592C CN1159592C (en) 2004-07-28

Family

ID=4744277

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB021168857A Expired - Fee Related CN1159592C (en) 2002-04-24 2002-04-24 Digital measuring method of frequency and phase

Country Status (1)

Country Link
CN (1) CN1159592C (en)

Cited By (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101789601A (en) * 2010-03-16 2010-07-28 许昌开普电器检测研究院 Real time digital system (RTDS) phase-locking synchronous element
CN101806832A (en) * 2010-04-15 2010-08-18 南京邮电大学 Measuring method for frequencies of low-frequency signals
CN101813725A (en) * 2010-04-15 2010-08-25 南京邮电大学 Method for measuring phase difference of low-frequency signals
CN101576586B (en) * 2008-05-09 2010-12-22 中国科学院半导体研究所 Phase detection method based on adaptive filtering
CN101603984B (en) * 2009-07-01 2011-04-06 湖南大学 Real-time detection method for the digitalization of electrical signal frequency
CN101446620B (en) * 2007-11-28 2011-04-06 中国科学院半导体研究所 Battery-based semiconductor AC differential conductive scanning measurement system
CN102385003A (en) * 2011-11-07 2012-03-21 清华大学 Method for detecting frequency and phase of voltage signals or current signals in electric power system
CN102466765A (en) * 2010-11-19 2012-05-23 北京中纺锐力机电有限公司 Power supply inverter and power supply phase detection circuit thereof
CN102497203A (en) * 2011-12-02 2012-06-13 武汉纺织大学 Phase-locked subdivision method for displacement detection
CN102928662A (en) * 2012-10-31 2013-02-13 江汉大学 Method and device for measuring signal frequency stability
CN103134985A (en) * 2011-11-24 2013-06-05 上海华建电力设备股份有限公司 Engineering implementation method of power synchronous trap
CN103188190A (en) * 2011-12-28 2013-07-03 中国电信股份有限公司 Method and system for measuring carrier signal interference
CN103575991A (en) * 2012-07-26 2014-02-12 南京邮电大学 Method for accurately measuring instantaneous phase of alternating current
CN103575990A (en) * 2012-07-26 2014-02-12 南京邮电大学 Method for digital measuring of instantaneous phase of alternating current
CN104280610A (en) * 2014-10-10 2015-01-14 深圳晶福源科技股份有限公司 Phase-lock loop and grid frequency detecting method of phase-lock loop
CN104330623A (en) * 2014-10-29 2015-02-04 广东电网有限责任公司电力科学研究院 Sine wave parameter measuring method and system in electric power system
CN104502702A (en) * 2014-12-10 2015-04-08 广东电网有限责任公司电力科学研究院 Method and system for detecting frequency of power signal
CN104990616A (en) * 2015-06-26 2015-10-21 广州能源检测研究院 Multi-path desynchronous pulse counting compensation method based on cascading adaptive trap wave device
CN105044455A (en) * 2015-07-09 2015-11-11 宁波大学 Method for measuring frequency and phase of alternating current signal
CN105093010A (en) * 2015-07-21 2015-11-25 胜利油田胜利电器有限责任公司 Digital filtering method for extracting waves with specific frequency from frequency-mixing periodic signals
CN105092966A (en) * 2014-04-21 2015-11-25 西门子公司 Electrical signal frequency detection method and device, equipment protection device and protection equipment
CN105203842A (en) * 2015-09-18 2015-12-30 广东电网有限责任公司电力科学研究院 Method and system for extracting sine function reference signal out of electric power signal
CN105223419A (en) * 2015-09-18 2016-01-06 广东电网有限责任公司电力科学研究院 The all phase difference detection method of electric power signal and system
CN105262480A (en) * 2015-10-22 2016-01-20 江苏绿扬电子仪器集团有限公司 System for recovering clock signal from high-speed serial signals
CN105656484A (en) * 2015-12-29 2016-06-08 中国电子科技集团公司第二十六研究所 Differential phase radio frequency phase shifting method and system
CN107782966A (en) * 2016-08-24 2018-03-09 施耐德电器工业公司 Determine the frequency of AC signal
CN108037358A (en) * 2017-12-12 2018-05-15 深圳市绘王动漫科技有限公司 Microcontroller frequency testing system and method
CN109001661A (en) * 2018-05-31 2018-12-14 上海思源弘瑞自动化有限公司 The consistency of double sampled value determines method, apparatus, terminal device and storage medium
CN109149632A (en) * 2018-08-23 2019-01-04 广西大学 A kind of single-phase photovoltaic inverter digital phase-locked loop control method
CN110501728A (en) * 2018-05-16 2019-11-26 清华大学 The frequency discrimination method and frequency discrimination device of signal when locating base station is jumped
CN110927452A (en) * 2019-11-26 2020-03-27 华北水利水电大学 Phase difference measuring method and device based on instantaneous reactive power
CN112671023A (en) * 2020-11-20 2021-04-16 国网湖南省电力有限公司 HVDC system commutation failure occurrence analysis method considering phase angle jump influence
CN114608627A (en) * 2022-03-14 2022-06-10 浙江大学 High-precision wide-range phase measurement system based on over-quadrant detection

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101408568B (en) * 2007-10-12 2010-12-01 深圳科士达科技股份有限公司 Method and device for measuring electrical signal phase of alternating current

Cited By (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101446620B (en) * 2007-11-28 2011-04-06 中国科学院半导体研究所 Battery-based semiconductor AC differential conductive scanning measurement system
CN101576586B (en) * 2008-05-09 2010-12-22 中国科学院半导体研究所 Phase detection method based on adaptive filtering
CN101603984B (en) * 2009-07-01 2011-04-06 湖南大学 Real-time detection method for the digitalization of electrical signal frequency
CN101789601A (en) * 2010-03-16 2010-07-28 许昌开普电器检测研究院 Real time digital system (RTDS) phase-locking synchronous element
CN101789601B (en) * 2010-03-16 2012-07-18 许昌开普电器检测研究院 Real time digital system (RTDS) phase-locking synchronous element
CN101813725B (en) * 2010-04-15 2012-07-04 南京邮电大学 Method for measuring phase difference of low-frequency signals
CN101806832B (en) * 2010-04-15 2012-07-04 南京邮电大学 Measuring method for frequencies of low-frequency signals
CN101813725A (en) * 2010-04-15 2010-08-25 南京邮电大学 Method for measuring phase difference of low-frequency signals
CN101806832A (en) * 2010-04-15 2010-08-18 南京邮电大学 Measuring method for frequencies of low-frequency signals
CN102466765A (en) * 2010-11-19 2012-05-23 北京中纺锐力机电有限公司 Power supply inverter and power supply phase detection circuit thereof
CN102385003A (en) * 2011-11-07 2012-03-21 清华大学 Method for detecting frequency and phase of voltage signals or current signals in electric power system
CN102385003B (en) * 2011-11-07 2013-07-24 清华大学 Method for detecting frequency and phase of voltage signals or current signals in electric power system
CN103134985A (en) * 2011-11-24 2013-06-05 上海华建电力设备股份有限公司 Engineering implementation method of power synchronous trap
CN102497203A (en) * 2011-12-02 2012-06-13 武汉纺织大学 Phase-locked subdivision method for displacement detection
CN103188190A (en) * 2011-12-28 2013-07-03 中国电信股份有限公司 Method and system for measuring carrier signal interference
CN103188190B (en) * 2011-12-28 2016-03-02 中国电信股份有限公司 A kind of method and system measuring carrier signal interference
CN103575991A (en) * 2012-07-26 2014-02-12 南京邮电大学 Method for accurately measuring instantaneous phase of alternating current
CN103575990A (en) * 2012-07-26 2014-02-12 南京邮电大学 Method for digital measuring of instantaneous phase of alternating current
CN103575990B (en) * 2012-07-26 2016-02-03 南京邮电大学 A kind of method of instantaneous phase of digitized measurement alternating current
CN103575991B (en) * 2012-07-26 2016-02-10 南京邮电大学 A kind of accurate measurement method of instantaneous phase of alternating current
CN102928662B (en) * 2012-10-31 2015-02-04 江汉大学 Method and device for measuring signal frequency stability
CN102928662A (en) * 2012-10-31 2013-02-13 江汉大学 Method and device for measuring signal frequency stability
CN105092966A (en) * 2014-04-21 2015-11-25 西门子公司 Electrical signal frequency detection method and device, equipment protection device and protection equipment
CN104280610A (en) * 2014-10-10 2015-01-14 深圳晶福源科技股份有限公司 Phase-lock loop and grid frequency detecting method of phase-lock loop
CN104330623A (en) * 2014-10-29 2015-02-04 广东电网有限责任公司电力科学研究院 Sine wave parameter measuring method and system in electric power system
CN104330623B (en) * 2014-10-29 2017-05-24 广东电网有限责任公司电力科学研究院 Sine wave parameter measuring method and system in electric power system
CN104502702A (en) * 2014-12-10 2015-04-08 广东电网有限责任公司电力科学研究院 Method and system for detecting frequency of power signal
CN104502702B (en) * 2014-12-10 2017-04-12 广东电网有限责任公司电力科学研究院 Method and system for detecting frequency of power signal
CN104990616B (en) * 2015-06-26 2018-01-19 广州能源检测研究院 The asynchronous step-by-step counting compensation method of multichannel based on cascade adaptive trapper
CN104990616A (en) * 2015-06-26 2015-10-21 广州能源检测研究院 Multi-path desynchronous pulse counting compensation method based on cascading adaptive trap wave device
CN105044455A (en) * 2015-07-09 2015-11-11 宁波大学 Method for measuring frequency and phase of alternating current signal
CN105093010A (en) * 2015-07-21 2015-11-25 胜利油田胜利电器有限责任公司 Digital filtering method for extracting waves with specific frequency from frequency-mixing periodic signals
CN105223419A (en) * 2015-09-18 2016-01-06 广东电网有限责任公司电力科学研究院 The all phase difference detection method of electric power signal and system
CN105203842A (en) * 2015-09-18 2015-12-30 广东电网有限责任公司电力科学研究院 Method and system for extracting sine function reference signal out of electric power signal
CN105223419B (en) * 2015-09-18 2017-11-14 广东电网有限责任公司电力科学研究院 The all phase difference detection method and system of electric power signal
CN105203842B (en) * 2015-09-18 2018-03-20 广东电网有限责任公司电力科学研究院 The method and system of SIN function reference signal is extracted from electric power signal
CN105262480A (en) * 2015-10-22 2016-01-20 江苏绿扬电子仪器集团有限公司 System for recovering clock signal from high-speed serial signals
CN105656484A (en) * 2015-12-29 2016-06-08 中国电子科技集团公司第二十六研究所 Differential phase radio frequency phase shifting method and system
CN107782966A (en) * 2016-08-24 2018-03-09 施耐德电器工业公司 Determine the frequency of AC signal
CN108037358A (en) * 2017-12-12 2018-05-15 深圳市绘王动漫科技有限公司 Microcontroller frequency testing system and method
CN110501728A (en) * 2018-05-16 2019-11-26 清华大学 The frequency discrimination method and frequency discrimination device of signal when locating base station is jumped
CN110501728B (en) * 2018-05-16 2022-03-29 清华大学 Frequency discrimination method and device for time hopping signal of positioning base station
CN109001661A (en) * 2018-05-31 2018-12-14 上海思源弘瑞自动化有限公司 The consistency of double sampled value determines method, apparatus, terminal device and storage medium
CN109001661B (en) * 2018-05-31 2021-02-09 上海思源弘瑞自动化有限公司 Method and device for determining consistency of double sampling values, terminal equipment and storage medium
CN109149632A (en) * 2018-08-23 2019-01-04 广西大学 A kind of single-phase photovoltaic inverter digital phase-locked loop control method
CN110927452A (en) * 2019-11-26 2020-03-27 华北水利水电大学 Phase difference measuring method and device based on instantaneous reactive power
CN110927452B (en) * 2019-11-26 2021-11-09 华北水利水电大学 Phase difference measuring method and device based on instantaneous reactive power
CN112671023A (en) * 2020-11-20 2021-04-16 国网湖南省电力有限公司 HVDC system commutation failure occurrence analysis method considering phase angle jump influence
CN114608627A (en) * 2022-03-14 2022-06-10 浙江大学 High-precision wide-range phase measurement system based on over-quadrant detection

Also Published As

Publication number Publication date
CN1159592C (en) 2004-07-28

Similar Documents

Publication Publication Date Title
CN1382995A (en) Digital measuring method of frequency and phase
CN108519498A (en) A kind of self-adapting closed loop measuring system of Micromachined Accelerometer Based on Resonant Principle
DE102009061783B3 (en) Prediction phase-locked loop system
CN101055299A (en) Impact load electric energy metering method
CN102270961B (en) Signal subdividing method and subdividing device for sine-cosine encoder, and motor control device
CN100587504C (en) Digital synchronous sampling method
CN102937668A (en) Electric system low-frequency oscillation detection method
CN103472302B (en) The method detecting electric network voltage phase with single-phase photovoltaic grid-connected inverter
CN103490772B (en) A kind of slip based on reactive-load compensation weights single-phase soft-lock phase method
CN1677844A (en) High performance signal generation
CN1946071A (en) Method for single path detecting input signal phase difference and relative amplitude
CN105629060B (en) Power grid frequency measurement method and device based on optimal baseband filtering
CN101964655B (en) Balance error elimination type high-precision digital phase locking method
CN108333426A (en) Power system frequency measurement method based on fourier algorithm
CN1976225A (en) Frequency tracking power frequency digital filtering method
CN1968019A (en) All-digital phase-lock loop used for precision testing of city electricity
CN108918965A (en) Multi channel signals phase, amplitude high-precision measuring method
CN2703260Y (en) Wattless power measuring circuit for realizing 90 degree phase shifting
CN1142440C (en) 90-deg phose-lock phase shifter for measuring true reactive power
CN112468148A (en) Multi-sampling-rate low-power-consumption micromechanical gyroscope digital signal processing method
CN1298109C (en) Novel lock phase detection circuit
Ye et al. Design and research of improved digital phase-locked loop based on FPGA
CN103605291B (en) The Hardware In The Loop Simulation Method of a kind of alternating current traction electric drive system and system architecture
CN1658507A (en) Double correction software phase-lock loop implementation method
CN1131619C (en) Digital phase-locking method

Legal Events

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

Granted publication date: 20040728