CN110988467B - Frequency measurement system and frequency measurement method thereof - Google Patents

Frequency measurement system and frequency measurement method thereof Download PDF

Info

Publication number
CN110988467B
CN110988467B CN201911309285.6A CN201911309285A CN110988467B CN 110988467 B CN110988467 B CN 110988467B CN 201911309285 A CN201911309285 A CN 201911309285A CN 110988467 B CN110988467 B CN 110988467B
Authority
CN
China
Prior art keywords
signal
period
module
latch
frequency
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
CN201911309285.6A
Other languages
Chinese (zh)
Other versions
CN110988467A (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.)
Beijing Automation Control Equipment Institute BACEI
Original Assignee
Beijing Automation Control Equipment Institute BACEI
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 Beijing Automation Control Equipment Institute BACEI filed Critical Beijing Automation Control Equipment Institute BACEI
Priority to CN201911309285.6A priority Critical patent/CN110988467B/en
Publication of CN110988467A publication Critical patent/CN110988467A/en
Application granted granted Critical
Publication of CN110988467B publication Critical patent/CN110988467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Measuring Frequencies, Analyzing Spectra (AREA)

Abstract

The invention relates to a frequency measurement system and a frequency measurement method thereof, wherein the system comprises a signal to be measured filtering module, a latch and zero clearing signal generating module, a full-period counter module, a filling pulse counter module and a counting latch module; the signal to be tested filtering module is used for filtering the signal to be tested; the latch and clear signal generating module is used for generating a timing latch signal and a timing clear signal; the whole-period counter module is used for counting the whole-period signal to be detected pulses and sending the obtained value to the counting latch module; the filling pulse counter module is used for counting the high-frequency filling pulses in the time corresponding to the non-whole-period signal to be detected and sending the obtained value to the counting latch module; and the counting latch module is used for receiving and storing the counting value sent by the full-period counter module and is also used for receiving, processing and storing the counting value sent by the filling pulse counter module. The invention solves the problem of large frequency measurement result jitter error in the prior art and improves the accuracy of frequency measurement.

Description

