CN109298238A - A kind of frequency measurement method and its measuring system - Google Patents

A kind of frequency measurement method and its measuring system Download PDF

Info

Publication number
CN109298238A
CN109298238A CN201811307936.3A CN201811307936A CN109298238A CN 109298238 A CN109298238 A CN 109298238A CN 201811307936 A CN201811307936 A CN 201811307936A CN 109298238 A CN109298238 A CN 109298238A
Authority
CN
China
Prior art keywords
frequency
signal
clock signal
count value
test signal
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.)
Pending
Application number
CN201811307936.3A
Other languages
Chinese (zh)
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.)
XI'AN INTELLIGENCE SILICON TECHNOLOGY Inc
Original Assignee
XI'AN INTELLIGENCE SILICON TECHNOLOGY Inc
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 XI'AN INTELLIGENCE SILICON TECHNOLOGY Inc filed Critical XI'AN INTELLIGENCE SILICON TECHNOLOGY Inc
Priority to CN201811307936.3A priority Critical patent/CN109298238A/en
Publication of CN109298238A publication Critical patent/CN109298238A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R23/00Arrangements for measuring frequencies; Arrangements for analysing frequency spectra
    • G01R23/02Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage
    • G01R23/10Arrangements for measuring frequency, e.g. pulse repetition rate; Arrangements for measuring period of current or voltage by converting frequency into a train of pulses, which are then counted, i.e. converting the signal into a square wave

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

The present invention relates to a kind of frequency measurement method and its measuring system, the frequency measurement method includes: to obtain N number of clock signal, while sampling to test signal, wherein the frequency of N number of clock signal is identical, phase is different;The test signal and N number of clock signal obtained according to sampling obtains N number of count value;The frequency of the test signal is obtained according to the frequency of N number of clock signal and N number of count value.Frequency measurement method of the invention is identical by using a set of frequencies, phase different clocks are carried out while being sampled to signal-under-test, to reduce the sampling time, and improves sampling precision, increases the measurement accuracy of frequency.

Description

