Joat ------ there is a heap of circuits and information out there - involving DC motors - particularly brushed DC motors, with driver circuits all involving features such as flyback diodes. Just check out this one of many links on the internet ---- (
click here) ..... that could help point out the benefit of flyback diodes for this sort of DC motor driving application involving switching.
I think that in the given link above, who-ever wrote it got it mostly right, but some of the theory appears erroneous. Most of it is good though.
One important thing/lesson (I think ... maybe) that the information teaches us ------ is that if a current is flowing through an inductor (coil), then there is a known physics behaviour ---- where the current through an inductor will never change 'instantaneously' - that's a known physics behaviour of inductors.
If a mechanical switch is used to remove the current from the coil, then a
related known physics (electronics circuit theory) effect will occur, which involves development of a relatively large voltage across the inductor, and
also the development of a relatively large (but opposite polarity) voltage across the 'assumed large
resistive air gap' between the switch contactor points.
When relay contacts are separating (to try break the coil current), the amount of current that flows through/across the largely resistive air gap will momentarily be maintained (ie. having the same value as the initial coil current ------ or at least
momentarily has the same value of current). So for some regular value of current, combined with large resistance (air-gap) ....... means relatively large voltage across the air-gap.
Regardless of the large voltages developed ....... arcing/sparking will occur for the inductor circuits (shown in those web links) if flyback diodes aren't used ...... and arcing/sparking could possibly be linked with future performance issues (as in ---- arc/spark enough times, then enough carbon residue/pitting/burning or whatever could lead to reliability issues) ----- for the contactors/relay after some time. But not sure how long a time.
So ------- just in case ------ the various DC motor circuits out there typically do involve flyback diodes.
Sure ------ there's always the option to not use flyback diodes. We always have
choices.
I reckon that ------- as long as we know the benefits of having them ..... or what they're supposed to do ..... and what could happen if they're not used ..... then that is good.