https://electronicsbeliever.com/how-to-design-over-temperature-protection-circuit/
How to Design Over Temperature Protection Circuit