CIC-3 Home | Visitor Info | Teams | Projects | Publications | Internal
Navigation Map | Calendar | News | Phone Book | Search
Main Page

Procedure



Creation of the spectrogram

    MATLAB m.file: (spec.m)

    The spectrogram was created using the standard MATLAB command specgram.m which produces an estimate of the short-term, time-localized frequency content of the signal.  I used a 128 point windowed fourier transform which will produce 65 frequency bins.  The original plan was to have only 64 bins, but MATLAB standard functions produced 65 bins.  Since an extra bin won't significantly change the output, and since it was easier, and probably more reliable, the output was left at 65 .  As a window, I used a 128-point Hanning function, or half cosine.  The window was advanced by 8 samples leaving 120 points of overlap.  My m.file assumes the incoming data is in the binary format, and was sampled at 50 megasamples per second.  It also assumes that the senter frequency is 38 MHz.  This is necessary to allow the m.file to appropriately label the frequency access.  The spectrogram will be correct regardless of the actual center frequency, but will have an incorrectly labeled frequency access.  The image.m function was used to graph the spectrogram.  This requires that the the colormapping be scaled to data since there are around eight orders of magnitude between the smallest and largest values, and most of the data is concentrated in a smaller range of only several magnitudes.  This scaling is accomplished by graphing the log base10 of the signal as well as setting the 'CDataMApping' property to 'scaled'.  The image.m function also plots the Y-axis in the 'reverse' direction (from top to bottom - similar to a raster scan).  Subsequently, the spectrogram 'YDir' property must be set to 'normal'.  This process should provided a stardard spectrogram, and for our data, a chirped signal similar to this TATR signal.

Top of Page


 Pre-whitening

    MATLAB m.file: (prewhite.m)

    The signal was pre-whitened to supress any carrier frequencies that are present in the signal.  This process involved taking the top %50 of the frequency bins, based on power.  This is accomplished by determing the average power of each row.  For each row in the top %50, this average power is set to the median power of the entire spectrogram.  The spectrogram is now regraphed with the now suppressed carriers.  The following pre-whitened signal should result.
 
Top of Page


 De-chirping

    MATLAB m.file: (dechirp.m)

        The signal experiences ionospheric dispersion which causes a recognizable "chirping" of the signal.  In order to determine the power spectrum of the signal, it must be de-chirped, or straightened.  With a straight spectrum, we can time-sum the energy at each frequency.  Dechirping is almost a process of trial and error.  We essientially guess at the value of ioniospheric dispersion by taking several guesses at the Total Electron Content and determine which of these guesses gives us the straightest de-chirped signal.  We discriminate between different levels of "straightness" by creating a figure of merit.  This is derived by taking the fourth power of the frequency-summed spectral intensity and then time-summing these values.  Taking the taking the fourth power will nonlinearly reward the "right" TEC.  Once the Figure of Merit is determined, the signal is group shifted by the function:

Group Shift Equation for De-Chirping
 The TEC that we choose to use in this equation, is the one associated with the highest Figure of Merit.  So, at a frequency of 100Mhz, we should expect a shift of around 1.34 microseconds times the TEC.  Dechirping will provide an image somewhat like this TIPP signal.

Top of Page


Determining Power and Contrast and Signal-to-Noise Ratio of Secondary Peak

    MATLAB m.file: (autoplot.m) (powplot.m)
 
    Once the signal has been pre-whitened and de-chirped, we integrate the power (in frequency) versus time yielding this plot in time.  We can extract useful information from this process such as the signals contrast.  The contrast is simply the ratio of the peak power to the median power.  The signal -to-noise ratio refers to the ratio of the secondary pulse (if one is present) to the background noise.  The background noise is calculated by taking the mean value of the last 10% of the auto-correlation function values.  This assumes that there are peaks within the signal, and that the last ten percent of the function represents the background noise.  The SNR is only recorded if it is greater than 5 dB.

Top of Page


Power-autocorrelation

    MATLAB m.file: (acorr.m)
 
    The built-in MATLAB correlation function was inadequate for our purposes since we required a circular autocorrelation (one which was not zero-padded).  Thus, I created an longer version of the signal by repeating it so that there were two identical signals, one right after the other ( 2 periods, per se).  Then, using a built-in cross correlation function, I cross correlated the original signal with the longer version.  I then truncated the output so it represented only one period of correlation.  This technique was effective, and provided the results I was looking for.  For ease of interpretation, the plot was then normalized by dividing by the maximum value.

Top of Page


Determining Secondary Peak Lag Time and the 1/e Width

    MATLAB m.file: (findmax.m)
 
    The power-autocorrelation 1/e width is determined by finding the time at which the value is equal to .3862 (1/e).  If this time is less than 10 microseconds, we search for a secondary peak.  If a secondary peak is present and suitable (SNR >= 5 dB), then we calculate the time until this peak occurs.  The algorithm chooses the maximum value present following the "trough" after the 1/e value.  In other words, it finds the local maximum value present after the initial signal has mostly decayed away.

Top of Page


L O S   A L A M O S   N A T I O N A L   L A B O R A T O R Y
Operated by the University of California for the Department of Energy
CIC - 3  | c3webmeister@c3.lanl.gov | LANL | Copyright © UC 1998 | Disclaimer | 25 June 1998
Shane Crockett <m991368@nadn.navy.mil>  and C M Brislawn <brislawn@lanl.gov>