The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [sampling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
38 views

Sampling Frequency of a pulsed radar signal

I'm new to radar. please excuse my question if it doesn't make sense to you. In a pulsed radar signal, why is the required sampling frequency "2 times the inverse of pulse width" instead of "2 times ...
0
votes
1answer
46 views

Accurate signal reconstruction

While reading through this page I came across following info: "For accurate reconstruction using sin (x)/x interpolation, your oscilloscope should have a sample rate at least 2.5 times the highest ...
0
votes
0answers
24 views

How to measure the amount of light emitted back from a fiber optic cable?

I would like to build a setup where I use a light source to emit a signal over a fiber optic cable, and then measure the amount of light that is emitted back, e.g. by blocking/opening the other end of ...
0
votes
1answer
30 views

What are the appropriate pulse width and PRF for a pulsed Doppler sensor

I have a raw k-band transceiver, radar-based 24 GHz, motion detector, IPM-165. and here is the datasheet: https://www.innosent.de/fileadmin/media/dokumente/DATASHEETS_2016/Datenblatt_IPM-165_V8....
0
votes
2answers
50 views

How to measure or estimate the phase delay between two analog input channels of this board?

There is a 16-bit data acquisition board with +/-10V range which multiplexes analog inputs and buffers the data to the PC. Specifications are given here (DAS6036 is the model in question). Now I need ...
0
votes
0answers
23 views

Necessity of PDM processing on the data given by an interfaced condenser microphone through ADC channel on stm32f4 discovery

I want to interface a condenser microphone with my stm32f407vg discovery board and obtain the audio output through the DAC audio jack. For the audio processing should I first convert the input digital ...
4
votes
4answers
3k views

Can sampling rate be a floating point number?

Suppose we have a sampling frequency for a signal of 15.5 samples/sec and we take samples for a period of 7 seconds. This means total samples are 108.5, does this make any sense? Shouldn't the ...
0
votes
1answer
70 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....
0
votes
1answer
55 views

Sampling Frequency and Bandwidth

If i have a Buck Regulator switching at 200KHz and i want to sample the Voltage and current using OpAmp in tha path connected to ADC(12 bit). What would be the sampling frequency to measure the ...
0
votes
1answer
72 views

basic DIY function generator and scope

I'm currently traveling and only have access to basic parts (soldering iron, an arduino nano and a breadboard!) but I'm able to buy parts from local suppliers. for a project I need to be able to ...
0
votes
1answer
34 views

How does a fiber optic receiver converts the optical signal to an electrical signal

A fiber optic receiver needs to convert the incoming optical signal to an electrical signal so it can be sampled. How is this achieved in practice? I believe a photodiode is used, but would a ...
0
votes
0answers
41 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 ...
1
vote
2answers
146 views

Filtering an ADC input with an RC low-pass filter

I use an instrumentation amplifier to amplify low voltage signals from a sensor. The max. amplified output voltage is 3V. Im using this ADC: http://ww1.microchip.com/downloads/en/DeviceDoc/22088c.pdf. ...
0
votes
2answers
88 views

thoughts on reading only one changing GPIO with accurate time amoung huge number of digital Inputs

I am trying to read a huge number of digital inputs (129 to 800 and maybe more) at the same time. the sampling rate should be around 500K samples per second but I only need to read one of these inputs ...
1
vote
1answer
37 views

ADC bandwidth in excess of filter bandwidth

I am using a BPF of 5 to 300kHz on a pulsed input signal. Is there any benefit to digitizing at a rate significantly in excess of nyquist?
0
votes
1answer
32 views

First-order hold interpolation in matlab

I have a sinusoidal signal x(t) sampled with period 1/fs. The result is the discrete signal x[n], where x[n]=x(t)|t=nT. Then I perform an upsampling of factor, let's say, 8 to increase the sampling ...
1
vote
2answers
181 views

increase the ADC resolution using oversampling [duplicate]

To increase the ADC resolution, oversampling technique can be used which must be followed by decimation (average) method. Oversampling is just take several samples within time period. Unlike the ...
11
votes
6answers
2k views

Why does increasing the sampling rate make implementing an anti-aliasing filter easier?

From an answer to a question regarding sampling rate and anti-aliasing filter I read the following: The closer you get to the theoretical minimum sample rate, the more difficult the analog filter ...
0
votes
3answers
81 views

Fastest temperature sensor for a bimetallic strip

What is the best approach or sensor to analyze the temperature of a bimetallic strip? From experimental data, the temperature swings due to a current flowing into the bimetal, are up to 80°C in a ...
0
votes
2answers
133 views

New Amazon music streaming service and Nyquist sampling theorem [closed]

I read this story on The Verge the other day, “It’s a better bitrate, better than CD quality,” said one of MBW’s sources, indicating the new service will put Amazon in direct competition with Tidal’...
0
votes
1answer
29 views

Input voltage on differential ADC (MCP33131D-05-E/MS)

I am evaluating a 16bit ADC (MCP33131D-05-E/MS) for my project. I want to sample in fully differential mode, but I have doubts as to what voltages are allowed on the Ain+ and Ain-. Signal ...
0
votes
1answer
73 views

Calculating sampling frequency off of estimated stop band attenuation

I'm trying to calculate what I will have to set my microcontroller's ADC sampling rate at in order to sample a band of 500kHz to 1.6065MHz without aliasing. Some constraints here are that I have to ...
3
votes
4answers
789 views

Is there an efficient way for synchronising audio events real-time with LEDs using an MCU?

I'm working on a project in which LED lights synchronise with audio events. I'm not referring to reactive LED projects that read the ADC from audio amplitude or spectrum, but about having some ...
0
votes
0answers
25 views

Data synchronization strategy for multiple sensors in BLE application

I am working on a battery sensitive BLE project which combines the MAX30003 ECG sensor and the LSM6DS3 accelerometer. Communication with both of these devices is made through SPI. The optimal sampling ...
1
vote
1answer
67 views

Possibility of effectively under sampling a band pass signal?

For a university project we have been tasked with implementing a digital signal processing system on an STM32 discovery board in which we must model the AM channel to measure and graphically display ...
-1
votes
2answers
107 views

Maximum information Rate? [closed]

It is said that we can transmit at the most twice as many bits information per second as the transmission channel has the bandwidth. For example, 1 kHz bandwidth allows max 2kbit/s, if that rule is ...
4
votes
4answers
121 views

Sampling Theorem and reconstruction

I do not understand a concept about the Nyquist - Shannon sampling theorem. It says that it is possibile to perfectly get the original analog signal from the signal obtained by sampling if and only ...
0
votes
0answers
42 views

Wifi versus Zigbee versus Bluetooth for real-time data sampling

I am working on a project that I would like to send and receive data between a microcontroller (ESP32) and a PC. The microcontroller supports both Wifi and Bluetooth. If I send one single data point (...
0
votes
0answers
20 views

sampling rate and bit resolution for Scanning Probe Microscopy

I am trying to compare two products and see which one offers higher performance in terms of sampling rate and bit resolution. Below are the specs I was able to gather from product1 and product 2. (...
2
votes
1answer
36 views

Sampled offset voltage data and its uncertainty

In a measurement process sometimes contant voltage output of a for example force transducer is logged as offset as a bias to be subtracted later from the dynamic measurement. When the sensor is at ...
0
votes
1answer
103 views

Logic Analysis of a 8 bit mcu [closed]

I would like to sample the logic on the pins out out of a toy robot's processor and the MCU is an 8 bit processor that operates a max clock speed of 5 Mhz. Does anyone have any recommendations on how ...
2
votes
0answers
46 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 ...
1
vote
2answers
125 views

How do we compute power from current and voltage samples? Can we quantify its accuracy?

I have a datalogger that periodically samples current values by measuring the voltage across a power resistor connected in series with a battery and sensor (the load). The datalogger also samples the ...
0
votes
0answers
19 views

Flat top sampling around t=0

I have a signal that need to be sampled using flat top. The sampling begins at t=0 and a sample is taken at every 0.01s. The length of a sample is 0.005s. Now, if i want to find the value at 0.001, ...
0
votes
1answer
51 views

Is it possible to use one DAC to process signals from different channels that are delayed at different times?=

So I have a small project where I need to delay multiple signals that come out from a microcontroller. The signals are around 40kHz, have the same attributes, except that they are delayed by a few ...
0
votes
0answers
18 views

DTFT of sampled function vs FT of impulse sampling

Given the function $$x(t)=2\cos{2\pi4t}$$ and a sampling rate of 6Hz I'm asked to find the Fourier Transform of the sampled signal. I tried doing this in 2 ways which give me two slightly ...
1
vote
3answers
126 views

Do I need to filter before sending signal to an ADC?

I have an ADC that is capable of a 25kHz sample rate and I have a sensor whose bandwidth is 200kHz that I'd like to hook up to. This is a current sensor. Nyquist tells me that I need to limit the ...
-1
votes
1answer
109 views

why gyroscope sample rate can be changed by frequency, while accelerometer sample rate cannot?

This is from the mpu6050 datasheet. In the datasheet, gyroscope sample rate can be changed by frequency, but accelerometer cannot. Why this happens?
1
vote
1answer
110 views

Sample time of PI controller

I have designed a closed loop current control (PI controller) of a DC-DC converter in continuous time domain and it is working fine. The next task is discreetization of the controller and implement it ...
1
vote
3answers
171 views

How to obtain Input voltage from ADC value

I am using atmega328p for my project. I have to read my battery voltage and display it in my cloud. For that, i am using ADC. Now I am getting the ADC value for input voltage applied. But i need to ...
0
votes
3answers
153 views

Understanding the effect of bit depth and sampling rate on SNR

I know the meaning of a 16 bit ADC sampling at 1kHz, but I cannot relate it to SNR contribution to the signal. I also know the concept of aliasing. But even though no aliasing the resolution and the ...
0
votes
1answer
45 views

regarding the sampling frequence

In my project I am using PIC32MX250F128B controller and 23LC1024 SRAM. I have written a code to sample the analog signal from the vibration sensor. For this I am triggering my ADC with the help of ...
1
vote
3answers
109 views

Inherent DC Bias in ADC sampling

I was just simulating the quantization behavior of ADCs of different bits, on data sampled by a 24-bit ADC. What I noticed that as we go towards ADCs with less bits a DC bias in the signal becomes ...
0
votes
4answers
59 views

When reading the digital wave from a DAQ, should I be getting the same wave I'm generating to it?

I am using a DAQ device, which is said to be capable of 400kS/s maximum, and therefore 50kS/s per channel when using all 8 channels. This is listed in the manual of the 1608fs plus DAQ So I connected ...
0
votes
1answer
275 views

Stm32F4 Discovery Board ADC

I am trying to do a partial integration on a 550 KHz waveform using STM32F4 Discovery board using the Waijung toolset in Simulink. The sampling time that I am using is 0.018 us, i.e 3 cycles, if the ...
0
votes
0answers
107 views

Confusion with Nyquist theorem when sampling cosines versus sines

I'm having different results when sampling a cosine wave versus sine wave at different scenarios. I used MATLAB to plot waveforms. I will try to give some examples to make clear where I'm stuck at. ...
0
votes
1answer
45 views

Are these two ways of doing equivalent?

I have two signals sampled at, say, 256 Hz. I want to make the difference between these two signals and downsample them, say until 32 Hz. Is it rigourously the same (in term of final result) to make ...
12
votes
3answers
2k views

What is the “Nyquist” rate for sampling the derivative of a signal?

Background: I'm sampling the current through a capacitor. The signal of interest is the voltage across the capacitor. I will digitally integrate the current measurement to obtain the voltage. ...
0
votes
2answers
260 views

Searching for a suitable method to detect peak heights of nanosecond pulses

My goal is to digitize an analog signal and measure the maximum pulse peaks via an ADC device. The signal has the frequency (pulse-repetition-rate) of f = 100 kHz. Furthermore, the analog signal ...
2
votes
0answers
410 views

STM32L0 ADC Interrupt Low Sampling Rate

My observed sampling rate is much lower than expected and I cannot understand why. I have the discovery STM32L053C6 Discovery board and I want to use ADCs sampling. I started from the example ...