Comment on Current limiting

<- View Parent
litchralee@sh.itjust.works ⁨1⁩ ⁨week⁩ ago

Ah, I entirely missed the sense pin when skimming the datasheet.

That said, using a shunt for an inductive load like a motor may have to contend with the corresponding spikes caused when switching the motor. This just means the thing doing the sensing needs to tolerate the spikes. Or mitigate them, with either a snubber or a flyback diode (is this actually doable with an H bridge?).

As for the op-amp and ADC, if we already accept the additional of the op-amp part, it is also feasible to use a comparator with a reference voltage set for the max safe current. The digital output of the comparator can then be fed directly to the microcontroller, providing fast reaction without the sampling time of an ADC. But this would be so quick that the spikes from earlier could get picked up, unless mitigated.

Still, these solutions are adding to the part count. If that’s a concern, then I’d look for a motor driver with this functionality built in.

source
Sort:hotnewtop