A high-order curvature compensated voltage reference based on lateral BJT