Question is with regards to a DC motor controller built around an Allegro A4940 and four discrete FETs.
There are at least four possible strategies for driving the FETs, and I'm struggling to understand if any one of them is the accepted "right" way or if the best choice depends on circumstances. The options I can see are:
- Turn on the low-side FET to select direction, and PWM the corresponding high-side FET to set speed. Opposite pair are off.
- Similar to #1, but PWMing both, instead of the low-side just being held on.
- Similar to #2, but with the low-side and high-side FETs taking turns switching off, instead of both doing so (so, PWM out of phase).
- PWM back and forth between opposite pairs, varying the ratio depending on the commanded speed (so, like a class-D amplifier).
Option #1 seems like the simplest. Are there efficiency or heat dissipation reasons to go with #2 or #3.
Option #4 seems wasteful and unnecessary if you don't need the precise control for audio.
Thoughts, or pointers to resources on this?