Precision half wave rectifier single diode