A system for controlling the speed of a rotary blood pump. The system oscillates the speed of the pump to produce pulsed pressure at the outlet of the pump. The speed is oscillated synchronously with the natural cardiac cycle. The natural cardiac cycle is determined using a pulsatility index calculated from the back EMF produced by the pump or an impedance sensor.