Rectangular AC is an alternating current waveform that switches abruptly between two fixed voltage levels, spending a defined amount of time at each level before reversing polarity. Unlike the smooth, continuous curve of utility grid power, a rectangular wave (often loosely called a square wave) transitions almost instantaneously. This abrupt switching fundamentally changes how power is calculated, how reactive components behave, and the amount of electromagnetic interference (EMI) generated. People commonly confuse rectangular AC with Pulse Width Modulation (PWM) or a 'modified sine wave,' but while they share sharp edges, true rectangular AC alternates symmetrically between positive and negative voltage rails (e.g., +120V and -120V) at a fixed base frequency like 50Hz or 60Hz.

The Math and Physics of Rectangular AC

The most critical difference between a sine wave and a rectangular AC wave lies in the relationship between the peak voltage and the RMS (Root Mean Square) voltage. RMS is the equivalent DC voltage that would deliver the same heating power to a resistive load. For a pure sine wave, the peak voltage is always 1.414 times the RMS voltage. For a symmetrical rectangular AC wave with a 50% duty cycle, the peak voltage and the RMS voltage are exactly the same.

The Crest Factor Difference
Sine Wave Crest Factor: 1.414 | Rectangular AC Crest Factor: 1.0
Crest factor is the ratio of peak to RMS. This single number dictates how you size semiconductor switches and insulation in power electronics.

Worked Numeric Example: Sizing an H-Bridge Inverter

Imagine you are designing a basic H-bridge inverter to output 120V RMS at 60Hz for a backup power supply. You need to select the DC bus voltage and the voltage rating for your MOSFETs.

  • Scenario A (Pure Sine Wave via SPWM): To get 120V RMS out of a sine wave filter, your DC bus voltage must be at least $120V \times 1.414 = 169.7V$. Accounting for voltage drops across the switches and dead-time, you need a ~180V DC bus. You must select MOSFETs rated for at least 200V to 250V to handle the peak bus voltage plus ringing.
  • Scenario B (Rectangular AC): Because the crest factor is 1.0, your DC bus voltage only needs to be exactly 120V to achieve a 120V RMS output. You can use 150V rated MOSFETs. Lower voltage MOSFETs typically have significantly lower $R_{DS(on)}$, meaning your conduction losses drop and efficiency increases.

However, the rectangular wave's near-instantaneous $dv/dt$ (change in voltage over time) transitions will generate massive high-frequency ringing on the DC bus. While you saved money on the MOSFETs, you will now need to spend it on heavy RC snubber circuits and high-frequency bypass capacitors to prevent the switches from avalanching.

Where You Meet Rectangular AC in Practice

You won't find rectangular AC coming out of your wall outlet—the grid is strictly sinusoidal. But on the workbench and in specific commercial equipment, this waveform is everywhere:

  • Low-Cost Off-Grid Inverters: Often marketed as 'modified sine wave' inverters, these devices actually output a stepped rectangular wave. They switch the DC battery voltage directly to the AC terminals using a basic H-bridge, sometimes adding a zero-voltage 'dead band' to approximate a sine shape.
  • Ultrasonic Cleaners: The piezoelectric transducers in these tanks are driven by high-frequency rectangular AC (typically 20kHz to 40kHz). The sharp edges contain the high-frequency harmonic energy needed to induce cavitation in the cleaning fluid.
  • Induction Cooktops: A resonant half-bridge drives the induction coil with a high-frequency rectangular wave. The coil and a parallel capacitor form an LC tank circuit that naturally filters the rectangular wave into a smooth sine wave before the current reaches the cooking vessel.
  • Fluorescent Lamp Ballasts: Electronic ballasts use rectangular AC at high frequencies (20kHz+) to drive the gas discharge tube, eliminating the 120Hz flicker inherent to magnetic ballasts running on utility sine waves.

Circuit Behavior: What the Waveform Changes

When you swap a sine wave for a rectangular AC wave, reactive components (inductors and capacitors) react violently to the sharp edges. Here is how the circuit behavior shifts across key parameters.

Parameter Pure Sine Wave (60Hz) Rectangular AC (60Hz, 50% Duty)
Harmonic Spectrum Fundamental frequency only (60Hz) Fundamental + all odd harmonics (180Hz, 300Hz, 420Hz...)
Inductor Response ($di/dt$) Smooth sinusoidal current ramp Linear current ramps; massive voltage spikes at transitions if unclamped
Capacitor Response ($dv/dt$) Smooth sinusoidal charging current Extreme instantaneous inrush current spikes at every voltage edge
EMI Profile Negligible high-frequency emissions Broadband RF noise extending into the MHz range
Multimeter Reading Accurate on average-responding meters Requires True-RMS meter for accurate measurement

According to power quality guidelines documented by Fluke, measuring these non-linear waveforms requires a True-RMS multimeter. Standard average-responding meters assume a sine wave crest factor of 1.414; if you feed them a rectangular wave, they will apply the wrong scaling factor and give you a wildly inaccurate voltage reading.

Frequently Asked Questions

Is a modified sine wave inverter actually outputting rectangular AC?

Yes, fundamentally. A 'modified sine wave' is a marketing term for a stepped rectangular waveform. Instead of a single transition from +170V to -170V, the inverter switches through intermediate steps (e.g., 0V, +170V, 0V, -170V) to create a crude staircase. While this reduces the extreme $dv/dt$ slightly compared to a pure square wave, it is still a rectangular AC topology and carries the same harmonic and EMI baggage. For sensitive electronics or AC motors, a pure sine wave inverter is always the correct choice.

Why do AC motors hum or overheat when fed rectangular AC?

AC induction motors are designed for the smooth magnetic flux rotation provided by a pure sine wave. A rectangular AC wave is packed with odd harmonics (3rd, 5th, 7th). As noted in All About Circuits, these harmonics create parasitic counter-torques and induce high-frequency eddy currents in the motor's iron core. The motor wastes energy fighting its own harmonic magnetic fields, which manifests as an audible 60Hz/120Hz mechanical hum and excessive heat that can degrade the winding insulation over time.

What is the difference between rectangular AC and PWM?

Rectangular AC alternates symmetrically between a positive and negative voltage rail (bipolar) at a fixed base frequency, usually with a fixed 50% duty cycle. PWM (Pulse Width Modulation) typically switches between a positive voltage and zero (unipolar), and its defining feature is that the duty cycle varies dynamically to control average power or synthesize a lower-frequency waveform. While a PWM signal can be used to create a sine wave (SPWM), the raw PWM signal itself is unipolar DC switching, not AC.

How do I safely scope a rectangular AC waveform without blowing up my oscilloscope?

Because rectangular AC transitions are so fast, they excite parasitic inductance in your probe ground leads, causing high-frequency ringing that can exceed the input limits of your scope. Never use the long alligator-clip ground lead when measuring the sharp edges of an H-bridge. Instead, use the probe's short ground spring or a differential probe. Furthermore, ensure your scope's input impedance and voltage rating can handle the peak DC bus voltage, not just the RMS output voltage.