Simulate_aliasing - Simulated digital data acquisition with...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Simulated digital data acquisition with potential aliasing J. M. Cimbala, February 2006 Instructions: The highlighted cells are user-adjustable. Continuous (analog) signal: 2 V (DC offset of signal) 3 V (amplitude of signal) 10 Hz (frequency of signal) 0 rad (phase shift of signal) 0.1 s (period of signal) 0.01 s (small time step for the plot) Discretely sampled (digital) signal: Discrete sampling: 65 Hz (sampling frequency) 0.02 s (time step for sampling) n 0 0 2 0 2 1 0.01 2.93 0.02 4.47 2 0.01 3.76 0.03 4.81 3 0.02 4.43 0.05 2.72 4 0.02 4.85 0.06 0.01 5 0.03 5 0.08 -0.98 6 0.03 4.85 0.09 0.61 7 0.04 4.43 0.11 3.39 8 0.04 3.76 0.12 4.98 9 0.05 2.93 0.14 3.99 10 0.05 2 0.15 1.28 11 0.06 1.07 0.17 -0.81 12 0.06 0.24 0.18 -0.47 13 0.07 -0.43 0.2 2 14 0.07 -0.85 0.22 4.47 15 0.08 -1 0.23 4.81 16 0.08 -0.85 0.25 2.72 17 0.09 -0.43 0.26 0.01 18 0.09 0.24 0.28 -0.98 19 0.1 1.07 0.29 0.61 20 0.1 2 0.31 3.39 21 0.11 2.93 0.32 4.98 22 0.11 3.76 0.34 3.99 23 0.12 4.43 0.35 1.28 24 0.12 4.85 0.37 -0.81 25 0.13 5 0.38 -0.47 26 0.13 4.85 0.4 2 27 0.14 4.43 0.42 4.47 28 0.14 3.76 0.43 4.81 Set sampling frequency f s < 2 f to g ( t ) = C + A sin(2 π ft - φ ) C = A = f = = T = t = f s = t sample = t analog (s) g ( t ) analog t sample (s) g ( t ) discrete sample 0.0 0.1 0.2 0.3 -1 0 1 2 3 4 5 Colu signal (V)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
29 0.15 2.93 0.45 2.72 30 0.15 2 0.46 0.01 31 0.16 1.07 0.48 -0.98 32 0.16 0.24 0.49 0.61 33 0.17 -0.43 0.51 3.39 34 0.17 -0.85 0.52 4.98 35 0.18 -1 0.54 3.99 36 0.18 -0.85 0.55 1.28 37 0.19 -0.43 0.57 -0.81 38 0.19 0.24 0.58 -0.47 39 0.2 1.07 0.6 2 40 0.2 2 0.62 4.47 41 0.21 2.93 0.63 4.81 42 0.21 3.76 0.65 2.72 43 0.22 4.43 0.66 0.01 44 0.22 4.85 0.68 -0.98 45 0.23 5 0.69 0.61 46 0.23 4.85 0.71 3.39 47 0.24 4.43 0.72 4.98 48 0.24 3.76 0.74 3.99 49 0.25 2.93 0.75 1.28 50 0.25 2 0.77 -0.81 51 0.26 1.07 0.78 -0.47 52 0.26 0.24 0.8 2 53 0.27 -0.43 0.82 4.47 54 0.27 -0.85 0.83 4.81 55 0.28 -1 0.85 2.72 56 0.28 -0.85 0.86 0.01 57 0.29 -0.43 0.88 -0.98 58 0.29 0.24 0.89 0.61 59 0.3 1.07 0.91 3.39 60 0.3 2 0.92 4.98 61 0.31 2.93 0.94 3.99 62 0.31 3.76 0.95 1.28 63 0.32 4.43 0.97 -0.81 64 0.32 4.85 0.98 -0.47 65 0.33 5 1 2 66 0.33 4.85 1.02 4.47 67 0.34 4.43 1.03 4.81 68 0.34 3.76 1.05 2.72 69 0.35 2.93 1.06 0.01 70 0.35 2 1.08 -0.98 71 0.36 1.07 1.09 0.61 72 0.36 0.24 1.11 3.39 73 0.37 -0.43 1.12 4.98 74 0.37 -0.85 1.14 3.99 75 0.38 -1 1.15 1.28 76 0.38 -0.85 1.17 -0.81
Background image of page 2
77 0.39 -0.43 1.18 -0.47 78 0.39 0.24 1.2 2 79 0.4 1.07 1.22 4.47 80 0.4 2 1.23 4.81 81 0.41 2.93 1.25 2.72 82 0.41 3.76 1.26 0.01 83 0.42 4.43 1.28 -0.98 84 0.42 4.85 1.29 0.61 85 0.43 5 1.31 3.39 86 0.43 4.85 1.32 4.98 87 0.44 4.43 1.34 3.99 88 0.44 3.76 1.35 1.28 89 0.45 2.93 1.37 -0.81 90 0.45 2 1.38 -0.47 91 0.46 1.07 1.4 2 92 0.46 0.24 1.42 4.47 93 0.47 -0.43 1.43 4.81 94 0.47 -0.85 1.45 2.72
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/23/2008 for the course ME 345 taught by Professor Staff during the Spring '08 term at Pennsylvania State University, University Park.

Page1 / 22

Simulate_aliasing - Simulated digital data acquisition with...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online