A miniature fiber-optic temperature sensor based on a Fabry–Perot interferometer