Sub topic 1
The Sinusoidal Waveform: v(t) = Vm sin(ωt + φ)
Prerequisites
This chapter assumes you already have the following:
- DC circuit analysis: voltage, current, Ohm's law, and power P = V·I.
- Trigonometry: sine and cosine, and conversion between degrees and radians.
- Basic algebra, enough to rearrange an equation for one unknown.
You do not need calculus here. Calculus appears later, in the chapters that derive the average and RMS values.
Why the sinusoid matters
A DC source holds a constant value. An AC source changes with time, and many shapes of change are possible: square, triangle, sawtooth, noise. One shape dominates power systems and much of signal processing, the sinusoid. It has three practical advantages.
- Generators produce it naturally. A coil rotating at constant speed in a magnetic field has a voltage proportional to the sine of the rotation angle.
- It keeps its shape through linear circuits. Resistors, capacitors, and inductors can change a sinusoid's size and timing. They never change its sinusoidal form, and its frequency stays the same. Other waveforms get distorted by these elements.
- It is a building block. Any repeating waveform can be written as a sum of sinusoids, so understanding one sinusoid gives you a tool for analyzing all of them.
The general form
A sinusoidal voltage is written as
v(t) = Vm sin(ωt + φ)
A sinusoidal current has the same form, i(t) = Im sin(ωt + φ). The table below lists the parameters.
| Symbol | Name | Unit | What it controls |
|---|---|---|---|
| Vm | Amplitude (peak value) | volts (V) | How far the waveform swings from zero |
| ω | Angular frequency | radians per second (rad/s) | How fast the argument of the sine advances |
| φ | Phase angle | radians or degrees | Where in its cycle the waveform is at t = 0 |
| t | Time | seconds (s) | The independent variable |
Two derived quantities describe the same repetition rate in more everyday terms:
- The period T is the time for one complete cycle, in seconds.
- The frequency f = 1/T is the number of cycles per second, in hertz (Hz).
They are linked to ω by ω = 2πf = 2π/T. One cycle of a sine covers 2π radians, and the argument ωt reaches 2π after exactly one period. Later chapters treat each of these parameters in detail. Here the goal is to read them from an equation and to see how they fit together.
Reading the parameters from an equation
Take the household-style voltage
v(t) = 170 sin(377t + 30°) V
Reading it from left to right:
- Amplitude. Vm = 170 V. The voltage swings between +170 V and −170 V.
- Angular frequency. ω = 377 rad/s.
- Frequency. f = ω/2π = 377/6.2832 ≈ 60.0 Hz.
- Period. T = 1/f ≈ 16.67 ms.
- Phase. φ = 30°, which is π/6 rad.
- Value at t = 0. v(0) = 170 sin 30° = 85 V.
The phase also tells you when key events happen. The waveform crosses zero going upward when the argument is zero: ωt + φ = 0, so t = −φ/ω = −(π/6)/377 ≈ −1.39 ms. That crossing occurred before t = 0, so a positive phase shifts the waveform to the left, earlier in time. The first peak after t = 0 occurs when ωt + φ = π/2:
t = (π/2 − π/6)/377 = (π/3)/377 ≈ 2.78 ms
This is T/6, which matches the fact that 60° is one sixth of a cycle.
Mixing degrees and radians
Notice that the example writes ωt in radians and φ in degrees. Engineers write it this way constantly, and it is a common source of mistakes. The expression 377t + 30° adds a quantity in radians to a quantity in degrees. When you evaluate it, convert first.
Sine, cosine, and the choice of reference
A cosine is a sine shifted by a quarter cycle:
cos(x) = sin(x + 90°) and sin(x) = cos(x − 90°)
So a waveform written as 10 cos(ωt) is the same waveform as 10 sin(ωt + 90°). Both forms describe identical shapes. The choice is a convention. This tutorial uses sine as the standard form, and many textbooks use cosine. When you compare two signals or look up a formula, first convert both to the same function. Phase angles only make sense relative to a stated reference function.
Edge cases in the general form
Negative phase. A negative φ shifts the waveform to the right, later in time. For example, 5 sin(ωt − 60°) is zero at ωt = 60°, not at ωt = 0.
Negative amplitude. Writing −Vm sin(ωt + φ) is allowed, but it equals Vm sin(ωt + φ ± 180°). By convention, Vm is kept positive and any sign is moved into the phase.
Phase beyond one cycle. Phases that differ by 360° produce identical waveforms. A phase of 390° is the same as 30°. Normally the phase is reported in the range −180° to +180°.
Phase of zero is not special. Whether φ is 0 depends only on when you start your clock. Nothing physical forces a signal to be zero at t = 0. The phase of a single signal has no absolute meaning. Only the difference between two signals at the same frequency is physically meaningful, and a later chapter covers it.
Frequency can be stated three ways. Datasheets and instruments give f in hertz. Equations written for analysis usually need ω in radians per second. A frequent slip is to put f = 60 directly into the sine. That gives sin(60t), which corresponds to a frequency of 60/2π ≈ 9.55 Hz.
Checking the parameters numerically
The script below builds the waveform from the example, then recovers the period and frequency from the samples alone. It finds the times where the signal crosses zero going upward and measures the spacing between them.
import numpy as np
Vm = 170.0 # amplitude, volts
f = 60.0 # frequency, hertz
phi = np.deg2rad(30.0) # phase, converted to radians
w = 2 * np.pi * f # angular frequency, rad/s
# Two full periods, finely sampled
t = np.linspace(0.0, 2.0 / f, 2001)
v = Vm * np.sin(w * t + phi)
print(f"w = {w:.1f} rad/s")
print(f"v(0) = {v[0]:.1f} V") # Vm*sin(30 deg) = 85.0
print(f"peak = {v.max():.1f} V") # about 170.0
# Find upward zero crossings and interpolate their times
idx = np.where((v[:-1] < 0) & (v[1:] >= 0))[0]
t_cross = t[idx] - v[idx] * (t[idx + 1] - t[idx]) / (v[idx + 1] - v[idx])
T_est = np.diff(t_cross).mean()
print(f"estimated period = {T_est * 1000:.3f} ms")
print(f"estimated frequency = {1 / T_est:.2f} Hz")The script prints a peak of about 170.0 V, a period of 16.667 ms, and a frequency of 60.00 Hz. The recovered values match the ones read from the equation. The same approach works on measured data, where you have samples but no formula.
Working a problem end to end
A current is given by i(t) = 5 sin(314t − 60°) A, and you need its period and its value at t = 0.
- Read Im = 5 A, ω = 314 rad/s, φ = −60°.
- Frequency: f = 314/2π ≈ 49.97 Hz, so this is a 50 Hz signal.
- Period: T = 1/f ≈ 20.0 ms.
- Value at t = 0: i(0) = 5 sin(−60°) = −4.33 A.
- The upward zero crossing is where 314t = 60° = π/3 rad, so t = 1.047/314 ≈ 3.33 ms. That is T/6, as expected for 60°.
A useful check: the value at t = 0 must lie between −Im and +Im. If you get a number outside that range, a unit conversion has gone wrong.
Summary of the model
A sinusoid is fully described by three numbers: amplitude Vm, frequency (through f, T, or ω), and phase φ. Amplitude scales the waveform vertically. Frequency sets the horizontal spacing of the cycles. Phase shifts the waveform horizontally. Change any one and the other two stay as they were. The following chapters take each parameter in turn and then use them to define average and RMS values.
Exercise
A voltage is v(t) = 311 sin(100π t + 45°) V. Find the amplitude, angular frequency, frequency, period, and the value of v at t = 0.
Show answer
Vm = 311 V. ω = 100π ≈ 314.2 rad/s. f = ω/2π = 50 Hz. T = 1/f = 20 ms. v(0) = 311 sin 45° ≈ 311 × 0.7071 ≈ 219.9 V.
Exercise
Write 10 cos(ωt − 30°) in the form Vm sin(ωt + φ), with φ in degrees.
Show answer
Use cos(x) = sin(x + 90°). Then 10 cos(ωt − 30°) = 10 sin(ωt − 30° + 90°) = 10 sin(ωt + 60°). So Vm = 10 and φ = 60°.
Exercise
A student writes a 400 Hz signal as v(t) = 5 sin(400t). What is the actual frequency of this signal, and what should the expression be?
Show answer
The argument 400t means ω = 400 rad/s, so f = 400/2π ≈ 63.7 Hz. For 400 Hz, ω = 2π × 400 ≈ 2513 rad/s, so the expression should be v(t) = 5 sin(2513t), or 5 sin(2π · 400 · t).