An optical device includes an optical waveguide through which light propagates
and a micro-resonator structure including an optical sensor. The micro-resonator
is configured to resonate at a wavelength of light that may be transmitted through
the optical waveguide. When light at that wavelength is transmitted through the
optical waveguide, it resonates in the resonator and is detected by the optical
sensor to produce an electrical signal. The optical resonator may be a micro-cylinder,
disc or ring resonator and may be coupled to the waveguide via evanescent coupling
or leaky-mode coupling. Multiple resonators may be implemented proximate to the
waveguide to allow multiple wavelengths to be detected. When the waveguide is coupled
to a tunable laser, signals provided by the optical sensor may be used to tune
the wavelength of the laser.