# Questions tagged [oversampling]

Anything related to oversampling, i.e. the process of sampling a signal at a much higher rate than the minimum required for its reconstruction (a.k.a. the Nyquist rate).

46 questions
Filter by
Sorted by
Tagged with
98 views

### STM32F4 USART: start bit detection sequence when oversampling by 8

I'm using the USART on an STM32F4 series MCU. I'm wondering how the receiver detects the start bit when oversampling by 8 is set. The reference manual says the start bit detection sequence is the same ...
1 vote
120 views

I am using an ADC LTC2378 with a resolution of 20 bits. Based on the datasheet this resolution corresponds to an LSB calculated by the equation ($2 V_{\text{ref}}/2^{20}$), i.e., 9.536 µV. In order ...
• 21
131 views

### Help understanding Sampling rate, ODR and oversampling of BMP390

I'm trying to understand how fast I can measure pressure changes with the Bosch BMP390 sensor, but there are a few parameters in the datasheet that are confusing me and I would like to understand how ...
• 69
1 vote
97 views

### How to design anti-aliasing filter for a non-ideal oversampled SAR

If we want to go by text-book anti-aliasing filter design for an ADC, we would have $A(f_{samp}/2)\ge-20*log(2)*N$ dB attenuation at the Nyquist frequency, where $A(f)$ is the magnitude vs ...
• 165
395 views

### How to extract ENOB from LTSpice simulation and see the effects of oversampling?

I have a fully differential instrumentation amplifier circuit with a gain of 536 to map a 3mVpp signal (centred around 1.65V) to +/-1.6V, as shown here. My signal bandwidth is 250Hz, and I would like ...
• 165
1 vote
433 views

### What is the STM32F103 USART oversampling value?

There is the stm32f10x_usart.c file in the STM32F10x SPL. This file file has next strings ...
• 2,247
366 views

### Is it possible to increase the ENOB by oversampling and averaging the readings of an external ADC IC?

I want to connect a 4-wire PT100 sensor to a MAX31865 RTD-to-digital converter. The MAX31865 has a resolution of 15 bit, however I need a resolution of 17 bit. Will I be able to use the oversampling ...
• 4,361
3k views

### UART oversampling

I've read that for UART is over sampling used to recover some kind of “clock signal”. How is that exactly done and why is that needed? I already searched on the internet, but I didn't find any helpful ...
• 163
596 views

### May I write to a DAC chip slower than data is "sampled" at?

Will a DAC chip like MCP4921/4922 UDA1334ATS output at a higher rate than the samples are written to it? Like 16 kHz sampled data out (to the headset) but the processor just delivering new values at ...
112 views

### SAR ADC - DC Input Settling

I'm looking to use a SAR ADC with 1.6MSPS, and leveraging the integrated decimation filter to improve accuracy. I'm using Analog's Precision ADC Tool for the combination of my selected driver and ADC (...
• 439
1 vote
401 views

### FPGA SPI slave doesn't work if driving it with the fast FPGA clock instead of with the SPI master clock (oversampling)

