Enhanced immunity to electrical noise