POLOLU DUAL MC33926 MOTOR DRIVER FOR RASPBERRY PI (ASSEMBLED) USER S GUIDE

Similar documents
Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+

Pololu Dual G2 High-Power Motor Driver for Raspberry Pi

USER S GUIDE POLOLU DRV8838 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USING THE MOTOR DRIVER

POLOLU MAX14870 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USER S GUIDE

DRV8801 Single Brushed DC Motor Driver Carrier

TB6612FNG Dual Motor Driver Carrier

The NMIH-0050 H-Bridge

USER S GUIDE POLOLU A4988 STEPPER MOTOR DRIVER CARRIER USING THE DRIVER POWER CONNECTIONS

High Capacity H-Bridge

DC Brushed Motor Controller Module EDP-AM-MC1

Application Note CDIAN003

ACE726C. 500KHz, 18V, 2A Synchronous Step-Down Converter. Description. Features. Application

Bill of Materials: PWM Stepper Motor Driver PART NO

Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

Simple-H User Manual

Adafruit 16-Channel PWM/Servo HAT for Raspberry Pi

DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION. 500KHz, 18V, 2A Synchronous Step-Down Converter

Power Pulse Modulator A High Performance Versatile Square Pulse Generator

1MHz,30V/1.5A High Performance, Boost Converter

Power Pulse Modulator A High Performance Versatile Square Pulse Generator

Tarocco Closed Loop Motor Controller

A7221A DC-DC CONVERTER/BUCK (STEP-DOWN) 600KHz, 16V, 2A SYNCHRONOUS STEP-DOWN CONVERTER

Adafruit 16-channel PWM/Servo Shield

LD /01/2013. Boost Controller for LED Backlight. General Description. Features. Applications. Typical Application REV: 00

Qik 2s12v10 User's Guide

Functional description of BSD-01v2 Module

A3901. Dual Full Bridge Low Voltage Motor Driver

Qik 2s12v10 User's Guide

DeviceCraft Revision #1 11/29/2010

7I30 MANUAL Quad 100W HBridge

40 Amp Digital Bidirectional PWM Motor Controller with Regenerative Braking BIDIR-340-DR

MEGORAS Technology - TB6600 STEP MOTOR Driver.

Simple Bridge Stand Alone H-Bridge Data Sheet Revision 1 August 2005

Analog Servo Drive 30A20AC

LD7889A 3/29/ Channel LED Backlight Driver. General Description. Features. Applications. Typical Application REV: 00

A4950. Full-Bridge DMOS PWM Motor Driver. Description

Techcode TD8213. High Efficiency 1.2MHz Step Up Regulator. Features. General Description. Applications. Pin Assignments DATASHEET

Functional description of BSD-01 Module. Features

Tech Tutorials > H-Bridge

