In the standard sinusoidal equation y(t) = A sin(ωt + C) + D, C is the phase angle (measured in radians or degrees) that shifts the waveform left or right along the time axis, though if the equation is written as y(t) = A sin(ωt) + C, it represents a DC voltage offset. Because mathematical textbooks and electrical engineering schematics use slightly different notations, identifying which 'C' you are looking at is the critical first step before you touch a function generator or write microcontroller PWM code.

The Two Faces of 'C' in AC Theory

To understand what C changes in a real circuit, we have to split the mathematical notation into its two real-world electrical equivalents. The parameter C fundamentally alters either the timing of the wave or the baseline voltage of the wave.

Notation Disambiguation:
1. C as Phase Angle: In v(t) = V_p sin(ωt + C), C is the phase constant. It dictates exactly when the waveform crosses zero relative to a reference clock. Changing C shifts the wave horizontally.
2. C as DC Offset: In v(t) = V_p sin(ωt) + C, C is the vertical shift. It adds a steady DC bias to the AC signal. Changing C shifts the wave vertically.

What it changes in a real installation: If C is a phase angle, it changes the synchronization between two AC sources. In a 3-phase motor drive or a grid-tied solar inverter, an incorrect phase angle will cause massive circulating currents or trigger anti-islanding protection. If C is a DC offset, it changes the average voltage seen by the load. Injecting a DC offset into an audio amplifier's input will shift the operating point, potentially clipping the signal or, in the case of a transformer, driving the core into magnetic saturation and causing it to overheat.

Worked Numeric Example: Calculating Phase Shift and Offset

Let's look at a real-world 120V AC mains signal that has been stepped down and biased for a microcontroller's ADC, represented by the following equation:

v(t) = 3.3 sin(377t + 0.523) + 1.65

Here is the exact breakdown of the parameters, focusing on C and the DC offset:

  • Amplitude (A = 3.3): The peak AC voltage is 3.3V (swinging from +3.3V to -3.3V around the center).
  • Angular Frequency (ω = 377): This is 60 Hz, calculated as 2 * π * 60 ≈ 377 rad/s.
  • Phase Angle (C = 0.523 rad): This is exactly 30 degrees (π/6 radians). It means this waveform reaches its peak 30 degrees earlier than a reference wave.
  • DC Offset (D = 1.65V): The entire wave is shifted up by 1.65V, meaning it oscillates between 0V and 3.3V, perfectly matching a 0-3.3V ADC input range.

Calculating the real-world time shift: A full 60 Hz cycle takes 16.67 milliseconds (1/60). A 30-degree phase shift is 1/12th of a full 360-degree cycle. Therefore, the time delay introduced by C is 16.67 ms / 12 = 1.389 ms. If your microcontroller's zero-crossing detector expects a reference at 0.00 ms, this signal will cross zero 1.389 ms earlier. For a deeper dive into AC waveform mathematics, the All About Circuits AC Waveforms chapter provides excellent foundational diagrams.

Where You Meet This in Practice

You won't usually see 'C' written on a schematic, but you will interact with it constantly on the bench and in code:

  • Function Generators: On a Rigol DG1022Z or Siglent SDG1032X, the 'Phase' button adjusts the C parameter (horizontal shift) between channels, while the 'Offset' button adjusts the DC bias (vertical shift).
  • Microcontroller PWM (ESP32): When using the ESP32's MCPWM peripheral to drive a half-bridge inverter, you must set a dead-time and a phase shift. The Espressif ESP-IDF MCPWM documentation details how to configure the phase parameter to prevent shoot-through currents.
  • Op-Amp Summing Circuits: In single-supply audio designs, you use an op-amp to inject a deliberate DC offset (C = Vcc/2) so the AC audio signal doesn't swing below ground, which would clip the negative half-cycles.

Common Confusions: Phase Angle vs. Time Delay vs. DC Bias

The most frequent mistake hobbyists make is confusing the mathematical phase angle (C) with absolute time delay, or confusing a vertical offset with a horizontal shift.

Confusion 1: Phase Angle vs. Time Delay. A phase angle of 90 degrees means something entirely different at 60 Hz than it does at 100 kHz. At 60 Hz, a 90° shift (C = 1.57 rad) is a 4.16 ms delay. At 100 kHz, that exact same 90° phase angle is a 2.5 µs delay. If your circuit requires a fixed time delay regardless of frequency, you cannot use a fixed phase angle C; you must use a digital delay line or a microcontroller timer.

Confusion 2: RMS vs. Peak Amplitude. While not directly related to C, people often miscalculate the amplitude (A) when trying to achieve a specific DC offset (C). If you want a 120V RMS sine wave to sit on top of a 170V DC offset, you must remember that the peak voltage is 120 * 1.414 = 169.7V. Setting your offset to 120V instead of 170V will result in the waveform crossing below 0V.

Decision Path: Setting 'C' on Your Function Generator or MCU

Use this decision tree to determine exactly how to configure your phase angle or DC offset for your specific application.

Your GoalRequired ParameterConcrete Pick / Setting
Read a ±10V AC motor signal with a 0-3.3V ESP32 ADC. DC Offset (Vertical C) Use an op-amp summing circuit; set DC Offset C to exactly +1.65V. Scale amplitude to 1.65V peak.
Drive a 50kHz full-bridge inverter without shoot-through. Phase Angle (Horizontal C) Use ESP32 MCPWM; set Phase C to 180 degrees (inverted) for the low-side switch, plus a 100ns dead-time.
Synchronize a backup generator to the utility grid. Phase Angle (Horizontal C) Use a PLL (Phase-Locked Loop) IC like the CD4046; dynamically adjust C until phase error is < 2 degrees.
Default bench testing of an unknown audio amplifier. Both Phase and Offset Set Function Generator Phase C to and DC Offset C to 0V. Use AC coupling on the scope.

FAQ: Quick Answers on Sinusoidal Parameters

Q: Can C be a negative number?
A: Yes. A negative phase angle (e.g., C = -0.523 rad) means the waveform is lagging behind the reference, crossing zero later in time. A negative DC offset shifts the entire waveform below the 0V ground line.

Q: Why do some textbooks write the equation as A sin(B(x - C)) + D?
A: In this specific algebraic format, C represents the horizontal shift directly in units of time (or x-axis units), rather than radians. If you see a minus sign inside the parenthesis next to C, it's a time-domain shift. If it's a plus sign (ωt + C), C is in radians/degrees.

Q: Does a multimeter measure C?
A: A standard multimeter in AC mode measures the RMS amplitude (A) and completely ignores the phase angle (C). However, if you measure the signal in DC mode, the multimeter will read the DC offset (the vertical C parameter).

When in doubt on the bench, always default your function generator or MCU waveform to C = 0 for both phase and DC offset unless your specific load requires biasing or synchronization. Injecting an uncalculated DC offset into a transformer primary will cause core saturation and thermal failure, while an uncalculated phase shift into a grid-tie inverter will result in immediate anti-islanding trips. Start at zero, verify with an oscilloscope, and dial in the offset or phase only when the circuit topology explicitly demands it.