Nyquist theorem & collecting digital values

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

The discussion centers on the application of the Nyquist theorem in the context of digital signal transmission and sampling rates. It is established that real-world signals are inherently analog, necessitating the theorem's application to avoid aliasing. Participants emphasize the importance of using an anti-aliasing filter with a roll-off at half the sampling frequency of the Analog-to-Digital Converter (ADC) to ensure accurate signal representation. The conversation also highlights the need for understanding the analog bandwidth of signals, particularly when using devices like USB/RS-485 converters for data acquisition in LabVIEW with Modbus.

PREREQUISITES
  • Understanding of Nyquist theorem and its implications for sampling rates
  • Knowledge of analog low-pass filters and anti-aliasing techniques
  • Familiarity with digital signal transmission concepts, particularly in serial communication
  • Experience with LabVIEW and Modbus for data acquisition
NEXT STEPS
  • Research the implementation of anti-aliasing filters in signal processing
  • Learn about the effects of aliasing in digital signal processing
  • Explore the design and application of bandpass filters in sampling systems
  • Investigate advanced sampling techniques in modern digital communication systems
USEFUL FOR

Engineers, signal processing specialists, and anyone involved in digital communication systems who seeks to optimize data acquisition and ensure signal integrity.

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 14 ·
Replies
14
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 27 ·
Replies
27
Views
897
  • · Replies 33 ·
2
Replies
33
Views
3K