Frequency measurement system and frequency measurement method thereof
Technical Field
The invention belongs to the technical field of frequency measurement, and relates to a frequency measurement system and a frequency measurement method thereof, which are used for an inertial navigation system.
Background
In the inertial navigation system, a vibration beam accelerometer is usually adopted for frequency measurement, the acceleration input by the vibration beam accelerometer in the frequency measurement process is represented by the frequency difference of two TTL square wave signals, the input acceleration is truly reflected, the frequency measurement of the two square wave signals needs to be synchronously and continuously carried out, and especially under the condition of large dynamic, the requirements on synchronization, continuity and high speed are stricter. In addition, the calculation accuracy of the inertial navigation system is favorably improved through the synchronous measurement of the multiple vibration beam accelerometers, and therefore, the large-dynamic high-accuracy FDC (frequency digital conversion) is generally adopted to simultaneously carry out synchronous, continuous, high-speed and accurate frequency measurement on TTL (transistor-transistor logic) square wave signals output by the multiple vibration beam accelerometers so as to continuously measure the input acceleration of the multiple vibration beam accelerometers in the same time interval, thereby ensuring the measurement accuracy of the single vibration beam accelerometer and the calculation accuracy of the inertial navigation system.
At present, in large dynamic high-precision frequency measurement, a standard frequency signal with lower frequency is generally selected as a gate signal, a signal to be measured is taken as a filling pulse, the signal to be measured in a gate is counted, and the whole cycle number of the measured pulse in the gate time is calculated through clock domain synchronization; meanwhile, in order to improve the frequency measurement precision, high-frequency (about 1Mhz to 100Mhz) pulses are adopted to fill the partial time of the non-whole period, and the phase value of the non-whole period is thinned. In the conventional large dynamic high-precision frequency measurement process, a frequency calculation formula is a recurrence formula, and a refined non-whole period high-frequency phase value is usually latched in software by a processor; moreover, the calculation must use two adjacent valid measurements; if lost shooting occurs in the frequency measurement process, the data used for calculating the frequency is not continuously measured data, and the abnormal phenomenon that the measured frequency value is greatly deviated from a normal value can be directly caused.
Disclosure of Invention
The invention aims to provide a frequency measurement system and a frequency measurement method thereof aiming at the problems in the prior art, so that the stability and the reliability of frequency measurement are enhanced, and the accuracy of a frequency measurement result is ensured.
The technical scheme for solving the problems is as follows: a frequency measurement system comprises a signal to be measured filtering module, a latch and zero clearing signal generating module, a full-period counter module, a filling pulse counter module and a counting latch module; the to-be-detected signal filtering module is used for filtering a to-be-detected signal and respectively sending the to-be-detected signal subjected to filtering to the whole period counter module and the filling pulse counter module; the latch and clear signal generating module is used for generating a timing latch signal and a timing clear signal according to timing signal output, simultaneously and respectively sending the generated timing latch signal to the whole period counter module and the filling pulse counter module, and simultaneously and respectively sending the generated timing clear signal to the whole period counter module and the filling pulse counter module; the whole-period counter module is used for receiving the filtered signal to be detected, the timing latch signal and the timing clear signal, counting the whole-period signal to be detected within the period time of the sampling gate according to the received timing latch signal, and sending the obtained count value to the counting latch module; clearing the count in the whole period counter module according to the received timing clearing signal; the filling pulse counter module is used for receiving the filtered signal to be detected, the timing latch signal and the timing clear signal, counting the high-frequency filling pulse within the sampling gate period time corresponding to the non-full-period signal to be detected according to the received timing latch signal, and sending the obtained count value to the counting latch module; clearing the count in the filling pulse counter module according to the received timing clearing signal; the counting latch module is used for receiving and storing the counting value sent by the full-period counter module; and the device is also used for receiving and processing the count value sent by the filling pulse counter module, and storing the processed value.
Further, in the frequency measurement system of the present invention, the whole period is a period from one rising edge of the signal to be measured to the next rising edge of the signal to be measured; the non-whole period is the period from the first rising edge of the sampling gate to the first rising edge of the signal to be measured in the period time of the sampling gate.
Further, in the frequency measurement system according to the present invention, when the count value sent by the filling pulse counter module is processed in the count latch module, the difference value calculation processing is performed on the count value of the adjacent high frequency filling pulses, and the calculated difference value is stored.
Based on the frequency measurement system of the invention, the invention also provides a frequency measurement method, which comprises the following steps: the method comprises the following steps that a frequency measurement system is used in an inertial navigation system, a processor and a timer are arranged in the inertial navigation system, the frequency measurement system is connected with the processor, a timing signal is sent to the frequency measurement system through the timer, frequency measurement data are sent to the processor through the frequency measurement system, and the frequency of a signal to be measured is obtained by processing the frequency measurement data through the processor; in the frequency measurement system: filtering the signal to be detected through a signal to be detected filtering module, and respectively sending the signal to be detected after filtering to a whole period counter module and a filling pulse counter module; a latch and clear signal generating module is used for generating a timing latch signal and a timing clear signal according to the timing signal output, simultaneously and respectively sending the generated timing latch signal to the whole period counter module and the filling pulse counter module, and simultaneously and respectively sending the generated timing clear signal to the whole period counter module and the filling pulse counter module; receiving the filtered signal to be detected, the timing latch signal and the timing clear signal through the whole period counter module; the whole-period counter module counts the whole-period to-be-detected signal pulse within the sampling gate period time according to the received timing latch signal, and sends the obtained count value to the counting latch module; the whole-period counter module clears the count in the whole-period counter module according to the received timing clear signal; receiving the filtered signal to be detected, the timing latch signal and the timing clear signal through the filling pulse counter module, counting the high-frequency filling pulse within the sampling gate period time corresponding to the non-whole period signal to be detected according to the received timing latch signal by the filling pulse counter module, and sending the obtained count value to the counting latch module; the filling pulse counter module clears the count in the filling pulse counter module according to the received timing clear signal; receiving and storing the count value sent by the full-period counter module through the count latch module; and receiving and processing the count value sent by the filling pulse counter module through the count latch module, and storing the processed value.
Further, in the frequency measurement method of the present invention, the count latch module sends the data for frequency measurement to the processor through a bus interface.
Further, in the frequency measurement method of the present invention, when the count value sent by the filling pulse counter module is processed in the count latch module, the difference value calculation processing is performed on the count value of the adjacent high-frequency filling pulses, and the calculated difference value is stored; and the frequency measurement system sends data for frequency measurement to the processor through the counting latch module, wherein the data for frequency measurement comprises a pulse counting value of a signal to be measured in a whole period and a counting difference value of adjacent high-frequency filling pulses.
Preferably, in the frequency measurement method according to the present invention, in the processor, the frequency measurement data is processed to obtain a frequency of a signal to be measured, and a formula for processing the frequency measurement data is as follows:
(1)TxiNxi=Ts-Ti-1+Ti
(2)TxiNxi=Ts-T0n0i-1+T0n0i
Figure BDA0002324068350000031
Figure BDA0002324068350000032
in the formula, TsIs the sampling gate period; t isiIs the ith non-whole period; t isi-1Is the i-1 th non-whole period; t is0Filling the period of the pulse for high frequency; t isxiIs the period of the signal to be measured; n is0i-1Is Ti-1Counting high-frequency filling pulses in a non-whole period; n is0iIs TiCounting high-frequency filling pulses in a non-whole period; n is a radical ofxiIs TsCounting the pulse count value of the signal to be measured in the whole period in time; f. ofsIs the frequency of the sampling gate; f. of0The frequency of the high frequency fill pulse; fxi is the frequency of the signal to be measured; Δ n is the difference between the counts of adjacent high frequency fill pulses, where Δ n is n0i-n0i-1
Further, in the frequency measurement method of the present invention, the whole period is a period from one rising edge of the signal to be measured to the next rising edge of the signal to be measured; the non-whole period is the period from the first rising edge of the sampling gate to the first rising edge of the signal to be measured in the period time of the sampling gate.
Preferably, in the frequency measurement method of the present invention, the sampling gate is a reference of a frequency measurement period; the period of the sampling gate is the period from the first rising edge to the next rising edge of the sampling gate; the rising edge is a low-to-high change start time.
Preferably, in the frequency measurement method of the present invention, the inertial navigation system provides a high-frequency clock for the frequency measurement system, and the high-frequency clock is used as a working clock of the frequency measurement system.
Compared with the prior art, the invention has the beneficial effects that: the design optimization effectively solves the problem of large frequency measurement result jitter error caused by missing shooting or abnormal reading of counting latch data in the frequency measurement process, effectively avoids the phenomenon that the measured frequency value is greatly deviated from a normal value, and improves the reliability of frequency measurement and the accuracy of the result; particularly, by adopting the latch high-frequency counting difference value processing, the requirement on the continuity of the timed interrupt is reduced, the calculation difficulty of the processor is also reduced, and the method is suitable for popularization and application.
Drawings
FIG. 1 is a block diagram of a frequency measurement system according to the present invention;
fig. 2 is a schematic diagram of the principle of the frequency measurement method of the present invention.
Detailed Description
The invention is described in detail below with reference to the drawings and examples, but the scope of the invention is not limited to the examples. In the following description of the preferred embodiments, for the purposes of promoting an understanding of the invention, specific details are set forth in order to provide a thorough understanding of the invention, and it will be apparent to those skilled in the art that the invention may be practiced without these specific details. The device types of the embodiment of the invention are not limited except for special description, and can be any devices capable of completing corresponding functions. In other instances, well-known elements, circuits, methods, and the like have not been described in detail so as not to unnecessarily obscure aspects of the present invention.
In an embodiment of the present invention, as shown in fig. 1, a frequency measurement system of the present invention includes a filtering module for a signal to be measured, a latch and clear signal generating module, a full-period counter module, a filling pulse counter module, and a counting latch module; wherein:
the signal to be measured filtering module is used for filtering a signal to be measured and respectively sending the filtered signal to be measured to the whole period counter module and the filling pulse counter module;
the latch and clear signal generating module is used for generating a timing latch signal and a timing clear signal according to timing signal output, simultaneously and respectively sending the generated timing latch signal to the whole period counter module and the filling pulse counter module, and simultaneously and respectively sending the generated timing clear signal to the whole period counter module and the filling pulse counter module;
the whole-period counter module is used for receiving the filtered signal to be detected, the timing latch signal and the timing clear signal, counting the whole-period signal to be detected within the period time of the sampling gate according to the received timing latch signal, and sending the obtained count value to the counting latch module; clearing the count in the whole period counter module according to the received timing clearing signal;
the filling pulse counter module is used for receiving the filtered signal to be detected, the timing latch signal and the timing clear signal, counting the high-frequency filling pulse within the sampling gate period time corresponding to the non-full-period signal to be detected according to the received timing latch signal, and sending the obtained count value to the counting latch module; clearing the count in the filling pulse counter module according to the received timing clearing signal;
the counting latch module is used for receiving and storing the counting value sent by the full-period counter module; and the device is also used for receiving and processing the count value sent by the filling pulse counter module, and storing the processed value.
In the above embodiment, to ensure the accuracy of measuring the frequency of the signal to be measured, the specific targets involved in counting in the full-period counter module and the filling pulse counter module are defined, and preferably, the full period is a period from one rising edge of the signal to be measured to the next rising edge of the signal to be measured, that is, a complete period of the signal to be measured; the non-complete period is a period from the first rising edge of the sampling gate to the first rising edge of the signal to be measured in the period time of the sampling gate, namely an incomplete period of the signal to be measured. The sampling gate is a reference of a frequency measurement period; the period of the sampling gate is from the first rising edge to the next rising edge of the sampling gate, namely the period of sampling and sampling by measuring the frequency of the signal to be measured, and is specifically set according to the measuring working condition; the rising edge is the initial time of the change from low level to high level, so as to set the sampling gate and accurately time.
In the above embodiment, in order to enhance the stability and reliability of the measurement and ensure that the measurement result does not deviate from the normal value, preferably, the normal storage function limit of the conventional counting storage module as a register is broken through, and in the counting latch module, when the count value sent by the filling pulse counter module is processed, the difference value calculation processing is performed on the obtained adjacent high-frequency filling pulse count values, and the calculated difference value is stored.
As shown in fig. 1 and fig. 2, when the frequency measurement system of the present invention is applied, the method for specifically implementing frequency measurement includes: the method comprises the following steps that a frequency measurement system is used in an inertial navigation system, a processor and a timer are arranged in the inertial navigation system, the frequency measurement system is connected with the processor, a timing signal is sent to the frequency measurement system through the timer, frequency measurement data are sent to the processor through the frequency measurement system, and the frequency of a signal to be measured is obtained by processing the frequency measurement data through the processor; in the frequency measurement system, the following operation steps are carried out:
step S101:
filtering the signal to be detected through a signal to be detected filtering module, and respectively sending the signal to be detected after filtering to a whole period counter module and a filling pulse counter module;
a latch and clear signal generating module is used for generating a timing latch signal and a timing clear signal according to the timing signal output, simultaneously and respectively sending the generated timing latch signal to the whole period counter module and the filling pulse counter module, and simultaneously and respectively sending the generated timing clear signal to the whole period counter module and the filling pulse counter module;
step S102:
receiving the filtered signal to be detected, the timing latch signal and the timing clear signal through the whole period counter module; the whole-period counter module counts the whole-period to-be-detected signal pulse within the sampling gate period time according to the received timing latch signal, and sends the obtained count value to the counting latch module; the whole-period counter module clears the count in the whole-period counter module according to the received timing clear signal;
receiving the filtered signal to be detected, the timing latch signal and the timing clear signal through the filling pulse counter module, counting the high-frequency filling pulse within the sampling gate period time corresponding to the non-whole period signal to be detected according to the received timing latch signal by the filling pulse counter module, and sending the obtained count value to the counting latch module; the filling pulse counter module clears the count in the filling pulse counter module according to the received timing clear signal;
step S103:
receiving and storing the count value sent by the full-period counter module through the count latch module; and receiving and processing the count value sent by the filling pulse counter module through the count latch module, and storing the processed value.
In the above embodiment, the sampling gate period is from the first rising edge to the next rising edge of the sampling gateI.e. the period during which the frequency of the signal to be measured is measured for sampling, as indicated by T in fig. 2sTime; the whole period is a period from one rising edge of the signal to be measured to the next rising edge of the signal to be measured, i.e. a complete period of the signal to be measured, as shown by T in fig. 2xiTime; the non-complete period is a period from the first rising edge of the sampling gate to the first rising edge of the signal to be measured in the period time of the sampling gate, i.e. an incomplete signal to be measured, as shown by T in fig. 2i-1Time and TiTime; the rising edge is the initial time of the change from the low level to the high level of the sampling gate or the signal to be measured, so that the sampling gate can be set and the time can be accurately timed. As shown in FIG. 2, the high frequency clock continuously provides the high frequency pulse signal for the frequency measurement system, and in step S102, T is measurediAnd Ti-1And performing high-frequency filling pulse in partial non-full-period time, refining the phase value of the non-full period, and counting the high-frequency filling pulse in the sampling gate period time and the time corresponding to the non-full-period signal to be detected through the filling pulse counter module.
In the above embodiments, to ensure efficiency and accuracy of interface data transmission, the counting latch module sends the data for frequency measurement to the processor through a bus interface, and preferably, transmits the data through an RS422 interface. In order to ensure that the frequency measurement is performed synchronously and efficiently in the same clock domain, preferably, the inertial navigation system provides a high-frequency clock for the frequency measurement system, and the high-frequency clock is used as a working clock of the frequency measurement system.
In the above embodiment, the frequency measurement data measured by the frequency measurement system is stored in the count latch module, specifically, in order to ensure the accuracy and reliable stability of the frequency measurement result of the signal to be measured obtained by processing the frequency measurement data, in step S103, when the count value sent by the filling pulse counter module in step S102 is processed in the count latch module, the difference value calculation processing is performed on the obtained adjacent high-frequency filling pulse count values, and the calculated difference value is stored; and the frequency measurement system sends data for frequency measurement to the processor through the counting latch module and a bus interface, wherein the data for frequency measurement comprises a pulse count value of a signal to be measured in a whole period and a count difference value of adjacent high-frequency filling pulses.
In the above embodiment, by repeating step S101, step S102, and step S103, measuring at a plurality of sampling gate cycles, and processing the measurement data in the count latch module by the processor, the accuracy of measuring the frequency of the signal to be measured can be repeatedly verified; specifically, in the processor, the frequency measurement data obtained in step S103 is processed to obtain the frequency of the signal to be measured, where a formula preferably adopted for processing the frequency measurement data is as follows:
(1)TxiNxi=Ts-Ti-1+Ti
(2)TxiNxi=Ts-T0n0i-1+T0n0i
Figure BDA0002324068350000071
Figure BDA0002324068350000072
in the formula, TsIs the sampling gate period; t isiIs the ith non-whole period; t isi-1Is the i-1 th non-whole period; t is0Filling the period of the pulse for high frequency; t isxiIs the period of the signal to be measured; n is0i-1Is Ti-1Counting high-frequency filling pulses in a non-whole period; n is0iIs TiCounting high-frequency filling pulses in a non-whole period; n is a radical ofxiIs TsCounting the pulse count value of the signal to be measured in the whole period in time; f. ofsIs the frequency of the sampling gate; f. of0The frequency of the high frequency fill pulse; fxi is the frequency of the signal to be measured; Δ n is the difference between the counts of adjacent high frequency fill pulses, where Δ n is n0i-n0i-1
In particular, NxiIs thatThe sampling gate period T obtained by the full period counter module in step S102sCounting the number of the pulses of the signal to be measured in the whole period of time; t isiAnd Ti-1Is two adjacent non-whole periods, wherein the number of the non-whole period correspondingly measured in the period time of the (i-1) th sampling gate is (i-1), namely the non-whole period Ti-1(ii) a The number of the non-whole period correspondingly measured in the cycle time of the ith sampling gate is ith, namely the non-whole period Ti;n0i-1I.e. the sum T obtained by the fill pulse counter module in step S102i-1Counting the high-frequency filling pulse value in the time corresponding to the non-whole period signal to be measured; n is0iI.e. the sum T obtained by the fill pulse counter module in step S102iCounting the high-frequency filling pulse value in the time corresponding to the non-whole period signal to be measured; n is equal to n0i-n0i-1That is, the counting latch module in step S103 processes the counting value sent by the filling pulse counter module in step S102 to obtain a difference value, i.e., a counting difference value of adjacent high-frequency filling pulses.
By applying the method, the frequency of the signal to be detected can be efficiently and accurately obtained, and no abnormity occurs after repeated verification; particularly, the signal to be measured is subjected to filtering preprocessing by the signal to be measured filtering module in the step S101, so that interference caused by abnormal phenomena such as jitter and the like is effectively prevented, and a guarantee is provided for the accuracy of the data for frequency measurement obtained in the subsequent steps S102 and S103; moreover, the latch and clear signal generating module in the step S102 generates a timing latch signal and a timing clear signal, the timing latch signal accurately controls the measurement of the signal to be measured, and the timing clear signal timely clears the counts in the whole period counter module and the filling pulse counter module, so that space is timely provided for the subsequent sampling measurement, and the space of each counter is saved; in addition, the invention breaks through the traditional mode that the data for frequency measurement only stores each count value, and stores the pulse count value of the signal to be measured in the whole period in the counting latch module and simultaneously performs difference processing and storage on the high-frequency filling pulse count in the non-whole period, thereby ensuring the reliable stability of the frequency measurement and the accuracy of the frequency measurement result even if the conditions of not continuously counting the signal to be measured, jumping of the data latched by the counting latch module or abnormal data transmission to a processor occur, further effectively avoiding the phenomenon that the data of the frequency measurement result greatly deviates from the normal value, simultaneously reducing the requirement on the continuity of the timing interruption, greatly reducing the calculation difficulty of the processor and being beneficial to the improvement of the integral operation efficiency of the inertial navigation system.
The present invention is not limited to the above-described embodiments, and any obvious modifications or alterations to the above-described embodiments may be made by those skilled in the art without departing from the spirit of the present invention and the scope of the appended claims.

