A self-calibrating integrated photonic circuit and a method of controlling
the same. In one embodiment, the circuit includes: (1) a substrate, (2) a
laser located on the substrate and configured to produce source light at
an output frequency, (3) a laser alignment sensor located on the
substrate and including: (3a) a reference optical resonator configured to
receive the source light, have a null proximate a predetermined center
frequency and provide output light as a function of a relationship
between the output frequency and the center frequency and (3b) a
photodetector configured to provide an electrical signal of a magnitude
that is based on the output light and (4) a calibration controller
located on the substrate, coupled to the photodetector and configured to
adjust the output frequency based on the magnitude.