Universal H-Bridge Driver

Hardware Design

Revision 1.0

  • Dual MOSFET complementary H-Bridge outputs (3A current per channel) provided by ZXMHC3F381N8 ICs, gates driven with pullup resistors and NPN darlingtons
  • AVR XMEGA D4 microcontroller
  • Two full-H outputs, one combined 4-channel output for a bipolar stepper motor, 2 servo motor outputs (replaces second H output)
  • 2 analog inputs
  • 2 TTL/servo inputs
  • input voltage monitor (UVLO, battery discharge protection)
  • 3.3V UART

Revision 1.2

  • Freescale MC33887 integrated 5A bridge/driver with all N-channel MOSFETS (one for each full bridge)
  • Dedicated TTL PWM channels
  • 5V-tolerant Schmitt triggers on TTL/servo inputs (74LVC2G14)
  • ESD suppression on logic inputs/outputs

Applications

  • PWM lamp dimmer (2 or 4 channels with external ground)
  • Reversibe DC motor driver (2 channels)
  • Bipolar stepper motor driver
  • Servo motor controller (2 channels)
  • Servo amp (2 channels with PWM input or 1 channel with analog input)
  • Brushless DC motor driver

Design Documents

Schematic

PCB Layout

2 layers, 3x1.5 inches.

Bill of Materials

Revision 1.0

Designator Quantity Description Package Manufacturer Part Number Supplier
U1 1 AVR XMEGA D4 microcontroller 16K TQFP-44 (.8mm) Atmel ATxmega16D4-AU Digikey ATXMEGA16D4-AURCT-ND
U2 1 LDO Regulator 3.3V .5A SOT223-4 TI UA78M33CDCYR Digikey 296-13424-1-ND
U3 1 7 Darlington Array SOIC-16 TI ULN2003ADR Digikey 296-1368-1-ND
U4-5 2 Complementary MOSFET H-Bridge SOIC-8 Diodes ZXMHC3F381N8 Digikey ZXMHC3F381N8DICT-ND
R1-6, R9 7 Resistor 10K 0805 Panasonic ERJ-6GEYJ103V Digikey P10KACT-ND
R7 1 Resistor 24K 1% 0805 Panasonic ERJ-6ENF2402V Digikey P24.0KCCt-ND
R8 1 Resistor 1K 1% 0805 Panasonic ERJ-6ENF1001V Digikey P1.00KCCT-ND
R10-15 6 Resistor 100R 0805 Panasonic ERJ-6GEYJ101V Digikey P100ACT-ND
R16-17 2 Resistor 11K5 1% 0805 Panasonic ERJ-6ENF1152V Digikey P11.5KCCT-ND
C1-2 2 Capacitor, Electrolytic 22uF 35V SMD can 5mm Panasonic EEE-1VA220WR Digikey PCE3953CT-ND
C3-4 2 Capacitor, Ceramic 10uF 35V 1206 Taiyo Yuden GMK316F106ZL-T Digikey 587-1352-1-ND
C5-6 2 Capacitor, Ceramic 100nF 0805 Murata GRM21BR71E104KA01L Digikey 490-1673-1-ND
D1 1 Diode, Schottky 5A 30V SOD128 NXP PMEG3050BEP Digikey 568-6519-1-ND
L2 1 Inductor 10uH 0805 Taiyo Yuden LBR2012T100K Digikey 587-2045-1-ND
J1, J7, J8 3 Header, Microfit 3mm 2-pos right angle   Molex 43650-0200 Digikey WM1860-ND
J2 1 Header, .1" 2-pos   Generic    
J3-6, J10-11 6 Header, .1" 3-pos   Generic    
J9, J12 2 Header, .1" 4-pos   Generic    
J13 1 Header, .1" dual row 6-pos shrouded   FCI 75869-131LF Digikey 609-2845-ND (or generic)

Revision 1.2

Designator Quantity Description Package Manufacturer Part Number Supplier
U1 1 AVR XMEGA D4 microcontroller 16K TQFP-44 (.8mm) Atmel ATxmega16D4-AU Digikey ATXMEGA16D4-AURCT-ND
U2 1 LDO Regulator 3.3V .5A SOT223-4 TI UA78M33CDCYR Digikey 296-13424-1-ND
U3-4 2 5.0A H-Bridge HSOP-20 Freescale MC3887APVW Digikey MC33887APVWR2CT-ND
U5 1 Dual Schmitt-Trigger Inverter SOT23-6 TI SN74LVC2G14DBVR Digikey 296-13010-1-ND
C1-2, C5-6 2 Capacitor, Ceramic 100nF 0805 Murata GRM21BR71E104KA01L Digikey 490-1673-1-ND
C3-4, C7 2 Capacitor, Ceramic 10uF 35V 1206 Taiyo Yuden GMK316F106ZL-T Digikey 587-1352-1-ND
C8-9, C12-13 2 Capacitor, Electrolytic 22uF 35V SMD can 5mm Panasonic EEE-1VA220WR Digikey PCE3953CT-ND
D1 1 Diode, Schottky 5A 30V SOD128 NXP PMEG3050BEP Digikey 568-6519-1-ND
FB1 1 Ferrite Bead 100Ω 0805 TBD TBD TBD
J1, J7, J8 3 Header, Microfit 3mm 2-pos right angle   Molex 43650-0200 Digikey WM1860-ND
J2 1 Header, .1" 2-pos   Generic    
J3-6, J10-11 6 Header, .1" 3-pos   Generic    
J12 1 Header, .1" 4-pos   Generic    
J13 1 Header, .1" dual row 6-pos shrouded   FCI 75869-131LF Digikey 609-2845-ND (or generic)
JP1 1 Resistor 0Ω (Jumper) 0805 Generic    
L1 1 Inductor 10μH 0805 Taiyo Yuden LBR2012T100K Digikey 587-2045-1-ND
R1-2 2 Resistor 47Ω 1% 0805 TBD TBD TBD
R7 1 Resistor 24K 1% 0805 Panasonic ERJ-6ENF2402V Digikey P24.0KCCt-ND
R8 1 Resistor 1K 1% 0805 Panasonic ERJ-6ENF1001V Digikey P1.00KCCT-ND
R16-17 2 Resistor 11K5 1% 0805 Panasonic ERJ-6ENF1152V Digikey P11.5KCCT-ND
R9 1 Resistor 10K 0805 Panasonic ERJ-6GEYJ103V Digikey P10KACT-ND

Notes

  • JP1 is for using servo input power supply to power the outputs, must be left unpopulated when using a separate supply.
  • J13 is for programming the AVR microcontroller, standard ISP/PDI pinout as used by Atmel tools.

Firmware

-- StephenCavilia 26 Nov 2012

ProjectForm edit

Name Universal H-Bridge Driver
Summary Dual MOSFET H-Bridge driver with analog and digital inputs
Preview
Components
Difficulty Expert
Author StephenCavilia
Topic revision: r6 - 28 Dec 2012, StephenCavilia
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CodenamePending? Send feedback