Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Signal frequency measuring method based on period tracking method and mobile integer period method

A technique of integer period and signal frequency, applied in the field of real-time measurement of signal frequency

Inactive Publication Date: 2014-09-03
SOUTHWEST UNIVERSITY
View PDF5 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Example: timer frequency f clk is 10MHz, if the square wave signal frequency f is 120kHz, But since i is a count value, it can only be an integer, so in the actual test, i may be 83 or 84

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Signal frequency measuring method based on period tracking method and mobile integer period method
  • Signal frequency measuring method based on period tracking method and mobile integer period method
  • Signal frequency measuring method based on period tracking method and mobile integer period method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] The present invention will be further described below in conjunction with drawings and embodiments.

[0036] Cycle tracking method:

[0037] Such as figure 1 As shown, in the figure T r-1 Is the period of the r-1th square wave, the start and end times are t r-1 and t r-1 +T r-1 , ie t r-1 and t r ,T r is the period of the rth square wave, the start and end times are t r-1 +T r-1 and t r-1 +T r-1 +T r , ie t r and t r+1 .

[0038] at t r-1 +T r-1 time, the frequency f(t ​​can be calculated r-1 +T r-1 )=1 / T r-1 ;

[0039] at [t r-1 +T r-1 , t r-1 +2T r-1 ] time period, no new rising edge of the square wave is collected, that is, the rising edge of the r+1th square wave, and the measurement result remains unchanged;

[0040] When time t>t r-1 +2T r-1 At this time, the rising edge of the new square wave is still not collected, that is, the rising edge of the r+1th square wave, indicating that the period of the rth square wave is greater than the p...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a signal frequency measuring method based on a period tracking method and a mobile integer period method. The signal frequency measuring method comprises the specific steps that first, the timer frequency f[clk] and an allowed measuring error epsilon are set; second, if the upper limit f[max] of a measured signal frequency f is unknown, the mobile integer period method is used for measuring the signal frequency, and if the upper limit f[max] of a measured signal frequency f is known, whether the f[max], the f[clk] and the epsilon meet the relational expression that f[max] is smaller than f[clk]*epsilon is judged, if yes, the period tracking method is used for measuring the signal frequency, and if not, the mobile integer period method is used for measuring the signal frequency. The period tracking method can update the measuring result in time when detecting the situation that the signal period is prolonged, and the mobile integer period method achieves the effect that the measuring result is updated at least one time in each signal period. The period tracking method and the mobile integer period method can track the changing process of the signal frequency faster, the hysteresis error is reduced, the requested number of timers is not increased, the calculation amount is small, only a small amount of memory variable needs to be added, and therefore the hardware cost of a frequency testing device cannot be increased.

Description

technical field [0001] The invention relates to the technical field of signal testing, in particular to a method for real-time measurement of signal frequency. Background technique [0002] In the test and control system, the frequency signal input to the microcontroller or data acquisition card is a conditioned square wave signal. Commonly used frequency measurement methods include cycle measurement method, integer cycle method and frequency measurement method. These measurement methods suffer from hysteresis errors when the signal frequency changes, and the faster the signal frequency changes, the greater the error. In practical applications, since the timer frequency of the current single-chip microcomputer and data acquisition card is usually tens of MHz, except for the communication signal, the signal frequency of most test and control systems is lower than 100KHz, which is far lower than the timer frequency. Measured by week method and integer period method. [0003...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G01R23/02
Inventor 郝允志林毓培周黔
Owner SOUTHWEST UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products