Claims (6)

1. A method for measuring frequency by applying a frequency measurement system, wherein the frequency measurement system comprises a signal to be measured filtering module, a latch and zero clearing signal generating module, a full-period counter module, a filling pulse counter module and a counting latch module; wherein the content of the first and second substances,
the signal to be measured filtering module is used for filtering a signal to be measured and respectively sending the filtered signal to be measured to the whole period counter module and the filling pulse counter module;
the latch and clear signal generating module is used for generating a timing latch signal and a timing clear signal according to timing signal output, simultaneously and respectively sending the generated timing latch signal to the whole period counter module and the filling pulse counter module, and simultaneously and respectively sending the generated timing clear signal to the whole period counter module and the filling pulse counter module;
the whole-period counter module is used for receiving the filtered signal to be detected, the timing latch signal and the timing clear signal, counting the whole-period signal to be detected within the period time of the sampling gate according to the received timing latch signal, and sending the obtained count value to the counting latch module; clearing the count in the whole period counter module according to the received timing clearing signal;
the filling pulse counter module is used for receiving the filtered signal to be detected, the timing latch signal and the timing clear signal, counting the high-frequency filling pulse within the sampling gate period time corresponding to the non-full-period signal to be detected according to the received timing latch signal, and sending the obtained count value to the counting latch module; clearing the count in the filling pulse counter module according to the received timing clearing signal;
the counting latch module is used for receiving and storing the counting value sent by the full-period counter module; the device is also used for receiving and processing the count value sent by the filling pulse counter module and storing the processed value;
the whole period is a period from one rising edge of the signal to be detected to the next rising edge of the signal to be detected;
the non-whole period is the period from the first rising edge of the sampling gate to the first rising edge of the signal to be detected in the period time of the sampling gate;
in the counting latch module, when the counting value sent by the filling pulse counter module is processed, the difference value calculation processing is carried out on the obtained adjacent high-frequency filling pulse counting value, and the calculated difference value is stored;
the frequency measurement method comprises the following steps: the method comprises the following steps that a frequency measurement system is used in an inertial navigation system, a processor and a timer are arranged in the inertial navigation system, the frequency measurement system is connected with the processor, a timing signal is sent to the frequency measurement system through the timer, frequency measurement data are sent to the processor through the frequency measurement system, and the frequency of a signal to be measured is obtained by processing the frequency measurement data through the processor;
in the frequency measurement system:
filtering the signal to be detected through a signal to be detected filtering module, and respectively sending the signal to be detected after filtering to a whole period counter module and a filling pulse counter module;
a latch and clear signal generating module is used for generating a timing latch signal and a timing clear signal according to the timing signal output, simultaneously and respectively sending the generated timing latch signal to the whole period counter module and the filling pulse counter module, and simultaneously and respectively sending the generated timing clear signal to the whole period counter module and the filling pulse counter module;
receiving the filtered signal to be detected, the timing latch signal and the timing clear signal through the whole period counter module; the whole-period counter module counts the whole-period to-be-detected signal pulse within the sampling gate period time according to the received timing latch signal, and sends the obtained count value to the counting latch module; the whole-period counter module clears the count in the whole-period counter module according to the received timing clear signal;
receiving the filtered signal to be detected, the timing latch signal and the timing clear signal through the filling pulse counter module, counting the high-frequency filling pulse within the sampling gate period time corresponding to the non-whole period signal to be detected according to the received timing latch signal by the filling pulse counter module, and sending the obtained count value to the counting latch module; the filling pulse counter module clears the count in the filling pulse counter module according to the received timing clear signal;
receiving and storing the count value sent by the full-period counter module through the count latch module; receiving and processing the count value sent by the filling pulse counter module through the count latch module, and storing the processed value;
in the processor, the frequency measurement data is processed to obtain the frequency of the signal to be measured, and the formula for processing the frequency measurement data is as follows:
(1)TxiNxi=Ts-Ti-1+Ti
(2)TxiNxi=Ts-T0n0i-1+T0n0i
(3)
Figure FDA0003265410230000021
(4)
Figure FDA0003265410230000022
in the formula, TsIs the sampling gate period; t isiIs the ith non-whole period; t isi-1Is the i-1 th non-whole period; t is0Filling the period of the pulse for high frequency; t isxiIs the period of the signal to be measured; n is0i-1Is Ti-1Counting high-frequency filling pulses in a non-whole period; n is0iIs TiCounting high-frequency filling pulses in a non-whole period; n is a radical ofxiIs TsCounting the pulse count value of the signal to be measured in the whole period in time; f. ofsIs the frequency of the sampling gate; f. of0The frequency of the high frequency fill pulse; fxi is the frequency of the signal to be measured; Δ n is the difference between the counts of adjacent high frequency fill pulses, where Δ n is n0i-n0i-1
2. The method according to claim 1, wherein the counting latch module sends the data for frequency measurement to the processor through a bus interface.
3. The frequency measurement method according to claim 1, wherein when the count value sent by the filling pulse counter module is processed in the count latch module, the difference calculation processing is performed on the count value of the adjacent high-frequency filling pulses, and the calculated difference is stored;
and the frequency measurement system sends data for frequency measurement to the processor through the counting latch module, wherein the data for frequency measurement comprises a pulse counting value of a signal to be measured in a whole period and a counting difference value of adjacent high-frequency filling pulses.
4. A method according to any of claims 1 to 3, wherein the whole period is from one rising edge of the signal under test to the next rising edge of the signal under test;
the non-whole period is the period from the first rising edge of the sampling gate to the first rising edge of the signal to be measured in the period time of the sampling gate.
5. The method of claim 4, wherein the sampling gate is a reference for a frequency measurement period;
the period of the sampling gate is the period from the first rising edge to the next rising edge of the sampling gate;
the rising edge is a low-to-high change start time.
6. The method according to claim 4, wherein the inertial navigation system provides a high frequency clock for the frequency measurement system, and the high frequency clock is used as an operating clock of the frequency measurement system.
CN201911309285.6A 2019-12-18 2019-12-18 Frequency measurement system and frequency measurement method thereof Active CN110988467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911309285.6A CN110988467B (en) 2019-12-18 2019-12-18 Frequency measurement system and frequency measurement method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911309285.6A CN110988467B (en) 2019-12-18 2019-12-18 Frequency measurement system and frequency measurement method thereof

