Schematic of a FBG sensor