A non-linearity compensation circuit and a bandgap reference circuit using
the same for compensating non-linear effects of a reference voltage are
provided. In the non-linearity compensation circuit, the reference
voltage is transformed into a temperature independent current. A current
mirror mirrors the temperature independent current for biasing a bipolar
junction transistor (BJT). Further, two resistors are used for estimating
a non-linear voltage, so as to compensate the reference voltage.