CN105044455B - The frequency of AC signal and the measuring method of phase - Google Patents

The frequency of AC signal and the measuring method of phase Download PDF

Info

Publication number
CN105044455B
CN105044455B CN201510405191.4A CN201510405191A CN105044455B CN 105044455 B CN105044455 B CN 105044455B CN 201510405191 A CN201510405191 A CN 201510405191A CN 105044455 B CN105044455 B CN 105044455B
Authority
CN
China
Prior art keywords
signal
zero point
frequency
phase
crosses
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510405191.4A
Other languages
Chinese (zh)
Other versions
CN105044455A (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.)
Ningbo University
Original Assignee
Ningbo 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 Ningbo University filed Critical Ningbo University
Priority to CN201510405191.4A priority Critical patent/CN105044455B/en
Publication of CN105044455A publication Critical patent/CN105044455A/en
Application granted granted Critical
Publication of CN105044455B publication Critical patent/CN105044455B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of frequency of AC signal and the measuring method of phase, its AC signal given first crosses the frequency measured during the 1st zero point and the phase of determination;Then time during the excessive preceding zero point of AC signal is read;When then by judging the excessive preceding zero point of AC signal and excessively previous zero point when between period in frequency whether determine whether current zero point is interference signal in the reasonable scope;When current zero point is non-interference signal, further according to the time and AC signal currently read excessively previous zero point when the frequency that measures, calculate frequency during the excessive preceding zero point of AC signal, and according to the time and AC signal currently read excessively previous zero point when the frequency that measures determine AC signal excessive preceding zero point when phase;Repeat in real time obtain AC signal excessively each zero point when frequency and phase;Advantage is greatly or in the case of wave distortion, can accurately still to measure frequency even in power network interference, and accurately determines phase, good in anti-interference performance.

Description

