Troubleshooting with transformer and relay using an rc snubber