Dynamic Counter Modes for Accurate Frequency Measurement
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing counter systems face challenges in providing accurate frequency and position measurements due to measurement delay and quantization errors, especially when dealing with decelerating inputs and wide ranges of frequencies, leading to confusion in choosing between different operating modes that balance accuracy versus delay tradeoffs.
Innovation Solution
An improved counter capable of dynamic frequency measurements, operating in multiple modes (low-frequency, large range, and high-frequency modes) with programmable divisor and measurement time settings, enabling it to return measurements based on the mode that completes first, and providing timestamping for interpolation to reduce errors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional counter measurement methods are used, then measurement accuracy is maintained for steady-state signals, but measurement delay increases and quantization errors occur for decelerating inputs
Solution Approach 1:
The counter system dynamically switches between different measurement modes (low-frequency, large-range, high-frequency) based on the input signal characteristics. The measurement mode is selected adaptively to optimize both accuracy and delay performance for different operating conditions, particularly for decelerating inputs where traditional fixed-mode counters fail.
Solution Approach 2:
The system changes measurement parameters (measurement window size, counting method) based on the detected input frequency and signal behavior. By adjusting these parameters dynamically, the counter achieves high accuracy for low-frequency decelerating signals while maintaining low delay for high-frequency signals.
2Adaptability or versatility
If multiple operating modes are provided to balance accuracy versus delay, then measurement flexibility is improved, but device complexity increases
Solution Approach 1:
The counter is designed with multiple operating modes (low-frequency, large-range, high-frequency) that can handle different signal types and frequency ranges. This multi-functionality allows a single device to replace what would traditionally require multiple specialized counters, reducing overall system complexity while providing adaptability.
Solution Approach 2:
The counter system automatically selects the appropriate measurement mode based on the input signal characteristics without requiring external intervention or complex configuration. The self-service capability simplifies operation while maintaining the flexibility of multiple modes.
3Measurement precision
If encoder pulses are used for position measurement, then position data is captured, but quantization errors occur for angle changes smaller than the encoder resolution
Solution Approach 1:
The system performs preliminary measurements by capturing encoder pulses over an extended measurement window and uses interpolation algorithms to estimate position changes that occur between pulses. This preliminary action allows the system to recover sub-quantization-level position information that would otherwise be lost.
Solution Approach 2:
The counter system uses feedback from the measured position and velocity to continuously refine position estimates. By comparing expected versus actual pulse patterns, the system can detect and correct quantization errors, providing more accurate position measurements than the encoder resolution alone would permit.
Data Source
AI summary
An improved counter may implement dynamic frequency measurement while also remaining fully backwards compatible with traditional frequency measurement methods. The counter may operate according to low-frequency, large range, and/or high frequency modes of operation. It may be programmable with a divisor value associated with the large range operating mode, and a measurement time associated with the high frequency mode of operation. The divisor and measurement time settings may be enabled or disabled, and when either setting is disabled, the counter becomes backwards compatible with traditional frequency measurement methods. The counter may also be provided with inputs representative of the desired type of measurement and the minimum and maximum expected values for the signal to be measured. The counter may perform the frequency measurement according to any one or more of the operating modes, and return a measurement result obtained in the operating mode that completes the measurement first.