The frequency of AC signal and the measuring method of phase
Technical field
The present invention relates to a kind of alternating current signal detection technology, the measurement side of frequency and phase more particularly, to AC signal Method.
Background technology
In many control systems, it is often necessary to power network or other AC signals are detected, and when detecting AC signal Need the zero point of Measuring Alternating Current Signal and the frequency of AC signal and phase.
At present, the method for Measuring Alternating Current Signal frequency has the counting of the chronometry and Timing measurement signal number of measurement period Method.The fixed frequency of general AC signal is 50HZ or 60HZ, and in actual use, frequency is not necessarily strict 50HZ Or 60HZ, certain deviation be present, simultaneously because electronic equipment is used in conjunction with, the waveform of power network can deform or severe jamming, In this case, the measurement result of the method for above-mentioned Measuring Alternating Current Signal frequency can be inaccurate.
At present, the method for Measuring Alternating Current Signal phase has the method that zero crossing timing judges and surveys the side of voltage calculating phase Method.Both approaches can accurately obtain the phase of AC signal, but first method is needed by timer, second Method is needed by a/d converter;In addition, two methods can cause phase measurement because the interference of signal or the inaccuracy of frequency Inaccuracy.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of frequency of AC signal and the measuring method of phase, its energy Enough frequencies and phase for measuring AC signal exactly, and measurement cost is low.
Technical scheme is used by the present invention solves above-mentioned technical problem:A kind of survey of the frequency and phase of AC signal Amount method, it is characterised in that comprise the following steps:
1. make F1Represent that AC signal crosses the frequency measured during the 1st zero point, and make F1=F;Make P1Represent AC signal mistake The phase determined during the 1st zero point, and make P1=0 degree;Wherein, F represents the estimation frequency of AC signal, and unit is HZ, F's Value is estimated to obtain according to the application scenario of AC signal;
2. assuming that current AC signal crosses i-th of zero point, then time when AC signal crosses i-th of zero point is read, is designated as ti, unit s, wherein, i initial value is 2, tiValue for AC signal cross the i-th -1 zero point terminate to cross i-th of zero point knot A period of time of beam;
3. judgeWhether it is more than or equal to F-F × 10% and is less than or equal to F+F × 10%, if it is, thinks i-th Individual zero point is non-interference signal, then performs step 4.;Otherwise it is assumed that i-th of zero point is interference signal, step is then performed ⑤;
4. calculating AC signal crosses the frequency measured during i-th of zero point, F is designated asi, and unit is HZ, Wherein, Fi-1Represent that AC signal crosses the frequency measured during the i-th -1 zero point, and unit is HZ, fiRepresent AC signal cross i-th- The frequency in period between when during 1 zero point and crossing i-th of zero point, and unit is HZ,It is then determined that exchange letter Phase during number i-th of zero point of mistake, is designated as Pi, unit is degree,Step is performed again 5.;
5. making i=i+1, it is then back to step and 2. continues executing with, obtains frequency when AC signal crosses i-th of zero point in real time And phase, until AC signal is disposed, wherein, "=" in i=i+1 is assignment.
Compared with prior art, the advantage of the invention is that:
1) AC signal crosses the estimation frequency that the frequency measured during the 1st zero point is AC signal, and is calculating exchange letter During the frequency measured number later during continuous zero point, during preceding zero point excessive according to AC signal and excessively previous zero point when between time Frequency and AC signal in section excessively previous zero point when the frequency that obtains, to calculate what is obtained during the excessive preceding zero point of AC signal Frequency, therefore time of measuring is longer, the frequency of the AC signal measured is more accurate.
2) it is determined that after frequency during AC signal zero crossing point, then phase when determining AC signal zero crossing point, according to friendship The frequency that is measured when time and AC signal during the stream excessive preceding zero point of signal excessive preceding zero point determines that AC signal is excessively current Phase during zero point, because the frequency measured during AC signal zero crossing point is more accurate, therefore it is effectively improved the survey of phase Measure accuracy.
3) remaining zero point of the inventive method to AC signal in addition to the 1st zero point, first passes through and judges that AC signal is excessive During preceding zero point and excessively previous zero point when between period in frequency whether in the reasonable scope, to determine that current zero point is No is interference signal, that is, can be good at determining to disturb unreasonable position, accordingly even when being disturbed in power network big or wave distortion In the case of, frequency can accurately be still measured, and phase is determined, good in anti-interference performance.
Brief description of the drawings
Fig. 1 is the implementation process block diagram of the inventive method;
Fig. 2 is the waveform diagram of an AC signal.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing embodiment.
A kind of frequency of AC signal proposed by the present invention and the measuring method of phase, it realizes FB(flow block) such as Fig. 1 institutes Show, it comprises the following steps:
1. make F1Represent that AC signal crosses the frequency measured during the 1st zero point, and make F1=F;Make P1Represent AC signal mistake The phase determined during the 1st zero point, and make P1=0 degree;Wherein, F represents the estimation frequency of AC signal, and unit is HZ, F's Value is estimated to obtain according to the application scenario of AC signal, as AC signal is applied to power network, then can make F=50HZ or F=60HZ.
2. assuming that current AC signal crosses i-th of zero point, then time when AC signal crosses i-th of zero point is read, is designated as ti, unit s, wherein, i initial value is 2, tiValue for AC signal cross the i-th -1 zero point terminate to cross i-th of zero point knot A period of time of beam.
3. judgeWhether it is more than or equal to F-F × 10% and is less than or equal to F+F × 10%, if it is, thinks i-th Individual zero point is non-interference signal, then performs step 4.;Otherwise it is assumed that i-th of zero point is interference signal, ignore i-th of zero point, Frequency and phase are not obtained when i.e. AC signal crosses i-th of zero point, then performs step 5..
4. calculating AC signal crosses the frequency measured during i-th of zero point, F is designated asi, and unit is HZ,Wherein, Fi-1Represent that AC signal crosses the frequency measured during the i-th -1 zero point, and unit is HZ, fi The frequency in period between when representing when AC signal crosses the i-th -1 zero point and cross i-th of zero point, and unit is HZ,Phase when then determining that AC signal crosses i-th of zero point by theoretical calculation, is designated as Pi, unit is degree,Step is performed again 5..
5. making i=i+1, it is then back to step and 2. continues executing with, obtains frequency when AC signal crosses i-th of zero point in real time And phase, until AC signal is disposed, wherein, "=" in i=i+1 is assignment.
To further illustrate the feasibility and validity of the inventive method, tested.
Fig. 2 gives the oscillogram of an AC signal, and the excessively each zero point of AC signal is obtained using the inventive method When the frequency that the measures and phase determined.AC signal crosses the frequency F measured during the 1st zero point1=F, AC signal cross the 1st The phase P determined during zero point1=0 degree;When AC signal crosses the 2nd zero point, time when AC signal crosses the 2nd zero point is read For t2, andMore than or equal to F-F × 10% and it is less than or equal to F+F × 10%, it is thus determined that the 2nd zero point is useful signal Rather than interference signal, pass throughCalculate AC signal and cross the frequency F measured during the 2nd zero point2, and lead to CrossDetermine phase P when AC signal crosses the 2nd zero point2;When AC signal crosses the 3rd zero point, read Time when AC signal crosses the 3rd zero point is t3, andMore than or equal to F-F × 10% and it is less than or equal to F+F × 10%, It is thus determined that the 3rd zero point is useful signal rather than interference signal, pass throughCalculate AC signal mistake The frequency F measured during the 3rd zero point3, and pass throughDetermine phase when AC signal crosses the 3rd zero point P3;When AC signal crosses the 4th zero point, the time read when AC signal crosses the 4th zero point is t4, andIt is not more than or is waiting In F-F × 10% and less than or equal to F+F × 10% in the range of this, it is thus determined that the 4th zero point is interference signal, ignore the 4 zero points;Said process is repeated, determines that the 5th zero point, the 6th zero point and the 7th zero point are useful signal.

