Determination of the frequency of a sampled signal

Click For Summary

Discussion Overview

The discussion revolves around the determination of frequency in sampled signals, particularly in the context of frequency modulation (FM) and binary frequency shift keying (BFSK). Participants explore how to accurately reconstruct signals from sampled data and the implications for real-time data transmission protocols.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant questions how to calculate the frequency received in real time during the sampling process, specifically at what point one can determine if the signal is at fo + fbw or fo - fbw.
  • Another participant notes that before sampling, the signal should pass through analog filters, suggesting that knowledge of the carrier frequency is essential.
  • A participant expresses uncertainty about how many samples are needed to determine frequency with high confidence, suggesting that multiple periods may be necessary.
  • One participant explains that the modulation described is BFSK and discusses the role of a local oscillator in synchronizing the receiver to the carrier frequency.
  • Detection methods such as matched filtering and FFT are mentioned as techniques for determining the transmitted symbols based on the sampled waveform.
  • Another participant acknowledges the importance of having a predetermined number of cycles per symbol for robust detection, linking this to the need for synchronization between transmitter and receiver.

Areas of Agreement / Disagreement

Participants express various viewpoints on the methods and requirements for determining frequency from sampled signals, indicating that multiple competing views remain without a clear consensus on the optimal approach.

Contextual Notes

Some limitations are noted regarding the assumptions about the carrier frequency and the effects of noise and interference on detection methods. The discussion does not resolve the mathematical steps involved in the sampling and detection processes.

Adoniram
Messages
93
Reaction score
6
Hello everyone,

I have a question regarding data reconstruction over RF, especially in the case of FM. Let us say I have a trivial case where I have a carrier frequency of fo and a bandwidth of fbw. I want to setup a scheme such that fo + fbw is a 1 and fo - fbw is a 0. (I'm naively under the impression that this is, in general, how FM works...)

At the receiver side, the hardware is measuring (and sampling) voltage over time. If the samples are being taken at higher than the Nyquist frequency, I should (in theory) be able to reconstruct the original signal. But how does one calculate the frequency received in real time?

In other words, at what point does one know "Ah this is at fo + fbw, therefore a 1" during the sampling process? Does it take multiple samples, or is there some way to immediately calculate this, and with what level of confidence?

An example image: If I'm sampling a signal (red circles), where can I confidently conclude that the frequency is either fo + fbw or fo - fbw?
sampling.gif


Thanks!
 

Attachments

  • sampling.gif
    sampling.gif
    4.3 KB · Views: 1,481
Last edited by a moderator:
Engineering news on Phys.org
For frequency modulation, with a binary state (either +Fbw or -Fbw) you should see it sometimes faster, and sometimes slower. Are you indicating that you know nothing about what f0 carrier frequency the person is transmitting at? Before a signal is sampled, it ahouldhave first been passed through some analog filters. Like if you tune your radio to 99.1 MHz, it has gone through a bandpass filter first.
 
Yes, exactly, sometimes the freq is higher or lower, but how quickly can your hardware determine that? In my ignorance, I feel you'd have to sample some stretch, like maybe 2 or more periods, before knowing the frequency with high confidence.

This seems an important feature because complicated protocols like QAM require real-time sampling and reconstruction of data. I'm trying to figure it out on a really basic level first...
 
  • The modulation you describe is called 2-FSK or BFSK (frequency shift keying with 2 symbols, or binary FSK).
  • The receiver synchronizes its local oscillator to the carrier phase and frequency (look up Costas :oop, for instance) so that the RF is downconverted to a known and stable low frequency. That frequency is typically zero so the two symbols are +f_BW and -f_BW.
  • Each symbol is a predefined number of cycles. The longer the symbol, the more robust the system is to noise and interference, at the expense of a lower data rate.
  • Detection is often performed by a matched filter. The sampled waveform is cross-correlated against a stored reference copy of each symbol (frequency), and 1 or 0 is declared depending on which has the highest correlation.
  • An alternate approach is to take an FFT (assuming the number of samples is even). An integer number of cycles per symbol is often used in this case.
  • There are many versions of FSK, with memory to give one example, that give certain advantages at the cost of greater complexity. You can search FSK for more info.
 
  • Like
Likes   Reactions: berkeman, Adoniram and Baluncore
marcusl said:
  • The modulation you describe is called 2-FSK or BFSK (frequency shift keying with 2 symbols, or binary FSK).
  • The receiver synchronizes its local oscillator to the carrier phase and frequency (look up Costas :eek:op, for instance) so that the RF is downconverted to a known and stable low frequency. That frequency is typically zero so the two symbols are +f_BW and -f_BW.
  • Each symbol is a predefined number of cycles. The longer the symbol, the more robust the system is to noise and interference, at the expense of a lower data rate.
  • Detection is often performed by a matched filter. The sampled waveform is cross-correlated against a stored reference copy of each symbol (frequency), and 1 or 0 is declared depending on which has the highest correlation.
  • An alternate approach is to take an FFT (assuming the number of samples is even). An integer number of cycles per symbol is often used in this case.
  • There are many versions of FSK, with memory to give one example, that give certain advantages at the cost of greater complexity. You can search FSK for more info.

Awesome, thank you for the detailed explanation. I can follow the logic of BPSK, QAM, etc, including error correction and other logic techniques. It was the part where the value was determined to be at +f_BW or -f_BW that was alluding me (or determined to be at some IQ value, etc). Your statement about each symbol having a pre-determined number of cycles helps a lot, and it also helps clarify what I've read about needing to be "locked" between Tx and Rx (otherwise your symbols are incorrect).
 
LOL, I just saw the emoji that I managed to insert in place of "Loop." So much for typing on a little phone screen!
Glad to have helped.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
Replies
7
Views
4K
  • · Replies 68 ·
3
Replies
68
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 8 ·
Replies
8
Views
13K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K