Hi to all.
I'm in the process to control a DC brushed motor 24V 5A continuous (so, at start it will draw much more current).
The motor specifications says that that motor never have to be feeded with more than 5A.
I'm planning to drive it with a single logic level mosfet (60V 45A) on the low side, with hardware PWM
My question is:
there are some suggestions (even better a drawing) for a circuit that control the current and allow more than 5A let's say for 2 seconds, and then if this condition is still there for more than 2 seconds, the power is automatically adjusted not to feed more than 5A?

Even a short-circuit control circuit could be ok, even if I prefer to regulate the current not to exceed 5A.
Any solution will be ok. With PICs or without PICs. Honestly, better without PICs for tasks like that.
Anyone have some suggestions or sources to refer from?

Thanks in advance.