BoardRepo electronics project sharing
100%
Open file
stepstick-dc-driver StepStick DC Driver view

Imported from GitHub: Pingouin-Centrale-Bot/StepStick-DC-Driver · commit 70cc6f8 · license CERN-OHL-W-2.0

Description

A dual DC/H-bridge driver, designed as a drop-in replacement for a standard stepstick.

README

StepStick DC Driver V2

A dual DC/H-bridge driver, designed as a drop-in replacement for a standard stepstick.
Can drive two DC motors, or be used as four independent half-bridges.
Designed around the TB67H453FNG IC. Datasheets can be found here.

iso top view iso bottom view

Specs

  • Dual H-Bridge : Can drive two DC loads in both directions, or four DC loads unidirectionally
  • 3.3A Max per channel
  • Accepts an input power voltage from 4.5v to 44v
  • Based around a 4 layer PCB, to improve heat dissipation (a heat sink and active cooling is highly recommended)
  • The maximum intensity can be configured with the trimmer, by adjusting Vref
  • Can be enabled or disabled with the en pin, just like a standard stepstick
  • Compatible with both 5v and 3.3v logic voltage (If using 5v to power VCC, you must adjust the trimmer so that Vref stays below 3.3v!)

Pinout

pinout

You can use the Pololu_Breakout_A4988 symbol from the default KiCad library, with its accompanying default footprint. Here is a pinout correspondence for the pins :

StepStick DC DriverPololu A4988
OB11B
OB21A
OA22A
OA12B
IA2DIR
IA1STEP
IB2RESET
IB1MS3
MSBMS2
MSAMS1
VCCVDD
NCSLEEP

[!WARNING] You need to add a 100uf capacitor between the VM and GND pins.

Configuration

If the resistors on the BOM are respected, the maximum intensity per channel can be configured by setting the Vref voltage :
Imax(A)=Vref(v) The driver will regulate the intensity to prevent it from getting higher.

The configuration is common to both H-bridge.

Control

Channel A and B are both controlled by their own two pins Ix1 and Ix2.
They are 3 ways to control the outputs, configured respectively by MSx :

MSxMode
LPhase/Enable control
HPWM control
Hi-z/OpenIndividual half bridge control

Phase/Enable control (MSx=Low)

Ix1Ix2Ox1Ox2Mode
LL/HLLShort Brake
HLLHReverse
HHHLForward

PWM control (MSx=High)

Ix1Ix2Ox1Ox2Mode
LLHi-ZHi-ZCoast
LHLHReverse
HLHLForward
HHLLShort brake

Individual half bridge control (MSx=Hi-z/Open)

IxxOxxMode
LLShort Brake
HHReverse

[!NOTE] Current limiting does not work in half bridge mode, so beware of currents!

All

If left open, a pin will be pulled down (considered L). If you do not want to use one of the channels, you can simply not connect the output to anything.

Fabrication notes

The constraints have been set up for Aisler's Beautiful Boards service.
It is advised to use a .8mm total thickness instead of the standard 1.6mm to improve the thermal dissipation.

Real world testing

Issues found

  • Silkscreen is inverted between IAx and IBx
  • The enable logic is reversed to what it should be if trying to emulate a stepstick

Notes

When an overcurrent event happens, the driver deactivates for 25us. In the event of a short circuit, this means the driver will be off most of the time, and so the measured intensity (mean intensity) will be very low, and so the driver cannot be used to regulate current.

Power dissipation

No overheating was found when used at .8A on one channel. Further testing is necessary.

StepStick DC Driver V1

See here.