CN105044455A - Method for measuring frequency and phase of alternating current signal - Google Patents
Method for measuring frequency and phase of alternating current signal Download PDFInfo
- Publication number
- CN105044455A CN105044455A CN201510405191.4A CN201510405191A CN105044455A CN 105044455 A CN105044455 A CN 105044455A CN 201510405191 A CN201510405191 A CN 201510405191A CN 105044455 A CN105044455 A CN 105044455A
- Authority
- CN
- China
- Prior art keywords
- zero point
- signal
- frequency
- pasts
- alternating current
- 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
Landscapes
- Measuring Phase Differences (AREA)
- Measuring Frequencies, Analyzing Spectra (AREA)
Abstract
The invention discloses a method for measuring a frequency and a phase of an alternating current signal. The invention comprises steps that firstly a measured frequency and a determined phase when the alternating current signal passes through a first zero point are given; then the time when the alternating current signal passes through a current zero point is read; that whether the current zero point is an interference signal or not is determined by determining whether or not frequencies within a time slot from a time point when the alternating current signal passes through a previous zero point to a time point when the alternating current signal passes through the current zero point are in a reasonable range; when the current zero point is a non-interference signal, according to a current read time and a frequency measured when the alternating current signal passes through the previous zero point, the frequency when the alternating current signal passes through the current zero point is calculated, and according to the current read time and the frequency measured when the alternating current signal passes through the previous zero point, the phase when the alternating current signal passes through the current zero point is determined; and the frequency and the phase when the alternating current passes through each zero point are obtained repeatedly and timely. The invention is advantaged in that under conditions of power grid interference or waveform distortion, the frequency can be accurately measured, the phase can be accurately determined, and the anti-interference performance is good.
Description
Technical field
The present invention relates to a kind of alternating current signal detection technology, especially relate to the frequency of AC signal and the measuring method of phase place.
Background technology
In a lot of control system, often need detection of grid or other AC signal, and need the zero point of Measuring Alternating Current Signal and the frequency of AC signal and phase place when detecting AC signal.
At present, the method for Measuring Alternating Current Signal frequency has the chronometry of measuring period and the counting method of Timing measurement signal number.The fixed frequency of general AC signal is 50HZ or 60HZ, and in actual use, frequency is strict 50HZ or 60HZ not necessarily, there is certain deviation, simultaneously due to the common use of electronic equipment, the waveform of electrical network can be out of shape or severe jamming, and 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 the Measuring Alternating Current Signal phase place method having zero crossing timing to judge and the method surveying voltage calculating phase place.These two kinds of methods can obtain the phase place of AC signal accurately, but first method needs by timer, and second method needs by AD converter; In addition, two kinds of methods because the interference of signal or the inaccurate of frequency, can cause the inaccurate of phase measurement.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of frequency of AC signal and the measuring method of phase place, and it can measure frequency and the phase place of AC signal exactly, and it is low to measure cost.
The present invention solves the problems of the technologies described above adopted technical scheme: a kind of frequency of AC signal and the measuring method of phase place, is characterized in that comprising the following steps:
1. F is made
1represent the frequency that AC signal records when spending the 1st zero point, and make F
1=F; Make P
1the phase place determined when representing that it's the 1st zero point pasts AC signal, and make P
1=0 degree; Wherein, F represents the estimated frequency of AC signal, and the value that unit is HZ, F is estimated to obtain according to the application scenario of AC signal;
2. suppose that it's i-th zero point pasts current AC signal, then read time when it's i-th zero point pasts AC signal, be designated as t
i, unit is s, and wherein, the initial value of i is 2, t
ivalue be that AC signal is spent the i-th-1 zero point and terminated to be i-th a period of time terminated zero point;
3. judge
whether be more than or equal to F-F × 10% and be less than or equal to F+F × 10%, if so, then thinking that i-th zero point is non-interference signal, then performing step 4.; Otherwise, think that i-th zero point is undesired signal, then perform step 5.;
4. calculate the frequency recorded when it's i-th zero point pasts AC signal, be designated as F
i, and unit is HZ,
wherein, F
i-1represent the frequency that AC signal records when spending the i-th-1 zero point, and unit is HZ, f
ifrequency in time period between when representing that it's the i-th-1 zero point pasts AC signal and when spending i-th zero point, and unit is HZ,
then determine phase place when it's i-th zero point pasts AC signal, be designated as P
i, unit is degree,
perform step more 5.;
5. make i=i+1, then return step and 2. continue to perform, frequency when it's i-th zero point pasts Real-time Obtaining AC signal and phase place, until AC signal is disposed, wherein, "=" in i=i+1 is assignment.
Compared with prior art, the invention has the advantages that:
1) frequency recorded when it's the 1st zero point pasts AC signal is the estimated frequency of AC signal, and during the frequency recorded when calculating continuous zero point after AC signal, the frequency that frequency in time period between during front zero point excessive according to AC signal and when spending previous zero point and AC signal obtain when spending previous zero point, the frequency obtained when calculating AC signal excessive front zero point, therefore Measuring Time is longer, and the frequency of the AC signal recorded is more accurate.
2) after the frequency when determining AC signal zero crossing point, determine phase place during AC signal zero crossing point again, the frequency recorded when time during front zero point excessive according to AC signal and AC signal excessive front zero point determines phase place during AC signal excessive front zero point, because the frequency recorded during AC signal zero crossing point is comparatively accurate, therefore effectively improve the measurement accuracy of phase place.
3) the inventive method is to AC signal all the other zero points except the 1st zero point, time first by judging AC signal excessive front zero point and mistake previous zero point time between time period in frequency whether in the reasonable scope, determine whether current zero point is undesired signal, namely can be good at determining to disturb unreasonable position, even if like this when electrical network disturbs large or wave form distortion, still can accurately measure frequency, and determine phase place, good in anti-interference performance.
Accompanying drawing explanation
Fig. 1 is the realization flow block diagram of the inventive method;
Fig. 2 is the waveform schematic diagram of an AC signal.
Embodiment
Below in conjunction with accompanying drawing embodiment, the present invention is described in further detail.
A kind of frequency of AC signal that the present invention proposes and the measuring method of phase place, it realizes FB(flow block) as shown in Figure 1, and it comprises the following steps:
1. F is made
1represent the frequency that AC signal records when spending the 1st zero point, and make F
1=F; Make P
1the phase place determined when representing that it's the 1st zero point pasts AC signal, and make P
1=0 degree; Wherein, F represents the estimated frequency of AC signal, and the value that unit is HZ, F is estimated to obtain according to the application scenario of AC signal, as AC signal is applied to electrical network, then can make F=50HZ or F=60HZ.
2. suppose that it's i-th zero point pasts current AC signal, then read time when it's i-th zero point pasts AC signal, be designated as t
i, unit is s, and wherein, the initial value of i is 2, t
ivalue be that AC signal is spent the i-th-1 zero point and terminated to be i-th a period of time terminated zero point.
3. judge
whether be more than or equal to F-F × 10% and be less than or equal to F+F × 10%, if so, then thinking that i-th zero point is non-interference signal, then performing step 4.; Otherwise, think that i-th zero point is undesired signal, ignore i-th zero point, when namely it's i-th zero point pasts AC signal, do not obtain frequency and phase place, then perform step 5..
4. calculate the frequency recorded when it's i-th zero point pasts AC signal, be designated as F
i, and unit is HZ,
wherein, F
i-1represent the frequency that AC signal records when spending the i-th-1 zero point, and unit is HZ, f
ifrequency in time period between when representing that it's the i-th-1 zero point pasts AC signal and when spending i-th zero point, and unit is HZ,
phase place when then spending i-th zero point by theory calculate determination AC signal, is designated as P
i, unit is degree,
perform step more 5..
5. make i=i+1, then return step and 2. continue to perform, frequency when it's i-th zero point pasts Real-time Obtaining AC signal and phase place, until AC signal is disposed, wherein, "=" in i=i+1 is assignment.
For further illustrating feasibility and the validity of the inventive method, test.
Fig. 2 gives the oscillogram of an AC signal, utilizes the inventive method to obtain the frequency recorded when it's each zero point pasts AC signal and the phase place determined.The frequency F that AC signal records when spending the 1st zero point
1=F, the phase place P determined when it's the 1st zero point pasts AC signal
1=0 degree; When it's the 2nd zero point pasts AC signal, the time of reading when it's the 2nd zero point pasts AC signal is t
2, and
be more than or equal to F-F × 10% and be less than or equal to F+F × 10%, therefore determining that the 2nd zero point is useful signal but not undesired signal, pass through
calculate the frequency F recorded when it's the 2nd zero point pasts AC signal
2, and pass through
determine phase place P when it's the 2nd zero point pasts AC signal
2; When it's the 3rd zero point pasts AC signal, the time of reading when it's the 3rd zero point pasts AC signal is t
3, and
be more than or equal to F-F × 10% and be less than or equal to F+F × 10%, therefore determining that the 3rd zero point is useful signal but not undesired signal, pass through
calculate the frequency F recorded when it's the 3rd zero point pasts AC signal
3, and pass through
determine phase place P when it's the 3rd zero point pasts AC signal
3; When it's the 4th zero point pasts AC signal, the time of reading when it's the 4th zero point pasts AC signal is t
4, and
not being more than or equal to F-F × 10% and being less than or equal to F+F × 10% within the scope of this, therefore determine that the 4th zero point is undesired signal, ignore the 4th zero point; Repeat said process, determine that the 5th zero point, the 6th zero point and the 7th zero point are useful signal.
Claims (1)
1. the frequency of AC signal and a measuring method for phase place, is characterized in that comprising the following steps:
1. F is made
1represent the frequency that AC signal records when spending the 1st zero point, and make F
1=F; Make P
1the phase place determined when representing that it's the 1st zero point pasts AC signal, and make P
1=0 degree; Wherein, F represents the estimated frequency of AC signal, and the value that unit is HZ, F is estimated to obtain according to the application scenario of AC signal;
2. suppose that it's i-th zero point pasts current AC signal, then read time when it's i-th zero point pasts AC signal, be designated as t
i, unit is s, and wherein, the initial value of i is 2, t
ivalue be that AC signal is spent the i-th-1 zero point and terminated to be i-th a period of time terminated zero point;
3. judge
whether be more than or equal to F-F × 10% and be less than or equal to F+F × 10%, if so, then thinking that i-th zero point is non-interference signal, then performing step 4.; Otherwise, think that i-th zero point is undesired signal, then perform step 5.;
4. calculate the frequency recorded when it's i-th zero point pasts AC signal, be designated as F
i, and unit is HZ,
wherein, F
i-1represent the frequency that AC signal records when spending the i-th-1 zero point, and unit is HZ, f
ifrequency in time period between when representing that it's the i-th-1 zero point pasts AC signal and when spending i-th zero point, and unit is HZ,
then determine phase place when it's i-th zero point pasts AC signal, be designated as P
i, unit is degree,
perform step more 5.;
5. make i=i+1, then return step and 2. continue to perform, frequency when it's i-th zero point pasts Real-time Obtaining AC signal and phase place, until AC signal is disposed, wherein, "=" in i=i+1 is assignment.
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 true CN105044455A (en) | 2015-11-11 |
CN105044455B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109188076A (en) * | 2018-09-28 | 2019-01-11 | 北京金风科创风电设备有限公司 | Frequency measurement device, method, apparatus and storage medium |
CN110568261A (en) * | 2019-09-02 | 2019-12-13 | 深圳市丰润达科技有限公司 | Silicon controlled rectifier dimmer, alternating current power supply phase detection method and device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4979215A (en) * | 1987-05-21 | 1990-12-18 | Societe Anonyme Dite : Alcatel Espace | Method of digitally evaluating the frequency and the phase of signals, and a device for implementing such a method |
CN1382995A (en) * | 2002-04-24 | 2002-12-04 | 清华大学 | Digital measuring method of frequency and phase |
CN101408568A (en) * | 2007-10-12 | 2009-04-15 | 深圳科士达科技股份有限公司 | 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 |
CN101871965A (en) * | 2010-06-11 | 2010-10-27 | 威胜集团有限公司 | Method for detecting zero crossing time, frequency and phase difference of power sinusoidal signals |
CN102095937A (en) * | 2010-12-17 | 2011-06-15 | 南京邮电大学 | Method for quickly measuring instantaneous phase of alternating current electrical signal |
-
2015
- 2015-07-09 CN CN201510405191.4A patent/CN105044455B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4979215A (en) * | 1987-05-21 | 1990-12-18 | Societe Anonyme Dite : Alcatel Espace | Method of digitally evaluating the frequency and the phase of signals, and a device for implementing such a method |
CN1382995A (en) * | 2002-04-24 | 2002-12-04 | 清华大学 | Digital measuring method of frequency and phase |
CN101408568A (en) * | 2007-10-12 | 2009-04-15 | 深圳科士达科技股份有限公司 | 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 |
CN101871965A (en) * | 2010-06-11 | 2010-10-27 | 威胜集团有限公司 | Method for detecting zero crossing time, frequency and phase difference of power sinusoidal signals |
CN102095937A (en) * | 2010-12-17 | 2011-06-15 | 南京邮电大学 | Method for quickly measuring instantaneous phase of alternating current electrical signal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109188076A (en) * | 2018-09-28 | 2019-01-11 | 北京金风科创风电设备有限公司 | Frequency measurement device, method, apparatus and storage medium |
CN109188076B (en) * | 2018-09-28 | 2021-01-29 | 北京金风科创风电设备有限公司 | Frequency measurement device, method, apparatus and storage medium |
CN110568261A (en) * | 2019-09-02 | 2019-12-13 | 深圳市丰润达科技有限公司 | Silicon controlled rectifier dimmer, alternating current power supply phase detection method and device 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 |
Also Published As
Publication number | Publication date |
---|---|
CN105044455B (en) | 2017-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102033161B (en) | Frequency measuring method of alternating current signal | |
CN101806832B (en) | Measuring method for frequencies of low-frequency signals | |
CN102323476B (en) | Method for measuring harmonic waves and interharmonic waves in electric power system by adopting spectrum estimation and chaology | |
CN203149027U (en) | Voltage fluctuation and flicker detection apparatus based on energy operator and frequency spectrum correction | |
CN101833036B (en) | Method for measuring instantaneous phase of alternating current | |
CN102879639A (en) | Real-time frequency measuring method in power system | |
CN101363896A (en) | High precision voltage transient event detection and wave-recording method | |
CN103018555B (en) | High-precision electric power parameter software synchronous sampling method | |
CN109284933B (en) | Electronic transformer state evaluation system and method based on mathematical statistics | |
CN105487034A (en) | 0.05-level electronic transformer verification method and system | |
CN101419247B (en) | Ground ion flow density measurement system for AC/DC parallel powerline and measurement method thereof | |
CN102095929B (en) | Method for rapidly measuring frequency of alternating-current signals | |
CN101813725A (en) | Method for measuring phase difference of low-frequency signals | |
CN102095934A (en) | Measuring method for phase difference of alternating current signals | |
CN102809687B (en) | Digital measurement method for alternating-current frequency | |
CN105699738A (en) | PWM-based AC signal effective value measurement method | |
CN105486921A (en) | Kaiser third-order mutual convolution window triple-spectrum-line interpolation harmonic wave and inter-harmonic wave detection method | |
CN106154037A (en) | A kind of synchronized phasor self-adaptive computing method based on verification | |
CN105044455A (en) | Method for measuring frequency and phase of alternating current signal | |
CN106772193B (en) | Measuring method using current transformer frequency characteristic measuring device | |
CN103575981A (en) | Method for accurately measuring alternating current frequency | |
CN103575979A (en) | Method for digital measuring of alternating current frequency | |
CN104407213A (en) | Power network signal fundamental frequency measurement method | |
CN104808055A (en) | Electrical signal frequency digitized measurement method | |
CN103743955A (en) | Method for measuring inductance of motor |
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 |