A kind of frequency measurement method and its measuring system
Technical field
The present invention relates to technical field of frequency measurement, more particularly to a kind of frequency measurement method and its measuring system.
Background technique
With the development of electronics and information industry, signal is as its most basic element, and the measurement of frequency is in Technological research It becomes more and more important with the effect in practical application.Digital frequency meter is as a kind of most basic frequency measuring instrument, with its measurement essence The features such as degree is high, speed fast, easy to operate, digital display is widely used.Many physical quantitys (such as temperature, pressure, flow, Liquid level, pH value, vibration, displacement, speed etc.) signal frequency can be converted by sensor, it is measured with digital frequency meter.Especially It is combined digital frequency meter with microprocessor, it can be achieved that the multifunction of measuring instrument, programme-controlled and intelligent.With existing The development of generation science and technology, various measuring instruments, control equipment based on digital frequency meter composition, real-time monitoring system have application to The various aspects of the international people's livelihood.
Electronic counting method is high with measurement frequency, reading is intuitive, measuring speed is fast and it is automatic to be easy to implement measurement process The advantages that change.There are two types of modes for the frequency measurement of electronic counting method: first is that direct frequency measurement method, i.e., measure tested letter within certain gate time Number pulse number;Second is that indirect Measuring Frequency Method, such as period method.Counter digital frequency meter is as one in digital frequency meter Kind, can directly in digit's time test signal umber of pulse, then display frequency value in digital form.This method measurement Accuracy is high, quick, is suitble to the needs of different frequency, different precision frequency measurement.
But existing measurement method and measuring system usually sample test signal using single clock, if Improving measuring accuracy then needs to increase the frequency of sampling clock or increases the time of sampling, and the increase of sample frequency will lead into This increase, the increase in sampling time will lead to test reaction and slow.
Summary of the invention
Therefore, be to solve technological deficiency of the existing technology and deficiency, the present invention propose a kind of frequency measurement method and Its measuring system.
Specifically, a kind of frequency measurement method that one embodiment of the invention proposes, the frequency measurement method include:
N number of clock signal is obtained, while test signal is sampled, wherein the frequency phase of N number of clock signal Same, phase difference;
The test signal and N number of clock signal obtained according to sampling obtains N number of count value;
The frequency of the test signal is obtained according to the frequency of N number of clock signal and N number of count value.
In one embodiment of the invention, the test signal and N number of clock signal obtained according to sampling obtains Take N number of count value, comprising:
The period of the test signal obtained according to sampling generates enable signal;
N number of count value is obtained according to the enable signal and N number of clock signal.
In one embodiment of the invention, institute is obtained according to the frequency of N number of clock signal and N number of count value State the frequency of test signal, comprising:
Summation process is carried out to N number of count value, to obtain counting summation position;
Frequency computation model is established according to the frequency of N number of clock signal and the counting summation position;
The frequency of the test signal is obtained according to the frequency computation model.
In one embodiment of the invention, the frequency computation model are as follows:
Wherein, f is the frequency of the test signal, and fclk is the frequency of the clock signal, and S is the counting summation Position.
One embodiment of the invention also proposes that a kind of frequency measuring system, the frequency measuring system include:
Sampling clock module samples, wherein N number of described for obtaining N number of clock signal, while to test signal The frequency of clock signal is identical, phase is different;
Data generating module, by obtained according to the obtained test signal of sampling and N number of clock signal it is N number of based on Numerical value;
Data processing module, for obtaining the test according to the frequency and N number of count value of N number of clock signal The frequency of signal.
In one embodiment of the invention, the sampling clock module includes N number of sequentially connected phase inverter.
In one embodiment of the invention, the data generating module includes:
The period of gate circuit, the test signal for being obtained according to sampling generates enable signal;
Count value generation module, for obtaining N number of count value according to the enable signal and N number of clock signal.
In one embodiment of the invention, the count value generation module includes N number of counter.
The embodiment of the present invention, have it is following the utility model has the advantages that
Frequency measurement method of the invention is identical by using a set of frequencies, phase different clocks carry out signal-under-test It samples simultaneously, to reduce the sampling time, and improves sampling precision, increase the measurement accuracy of frequency.
The present invention generates multiple clocks using sampling clock module, then samples to test signal, improves sampling Precision, and reduce the sampling time, improves test reaction speed, and the corresponding counter of each clock in a cycle or It is counted in multiple periods using counter, so that the frequency measurement accuracy of test signal improves.
Through the following detailed description with reference to the accompanying drawings, other aspects of the invention and feature become obvious.But it should know Road, which is only the purpose design explained, not as the restriction of the scope of the present invention, this is because it should refer to Appended claims.It should also be noted that unless otherwise noted, it is not necessary to which scale attached drawing, they only try hard to concept Ground illustrates structure and process described herein.
Detailed description of the invention
Below in conjunction with attached drawing, specific embodiments of the present invention will be described in detail.
Fig. 1 is a kind of flow diagram of frequency measurement method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of frequency measuring system provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of sampling clock module provided in an embodiment of the present invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing to the present invention Specific embodiment be described in detail.
Referring to Figure 1, the embodiment of the present invention provides a kind of frequency measurement method, which includes:
Step 1: obtaining N number of clock signal, while test signal is sampled;
Specifically, N number of clock signal is generated by sampling clock module, while according to N number of clock signal to test signal It is sampled, wherein the frequency of N number of clock signal is identical, phase is different.
For example, test signal can be temperature, pressure, flow, liquid level, pH value, vibration, displacement, speed etc..
Step 2: the test signal and N number of clock signal that are obtained according to sampling obtain N number of count value;
Specifically, the period of the test signal obtained according to sampling generates enable signal;
Further, the test signal sampled passes through gate circuit, generates enable signal according to the period of test signal, The enable signal that gate circuit generates can be 1 period or multiple periods of test signal.
Specifically, N number of count value is obtained according to enable signal and N number of clock signal;
Further, under conditions of N number of clock signal, N number of counter starts counting under the control of enable signal, often A counter correspondence obtains a count value, amounts to and obtains N number of count value.
Step 3: obtaining the frequency of test signal according to the frequency of N number of clock signal and N number of count value;
Specifically, summation process is carried out to N number of count value, the result summed is to count summation position.
Specifically, frequency computation model, frequency computation model are established according to the frequency of N number of clock signal and counting summation position Are as follows:
Wherein, f is the frequency for testing signal, and fclk is the frequency of clock signal, and S is to count summation position.
Specifically, the frequency of test signal is obtained according to frequency computation model.
In practical applications, it carries out if only using 1 clock to test signals samples, sampling error if is 1 clock It is generated in period, then time error is 1/fclk, and the embodiment of the present invention adopts test signal using N number of clock Sample, then each sampling error was generated in 1 clock cycle, then total sampling error is then surveyed for (1/fclk)/N The frequency test precision response of trial signal will improve N times.
Frequency measurement method of the invention is identical by using a set of frequencies, phase different clocks carry out signal-under-test It samples simultaneously, and seeks the frequency of test signal using count value identical with clock number, not only reduce the sampling time, also Sampling precision is improved, the measurement accuracy of frequency is increased.
The present invention samples test signal using multiple clocks, improves sampling precision, and reduce the sampling time, Test reaction speed, and the corresponding count value of each clock signal are improved, so that the frequency measurement accuracy of test signal mentions It is high.
Fig. 2 is referred to, the embodiment of the present invention also provides a kind of frequency measuring system, which includes:
Sampling clock module samples, wherein N number of described for obtaining N number of clock signal, while to test signal The frequency of clock signal is identical, phase is different;
Specifically, N number of clock signal is generated by sampling clock module, while according to N number of clock signal samples clock mould Block samples test signal;
Further, Fig. 3 is referred to, sampling clock module is made of N number of sequentially connected phase inverter.
Data generating module, by obtained according to the obtained test signal of sampling and N number of clock signal it is N number of based on Numerical value;
Further, data generating module includes gate circuit and count value generation module;
Specifically, the period of gate circuit, the test signal for being obtained according to sampling generates enable signal;
Further, the test signal sampled passes through gate circuit, and gate circuit is generated according to the period of test signal Enable signal, the enable signal that gate circuit generates can be 1 period or multiple periods of test signal.
Specifically, count value generation module, based on N number of according to the enable signal and N number of clock signal acquisition Numerical value.
Further, count value generation module includes N number of counter.Under conditions of N number of clock signal, N number of meter Number device starts counting under the control of enable signal, and each counter correspondence obtains a count value, amounts to and obtains N number of counting Value.
Data processing module, for obtaining the test according to the frequency and N number of count value of N number of clock signal The frequency of signal.
Specifically, data processing module carries out summation process to N number of count value, and the result summed is to count summation Position.
Specifically, data processing module obtains the frequency of the test signal according to frequency computation model, and frequency calculates mould Type are as follows:
Wherein, f is the frequency for testing signal, and fclk is the frequency of clock signal, and S is to count summation position.
The embodiment of the present invention generates multiple clocks using sampling clock module, then samples, mentions to test signal High sampling precision, and the sampling time is reduced, test reaction speed is improved, and the corresponding counter of each clock is one It is counted in a period or multiple periods using counter, so that the frequency measurement accuracy of test signal improves.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist Under the premise of not departing from present inventive concept, a number of simple deductions or replacements can also be made, all shall be regarded as belonging to of the invention Protection scope.

