The circuit to create waveform like this is based upon a simple relay that is driven by a clock signal.