Generating the Sine Wave

AC Circuits · 9 min read

The sine wave isn't a mathematical accident — it's the signature of rotation. Spin a wire loop in a magnetic field, and the EMF it produces rides out a pure sinusoid whose amplitude is set by the geometry and whose frequency is set by how fast you spin. Every generator on the power grid is a fancy elaboration of this one idea.

Spinning a coil in a magnetic field

A rectangular coil of NN turns, area AA, rotates at angular velocity ωω inside a uniform magnetic field BB. As it rotates, the magnetic flux through the coil changes as Φ(t)=NBAcos(ωt)\Phi(t) = N B A \cos(\omega t), and Faraday's law gives the induced EMF:

v(t)=dΦdt=NBAωsin(ωt)v(t) = -\frac{d\Phi}{dt} = N B A \omega \sin(\omega t)

That's a pure sine of peak amplitude Vp=NBAωV_p = N B A \omega at frequency ωω. The output is AC because the rotation keeps flipping the coil relative to the field — half the turn pulls flux one way, the other half pushes it back.

B(magnetic field)v(t) = NBAω sin(ωt)
A coil rotating in a uniform magnetic field: the induced EMF traces a sinusoid. Every AC generator on the grid is a variation on this picture.

The rotating phasor

Picture a vector of length VpV_p rotating counter-clockwise at ωω radians per second. Its angle at time tt is θ=ωt\theta = \omega t. Project the tip onto the vertical axis: the signed length of that projection is Vpsin(ωt)V_p \sin(\omega t). (Project it onto the horizontal axis instead and you'd get Vpcos(ωt)V_p \cos(\omega t) — the same waveform, 90° ahead.)

That is the sine wave. The phasor — the rotating vector — is a book-keeping device that keeps the amplitude and the phase in one object. You'll meet phasors formally in a few topics; today's job is to see the identity: the sine is the vertical component of a uniformly rotating vector.

Vpθ = ωt+Vp−Vpωt
The rotating phasor's vertical component IS the sine wave. As the vector spins counter-clockwise at ω rad/s, its projection traces the familiar v(t) = Vp sin(ωt).

Phase angle

The angle at t=0t = 0 doesn't have to be zero. If the phasor starts at φφ instead of 0, the output is:

v(t)=Vpsin(ωt+ϕ)v(t) = V_p \sin(\omega t + \phi)

A positive φφ shifts the waveform left on the time axis — the wave reaches its peaks earlier. A negative φφ shifts it right — it reaches peaks later. When two signals share the same frequency but differ in phase, the earlier-peaking one is said to lead, and the later-peaking one lags.

v₁ = Vp sin(ωt) — leadsv₂ = Vp sin(ωt − 60°) — lagst
Two sinusoids of the same frequency but different phase. v₂ reaches every peak 60° after v₁ does — v₂ lags v₁ by 60°.

Measuring the phase difference is just geometry. Two signals of frequency f=50Hzf = 50\,\text{Hz} (period T=20msT = 20\,\text{ms}) with a 60° lag are separated in time by:

Δt=60°360°T=1620ms3.33ms\Delta t = \frac{60°}{360°} \cdot T = \frac{1}{6} \cdot 20\,\text{ms} \approx 3.33\,\text{ms}

So v₂ hits every peak ~3.33 ms after v₁ does. Phase is time wearing angular clothing.

Sine and cosine are siblings

A cosine is just a sine with a 90° head start:

cos(ωt)=sin(ωt+90°)\cos(\omega t) = \sin(\omega t + 90°)

So when a book quotes a signal as 10cos(ωt)10\cos(\omega t) V, that's the same amplitude and frequency as 10sin(ωt+90°)10\sin(\omega t + 90°) V — just a different phase reference. For circuit analysis, we'll usually pick sine or cosine as the house convention and stick with it per chapter.

A sine wave is the vertical projection of a rotating vector. Phase φφ shifts the wave on the time axis: +φ leads, −φ lags. At frequency ff, a phase difference of ΔφΔφ degrees is a time offset of Δt=Δϕ/(360°f)\Delta t = \Delta\phi / (360° f).

Read more on this