ANDゲート
If Uin is greater than Urefbot and Uin is lower than Ureftop then both comparators output will swing to the logical high and make the AND gate output to turn ON.