Claims (1)

1. a kind of frequency of AC signal and the measuring method of phase, it is characterised in that comprise the following steps:
1. make F1Represent that AC signal crosses the frequency measured during the 1st zero point, and make F1=F;Make P1Represent that AC signal crosses the 1st The phase determined during individual zero point, and make P1=0 degree;Wherein, F represents the estimation frequency of AC signal, and unit is HZ, F value Estimate to obtain according to the application scenario of AC signal;
2. assuming that current AC signal crosses i-th of zero point, then time when AC signal crosses i-th of zero point is read, is designated as ti, it is single Position is s, wherein, i initial value is 2, tiValue cross the i-th -1 zero point for AC signal and terminate to crossing i-th zero point to terminate For a period of time;
3. judgeWhether it is more than or equal to F-F × 10% and is less than or equal to F+F × 10%, if it is, thinks i-th zero Point is non-interference signal, then performs step 4.;Otherwise it is assumed that i-th of zero point is interference signal, then step is performed 5.;
4. calculating AC signal crosses the frequency measured during i-th of zero point, F is designated asi, and unit is HZ, Wherein, Fi-1Represent that AC signal crosses the frequency measured during the i-th -1 zero point, and unit is HZ, fiRepresent AC signal cross i-th- The frequency in period between when during 1 zero point and crossing i-th of zero point, and unit is HZ,It is then determined that exchange letter Phase during number i-th of zero point of mistake, is designated as Pi, unit is degree,Step is performed again 5.;
5. making i=i+1, it is then back to step and 2. continues executing with, obtains frequency and phase when AC signal crosses i-th of zero point in real time Position, until AC signal is disposed, wherein, "=" in i=i+1 is assignment.
CN201510405191.4A 2015-07-09 2015-07-09 The frequency of AC signal and the measuring method of phase Active CN105044455B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510405191.4A CN105044455B (en) 2015-07-09 2015-07-09 The frequency of AC signal and the measuring method of phase

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510405191.4A CN105044455B (en) 2015-07-09 2015-07-09 The frequency of AC signal and the measuring method of phase

