|
|
|
|
|
by zkms
3331 days ago
|
|
The website mentions "supports power regeneration" but I couldn't find any reference to it inside the code. Can someone who knows about this explain how it works, both in the hardware and in the software? I'm super curious to be honest, I know some basic electronics but have never designed a circuit this complex before. |
|
In regeneration the motor is actively slowing down the speed (creating negative torque) by pushing energy into the battery. This is achieved in software by regulating a "negative" current, which causes the inverter to produce a voltage that is lower on average than the back EMF generated by the motor. Because the motor is effectively at a higher voltage than the inverter in this condition, current will flow from high voltage to low voltage and therefore flows back through the MOSFETs (and MOSFET body diodes) into the battery.
This is a bit of an over-simplification as brushless DC motors are actually excited by an AC waveform so the current is constantly reversing each half cycle, but the principle remains the same.