Lite / Textbooks / Signals and Systems / Chapter 1
1. Signals and noise
Introduction
A signal is a quantity that changes in time: a voltage, a vibration, a temperature. The sinusoid is its simplest form, described completely by amplitude, frequency and phase, and its power is set by the RMS value rather than the peak. Real measurements arrive with noise from electronics, interference and the world itself. The signal-to-noise ratio says how much of what you see is the thing you wanted.
Figure 1.1. Amplitude, frequency and RMS (described in words)
Two cycles of a 2 V, 50 Hz sinusoid. The period is 20 ms, the angular frequency is 314.2 rad/s and a dashed line marks the RMS value of 1.414 V, the amplitude divided by √2.
Explanation
Built from 4 School lessons. Each part is the lesson's own explanation.
1.1 Signals: smooth waves and stored numbers
Your heartbeat, the hum of a fridge and a sensor wire all wiggle over time. How do engineers describe a wiggle with just a few numbers?
Continuous and discrete
An analog (continuous) signal has a value at every instant and can take any value: the voltage from a microphone, the height of a wave at sea. A digital (discrete) signal is a list of numbers: values at separate moments, each rounded to one of a fixed set of levels. Computers can only store the digital kind, so every sensor reading must be turned into numbers.
Amplitude, period, frequency
For a repeating signal: the amplitude is how far it swings from its middle (a wave from 0.45 V to 2.85 V has a middle of 1.65 V and an amplitude of 1.2 V). The period T is the time for one cycle. The frequency f is cycles per second, in hertz: f = 1 ÷ T. Resting heart rate: about 72 beats a minute = 1.2 Hz, period ≈ 0.83 s. The note A above middle C: 440 Hz, period ≈ 2.27 ms.
Why digital resists noise
Every wire picks up noise: small, random wiggles. In an analog signal the noise becomes part of the value and cannot be told apart. A digital wire only has to be read as 'high' or 'low', so a wiggle of 0.2 V on a 3.3 V logic signal changes nothing. Once a value is stored as a number it can be copied a million times without getting worse.
Common mix-ups
Digital signals are always better.
✓ The world is analog. Digital is a way to store and copy measurements reliably, but sampling and rounding lose detail if done badly.Amplitude is the distance from the bottom to the top of the wave.
✓ That is the peak-to-peak value. Amplitude is half of it, measured from the middle.
Open the Lite lesson: Signals: smooth waves and stored numbers
1.2 Where noise comes from
Run a sorting belt faster and the same colour sensor starts making mistakes. Nothing about the sensor changed. What did?
Physics makes noise
Thermal noise: electrons in every resistor jiggle with heat, so every voltage wobbles a little. Shot noise: light and current arrive as discrete particles, so a dim signal flickers. Quantisation: the converter rounds to its nearest step. These set a floor no software can go below.
The world adds more
Interference: motors, mains wiring and radios couple into sensor wires. Vibration: a shaking mount moves the sensor. Motion: a part passing a sensor is seen for a short time and at a slightly different spot every time. Good wiring, shielding and mounting reduce these at the source, which is always cheaper than filtering later.
Time buys quietness
Many sensors average internally over an exposure or integration time. Longer exposure means more averaging and less noise, at the cost of speed and latency. This is why a camera's photos get grainier in dim light at fast shutter speeds, and why the sorter gets less accurate as the belt speeds up.
Common mix-ups
A better sensor has no noise.
✓ Every sensor has noise; better ones have less, often by using more time, more light or more power.Software can always filter noise away.
✓ Filtering trades noise for lag and blurring, and cannot recover information the noise destroyed.
Open the Lite lesson: Where noise comes from
1.3 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?
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.
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.
Open the Lite lesson: Signals: amplitude, frequency, period and SNR
1.4 Amplitude, frequency, phase
Two notes with exactly the same pitch and loudness can look completely different on an oscilloscope. Which one number changed?
Three numbers
x(t) = A·sin(2πft + φ). Amplitude A is the peak height. Frequency f (hertz) is cycles per second; the period T₀ = 1/f is the time for one cycle; angular frequency ω = 2πf is in radians per second. Phase φ says where in its cycle the wave is at t = 0. A phase of 90° turns a sine into a cosine.
Power is about the square
Average power over a period is the mean of x². For A·sin, sin² averages to 1/2, so P = A²/2. Add a constant offset D and P = D² + A²/2: the cross term 2DA·sin averages to zero. RMS = √P. UK mains is 230 V RMS, so its peak is 230·√2 ≈ 325 V.
Why sinusoids are special
Feed a sinusoid into a linear, time-invariant system (a spring, an RC circuit, a digital filter) and a sinusoid of the same frequency comes out, only scaled and shifted. That is why engineers describe systems by how they treat each frequency, and why the spectrum view you just used is so powerful.
Common mix-ups
Adding two sinusoids of the same frequency doubles the frequency.
✓ It gives one sinusoid of the same frequency; only the amplitude and phase change.RMS is the average of the signal.
✓ A sine's average is zero. RMS is the square root of the average of the square.
Open the Lite lesson: Amplitude, frequency, phase
Worked examples
Signals: smooth waves and stored numbers: example 1
A light sensor's voltage swings between 0.9 V and 2.1 V and repeats every 10 ms (a flickering lamp). Middle, amplitude and frequency?
Solution
Middle = (2.1 + 0.9) ÷ 2 = 1.5 V. Amplitude = (2.1 − 0.9) ÷ 2 = 0.6 V. f = 1 ÷ 0.010 s = 100 Hz: lamps on 50 Hz mains often flicker at twice the mains frequency.
Where noise comes from: example 1
A sensor gives noise σ = 3 units at 0.4 m/s. Estimate σ at 1.6 m/s.
Solution
Speed ×4 means dwell time ÷4, so about a quarter as many samples averaged: σ grows by √4 = 2, to about 6 units.
Signals: amplitude, frequency, period and SNR: example 1
x(t) = 0.3·sin(2π·25t) V with noise σ = 0.05 V. Find T, peak-to-peak and SNR in dB.
Solution
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.
Amplitude, frequency, phase: example 1
v(t) = 2 + 4·sin(2π·50·t) V. Find its period, mean, average power (1 Ω) and RMS.
Solution
T₀ = 1/50 = 20 ms. Mean = 2 V. P = 2² + 4²/2 = 4 + 8 = 12 W into 1 Ω. RMS = √12 ≈ 3.46 V.
Interactive figures, in words
Figure 1.2 from Signals: amplitude, frequency, period and SNR
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.
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.
Figure 1.3 from Amplitude, frequency, phase
Start from 'Pure tone'. Change the amplitude, then the frequency, then the phase of component 1, and watch both views. Which slider changes the spectrum bar's height, which moves it, and which changes neither?
The synthesiser adds three sinusoids. Amplitude changes the height of a component's spectrum bar, frequency moves the bar left or right, and phase changes the shape of the summed wave in time but leaves the bars and the power readout (sum of A²/2) unchanged.
Laboratory
These run in a browser on the full site (they need a faster connection). Simulations are simplified educational models.
- Simulation OS: Repeated distance measurements (Simulation OS experiment)
Record repeated readings of a fixed distance and estimate the noise level from their spread.
Open on the full site - Equation Lab: Functions (Equation Lab exploration)
Change the amplitude, frequency and phase of a sine and describe what each one does to the graph.
Open on the full site
Practice
Each question links to its Lite lesson, where your answer is checked on our server and a wrong answer gets a hint. Answers are never sent to your device.
- A light sensor's readings jump every time a nearby motor starts. The most likely source is…
Answer it in “Where noise comes from” - Which is usually the cheapest way to deal with interference?
Answer it in “Where noise comes from” - A vibration has frequency 125 Hz. What is its period, in milliseconds?
Answer it in “Signals: amplitude, frequency, period and SNR” - A motor spins at 1800 rpm. At what frequency does an unbalance make it vibrate, in Hz?
Answer it in “Signals: amplitude, frequency, period and SNR” - A signal's RMS is 100 times its noise RMS. What is the SNR in decibels?
Answer it in “Signals: amplitude, frequency, period and SNR” - One full cycle of a signal takes 1 ms. What is its frequency, in hertz?
Answer it in “Signals: smooth waves and stored numbers” - A motor shaft vibrates at f = 25 Hz. What is its angular frequency ω, in rad/s (to 1 decimal place)?
Answer it in “Amplitude, frequency, phase” - UK mains is 230 V RMS. What is its peak voltage, in volts (nearest volt)?
Answer it in “Amplitude, frequency, phase”
Engineering applications
Mains hum
Long unshielded sensor cables pick up the 50 or 60 Hz field from nearby mains wiring. Recognising that exact frequency in a noisy reading points straight at the cause: route the cable away or shield it.
Machine health
A healthy motor vibrates at frequencies tied to its speed. A new peak, or a growing one, is often the first sign of a worn bearing, long before anyone can hear it.
Watch (optional)
Streaming video uses a lot of data. Everything you need is in the text.
- “Traveling Waves: Crash Course Physics #17” by CrashCourse
- “Simple Harmonic Motion: Crash Course Physics #16” by CrashCourse
Summary
- A sinusoid is A·sin(2πft + φ): amplitude, frequency and phase.
- Period T = 1 / f and angular frequency ω = 2πf.
- For a sinusoid, RMS = A / √2; power depends on RMS, not peak.
- SNR compares signal power to noise power, often in decibels; fixing noise at its source beats filtering it later.
Glossary
- Frequency and period
- Frequency is how many cycles happen per second; the period is the time for one cycle. Each is the reciprocal of the other. Field Guide
- Logarithms and decibels
- A logarithm answers 'what power gives this number?'. Decibels use logarithms to express ratios: 10 log10 for power ratios and 20 log10 for amplitude ratios. Field Guide
- Radians and degrees
- A radian is the angle at which the arc length equals the radius. A full turn is 2π radians, which is 360 degrees. Field Guide
- Random and systematic error
- Random errors scatter readings unpredictably above and below the true value; systematic errors shift every reading the same way. Field Guide
Project: Characterise a signal
Record or generate a noisy periodic signal, such as a vibration log or a synthetic sine with added noise. Estimate its frequency, amplitude, RMS value and signal-to-noise ratio, explain each method, and suggest the most likely source of the noise.
Deliverables
- A plot of the signal with the period marked
- Estimates of frequency, amplitude, RMS and SNR with working
- A short diagnosis of the noise source
Write it up on paper or in your own notes. Lite never stores what you write.
References
- Alan V. Oppenheim et al. (1997). Signals and Systems, 2nd edition. Prentice Hall.
- Steven W. Smith (1997). The Scientist and Engineer's Guide to Digital Signal Processing. California Technical Publishing.
- Claude E. Shannon (1949). "Communication in the Presence of Noise". Proceedings of the IRE 37(1), 10–21.