Publications (2)

Publication Number Publication Date
CN110988467A CN110988467A (en) 2020-04-10
CN110988467B true CN110988467B (en) 2022-01-11

Family

ID=70095490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911309285.6A Active CN110988467B (en) 2019-12-18 2019-12-18 Frequency measurement system and frequency measurement method thereof

Country Status (1)

Country Link
CN (1) CN110988467B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111413549B (en) * 2020-04-26 2022-07-12 上海航天计算机技术研究所 High-reliability pulse width signal detection system, platform and method
CN113422549A (en) * 2021-06-29 2021-09-21 四川中微芯成科技有限公司 PWM wave processing method of motor, motor control panel, motor and motor system
CN116908537B (en) * 2023-09-13 2023-12-19 西安西电高压开关有限责任公司 Current voltage frequency calculation circuit and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102540865A (en) * 2012-01-04 2012-07-04 西安近代化学研究所 High-precision time interval measurement method based on phase modulation
CN103063128A (en) * 2013-01-05 2013-04-24 清华大学 Dynamic electronic signal phase measurement system for double-frequency laser interferometer
CN103383412A (en) * 2013-07-10 2013-11-06 珠海许继芝电网自动化有限公司 Adaptive software and hardware frequency tracking and sampling method
CN103499739A (en) * 2013-09-25 2014-01-08 浪潮电子信息产业股份有限公司 Frequency measurement method based on FPGA
CN103698602A (en) * 2013-12-16 2014-04-02 北京自动化控制设备研究所 Large dynamic high-precision synchronization continuous frequency measurement method
CN102497199B (en) * 2011-11-29 2014-10-01 中国西电电气股份有限公司 1/2-period frequency measuring system and method
CN104849549A (en) * 2015-04-21 2015-08-19 深圳市海浦蒙特科技有限公司 Method and system for measuring impulse frequency
CN106597097A (en) * 2016-12-28 2017-04-26 吉林大学 High-precision frequency measurement method
CN108872702A (en) * 2018-05-25 2018-11-23 中国科学院电子学研究所 The frequency measuring system and method in adaptive period
CN110061734A (en) * 2019-04-12 2019-07-26 北京无线电测量研究所 A kind of inertial navigation component output pulse counting method and device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102497199B (en) * 2011-11-29 2014-10-01 中国西电电气股份有限公司 1/2-period frequency measuring system and method
CN102540865A (en) * 2012-01-04 2012-07-04 西安近代化学研究所 High-precision time interval measurement method based on phase modulation
CN103063128A (en) * 2013-01-05 2013-04-24 清华大学 Dynamic electronic signal phase measurement system for double-frequency laser interferometer
CN103383412A (en) * 2013-07-10 2013-11-06 珠海许继芝电网自动化有限公司 Adaptive software and hardware frequency tracking and sampling method
CN103499739A (en) * 2013-09-25 2014-01-08 浪潮电子信息产业股份有限公司 Frequency measurement method based on FPGA
CN103698602A (en) * 2013-12-16 2014-04-02 北京自动化控制设备研究所 Large dynamic high-precision synchronization continuous frequency measurement method
CN104849549A (en) * 2015-04-21 2015-08-19 深圳市海浦蒙特科技有限公司 Method and system for measuring impulse frequency
CN106597097A (en) * 2016-12-28 2017-04-26 吉林大学 High-precision frequency measurement method
CN108872702A (en) * 2018-05-25 2018-11-23 中国科学院电子学研究所 The frequency measuring system and method in adaptive period
CN110061734A (en) * 2019-04-12 2019-07-26 北京无线电测量研究所 A kind of inertial navigation component output pulse counting method and device

