Voltage waveform square