Can every voltage source accept fly-back diode's current?

A diode is used parallel to the motor (or inductive load) in order to prevent damage to the switch because of back-emf voltage. Now, that back-emf voltage actually produces a current and by using a fly-back diode, that current is going into the voltage source which maybe a battery.

1- Is there any consideration one should take into account because current sometimes goes into the source?
2- What kind of sources or battery chemistries can and can not tolerate such current?

• It's actually the current that produces the back emf voltage. Knowing that, would that make your question null in your eyes? – Andy aka Jul 29 '18 at 15:35
• @Andyaka No, Actually my problem was placing V_backemf above transistor (not inside the loop). It makes sense now. – Zeta.Investigator Jul 29 '18 at 15:53
• You can also read this article from wiki en.wikipedia.org/wiki/Flyback_diode – dirac16 Jul 29 '18 at 16:02

simulate this circuit – Schematic created using CircuitLab

Figure 1. OP's schematic redrawn with switch replacing the transistor and normal current flow from top to bottom (as is standard in schematics).

Now it should be clear that when SW1 opens no current can flow into the battery positive as no "return" current can flow from the battery negative.

Instead, think of the inductance as trying to maintain the current in the direction it was flowing. With the diode present it will circulate from the bottom of the motor back to the top until it decays to zero due to the power loss in the diode and the motor winding resistance.

Your concern is valid if regenerative braking is required. In this case the generated power is passed back to the battery (or power supply). The usual way of dealing with this in variable speed drives or servo drives is to monitor the DC bus voltage and if it exceeds a certain voltage to switch in a load resistor to burn off some power. But that's a different question ...

It's not going into the voltage source. The current circulates through the diode and motor coil resistance until the energy stored in the inductance is dissipated.

• At least most of it. – winny Jul 29 '18 at 15:29
• which part isn't? – Wouter van Ooijen Jul 29 '18 at 17:49