Publications (2)

Publication Number Publication Date
CN105044455A CN105044455A (en) 2015-11-11
CN105044455B true CN105044455B (en) 2017-11-24

Family

ID=54451144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510405191.4A Active CN105044455B (en) 2015-07-09 2015-07-09 The frequency of AC signal and the measuring method of phase

Country Status (1)

Country Link
CN (1) CN105044455B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109188076B (en) * 2018-09-28 2021-01-29 北京金风科创风电设备有限公司 Frequency measurement device, method, apparatus and storage medium
CN110568261B (en) * 2019-09-02 2022-05-17 深圳市丰润达科技有限公司 Silicon controlled rectifier dimmer, alternating current power supply phase detection method and device and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2615626B1 (en) * 1987-05-21 1989-07-28 Alcatel Espace METHOD FOR DIGITAL EVALUATION OF THE FREQUENCY AND PHASE OF SIGNALS AND DEVICES FOR CARRYING OUT SUCH A METHOD
CN1159592C (en) * 2002-04-24 2004-07-28 清华大学 Digital measuring method of frequency and phase
CN101408568B (en) * 2007-10-12 2010-12-01 深圳科士达科技股份有限公司 Method and device for measuring electrical signal phase of alternating current
JP2009186345A (en) * 2008-02-07 2009-08-20 Hioki Ee Corp Phase detection method, phase detection device, and waveform measuring device
CN101871965B (en) * 2010-06-11 2012-01-04 威胜集团有限公司 Method for detecting zero crossing time, frequency and phase difference of power sinusoidal signals
CN102095937B (en) * 2010-12-17 2013-01-02 南京邮电大学 Method for quickly measuring instantaneous phase of alternating current electrical signal

Also Published As

Publication number Publication date
CN105044455A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN101806832B (en) Measuring method for frequencies of low-frequency signals
CN102033161A (en) Frequency measuring method of alternating current signal
CN101788615B (en) Simple method for detecting phase sequence of three-phase industrial-frequency alternating current and detection device
CN101833036B (en) Method for measuring instantaneous phase of alternating current
CN102095929B (en) Method for rapidly measuring frequency of alternating-current signals
CN102809687B (en) Digital measurement method for alternating-current frequency
Abdullah et al. A new vector draft method for harmonic source detection at point of common coupling
CN102095934A (en) Measuring method for phase difference of alternating current signals
CN105699738A (en) PWM-based AC signal effective value measurement method
CN111934760A (en) Signal processing transmission delay characteristic detection device and method and terminal equipment
CN105044455B (en) The frequency of AC signal and the measuring method of phase
CN110542811A (en) Link delay testing method, device and system of direct current control protection system
CN105606908B (en) The detection method and detection device of three-phase circuit open-phase fault
CN103575979B (en) A kind of method of digitized measurement ac frequency
CN106772193B (en) Measuring method using current transformer frequency characteristic measuring device
CN103605904B (en) Self compensation power system amplitude arithmetic based on error estimation
CN103575981A (en) Method for accurately measuring alternating current frequency
US20150241255A1 (en) Electromagnetic flow meter, miswiring detection apparatus and miswiring detection method
CN102928666B (en) Digital measurement method for phase difference of alternating current
CN102095936B (en) Method for measuring phase difference of alternating-current electric signals quickly
EP3093624A1 (en) Self-calibrating lvdt transformer demodulator
CN108627788B (en) Hall current sensor hysteresis detection method and system
CN104808055A (en) Electrical signal frequency digitized measurement method
CN102360024A (en) Paper pulp flow velocity and flow measuring method
CN103575991B (en) A kind of accurate measurement method of instantaneous phase of alternating current

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