A current compensation circuit for use with a current mirror is disclosed.
The current mirror circuit has a current path defined by a first current
mirror stage driving a second current mirror stage, the second current
mirror stage is coupled to a supply voltage source. The current
compensation circuit comprises an impedance divider coupled to the supply
voltage and an output node. The impedance divider operates to generate a
compensation signal at the node representative of voltage changes in the
supply voltage source. The compensation circuit further includes a gain
stage having an input coupled to the output node and a current output
connected to the current path. The gain stage operates to generate a
compensation current for application to the current path in response to
the compensation signal.