Methods and system are provided for automatic power control of a laser
diode, e.g., in a laser driver. In accordance with an embodiment of the
present invention, a power controller includes a detector circuit adapted
to detect the output of the laser diode and to produce a measured output
therefrom. A comparator compares a desired output to the measured output,
and produces an error signal therefrom. The error signal is provided to
an integrator circuit that produces an integrated error signal. At least
one digital-to-analog converter (DAC) uses the integrated error signal to
produce a current drive signal that drives the laser diode.