Professional Documents
Culture Documents
Talk Outline
Sampling
Nyquist theorem
FFT
Averaging
Example:
Summary
Noise
Noise is a random signal
Knowing the value of the signal at time T tells you nothing about the
value at time T+1.
Example from nature: incoherent emission between energy levels:
If the emission from 1 atom does not affect the emission from an
adjacent atom, then the sum will be noise like even though they may all
be making the same transition.
Properties: bandwidth
How often a signal can change in 1 second.
The bandwidth is a measure of how much independent
information can be stored in a signal.
Example:
Suppose you want to flash the lights in a room and your signals
had bandwidths of 1 and 10 Hz.
The 1 Hz signal would let you do it once a second
The 10 Hz signal path would allow you do to it up to 10 times in a
second.
Properties: mean,rms
Mean value. Sum N values then divide by N.
Zero mean: e.g. E field, voltage.
Non zero mean: e.g. Intensity: E*E always positive
Sigma or rms:
Measures the spread of the values about the mean value.
Sigma=sqrt( ((xi xavg)^2)/(n-1) )
Also called rms (Root Mean Square)
When computing the rms, you need to make sure that the
noise is sitting on a flat mean. Later we will see how the
bandpass and ripples can make it hard to compute the
true rms of the noise.
REU TALK June 14,2011
Sampling: AtoD
Analog to Digital converter (AtoD)
Has a max and min allowable voltage input range.
e.g.:RI: +/- 2.5 volts, mock Spectrometer +/- .76 volts,
Sampling: Nyquist
Nyquist theorem:
You need at least two samples at the highest frequency
of your signal to reconstruct your analog signal without
aliasing.
Since the bandwidth tells you the highest freq., sample at
twice the bandwidth (or a little more)
Example:
Sample a 1 Hz signal at 2 samples/second.
Incorrectly sample a 4 Hz signal at 2 samples/sec.
Then connect the sampled points. what do you get
Sampling: summary
Use analog filter to band limit the signal
Adjust AtoD input levels to give 3-4 bits on
the noise.
Make sure AtoD has enough bits for any
large signals that may occur (rfi).
Run the sampler at twice the bandwidth if
real sampling or at the bandwidth if
complex sampling.
REU TALK June 14,2011
FFT
f0 =1/(N*dt)
X(k*f0)=n=0,N-1x(n*dt)*(cos(2*k*f0*n*dt)+isin(2*k*f0*n*dt))
2*k*f0 is one of our angular frequencies
n*dt runs through the n time samples spaced by dt.
But f0*dt =dt/(N*dt)=1/N so the dts cancel out.
FFT
X(k*f0)=n=0,N-1x(n*dt)*(cos(2*k*n/N)+isin(2*k*n/N))
Giving:
X(k*f0)=n=0,N-1x(n*dt)*e2ikn/N
Radiometer equation
The relative error in our spectrum S is then:
S/S=1/sqrt(# of independent samples)
S/S=1/sqrt(chnBw *Integrationtime)
S/S=1/sqrt((totBw/Nchan)*time)
Properties:
Increasing the integration time:
decreases error by 1/sqrt(time)
Position switching
Averaging the On for 300 seconds decreases the noise.
We still need to remove the band pass shape.
need to divide by a band pass correction (bpc) that does not include the
galaxy.
The noise in the bpc must be small enough to not increase the noise of the
result (integration times for on, off should be similar).
Picture: 300 sec on,off. Galaxy missing from off, off lower than on.
(On-off)/off in DegK
Note: (On-Off)/Off = (On/Off 1)
Subtract (on off)
We can see the galaxy, but still has bandpass shape.
Units are spectrometer units (spcU).
Divide by off.
Removes band pass, but changes units to off (or Tsys)
U5852 in Jy vs vel
Plot using Janskys and velocity
Jansky = 10-26 watts/m2/hz measures power received
Velocity km/sec measures the doppler shift from
expansion of the universe and the rotation velocity of
the galaxy.
Summary
Noise comes from our equip (thermal) and the sky.
Cos and sines can represent arbitrary functions
Nyquist sampling requires a sample rate of at least 2*bw
The FFT lets you convert from the time to the freq. domain.
Averaging N samples decreases noise by 1/sqrt(N)
Radiometer equation: T/T=1/sqrt(chanBw*time)
Position switching removes band pass and standing waves.
Cals convert from spectrometer units to degK
The spectral density function lets us measure physical
quantities of interest.
REU TALK June 14,2011