h bridge How can I implement regenerative braking of a DC motor
Not rated
26,417
Many electric vehicles can convert the momentum of the car into stored energy in batteries, instead of dissipating it as heat in the brake pads. This process is known as regenerative braking. It can be implemented using a motor controlled by a half-bridge or H-bridge configuration with PWM (Pulse Width Modulation) or similar techniques. For this analysis, a half-bridge configuration will be considered.
In a non-regenerative braking scenario, when the bridge output is high (S1 closed, S2 open), the motor accelerates to full speed. If the bridge is switched to a low state, the motor does not simply coast to a stop; it abruptly halts as if a brake has been applied. This occurs because a motor can be modeled as a series inductor and a voltage source. The torque produced by the motor is proportional to the current flowing through it. The voltage source, referred to as back-EMF, is proportional to the motor's speed. Consequently, a motor draws more current when under load or stalled, as decreased speed results in reduced back-EMF, which opposes the supply voltage less, leading to increased current draw.
When the motor is running at high speed, the back-EMF is nearly equal to the supply voltage minus the voltage drop across the resistance (R1). In this state, minimal current flows due to back-EMF countering most of the supply voltage. Upon switching the bridge to the low side, the inductor (L1) initially prevents an immediate change in current. However, after a brief time defined by the time constant of L1/R1, the back-EMF reverses the current direction, resulting in a significant current flowing in the opposite direction. This reversed current generates torque in the opposite direction, decelerating the mechanical load rapidly. As the motor speed decreases, so does the back-EMF and the resulting current, ultimately bringing the load to a stop.
During this process, a substantial amount of power is dissipated as heat in the motor's winding resistance and the H-bridge transistors. The current generated by the back-EMF can approach the stall current of the motor; hence, if the motor can operate stalled without overheating, it can effectively perform regenerative braking continuously. However, if the system remains in this state for too long, the current direction may reverse, leading to battery discharge and motor acceleration instead of braking.
To maintain effective regenerative braking, it is crucial to switch back to the state where the back-EMF can build current again, allowing for energy transfer into the battery. This cycle should be repeated quickly to maximize energy recovery. When using PWM to drive the motor, the inductance (L1) acts as a flywheel, averaging the applied voltage. For example, with a supply voltage of 10V and a PWM duty cycle of 80%, the effective voltage applied to the motor is averaged, allowing for smoother operation and effective energy recovery during regenerative braking.
The implementation of regenerative braking in electric vehicles not only enhances energy efficiency but also extends the range of electric vehicles by allowing the recovery of kinetic energy during deceleration.Many electric cars are able to convert the momentum of the car into stored energy in batteries, rather than convert it to useless heat at the brake pads. How does this work How can I implement it myself Probably you already have it, and just didn`t know it.
If you are driving a motor with a half-bridge or H-bridge and PWM or similar, you have regenerative braking. Let`s consider a half-bridge, since for this analysis we will run the motor in only one direction: First, let`s consider non-regenerative braking. If the bridge output is high (S1 closed, S2 open), the motor will accelerate to full speed. If the bridge is now switched low, the motor won`t just gently coast to a stop. It will slam to a stop, as if someone but a brake on it. Why A motor can be modelled as a series inductor and voltage source. The motor torque is proportional to current. The voltage source is called back-EMF, and it`s proportional to the speed of the motor. This is why a motor draws more current when it is loaded (or worst, stalled): with the speed decreased, the back-EMF is decreased, and it opposes the supply voltage less, resulting in higher current. Let`s redraw our schematic with that model, with values as if our motor is spinning at high speed: This motor is running at full speed.
We have a small current to overcome the friction in the motor, and the back-EMF is the supply voltage, less the voltage drop over R1. Not much current flows because the back-EMF cancels most of the supply voltage, so L1 and R1 see only 100mV.
Now what happens when we switch the bridge to the low side At first, nothing. L1 prevents an immediate change in current. However, this doesn`t last long, and very soon (defined by the time constant of $L_1 / R_1$, not more than a couple $ms$ typically) the back-emf (V1) has reversed the current, and now it`s going in the other direction. It`s also pretty huge, since now L1 and R1 don`t see the small difference of $V_{B1}-V_1$ (it was $100mV$), but now they see the full 9.
9V from V1 alone: We now have a large current flowing in the opposite direction. Torque is proportional to current, so now instead of applying a gentle clockwise force, just enough to overcome friction, we are applying a hard counterclockwise force, and the mechanical load is rapidly decelerated. As the speed of the motor decreases, so does V1, and consequently so does the current, and the torque with it, until the load is no longer spinning.
Right. If you look at the circuit again, we have 99A flowing through R1. $P_{R1} = (99A)2 1Omega = 980. 1W$. The kinetic energy of the load was converted into heat in the motor`s winding resistance (and in a practical circuit, also the H-bridge transistors). Some motors will be destroyed by this high power. Others may not. The current generated by the back-EMF is about as strong as the stall current of the motor, so if your motor can run stalled without overheating, it can brake like this all day.
Ah ha! We are charging the battery! Of course, if we stay like this very long (again, defined by time constant $L_1 / R_1$) then the current direction will reverse, and we will be uncharging our battery, and accelerating our motor, not braking it. So don`t do that. As long as we remain in this state, the current is decreasing. So, we switch back to the other state, with the bridge low, so the back-emf can build the current back up.
Then we switch again, and shoot some of it into the battery. Repeat, fast. Once you understand the principle of operation, you can make some simplifications. When a motor is being driven by PWM, the inductance of the motor (L1) works like a flywheel, averaging the voltage you apply to the motor. It`s as if you had a real flywheel, and spun it by striking it with a hammer repeatedly. So in this example our supply voltage is 10V. If our PWM duty cycle is 80%, we are effectively d 🔗 External reference
The drive circuits for unipolar stepper motors are typically straightforward. In their simplest configuration, a transistor or MOSFET is employed to control each section of the windings. The control signal must be supplied programmatically to the four windings of...
The circuit diagram below illustrates a schematic designed to control the speed of a low-power induction motor, commonly found in fans.
The schematic for controlling the speed of a low-power induction motor typically incorporates several key components that work together...
This circuit is constructed using standard components and can be easily adapted for computer control. By utilizing inexpensive surplus transistors and a stepper motor, the overall cost of the circuit can be maintained at under $10.
The described circuit is a...
The installation involves a solid-state OEM water depth sensor designed for continuous fluid level measurement. This sensor outputs a resistive signal that is inversely proportional to the liquid level: as the liquid level decreases, the output resistance increases, and...
LBl690 is a three-phase brushless DC motor drive control integrated circuit manufactured by Sanyo, a Japanese company. It is extensively utilized in both domestic and imported applications for broken wind and fresh air conditioning systems that require brushless DC drive...
The Spartan-3an board features external interfacing for stepper motors, as illustrated in the accompanying figure. The stepper motor is driven by the ULN2803A, which is a high-voltage, high-current Darlington transistor array. The ULN2803 serves as a driver for the...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more