Claims (8)

1. a kind of frequency measurement method, which is characterized in that the frequency measurement method includes:
It obtains N number of clock signal, while test signal is sampled, wherein the frequency of N number of clock signal is identical, phase Position is different;
The test signal and N number of clock signal obtained according to sampling obtains N number of count value;
The frequency of the test signal is obtained according to the frequency of N number of clock signal and N number of count value.
2. frequency measurement method according to claim 1, which is characterized in that according to the obtained test signal of sampling and N number of clock signal obtains N number of count value, comprising:
The period of the test signal obtained according to sampling generates enable signal;
N number of count value is obtained according to the enable signal and N number of clock signal.
3. frequency measurement method according to claim 1, which is characterized in that according to the frequency and N of N number of clock signal A count value obtains the frequency of the test signal, comprising:
Summation process is carried out to N number of count value, to obtain counting summation position;
Frequency computation model is established according to the frequency of N number of clock signal and the counting summation position;
The frequency of the test signal is obtained according to the frequency computation model.
4. frequency measurement method according to claim 3, which is characterized in that the frequency computation model are as follows:
Wherein, f is the frequency of the test signal, and fclk is the frequency of the clock signal, and S is the counting summation position.
5. a kind of frequency measuring system, which is characterized in that the frequency measuring system includes:
Sampling clock module samples, wherein N number of clock for obtaining N number of clock signal, while to test signal The frequency of signal is identical, phase is different;
Data generating module, the test signal and N number of clock signal for being obtained according to sampling obtain N number of counting Value;
Data processing module, for obtaining the test signal according to the frequency and N number of count value of N number of clock signal Frequency.
6. frequency measuring system according to claim 5, which is characterized in that the sampling clock module include it is N number of successively The phase inverter of connection.
7. frequency measuring system according to claim 5, which is characterized in that the data generating module includes:
The period of gate circuit, the test signal for being obtained according to sampling generates enable signal;
Count value generation module, for obtaining N number of count value according to the enable signal and N number of clock signal.
8. frequency measuring system according to claim 7, which is characterized in that the count value generation module includes N number of meter Number device.
CN201811307936.3A 2018-11-05 2018-11-05 A kind of frequency measurement method and its measuring system Pending CN109298238A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811307936.3A CN109298238A (en) 2018-11-05 2018-11-05 A kind of frequency measurement method and its measuring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811307936.3A CN109298238A (en) 2018-11-05 2018-11-05 A kind of frequency measurement method and its measuring system

