Back-reflecting interferometeric sensor based on a single grating on a planar waveguide