Lite / Intelligent Robotic Systems / Week 21
Signals: amplitude, frequency, period and SNR
A heartbeat, a wobbling arm and a humming motor all draw wiggly lines. Which three numbers describe each wiggle?
Why should I care?
Sensors rarely report a single steady number; they report signals that change. Describing those changes with amplitude and frequency is the language of vibration monitoring, audio, motor control and everything about sampling that comes next week.
- Read amplitude, frequency, period and phase from a sinusoidal signal and its equation.
- Convert between frequency and period.
- Compute a signal-to-noise ratio and explain what it predicts about detecting a signal.
Predict
A signal repeats every 20 ms. What is its frequency?
- 20 Hz
- 50 Hz
- 200 Hz
Guess first, then reveal
Frequency = 1 ÷ period = 1 ÷ 0.020 s = 50 Hz: fifty cycles every second.
Discover
With sampling off, change amplitude and frequency and watch the period marker. Set f = 4 Hz and count the cycles in one second. Then add noise: at what σ does the wave become hard to see with A = 1? Note the SNR at that point.
What the interactive shows (text version)
The signal scope draws A·sin(2πft) over one second. With A = 1 and f = 4 Hz there are four full cycles; the green markers show the amplitude and one 250 ms period. Adding noise σ makes the trace fuzzy; at σ = 0.7 the SNR is about 0 dB and the wave is hard to pick out by eye.
Understand
The sine wave
x(t) = A·sin(2πft + φ). Amplitude A is the swing from the middle to a peak (peak-to-peak is 2A). Frequency f is cycles per second, in hertz (Hz). Period T = 1/f is the time for one cycle. Phase φ shifts the wave in time. Most real signals are sums of sine waves at different frequencies.
Frequency tells you the source
A motor at 3000 rpm turns 50 times a second, so it shakes its mount at 50 Hz and its multiples. A walking robot's body bobs at its step rate. Knowing the frequency of the signal you want, and of the noise you don't, is the starting point for choosing a sample rate and a filter.
Signal-to-noise ratio
SNR compares the size of the signal with the size of the noise. Using RMS values (a sine's RMS is A/√2): SNR = RMS signal ÷ RMS noise, often quoted in decibels as 20·log₁₀(that ratio). 20 dB means the signal is 10× the noise; 0 dB means they are equal, and the signal is hard to see in a single look.
Explain it another way
Intuitive
Amplitude is how hard a swing goes, frequency is how often it swings, period is how long one swing takes. Noise is someone jostling the swing at random.
Technical
x(t) = A sin(2πft + φ), angular frequency ω = 2πf rad/s. RMS of a sine = A/√2. SNR(dB) = 20 log₁₀(A_rms/σ_noise) = 10 log₁₀(P_signal/P_noise).
Mathematical
Average power of A sin(ωt) over a period: (1/T)∫A² sin²(ωt) dt = A²/2, so RMS = A/√2. For white noise of standard deviation σ, power is σ², giving SNR = A²/(2σ²).
Applied
Condition-monitoring systems on wind turbines and factory motors watch for new frequencies appearing in vibration signals: a bearing defect often shows up as a small peak at a characteristic frequency long before it fails.
Worked example 1
x(t) = 0.3·sin(2π·25t) V with noise σ = 0.05 V. Find T, peak-to-peak and SNR in dB.
T = 1/25 = 40 ms. Peak-to-peak = 0.6 V. RMS = 0.3/√2 ≈ 0.212 V; ratio = 0.212/0.05 ≈ 4.24; SNR = 20·log₁₀(4.24) ≈ 12.6 dB.
Common mix-ups
Amplitude is the distance from the lowest point to the highest.
✓ That is peak-to-peak, which is twice the amplitude.A signal with lower SNR is a weaker signal.
✓ SNR is a ratio: a strong signal with even stronger noise has low SNR.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
A robot arm wobbles at 3 Hz with a 2 mm amplitude, and its position sensor has 0.5 mm RMS noise. Compute the SNR in dB, then decide whether a single reading can tell you which way the arm is moving. Justify with numbers.
Reflect
Give an example of a signal in your own surroundings and estimate its frequency.
Write your answer on paper or in your own notes. Lite never stores what you write.