DC three-wire sensor