Publications (1)

Publication Number Publication Date
CN109298238A true CN109298238A (en) 2019-02-01

Family

ID=65145901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811307936.3A Pending CN109298238A (en) 2018-11-05 2018-11-05 A kind of frequency measurement method and its measuring system

Country Status (1)

Country Link
CN (1) CN109298238A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352010A (en) * 2020-04-23 2020-06-30 刘文辉 Switch board insulation fault early warning device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61223662A (en) * 1985-03-29 1986-10-04 Fujitsu Ltd Frequency measuring system
JPH0448271A (en) * 1990-06-15 1992-02-18 Yokogawa Electric Corp Measuring device for frequency change
CN1963543A (en) * 2006-11-23 2007-05-16 江汉大学 Improved method and apparatus for measuring stability of frequency of time domain signal
CN101458278A (en) * 2007-12-13 2009-06-17 中国电子科技集团公司第五十研究所 Modulation domain analysis measuring set based on time scale phase shift and error compensation method thereof
CN101762745A (en) * 2008-12-25 2010-06-30 中国电子科技集团公司第五十研究所 Time-based phase-shifting method and apparatus
CN102540865A (en) * 2012-01-04 2012-07-04 西安近代化学研究所 High-precision time interval measurement method based on phase modulation
CN102645583A (en) * 2012-04-25 2012-08-22 郑州轻工业学院 Broadband rapid frequency measuring method based on cluster period phase process
CN103092060A (en) * 2013-02-08 2013-05-08 西安电子科技大学 Time interval measuring system and time interval measuring method which are based on field programmable gate array (FPGA)
CN103698770A (en) * 2013-12-11 2014-04-02 中国科学院长春光学精密机械与物理研究所 Multi-channel laser echo time measurement system based on FPGA (Field Programmable Gate Array) chip
JP2016156666A (en) * 2015-02-24 2016-09-01 横河電機株式会社 Frequency counter, and field apparatus incorporating frequency counter
CN107870262A (en) * 2017-11-01 2018-04-03 中国科学院上海微系统与信息技术研究所 A high-precision optical pump magnetometer frequency counting device and method based on GPS timing
CN108519511A (en) * 2018-03-28 2018-09-11 电子科技大学 A Time-Domain Measurement Method of Frequency Characteristic Parameters of Chirp Signal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61223662A (en) * 1985-03-29 1986-10-04 Fujitsu Ltd Frequency measuring system
JPH0448271A (en) * 1990-06-15 1992-02-18 Yokogawa Electric Corp Measuring device for frequency change
CN1963543A (en) * 2006-11-23 2007-05-16 江汉大学 Improved method and apparatus for measuring stability of frequency of time domain signal
CN101458278A (en) * 2007-12-13 2009-06-17 中国电子科技集团公司第五十研究所 Modulation domain analysis measuring set based on time scale phase shift and error compensation method thereof
CN101762745A (en) * 2008-12-25 2010-06-30 中国电子科技集团公司第五十研究所 Time-based phase-shifting method and apparatus
CN102540865A (en) * 2012-01-04 2012-07-04 西安近代化学研究所 High-precision time interval measurement method based on phase modulation
CN102645583A (en) * 2012-04-25 2012-08-22 郑州轻工业学院 Broadband rapid frequency measuring method based on cluster period phase process
CN103092060A (en) * 2013-02-08 2013-05-08 西安电子科技大学 Time interval measuring system and time interval measuring method which are based on field programmable gate array (FPGA)
CN103698770A (en) * 2013-12-11 2014-04-02 中国科学院长春光学精密机械与物理研究所 Multi-channel laser echo time measurement system based on FPGA (Field Programmable Gate Array) chip
JP2016156666A (en) * 2015-02-24 2016-09-01 横河電機株式会社 Frequency counter, and field apparatus incorporating frequency counter
CN107870262A (en) * 2017-11-01 2018-04-03 中国科学院上海微系统与信息技术研究所 A high-precision optical pump magnetometer frequency counting device and method based on GPS timing
CN108519511A (en) * 2018-03-28 2018-09-11 电子科技大学 A Time-Domain Measurement Method of Frequency Characteristic Parameters of Chirp Signal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111352010A (en) * 2020-04-23 2020-06-30 刘文辉 Switch board insulation fault early warning device
CN111352010B (en) * 2020-04-23 2022-06-14 烟台海珐电气科技有限公司 Switch board insulation fault early warning device

