three-layer sensor