Sampling, FFT and Channel Capacity Calculator
Plan data acquisition and FFT analysis, and see the theoretical speed limit of a communication channel, in one place.
브라우저에서 실행됩니다. 파일은 기기 밖으로 나가지 않습니다. 확인하는 방법 보기
…
사용 방법
- 1Enter the sample rate
In Hz.
- 2Enter FFT length and window
Points and type.
- 3Read the resolution
Bin width and record length.
- 4Check aliasing
For your signal frequency.
- 5Enter channel values
Bandwidth, SNR, levels.
- 6Read the capacity
Shannon and Nyquist limits.
이 도구 소개
Digital signal processing rests on a few fundamental limits. Sample too slowly and high frequencies fold back as false lower frequencies, called aliasing. Analyse too short a record and two nearby tones blur into one. Push too much data through a noisy channel and errors become unavoidable. This calculator brings these limits together. Enter a sample rate and it gives the Nyquist frequency, half the sample rate, and shows where any signal frequency will appear after sampling, warning when it aliases. Enter an FFT length and window function to get the bin width, the record length in time, the window's equivalent noise bandwidth and its highest side lobe, which together decide how well you can separate close or weak tones. For communication channels, enter a bandwidth and signal-to-noise ratio to get the Shannon capacity, the maximum error-free bit rate any system can achieve, along with the spectral efficiency limit, and enter a number of signal levels to get the noiseless Nyquist bit rate. It is useful for audio, vibration analysis, software-defined radio, data acquisition and coursework.
Nyquist and aliasing
To capture a signal, sample at more than twice its highest frequency. A tone above half the sample rate appears at a lower frequency: at 48 kHz sampling, a 30 kHz tone shows up at 18 kHz. Anti-aliasing filters before the converter remove such frequencies; in practice sample rates are set 10 to 25% above the strict minimum to leave room for the filter.
FFT resolution
An N-point FFT at sample rate fs has bins fs/N apart and needs N/fs seconds of data. Finer resolution needs longer records. Windows reduce leakage from strong tones but widen each peak: the equivalent noise bandwidth is 1 bin for rectangular, 1.5 for Hann, 1.36 for Hamming, 1.73 for Blackman and 3.77 for flat-top, which is used when amplitude accuracy matters most.
Shannon capacity
C = B log2(1 + SNR). A 20 MHz channel at 25 dB SNR can carry at most about 166 Mbit/s. Modern systems with strong error-correcting codes reach within a few dB of this limit.
Nyquist bit rate
For a noiseless channel with M signal levels, the maximum rate is 2B log2 M. Noise decides how many levels are usable in practice, which brings you back to Shannon.
Limits
These are theoretical limits and idealised window figures, not measured performance. Real converters add noise and distortion, and real channels have interference and fading, so practical rates are lower. Window parameters are standard published values.
풀이 예시
At 48 kHz with a 4,096-point FFT and a Hann window, bins are 11.72 Hz apart from an 85 ms record with a 17.6 Hz noise bandwidth, a 30 kHz tone aliases to 18 kHz, and a 20 MHz channel at 25 dB SNR has a Shannon capacity of about 166 Mbit/s.
한눈에 보기
- 카테고리: 공학 및 건설
- 브라우저에서 실행되며 가입도 업로드도 필요 없습니다.
- 입력한 정보는 기기에 머뭅니다.
- 영어로 제공됩니다.
- 콘텐츠 최종 검토일:
- 공식 출처: C. E. Shannon, A Mathematical Theory of Communication (1948), and F. J. Harris, On the Use of Windows for Harmonic Analysis with the DFT (1978)
자주 묻는 질문
What is the Nyquist frequency?
Half the sample rate, the highest frequency that can be captured without aliasing.
How do I get finer FFT resolution?
Record for longer: more points at the same sample rate.
Which window should I use?
Hann for general use, flat-top for amplitude accuracy, rectangular for transients.
What is Shannon capacity?
The maximum error-free data rate for a bandwidth and SNR.
Can systems beat the Shannon limit?
No. Good codes come close but cannot exceed it.
Is anything uploaded?
No. Calculations run in your browser.