Similar Documents

Publication Publication Date Title
CN100451666C (en) Improved method and apparatus for measuring stability of frequency of time domain signal
EP3032230A2 (en) Flow meter and a method of calibration
CN216748451U (en) High-precision time service precision measurement system
CN102879061B (en) Water gauge error correction method based on fitted equation
CN101162165A (en) Low gas content gas-liquid two-phase flow measuring apparatus based on capacitance sensor and standard venturi tube
CN109709393A (en) Device based on time domain signal frequency stability measurement
CN108333437A (en) Micro capacitance system and measurement method
CN106840230A (en) The signal processing apparatus and method of a kind of vibrating string type sensor
CN102193029B (en) Method for measuring short-term frequency stability of unconventional sampling time
CN206618849U (en) A kind of optical pumped magnetometer magnetic gradient measurements device
CN101556325A (en) Method for quickly verifying electric energy error
CN109506706A (en) A kind of pharmacological experiment titration system and method based on multisensor
CN104964729B (en) A kind of calibrating installation of fluid metering instrument
CN111173496A (en) Oil well liquid production amount metering device and method
CN109298238A (en) A kind of frequency measurement method and its measuring system
CN113533848A (en) A digital signal measurement method and device
CN101329215A (en) Output measuring circuit and measuring method of capacitance differential pressure transducer
CN205384320U (en) Photoelectric detection means
CN101871971B (en) Method for measuring frequency-phase characteristic of electrical network
CN215953727U (en) Digital signal measuring system and testing device
US6469492B1 (en) Precision RMS measurement
CN213714491U (en) Intelligent water meter measuring device with self-calibration function
CN102590894B (en) Automatic observation system for runoff experimental station
CN106706046A (en) Aviation multi-medium flow calibrating method and calibrating system
CN201032456Y (en) Measurement device for gas-liquid two-phase flow with low gas fraction based on capacitive sensor and standard venturi tube

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190201