I add TVS diodes across the PS3 board input inside the locomotive. The closer the protection device is to the electronics we want to protect the better.
The TVS diode is between the two gray wire nuts in this MTH PS# SW1500:
Amazing to me that the manufacturers aren't including this simple protection in standard design of all engines. Seems like a simple, low-cost additional insurance against failures.