Piecewise linear voltage transfer characteristic