🔌 Embedded · Electronics
Prerequisites · read first

AC/DC · frequency · sine

Sine waveFrequency·RMSRectifywiki/embedded-ac-dc-frequency
TL;DR

Electricity comes in two kinds. DC keeps a steady voltage over time (a battery); AC swings + and − over time (a wall outlet), and the base shape of that swing is the sine wave. A sine is fixed in one line , giving frequency (Hz, swings per second), period , and angular frequency . The RMS value is AC's 'real working voltage' (your 220V outlet actually peaks at 311V), and rectification, filtering, and PWM all build on this.

DC and AC, as a picture

  • DC means the voltage doesn't change over time — on a graph it's just a flat line. Batteries, USB, and logic rails are DC, and the kickboard pack () is too.
  • AC means the voltage swings between + and − over time — like the curve below. Wall outlets, audio signals, and motor-drive currents are AC. The base shape of that swing is the smooth sine curve.
time t →voltage
AC (sine)DC
DC is a flat line, AC is a swinging sine

Reading the sine in one line

  • One swinging AC curve is fully fixed by just three numbers: how big (amplitude ), how fast (frequency ), and when it starts (phase ). One equation ties them together: .
  • That phase is exactly the 'timing offset' the on the impedance page pointed to — two signals at the same frequency can still start at different moments, giving a phase difference.
amplitude — how big (peak)
frequency — how fast (Hz)
phase — when it starts (timing)
the three knobs of a sine

Period, frequency, angular frequency — same thing, three names

  • The time for one swing is the period (seconds); how many swings per second is the frequency (Hz). They're inverses, so . Korea's grid is , so one swing takes .
  • There's also angular frequency — just times because the sine runs in radians. This shows up verbatim in and — which is why frequency underlies impedance.
QuantityFormulaat 50 Hz
Period TT = 1/f (s)20 ms
Frequency ff = 1/T (Hz)50 Hz
Angular ωω = 2πf (rad/s)≈ 314
at 50 Hz — three faces of one fact

RMS — AC's 'real voltage'

  • AC swings + and − equally, so its plain average is — yet a heater clearly gets hot. So we define RMS separately: 'the DC voltage that would do the same work measured by heating.'
  • For a sine, . The '220V' at your outlet is this RMS value; the actual peak reaches . So choose a part's voltage rating against the peak, not the RMS, or it blows.
peak — true top (rate parts here)
RMS — heating-equivalent DC
220V (RMS) peaks at ≈311V

Rectification — turning AC into DC

  • Most circuits need steady DC, but the wall gives swinging AC. So a diode (a one-way part) chops off the − side, leaving only the + humps — the bumpy 'pulsing DC' shown below.
  • Smooth those humps with a capacitor (filtering) and you finally get DC a circuit can use. Rectification and filtering are all about 'the shape and frequency of AC,' so this page sits underneath them.
time t →voltage
After rectifying — only + humps remain

At a glance — from AC to clean DC

  • Outlet AC → diode rectify (one way only) → pulsing DC → capacitor smoothing → clean DC. This flow happens inside nearly every power adapter.
  • PWM and switching supplies are likewise 'toggle DC fast to set an average, then filter out the high-frequency parts' — again, a story told on the frequency axis.
AC in±, sine
diode rectifyone way
pulsing DC+ humps
🔋cap smoothingclean DC
what happens inside a power adapter
Pitfalls & gotchas

When you say 'voltage,' always pin down peak () vs RMS () — datasheet ratings are usually peak, outlets and meters usually RMS. They differ by , so confusing them just blows the part. And don't mix frequency with angular frequency — the one that goes into impedance formulas is .

The topic cards on this page are compiled from the Brain Trinity wiki. The original wiki can be demoed live in an interview.Back to study log