Also Published As

Publication number Publication date
CN110988467A (en) 2020-04-10

Similar Documents

Publication Publication Date Title
CN110988467B (en) Frequency measurement system and frequency measurement method thereof
US4485452A (en) Speed measurement system
CN101031858A (en) Time measurement using phase shifted periodic waveforms
CN105549379A (en) Synchronous measurement apparatus based on high precision time reference triggering and method thereof
CN112968690B (en) High-precision low-jitter delay pulse generator
CN110579618B (en) Motor rotating speed acquisition and analysis device and method based on FPGA
JP2006329987A (en) Apparatus for measuring jitter and method of measuring jitter
CN101038295A (en) Equal observations method and measuring device of rotary table rate
EP0909957A2 (en) Measuring signals in a tester system
CN106645780B (en) DSP-based rotating speed detection method and system
NO854672L (en) TELEPHONE DEVICES AND PROCEDURES FOR FREQUENCY SAMPLING.
CN106301656A (en) A kind of method and device improving timestamp certainty of measurement
CN110988468B (en) Frequency measurement device and method applied to inertial navigation system
CN103176059A (en) Method, device and frequency meter for measuring pulse width
CN110879298B (en) Speed acquisition method based on communication type encoder
CN104316775B (en) Pulse signal cycle and dutycycle method for continuous measuring
EP0827051A2 (en) Time interval measurement system and method applied therein
CN106771326B (en) A method of based on incremental optical-electricity encoder measuring speed
US20130346022A1 (en) Physical quantity measuring apparatus and physical quantity measuring method
CN105092876B (en) The anti-interference pulse counting method of velocity sensor and device
CN115356532B (en) Multi-channel frequency measuring system of microprocessor and frequency measuring method thereof
CN115356532A (en) Multi-channel frequency measuring system and method for microprocessor
CN102571041A (en) Method for detecting time delay and time sequence of circuit and method for correcting time delay by using such method
JP2571082B2 (en) Transmission line length measuring device
KR960007196Y1 (en) Apparatus for measuring speed in incremental encoder

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
GR01 Patent grant
GR01 Patent grant