I have an slave SPI device implemented within an FPGA (Basys 3). I have had problems to route the SPI clock signal provided by a master to my slave device through one of the board PMOD pins (see this ...
• 1,259
1 vote
126 views

### System being subject to vibrations and G-forces : Crystal Oscillator or MEMS?

I'm planning on making an audio system that will be used in vibration-inducing environments (roller coaster rides that can reach up to 5/6G peaks and public transportation systems). One of its ...
• 75
465 views

### Data Oversampling Transceivers

I am trying to find more information about data oversampling for transceivers when grabbing/sending a lower speed signal. I am looking into building a fully compliant HDMI 1.4b fpga core, and have ...
• 141
1 vote
165 views

### Using a "non-audio" oriented DAC IC as an audio DAC

I'm starting a project that consists of a simple embedded 16-bit PCM audio player, where no actual DSP takes place, only plays PCM and outputs something you can then amplify. I am currently searching ...
• 75
1 vote
593 views

### Is there an easy way to oversample encoder input in STM32 microcontrollers?

I need to oversample the encoder input. Currently the single channel resolution is 2500 pulse/rev, thus combined channel resolution is 5000 pulse/rev. I need more or less 10 times higher resolution. I'...
• 1,426
827 views

### STM32 16bits ADC oversampling and 2^n values noise and glitch problem

I work on project using STM32H753VIT6 and its internal ADC. When I increase the sample rate some strange glitch/artifact with values around 2^n begin to appear into my signal after 48kHz. and I know I ...
• 498
367 views

### ADC with integrated oversampling [closed]

Using a fast ADC it is possible to sample motor currents multiple times per PWM period (instead of a single synchronous measurement) and to average the results. This technique (oversampling) can help ...
1 vote
206 views

### Oscilloscope design question

To begin with,I am not designig an oscilloscope but am curious about how certain parameters are determined. My questions might sound very trivial but I would be grateful if someone could answer them ...
• 75
149 views

### Using strategic sampling noise to increase sampling resolution

Dithering is used to add virtual resolution to an oversampling ADC, and for instance this discussion involves some of the math involved, and the criteria. Take for instance an Arduino with 10 bit ...
• 585
344 views

### stm32f401 usart: start bit detection sequence when oversampling by 8

I'm currently using usart on stm32f401. I'm wondering how the receiver detects start bit when oversampling by 8 is selected. The reference manual (RM0368) states that the start bit detection sequnce ...
• 351
102 views

### Oversampling, additional bits and a thermistor

Say we have a ten bit ADC (MSP430G2433) and a thermistor. We have the problem that two temperature measurements are too far apart, whilst the temperature has barely changed. So, we take more ...
• 101
1 vote
331 views

### Understanding oversampling in control system

Oversampling means to sample at significantly more than the Nyquist Rate. I can well understand it in signal re-construction: more samples can improve the ADC's resolution, signal-to-error ratio, etc. ...
• 111
1k views

### Relation data-rate and bit-rate of ADC

I came accross the folowing question, where the accepted answer contains a formula showing the relation between bit-rate and data-rate for a delta sigma ADC. My question is, why that relation is valid....
• 197
167 views

### Sampling Frequency of a delta-sigma ADC

For instance, let's take this delta-sigma ADC: http://ww1.microchip.com/downloads/en/DeviceDoc/22088c.pdf To calculate the average current and other important values for various sampling scenarios I ...
• 197
444 views

### Definition of ENOB, SNDR for sigma-delta ADC

The general definition of each are the following: $ENOB=\frac{SNDR_{max}-1.76}{6.02}$ Where $SNDR_{max}=10 \log{\frac{S_{s,max}}{S_n}}$ And $S_{s,max}$ : maximum signal power $S_n$ : ...
137 views

### Increasing SNR through sampling and coherent integration

Let's say I have simple BPSK scheme and a receiver RF stage such that I have an ideal analogue bandpass filter with bandwidth $f_{bw}$ and then a down converter and finally a sampler. I am trying ...
530 views

### Quantization error in ADCs and sampling speed

Assertion: The noise due to quantization error for an ideal 12-bit ADC gives a signal to noise ratio of 74dB, assuming a signal with full dynamic range at the input. Suppose I was using an ideal ADC ...
• 43
788 views

### Does SNR improve at higher sampling rates for a low pass filtered signal?

Let's say we want to extract 1Hz signal from a noisy signal by using a LPF. And assume we have sampled it with 100Hz sampling rate. If we would have sampled it with 1kHz sampling rate and use the ...
• 1,885
2k views

### Sampling data at 5 MHz with 50 MHz clock in Verilog

I'm trying to make a controller for the MAX31855 thermocouple IC. My FPGA works at 50 MHz and this IC works at 5 MHz, so I'm using a frequency divider to get the 5 MHz clock signal. Now the IC is ...
4k views

### ADC driver design for oversampling

I'm interested to sample an AC signal in the range of 5kHz - 20KHz with the STM32L432KC microcontroller. This microcontroller has a hardware oversampling feature, i.e it can take the average of ...
• 249
1 vote
158 views

I'm working with a Analog Devices ADAR7251 Sigma-Delta ADC. It has multiple sample rates to choose from (1800 kSPS, 1200 kSPS, 900 kSPS, 600 kSPS, 450 kSPS, and 300 kSPS) but my application requires ...
318 views

### Static error in analog-to-digital conversion

I'm testing ADC and quantization noise on a microcontroller (dsPIC33EP64GS506), but I've realized that I have a static error in a digital signal. I measure a DC voltage on a voltage divider and my ...
• 1,633
1 vote
67 views

### Oversampling on dsPIC33EPXXGS50X family

I'm trying to implement oversampling on a dsPIC33EP64GS502. According to the datasheet and the ...
• 1,864
5k views

### Fast Fourier Transformation of incomplete signals

I would like to perform a FFT on a signal with equally sampled values of which some are missing. (Actually, they are not even missing, but simply erroneous, so I can't use them, but I can detect when ...
• 212
321 views

### RF over sampling to increase SNR

Using a 32MHz pic processor, and over sampling the demodulated analog output of an RF receiver (instead of the data slicer output) is it possible to use averaging to reduce increase the SNR of the ...
4k views

### Calculating FFT for only part of full frequency range?

Earlier I asked a question here about performing FFT at lower frequencies but still at high sample frequencies. I was under the impression that the FFT was inherently calculated at every frequency 0->(...
• 323
1 vote
1k views

I need to accurately measure a narrow band signal (of about 200Hz) centered in a part of spectrum that is many times its band (at about 20kHz). I have only a 12 bit ADC that is relatively fast (5 MSPS)...
• 93
1 vote
777 views

### Is using a high sample rate on an oscilloscope ever a bad thing?

A while back i was gathering some ECG data for a colleague at a reasonably high sample rate (around 20kHz - 100Hz is enough for ECG). She came back to me and asked me to regather the data at a lower ...
• 220
751 views

### Calculating bits/sample from a digital MEMS microphone

I'm thinking of using a digital MEMS microphone in a project - looks like it would save on some parts: no need for an amplifier and ADC. The output from the microphone is PDM and I'd need to convert ...
• 31
1k views

### Am I getting DC bandwidth correctly?

I am computing Johnson and shot noise in a DC circuit, where I have an Arduino Due sampling with "delay(100);", i.e. at 10Hz. Sampling rate and bandwidth follow Nyquist sampling theorem. According ...
• 379
365 views

### Gain Resolution after delta-sigma (ΔΣ) analog-to-digital converter (ADC)

Is it possible (effective) to do oversampling and apply extra Moving Average Filter with a delta-sigma (ΔΣ) analog-to-digital converter (ADC)? More detailed: The ADC (ADS1258) I chose has an ...
• 1
1 vote
704 views

### Digital Low-Pass Filter When Oversampling Audio

The human ear can hear sounds up to ~ 20KHz. Some ADC's oversample. For example, to capture frequencies up to 20KHz, an ADC converter might sample at 160KHz. The steps are: 1. Filter the audio with an ...
2k views

### Would oversampling reduce in-band signal noise floor?

I understand that oversampling will reduce quantization noise floor. Would oversampling also reduce the noise floor of the noises in band of interest? *******EDIT 20150320********* The correct ...
• 1,622
133 views

### Sampling: how to determine a "good" sampling rate based on a given filter

I assume that the sampling rate is w_s = 2w_max if we have an ideal low-pass filter that nulls frequencies whose absolute value is higher than that of w_max. Therefore, that the only reason for ...
• 177
4k views

### About the meaning of "oversampling"

Recently, I heard one of my colleague said "the 16-bits ADC is enough for us, we can use 'oversampling' tech...". Finally I figured out his "oversampling tech" means to sample many many cycles (AC ...
• 5,886
424 views

### Any tricks to generate triangle wave to add to analog signal for oversampling?

I want to increase the effective resolution of the ADC by oversampling and decimation. Unfortunately the signal I'm realing is too clean, so I would like to add a bit of artificial noise (1LSB peak to ...
• 5,571