A current generator is provided, including a bandgap circuit, an
operational amplifier, and an output resistor. The bandgap circuit is
used to output a bandgap reference voltage insensitive to environment
temperature and supply voltages. The operational amplifier has a positive
input receiving the bandgap reference voltage, a negative input, and an
output connected to the negative input to obtain an output voltage
substantially equal to the bandgap reference voltage. The output resistor
is connected to the output of the operational amplifier serially to
generate an output current flowing through the output resistor. Thus, the
output current generated by the current generator is insensitive to
environment temperature and supply voltages, and therefore more accurate
and stable.