a controller for use with sampled grating distributed bragg reflector lasers is presented . an exemplary controller includes a table of settings representing a control surface , each setting corresponding to a separate operating point of the sgdbr laser , a first mirror current controller and a second mirror current controller . the first mirror controller and the second mirror current controller respectively control a first mirror current and a second mirror current about an estimated extremum point of the control surface to substantially maintain alignment between each of a first mirror and a second mirror , and an associated cavity mode . the first mirror current and the second mirror current can be locked at a substantially fixed distance from the extremum of the control surface .