HB-25 Motor Controller (#29144)

7I54 MANUAL Six channel 40V 3A Servo motor drive

RB-Pol-116 Pololu D24V6ALV Step-Down Voltage Regulator Overview

PowerAmp Design. PowerAmp Design PAD20 COMPACT HIGH VOLTAGE OP AMP

LD /07/ Channel LED Backlight Driver. General Description. Features. Applications. Typical Application REV: 05

Peak Current. Continuous Current. See Part Numbering Information on last page of datasheet for additional ordering options.

High Voltage Monolithic LED Driver DESCRIPTION

A4954 Dual Full-Bridge DMOS PWM Motor Driver

HM V 2A 500KHz Synchronous Step-Down Regulator

LD5857 4/15/2014. Boost Controller for LED Backlight. General Description. Features. Applications. Typical Application REV: 00

SR A, 30V, 420KHz Step-Down Converter DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION

BAP1551 Gate Drive Board

User Manual Rev. 1811

HM V 3A 500KHz Synchronous Step-Down Regulator

Universal Input Switchmode Controller

Analog Servo Drive 25A20DD

QUASAR PROJECT KIT # /24 HOUR GIANT CLOCK

PHASE BRUSHLESS DC MOTOR CONTROLLER/DRIVER FEATURES

Analog Servo Drive 20A20

Analog Servo Drive 100A40

DT V 1A Output 400KHz Boost DC-DC Converter FEATURES GENERAL DESCRIPTION APPLICATIONS ORDER INFORMATION

LM2935 Low Dropout Dual Regulator

HY2596A 3A 150kHz DC-DC BUCK REGULATOR

Hypex Electronics BV Kattegat JP Groningen, The Netherlands

+Denotes lead-free and RoHS compliant.

DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION

Bi-Directional DC Motor Speed Controller 5-32Vdc (3166v2)

DM8010 tm. Hardware Reference Manual. Document Revision B3 May 16, 2018

STPDRV-1 Stepper Motor Driver Data Sheet (R1.0) BFF Design Ltd

Adafruit 16-channel PWM/Servo Shield

PARAMETER CONDITION VALUE (TYPICAL) PVIN Power Input Voltage Range Operating 20V - 28V. VIN Pin Input Voltage Range Operating 8V - 14V

MD03-50Volt 20Amp H Bridge Motor Drive

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches

EM5812/A. 12A 5V/12V Step-Down Converter. Applications. General Description. Pin Configuration. Ordering Information. Typical Application Circuit

Constant Current Switching Regulator for White LED

High Performance, Constant Current Switching Regulator For 8PCS White LED In Series

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

Adjustable Current Limited Power Distribution Switch

PowerAmp Design. PowerAmp Design PAD117A RAIL TO RAIL OPERATIONAL AMPLIFIER

SGM2553/SGM2553D Precision Adjustable Current Limited Power Distribution Switches

Features. Applications

BASIC-Tiger Application Note No. 059 Rev Motor control with H bridges. Gunther Zielosko. 1. Introduction

High Performance, Constant Current Switching Regulator For White LED

MP V, 5A Dual Channel Power Half-Bridge

Analog Servo Drive 30A8

MP2314 High Efficiency 2A, 24V, 500kHz Synchronous Step Down Converter

HM8113B. 3A,4.5V-16V Input,500kHz Synchronous Step-Down Converter FEATURES GENERAL DESCRIPTION APPLICATIONS TYPICAL APPLICATION

User s Manual. ACPL-339J Isolated Gate Driver Evaluation Board. Quick-Start. Testing Either Arm of The Half Bridge Inverter Driver (without IGBT)

Universal High Brightness LED Driver

2.5A 150KHZ PWM Buck DC/DC Converter TD1507. Features

CEP8101A Rev 1.0, Apr, 2014

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

Single-Channel Power Distribution Switch

MP A, 36V, 700KHz Step-Down Converter with Programmable Output Current Limit

Dual-Channel Power Distribution Switch

High Current DC Motor Driver Manual

MP V, 3.2A, H-Bridge Motor Driver

Parallel Configuration of H-Bridges

CEP8113A Rev 2.0, Apr, 2014

Advanced Regulating Pulse Width Modulators

DUAL STEPPER MOTOR DRIVER

Transcription:

POLOLU DUAL MC33926 MOTOR DRIVER FOR RASPBERRY PI (ASSEMBLED) DETAILS FOR ITEM #2756 USER S GUIDE This version of the motor driver is fully assembled, with a 2 20-pin 0.1 female header (for connecting to the Raspberry Pi s 40-pin GPIO header) and a six-pin strip of 5 mm terminal blocks (for motor and power connections) soldered in. (See item #2755 for a kit version with connectors included but not soldered in.) Pololu Dual MC33926 Motor Driver for Raspberry Pi (assembled version) with included hardware. The motor driver ships with a set of four M2.5 standoffs (11 mm length), screws, and nuts that can be used to secure the board to the Raspberry Pi at the proper height 1

for the GPIO connector. If you decide not to use the standoffs, be careful not to allow the motor and power connections to short against the Raspberry Pi s HDMI connector. Shorting blocks and 0.1 male headers (not included) can be used to make some of the more advanced optional modifications to the board, such as remapping the control pins. A Raspberry Pi is not included. USING THE MOTOR DRIVER BOARD This section explains how to use the dual MC33926 motor driver add-on board and provides some basic information about the motor driver pins to help get you started. However, we strongly encourage you to consult the MC33926 datasheet (1MB pdf) for detailed pin descriptions, truth tables, and electrical characteristics. This expansion board is essentially a breakout board for two MC33926 motor driver ICs with additional logic circuitry to simplify the motor control, so the datasheet is your best resource for answering questions not covered here. In the board s default state, the motor driver outputs and the Raspberry Pi are powered separately, though they share a common ground and the board s 3.3 V logic supply is provided by the Raspberry Pi. When used this way, the Raspberry Pi must be powered via its USB Micro-B receptacle, and the motor driver board must be supplied with 5 V 2

to 28 V through its large VIN and GND pads. However, the motor driver board provides a set of three through-holes where you can conveniently connect an appropriate voltage regulator, allowing the motor supply to also power the Raspberry Pi (see the Powering the Raspberry Pi from the motor driver board section below). A reverse-voltage protection circuit helps prevent damage to the board in case the motor power supply is connected backward. The reverse-protected input voltage can be accessed for use in other circuits through the two pins labeled VOUT on the left side of the board. The board includes logic gates that enable drive/brake operation of the MC33926 drivers with only two control pins per motor (PWM and direction). As drive/brake operation usually provides a more linear relationship between PWM duty cycle and motor speed than drive/coast operation, we generally recommend using drive/brake operation when possible. Driving motors with a #2756 dual motor driver on a on a Raspberry Pi Model B+ or Pi 2 Model B. A step-down regulator provides 5 V to the Raspberry Pi. 3

DEFAULT PIN MAPPINGS This table shows how the Raspberry Pi s GPIO pins are used to interface with the motor drivers: RPi GPIO pin Motor driver pin Description 5 Motor 1 SF Status flag output: When the driver is functioning 6 Motor 2 SF normally, this pin should be pulled high by the Raspberry Pi. In the event of a driver fault, the driver IC drives SF low. If either of the disable pins (D1 or D2) is disabling the outputs, SF will also be low. 12 Motor 1 PWM Motor speed input: A PWM (pulse-width modulation) 13 Motor 2 PWM signal on this pin corresponds to a PWM output on the corresponding driver s motor outputs. When this pin is low, the motor brakes low. When it is high, the motor is on. The maximum allowed PWM frequency is 20 khz. 22 Motor 1 EN Enable input: This pin is internally pulled low, putting the 23 Motor 2 EN motor driver IC into a low-current sleep mode and disabling the motor outputs (setting them to high impedance). EN must be driven high to enable the motor driver. 24 Motor 1 DIR Motor direction input: When DIR is low, motor current 25 Motor 2 DIR flows from output A to output B; when DIR is high, current flows from B to A. 4

SIMPLIFIED MOTOR CONTROL TRUTH TABLE This table shows how the drivers control inputs affect the motor outputs: Inputs Outputs EN DIR PWM MxA MxB operating mode 1 0 PWM PWM (H/L) L forward/brake at speed PWM % 1 1 PWM L PWM (H/L) reverse/brake at speed PWM % 1 X 0 L L brake low (outputs shorted to ground) 0 X X Z Z coast (outputs off) REMAPPING PINS All of the Raspberry Pi s GPIO pins are broken out along a row of numbered throughholes just below the 40-pin GPIO connector. Each GPIO pin used by the board is connected from this row to the corresponding motor driver pin by a trace on the underside of the board spanning the pair of holes. If you want to remap one of these motor driver pins, you can cut its trace with a knife and then run a wire from the lower hole to a new GPIO pin. Bottom view of the dual MC33926 motor driver for Raspberry Pi, showing cuttable traces. 5

Note that the default pin mappings were chosen so that the Raspberry Pi s default GPIO pull-ups and pull-downs match the direction the motor driver pins are or should be pulled (up for SF, down for others); if you remap the motor driver pins without paying attention to this, you might encounter issues with pins being pulled the wrong way. See the Raspberry Pi documentation for more about the default GPIO states. USING ADDITIONAL MC33926 PINS The rest of the MC33926 inputs and outputs are not connected to the Raspberry Pi, but they are accessible through their own through-holes in case you want to use them in a more advanced application of the motor drivers. The board ties some of the inputs high or low through cuttable traces, similar to the way the remappable pins are connected, and you should cut the trace before connecting each input to anything else. This table shows the default configuration of the additional pins: Motor Description Default configuration on board driver pin D1 Disable input 1(active Tied low (inactive) through cuttable trace high) D2 Disable input 2 (active Tied high (inactive) through cuttable trace low) SLEW Slew rate selection Tied high to select fast slew rate through cuttable trace INV Input invert Internally pulled low (non-inverted) FB Feedback (current sense output) Connected to sense resistor and low-pass filter to output approx. 360 mv/a For more information about these pins and how they can be used, refer to the MC33926 datasheet (1MB pdf). 6

POWERING THE RASPBERRY PI FROM THE MOTOR DRIVER BOARD On the left side of the expansion board is a set of three pins surrounded by a box labeled 5V Regulator. The VOUT (REG IN) pin provides access to the driver board s motor supply voltage after reverse-voltage protection, while the REG OUT pin is connected to the Raspberry Pi s 5V power rail through an ideal diode circuit. If a suitable voltage regulator is connected to these three pins, it can generate 5 V to power the Raspberry Pi from the board s motor supply voltage. We suggest using our D24V5F5 or D24V10F5 switching step-down regulators, which work at input voltages up to the 28 V maximum of the MC33926 and can supply up to 500 ma or 1 A of current, respectively, to the Raspberry Pi. D24V10F5 step-down regulator connected to an assembled Pololu Dual MC33926 Motor Driver for Raspberry Pi. When adding a voltage regulator to the motor driver board, take care to orient it correctly: note that the motor driver board s VOUT (REG IN) pin should connect to the regulator s VIN pin, while the regulator s VOUT pin should connect to the motor driver board s REG OUT pin. 7

There are a few considerations to keep in mind when back-powering the Raspberry Pi through a voltage regulator in this way: Your motor power supply must be an acceptable voltage for both the regulator and the MC33926 driver ICs. The regulator should be able to handle the power requirements of the Raspberry Pi. The Model B+ typically uses a few hundred milliamps at 5 V, although its current draw can exceed 1 A if it is also supplying power to USB devices and other peripherals. While a linear regulator like a 7805 might fit in the regulator mounting location, it could generate excessive heat or shut down at higher input voltages and output currents. We recommend using a switching regulator like the ones mentioned above. The ideal diode circuit makes it safe to have a different power supply connected to the Raspberry Pi through its USB Micro-B receptacle while the motor driver add-on and regulator are connected and powered. REAL-WORLD POWER DISSIPATION CONSIDERATIONS Each MC33926 motor driver IC has a maximum continuous current rating of 5 A. However, the actual current it can deliver depends on how well you can keep it cool. The motor driver board is designed to draw heat out of the motor driver chips, but performance can be improved by adding heat sinks. Unlike many other H-bridges, the MC33926 has a feature that allows it to gracefully reduce current as the current exceeds 5 A or as the chip temperature approaches its limit. This means that if you push the chip close to its limit, you will see less power to the motor, but it might allow you to avoid a complete shutdown. We tested this motor driver board at room temperature with no forced air flow or heat sinks. In our tests, the board was able to deliver 5 A to both channels simultaneously for about 10 s before the thermal protection started reducing the current. The board delivered 4 A on both channels for about 40 s, and at 3 A it was able to operate 8

continuously for over 10 minutes without triggering current limiting or thermal protection. Our tests were conducted at 100% duty cycle; PWMing the motor will introduce additional heating proportional to the frequency. This product can get hot enough to burn you long before the chip overheats. Take care when handling this product and other components connected to it. SCHEMATIC DIAGRAM A schematic diagram is available as a PDF: Pololu Dual MC33926 Motor Driver for Raspberry Pi schematic diagram (378k pdf). 9