A blood pump incorporating a rotary pump such as a rotary impeller pump implantable in fluid communication with a ventricle and an artery to assist blood flow from the ventricle to the artery. The device may include a pump drive circuit supplying power to the pump, one or more sensors for sensing one or more electrophysiological signals such as subcutaneous, pre-cordial ECG signals and a signal processing circuit connected to the sensors and to the pump drive circuit. The signal processing circuit is operative to detect the sensor signals and control power supplied to the pump from the pump drive circuit so that the pump may run in a normal sinus rhythm mode, with a varying speed synchronized with the cardiac cycle. When an ischemic or myocardial infarction condition is detected, the pump drive circuit may also run the pump in an ischemia or myocardial infarction mode different from the normal sinus rhythm mode.