week 5 Flashcards
(31 cards)
which is more effective: sampling MORE times per cycle or less?
sampling more times per cycle
aliasing
when a signal is discretely sampled at an insufficient range to catch changes in the signals
2 faults with aliasing
- different signals become indistinguishable
- components of digitized signals at high frequencies get mistaken for components at low freuencies
how to avoid aliasing?
sampling rate should be greater than or equal to TWICE the highest frequency present in the signal
what sampling frq should be used to digitize this signal?
A(t) = 5sin(4pit) + 2sin(8pit) + 3sin(12pi*t)
use 12 sampling frequency and sample 6 times per signal
highest frequency component
signal that defines the sampling frequency (fs)
smallest frequency component
signal that defines the period of the signal (T)
what does lower sampling frequency look like graphically?
the graph is jagged
what does higher sampling frequency look like graphically?
the graph is loopy (too curvy/wavy)
common post-processing operations
shifting, scaling, and noise reduction
shifting/offsetting/DC shifting
adding a constant value to each data point
F2(t) = F(t) + C
scaling
multiplying each data point by a constant value to amplify or attenuate the signal
F2(t) = F(t) * C
scaling
C>1 does what?
amplifies the signal
scaling
C<1 does what?
attenuates the signal
noise reduction
reduce noise in measured signal
2 methods of noise reduction
signal averaging and signal smoothing/filtering
signal averaging
reduces noise power of a signal, best when frequency spectra of the signal and noise overlap
2 steps of signal averaging
1) average all even numbered signals
2) average all odd numbered signals
equation for estimation of noise in signal averaging
noise = average_odd - average_even
how do you calculate the average of even data points in matlab?
avg_even = mean(noisy_signal(2:2:end, :))
how do you calculate the average of odd data points in matlab?
avg_odd = mean(noisy_signal(1:2:end, :))
how do you calculate SNR in matlab
rmsy = sqrt(mean(y2 .^ 2))
rmsnoise = sqrt(mean(error.^2))
SNR = 20* log10(rmsy/rmsnoise)
filters
used to remove unwanted parts of data
moving average filter
most common digital signal processing method replaces each data value with the average of itself and nearby data points