On bikes you can use a Transil Diode to protect the ecu , can be wired into the pos and neg feeding the ecu to protect it from spikes. transil diodes for your ecu are like surge protectors for computers. you have to figure out the proper range the ecu should see. and what is considered too much. then select the proper sizing diode so it can suppress all over voltages above its breakdown voltage.