Nyquist theorem & collecting digital values

  • Thread starter Thread starter linki
  • Start date Start date
  • Tags Tags
    Digital Theorem
Click For Summary

Discussion Overview

The discussion revolves around the application of the Nyquist theorem in the context of collecting digital values from a digital transmitter. Participants explore the relevance of sampling rates, aliasing, and the nature of signals in digital communication, including the use of anti-aliasing filters and the implications of sampling digital versus analog signals.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants question the necessity of applying the Nyquist theorem if the collected values appear fine, suggesting that the purpose of the inquiry may be unclear.
  • Others propose that sampling rate becomes significant when the analog signal has frequency components higher than roughly 0.1 of the sampling frequency, which can lead to aliasing.
  • There is a discussion about whether the Nyquist theorem applies to digital signals, with some asserting that real-world signals are always analog and thus the theorem is relevant.
  • One participant mentions that the maximum sampling rate of a single transmitter is 16 Hz, but when connected in a bus network, the overall sampling rate drops to approximately 1.6 Hz.
  • Some participants argue that the sampling of digital signals, such as those transmitted over Ethernet, involves sampling decisions that are critical to the signal's integrity.
  • There are suggestions to implement anti-aliasing filters, with some specifying that the filter's roll-off should be at half the sampling frequency of the ADC.
  • One participant notes that in certain cases, alias signals can be arranged to fall between desired frequencies, allowing for sub-Nyquist sampling under specific conditions.

Areas of Agreement / Disagreement

Participants express differing views on the applicability of the Nyquist theorem to digital signals, the necessity of sampling rates, and the role of anti-aliasing filters. The discussion remains unresolved with multiple competing perspectives on these topics.

Contextual Notes

Some participants highlight the importance of understanding the analog bandwidth of signals and the potential for aliasing, but there is no consensus on the specifics of how these concepts apply in various scenarios.

linki
Messages
5
Reaction score
0
I have a digital transmitter from which I collect and save values from. How do I know if I must apply this theorem or not? My values seems fine..
 
Engineering news on Phys.org
Welcome to PF.

If your values are fine, why do you need any theorem? The purpose of your question is unclear.

But if I guess, you are asking when sampling rate becomes significant. It is significant whenever the analog signal has frequency components higher than roughly 0.1 of the sampling frequency. It causes seemingly false readings because of aliasing. To prevent that, we typically use an analog low-pass filter before sampling and call that the anti-aliasing filter. Are you familiar with those concepts?
 
  • Like
Likes   Reactions: berkeman
Thank you.
Yes I have heard about them. But is this theorem the same for digital signals?
 
anorlunda said:
If your values are fine, why do you need any theorem? The purpose of your question is unclear.
 
The values differ at bit but I think it depends on some error sources. I just want to make clear that it’s not because of the sampling rate.
 
There's a contradiction. Normally we don't sample digital signals such as Ethernet.
 
linki said:
I have a digital transmitter from which I collect and save values from. How do I know if I must apply this theorem or not? My values seems fine..

Note that there is no such thing as a "digital" transmitter in this context; real-world signals are always analog and will therefore have some (analog) bandwidth; meaning the theorem always applies.

Hence, you need to figure out the analog BW of your signal (or to be more specific. how much BW you need to capture the information you are interested in); and then make sure you are sampling at twice that rate if you want to be sure that you are capturing all the information. .
 
  • Like
Likes   Reactions: sophiecentaur
I have transmitters connected in serial on a bus network. The signals are transferred via usb/rs-485 converter. A single transmitter has the max sampling rate of 16hz. Together I can only sample with max approx. 1.6Hz. The serial baudrate is 9600.
 
Last edited:
anorlunda said:
There's a contradiction. Normally we don't sample digital signals such as Ethernet.
Actually, the instant at which the decision is made about the digital value of each symbol totally involves 'sampling'. The analogue value of any digital signal at any time can consist of contributions of many other symbols - hence the principle of sampling in the middle of an 'Eye'. That technique has long been superseded by modern signalling systems which use some very fancy filtering over many symbols.
@linki You do not specify the coding and modulation system that you are using so I guess it will be a fairly straightforward one. You can rely on the basic rules of thumb for that but the sampling of some signals can involve a significantly lower sampling rate than the maximum frequency in that signal. Sun-Nyquist sampling can be extremely good value when the sampled signal has a degree of 'order' in its spectrum. You can sometimes arrange for the alias signals to fall between a comb of wanted frequencies in a signal. Spectrum space can be a limited asset and needs to be used 'intelligently' sometimes.
 
  • #10
The acquisition is made in Labview using the Modbus library.
 
  • #11
You need to add a anti-aliasing filter with a roll-off at half of the sampling frequency of the ADC
 
  • #12
anorlunda said:
Welcome to PF.

If your values are fine, why do you need any theorem? The purpose of your question is unclear.

But if I guess, you are asking when sampling rate becomes significant. It is significant whenever the analog signal has frequency components higher than roughly 0.1 of the sampling frequency. It causes seemingly false readings because of aliasing. To prevent that, we typically use an analog low-pass filter before sampling and call that the anti-aliasing filter. Are you familiar with those concepts?

cabrera said:
You need to add a anti-aliasing filter with a roll-off at half of the sampling frequency of the ADC

As f95toli eluded to, you actually need a bandpass filter whose bandwidth is <1/2 sampling freq. Actual center frequency of the AAF is theoretically not important.
 
  • Like
Likes   Reactions: sophiecentaur
  • #13
the_emi_guy said:
you actually need a bandpass filter whose bandwidth is <1/2 sampling freq.
Depending on the actual spectrum of the data (I'm thinking of comb spectra), you can be even more cheeky than that - as long as the artefacts can be guaranteed to lay between the elements of that comb spectrum. Early digital coding of good old PAL colour TV did just that and allowed some useful sub Nyquist sampling by choosing to make the alias components lie between the comb of line frequency harmonics. Perfect for stationary pictures but the artefacts would start to show when there was enough motion in the picture.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
4K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 27 ·
Replies
27
Views
1K
  • · Replies 33 ·
2
Replies
33
Views
5K