Sub topic 5
Phase angle and what it does to the waveform
This chapter assumes you know the general form v(t) = Vm sin(ωt + φ), the meaning of amplitude, and the relation ω = 2πf. You should also be comfortable with sine and cosine in both degrees and radians. Here we focus on one parameter: the phase angle φ.
What the phase angle is
In v(t) = Vm sin(ωt + φ), the quantity ωt + φ is the total angle of the sine function at time t. The term ωt grows steadily with time. The term φ is the angle at t = 0, so it sets where on the cycle the waveform starts.
- If φ = 0, the waveform starts at zero and rises, like a plain sine.
- If φ = 90°, the waveform starts at its positive peak, because sin(90°) = 1.
- If φ = −90°, the waveform starts at its negative peak.
- If φ = 180°, the waveform starts at zero and falls, which is the inverted sine.
Phase does not change the amplitude, the frequency, or the RMS value. It only slides the waveform along the time axis.
A common source of confusion is units. In ωt + φ, the product ωt is in radians, so φ must be in radians too. Engineers often write φ in degrees, as in 170 sin(377t + 30°). When you evaluate such an expression, convert the 30° to π/6 rad first, or set your calculator to the matching angle mode for the whole expression. Mixing the two gives wrong answers with no error message.
Phase as a time shift
A phase angle is equivalent to a shift in time. Write the argument as
ωt + φ = ω(t + φ/ω)
So v(t) = Vm sin(ω(t + Δt)) with Δt = φ/ω. The whole waveform is the plain sine shifted by Δt along the time axis.
- If φ > 0, then Δt > 0 and the waveform is shifted to the left (earlier). Every feature happens Δt seconds sooner than for the plain sine.
- If φ < 0, the waveform is shifted to the right (later).
Since ω = 2π/T, the time shift can be written as a fraction of the period:
Δt = φ/ω = (φ in degrees / 360) × T = (φ in degrees / 360) / f
A full cycle of 360° corresponds to one period T, so a phase of φ corresponds to the fraction φ/360 of T. The following code applies this to a 45° phase at 50 Hz.
phi_deg = 45.0 # phase angle of the signal, degrees
f = 50.0 # frequency, hertz
# A phase of phi corresponds to a fraction phi/360 of one period T = 1/f
delta_t = phi_deg / 360.0 / f
print(f"time shift = {delta_t * 1000:.2f} ms") # 2.50 msThe period at 50 Hz is 20 ms, and 45° is one eighth of a cycle, so the shift is 2.5 ms. The same angle gives a different time shift at a different frequency. A 45° phase at 60 Hz is 2.08 ms, and at 1 kHz it is only 0.125 ms. Phase is the natural measure for comparing signals of the same frequency. Time shift is the natural measure when frequency varies or when you read it from an oscilloscope.
Reading the phase from a plot
Given a plot of a sinusoid, you can find φ from its position relative to a plain sine.
- Find the zero crossing nearest t = 0 where the waveform is rising.
- Measure how far this crossing is from t = 0, as a time t₀.
- If the rising crossing is at t₀ < 0 (before t = 0), then φ = −ω t₀ is positive. If it is at t₀ > 0, then φ is negative.
In short, φ = −ωt₀, where t₀ is the time of the rising zero crossing. For a waveform with φ = 30° at 60 Hz, the period is 16.67 ms, and the rising crossing occurs at t₀ = −(30/360)(16.67 ms) = −1.39 ms.
Another check uses the value at t = 0. Here v(0) = Vm sin φ, so the starting value gives sin φ. This alone is ambiguous, because φ and 180° − φ have the same sine. For example, 30° and 150° both start at Vm/2, but one is rising and the other is falling. You need the slope at t = 0 as well. The slope is ωVm cos φ, so a rising start means cos φ > 0.
Sine and cosine forms
A cosine is a sine shifted by 90°:
cos(ωt) = sin(ωt + 90°) sin(ωt) = cos(ωt − 90°)
So the phase angle depends on which reference function you choose. The signal 10 cos(ωt + 20°) is the same as 10 sin(ωt + 110°). Both forms describe the identical waveform. Before comparing or adding phases, convert every signal to the same form. Mixing a sine-based phase with a cosine-based phase produces a 90° error.
Other useful identities follow from the shift view:
- −sin(ωt) = sin(ωt ± 180°), so a sign change is the same as a 180° phase shift.
- Adding or subtracting 360° changes nothing. Phases are only defined modulo 360°.
Because of the modulo behavior, 350° and −10° describe the same waveform. By convention, state φ in the range −180° to +180°.
Worked example
A voltage is v(t) = 170 sin(2π·60·t + 30°). Find its value at t = 0, its first positive peak time, and its first rising zero crossing after t = 0.
The value at t = 0 is 170 sin 30° = 85 V.
The peak occurs when the angle equals 90°. We need 2π·60·t + 30° = 90°, so the angle ωt must be 60°. That is one sixth of a period, so t = (60/360)(16.67 ms) = 2.78 ms.
The waveform has its rising zero crossing when the total angle equals 360°, so ωt = 330°. That is t = (330/360)(16.67 ms) = 15.28 ms. The earlier rising crossing is at t = −1.39 ms, which matches the formula φ = −ωt₀ from the previous section.
The sampled script below checks the peak time numerically.
import numpy as np
Vm = 170.0
f = 60.0
phi = np.deg2rad(30)
t = np.linspace(0, 1 / f, 100000, endpoint=False)
v = Vm * np.sin(2 * np.pi * f * t + phi)
print(f"v(0) = {v[0]:.2f} V")
print(f"first peak at {t[np.argmax(v)] * 1000:.2f} ms")It prints v(0) = 85.00 V and a first peak at 2.78 ms.
Common mistakes
| Mistake | Effect | Fix |
|---|---|---|
| Using degrees for φ and radians for ωt without converting | Wrong value at every instant | Convert φ to radians, or convert ωt to degrees |
| Thinking positive φ delays the waveform | Shift direction reversed | Positive φ moves the waveform earlier (left) |
| Comparing a sine phase to a cosine phase directly | 90° error | Rewrite both in the same form first |
| Identifying φ from v(0) alone | Ambiguity between φ and 180° − φ | Check the slope at t = 0 as well |
| Applying a fixed time shift to signals at different frequencies | Phase differs per frequency | Compute φ = ωΔt for each frequency |
Exercise
A current is i(t) = 4 cos(2π·400·t − 60°) A. (a) Rewrite it in sine form. (b) Find the time shift of the waveform relative to 4 cos(2π·400·t), including whether it is earlier or later. (c) Find i(0).
Show answer
(a) Using cos(x) = sin(x + 90°), i(t) = 4 sin(2π·400·t − 60° + 90°) = 4 sin(2π·400·t + 30°) A. (b) The phase is −60° relative to the cosine, so the waveform is delayed. The period is 1/400 = 2.5 ms, and Δt = (60/360)(2.5 ms) = 0.417 ms later. (c) i(0) = 4 cos(−60°) = 4 × 0.5 = 2 A. The sine form gives the same value: 4 sin 30° = 2 A.
Exercise
A 1 kHz voltage waveform is delayed by 125 µs relative to a reference sine. What is its phase angle φ in degrees?
Show answer
The period is 1 ms, so 125 µs is 125/1000 = 1/8 of a period, or 45°. Because the waveform is delayed, the phase is negative: φ = −45°.