Bidirectional DC-DC converter fed drive for electric vehicle system with speed variation

Photo of author

By Jackson Taylor

Home » Hardware » Bidirectional DC-DC converter fed drive for electric vehicle system with speed variation

As an Amazon Associate we earn from qualifying purchases.

An electric vehicle needs to do two things with its battery: send power to the motor when it accelerates, and take power back when it slows down. A bidirectional DC-DC converter fed drive does both with one power stage. This article explains how the system works, how the motor speed is varied, and what to look at when you study or build one. The video above shows the drive in operation.

What is a bidirectional DC-DC converter?

A normal DC-DC converter moves power in one direction only, from an input to an output. A bidirectional converter can move power either way. It uses switches that can be controlled in both directions, usually two MOSFETs or IGBTs with an inductor between them, instead of a single switch and a diode.

Depending on which switch is being modulated, the same circuit acts as:

Hardware Hack

Stop Buying New Batteries for Your Tech

Electronics are expensive, but their power sources don't have to be. Discover the simple engineering trick to recondition dead batteries and bring your gadgets back to 100% capacity.

Watch the Free Video
  • A buck (step-down) converter when power flows from the higher-voltage side to the lower-voltage side.
  • A boost (step-up) converter when power flows from the lower-voltage side to the higher-voltage side.

This is what makes it a good fit for an electric vehicle, where the battery voltage and the motor-side voltage are rarely the same.

How the drive system is arranged

A typical bidirectional DC-DC converter fed drive has these parts:

  1. Battery or DC source that stores the energy for the vehicle.
  2. Bidirectional DC-DC converter that adjusts the voltage between the battery and the motor side.
  3. Motor, often a DC motor in small educational and prototype setups. Larger vehicles usually add an inverter to drive an AC or brushless machine.
  4. Gate driver and controller, such as a microcontroller, that generates the PWM signals for the switches.
  5. Feedback sensors for speed, voltage or current, so the controller can correct itself.

Motoring and regenerative braking

Motoring (driving) mode

When the driver asks for speed, power flows from the battery to the motor. The converter adjusts the voltage that reaches the motor. In a step-down arrangement the battery voltage is reduced, and in a step-up arrangement it is raised. For more on the step-up direction, see the boost mode operation of this drive.

See also
COLOR SENSOR -TCS3200

Regenerative braking mode

When the vehicle slows down or goes downhill, the motor turns into a generator. Its voltage is usually lower than the battery voltage at this point, so the converter has to boost it before it can push current back into the battery. The converter then works in the opposite direction from motoring, and some of the kinetic energy is stored instead of being lost as heat in the brakes.

How much energy is actually recovered depends on the battery’s charge limits, the motor, converter losses and driving conditions. It is a useful gain, but it does not replace the mechanical brakes.

How speed variation works

The speed of a DC motor is closely tied to the voltage across its armature. If you change that voltage, you change the speed. The converter does this with PWM (pulse width modulation).

  • The controller switches the converter at a fixed frequency.
  • The duty cycle is the fraction of each cycle the switch is on.
  • A higher duty cycle means a higher average output voltage, so the motor runs faster.
  • A lower duty cycle gives a lower average voltage and a lower speed.

In an open-loop setup, the duty cycle is simply set by a potentiometer or a throttle input. In a closed-loop setup, a speed sensor feeds back to a PI controller, which adjusts the duty cycle to hold the target speed even when the load changes. If you want to see how feedback is applied to a converter, our closed-loop boost converter simulation is a good starting point.

Why use a bidirectional converter in an EV drive

  • Energy recovery: power can return to the battery during braking.
  • Voltage matching: the battery and the motor side can operate at different voltages.
  • Smooth speed control: varying the duty cycle changes speed without wasting power in a series resistor.
  • One power stage for both directions: fewer parts than building a separate charger-style circuit for regeneration.
See also
Z - SOURCE INVERTER - DESIGN

Design points to check

Inductor and switching frequency

The inductor value sets the current ripple. A higher switching frequency allows a smaller inductor, but it also increases switching losses. Designers balance the two.

Switching losses and efficiency

Hard switching wastes energy every time a switch changes state. Soft-switching methods reduce this loss. If you want to look at that approach, see this soft-switching bidirectional DC-DC converter that uses a lossless active snubber.

Isolated or non-isolated topology

Non-isolated converters are simpler and smaller, which suits many prototypes. Isolated ones add a transformer for safety and larger voltage ratios. Examples of non-isolated designs include a non-isolated bidirectional ZVS-PWM active clamped converter and a non-isolated converter with high voltage gain.

Sustainable Tech

Keep Toxic E-Waste Out of Landfills

Don't throw away your failing laptop, phone, or car batteries. Learn how to recondition them at home in just a few hours. It's better for the planet—and your wallet.

Learn How It Works

Protection

Add current limiting, battery voltage limits and dead time between the two switches. Without dead time, both switches can conduct at once and short the supply.

Simulation before hardware

Most students and hobbyists test the drive in MATLAB/Simulink first. A simulation lets you check the duty cycle, motor speed response and the direction of current in both modes before you connect a real battery. Once the waveforms look right, you can move to a small low-voltage prototype and scale up carefully.

Frequently asked questions

What does bidirectional mean in a DC-DC converter?

It means power can flow in both directions through the converter. It can charge the battery from the motor side and supply the motor from the battery.

How is motor speed changed in this drive?

By changing the PWM duty cycle. This changes the average voltage applied to the motor, and a DC motor’s speed follows that voltage.

Does regenerative braking make an EV fully efficient?

No. Some energy is recovered, but losses occur in the motor, converter and battery, and the battery can only accept so much charge at once. Regeneration improves efficiency but does not remove losses.

Can I build this with a microcontroller?

Yes, for small-scale projects. A microcontroller can produce the PWM signals and read speed or current feedback, as long as you use proper gate drivers and protection.

See also
A Transformer-less High-Gain Boost Converter With Input Current Ripple Cancelation at a Selectable Duty Cycle

Revive Your Dead Electronics

Got a drawer full of dead gadgets or a failing car battery? Instead of paying a premium for replacements, use this simple trick to easily recondition them right from home.

See How It Works