Changes between Version 1 and Version 2 of DSP/Interpolation
- Timestamp:
- Jun 2, 2015, 12:38:03 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DSP/Interpolation
v1 v2 9 9 * [http://dspguru.com/dsp/faqs/multirate/interpolation DSPGuru - Interpolation] 10 10 * [http://en.wikipedia.org/wiki/Upsampling Wiki - Upsampling] 11 11 12 == Materials Required == 12 13 * [http://www.orbit-lab.org/userManagement/register Orbit Account] … … 14 15 * Reservation on Orbit Lab 15 16 * WAV File 17 16 18 == Installing GNURadio == 17 19 If running on a Ubuntu or Debian distribution of Linux use the following command for installation: … … 21 23 22 24 For other OS's follow the instructions from this [http://gnuradio.org/redmine/projects/gnuradio/wiki/InstallingGR guide]. 25 23 26 == Interpolation of a Sinusoidal Wave with GNURadio == 24 27 In GNURadio on your computer implement the following flow chart to obtain the following FFT and Scope Plots: 25 [[Image(img1.png)]] 26 [[Image(img2.png)]][[Image(img3.png)]] 28 29 [[Image(img1.png,650px)]] 30 31 [[Image(img2.png, 500px)]][[Image(img3.png, 500px)]] 27 32 28 33 Next add a Interpolation FIR Filter with an Interpolation of 3 as seen below: 29 [[Image(img4.png)]] [[BR]] 34 35 [[Image(img4.png,650px)]] [[BR]] 30 36 31 37 Verify that the Scope and FFT plots are: 32 [[Image(img5.png)]][[Image(img6.png)]] 38 39 [[Image(img5.png, 500px)]][[Image(img6.png, 500px)]] 33 40 34 41 The waveforms can be seen with 3 zeros inserted from the Interpolation FIR Filter between every sampled point. Next apply a Low Pass Filter as seen below to smooth out the waveform. 35 [[Image(img7.png)]] 42 43 [[Image(img7.png, 650px)]] 36 44 37 45 Verify that the smoothed out signal plots resemble: 38 [[Image(img8.png)]] [[Image(img9.png)]] 46 47 [[Image(img8.png, 500px)]][[Image(img9.png, 500px)]] 39 48 == Interpolation of a .WAV File with GNURadio == 40 49 For the following download the .WAV File and listen to the audio file. Then set up the following flowgraph in GNURadio: 41 [[Image(img10.png)]] 50 51 [[Image(img10.png, 650px)]] 52 42 53 Go back to the original .WAV File and listen to the audio. Then listen to the output file and notice the difference and effects of upsampling an audio sample. 43 54 == Interpolation of a Sinusoidal Wave with Octave ==