I am planning to drive my DC Inductive load using mosfet, load voltage 24 load current is 500ma Max.
While driving the load my mosfet is getting heat. Why it is getting so much heat. My schematic is given below for reference. Please tell me why my mosfet is getting heat and how can I avoid that?