The context describes two methods for handling the "recirculation current" that arises when the drive current to an inductive load like a DC motor winding is interrupted during PWM operation. This current must continue to flow due to the inductor's property of resisting sudden changes in current.
Let's break down Fast Decay and Slow Decay:
1. Recirculation Current (Flyback Current)
When a motor winding is energized, it stores energy in its magnetic field. When the power switch (e.g., a MOSFET in the H-bridge) supplying current is turned off, the magnetic field collapses. This collapse induces a large voltage (often called a "flyback voltage" or "back-EMF") that tries to maintain the current flow. If no path is provided, this voltage can become very high, potentially damaging the switching components. Recirculation (or freewheeling) diodes are typically used to provide a safe path for this current, allowing it to dissipate energy without generating damaging voltage spikes.
2. Fast Decay Mode
- Mechanism: In fast decay mode, all active switches in the H-bridge are turned OFF.
- Current Path: The recirculation current flows through the body diodes (or external freewheeling diodes) of the opposite MOSFETs in the H-bridge and back to the power supply rails (or across the power supply).
- For example, if current was flowing from the positive rail through a top-left switch, into the motor, and out through a bottom-right switch to ground, when both switches turn off, the motor's voltage polarity reverses. The current will then flow from the motor's original "low" side, through the body diode of the top-right MOSFET (to the positive rail), and from the positive rail, through the body diode of the bottom-left MOSFET (to the motor's original "high" side). This effectively creates a path that "bucks" the current by pushing it against the supply voltage.
- Voltage across Winding: The motor winding sees a large negative voltage (approximately the supply voltage plus two diode drops, or more generally, a voltage that forces current back towards the supply).
- Decay Speed: As the name suggests, the current decays very quickly because the energy stored in the inductor is rapidly returned to the power supply or dissipated across the diodes and power supply resistance.
- Braking Effect: This mode provides a strong dynamic braking effect on the motor because energy is actively removed from the winding.
- Pros: Fast current decay, precise current control, strong braking.
- Cons: Can induce larger voltage spikes on the power supply, potentially more EMI (electromagnetic interference) due to rapid current changes, can be less efficient if the returned energy cannot be utilized.
3. Slow Decay Mode
- Mechanism: In slow decay mode, the motor winding is shorted through two active switches (usually two low-side switches or two high-side switches) or through a combination of a switch and a diode, allowing the current to circulate within the H-bridge and the motor winding itself.
- Current Path:
- Example (most common): If current was flowing from top-left to bottom-right, the top-left switch is turned OFF. The bottom-left switch and bottom-right switch (or one of them and a diode) are turned ON or kept ON. This creates a loop where the current flows from the motor's positive terminal, through the bottom-left switch, to ground, then from ground, through the bottom-right switch, and back to the motor's negative terminal.
- Alternatively, both high-side switches could be turned on to short the winding to the positive rail.
- Voltage across Winding: The motor winding sees a very small voltage drop, primarily due to the resistive losses in the motor windings and the ON-resistance (Rds(on)) of the conducting MOSFETs. It's essentially a short circuit.
- Decay Speed: The current decays slowly because the only resistance in the loop is the winding's inherent resistance and the MOSFETs' ON-resistance. Energy is dissipated as heat in these components.
- Braking Effect: This mode provides a much milder braking effect (more like the motor "coasting" to a stop) compared to fast decay, as energy is only slowly dissipated.
- Pros: Smoother operation, less current ripple, less stress on the power supply, lower EMI.
- Cons: Slower current decay, less precise current control in some applications, less aggressive braking.
Summary Table:
| Feature | Fast Decay | Slow Decay |
|---|
| H-bridge State | All switches OFF | Winding shorted (e.g., 2 low-side ON) |
| Current Path | Through body diodes to power supply rails | Through active switches (and winding) |
| Decay Speed | Fast | Slow |
| Braking | Strong (dynamic braking) | Mild (coasting) |
| Voltage | Large negative voltage (Vcc + V_diode) | Small voltage (I * R_total) |
| Energy | Returned to power supply (or dissipated) | Dissipated as heat in motor/MOSFETs |
| Noise/EMI | Potentially higher | Lower |
| Control | Simpler (just turn off) | Requires specific switch activation |
The choice between fast and slow decay depends on the specific application requirements, such as the desired current ripple, motor braking characteristics, efficiency, and EMI considerations. Many motor drivers can dynamically switch between these modes or use a hybrid approach (e.g., mixed decay) to optimize performance.