Pololu Dual G2 High-Power Motor Driver for Raspberry Pi

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

Pololu DRV8835 Dual Motor Driver Kit for Raspberry Pi B+

DRV8801 Single Brushed DC Motor Driver Carrier

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

TB6612FNG Dual Motor Driver Carrier

Simple-H User Manual

DeviceCraft Revision #1 11/29/2010

High Capacity H-Bridge

A4950. Full-Bridge DMOS PWM Motor Driver. Description

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

7I30 MANUAL Quad 100W HBridge

A4954 Dual Full-Bridge DMOS PWM Motor Driver

PHASE BRUSHLESS DC MOTOR CONTROLLER/DRIVER FEATURES

The NMIH-0050 H-Bridge

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

A3901. Dual Full Bridge Low Voltage Motor Driver

MP V, 3.2A, H-Bridge Motor Driver

Designing with the Si9976DY N-Channel Half-Bridge Driver and LITTLE FOOT Dual MOSFETs

A5957. Full-Bridge PWM Gate Driver PACKAGE:

DUAL STEPPER MOTOR DRIVER

Figure 1. DMC 60 components.

A3950. DMOS Full-Bridge Motor Driver

MLX83100 Automotive DC Pre-Driver EVB83100 for Brushed DC Applications with MLX83100

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

150mA, Low-Dropout Linear Regulator with Power-OK Output

AMT Quad DMOS Full-Bridge PWM Motor Driver FEATURES AND BENEFITS DESCRIPTION

A3984. DMOS Microstepping Driver with Translator

A3995. DMOS Dual Full Bridge PWM Motor Driver

AMT Dual DMOS Full-Bridge Motor Driver PACKAGE: AMT49702 AMT49702

NJM3777 DUAL STEPPER MOTOR DRIVER NJM3777E3(SOP24)

A3949. DMOS Full-Bridge Motor Driver. Features and Benefits Single supply operation Very small outline package Low R DS(ON)

Transform. Isolate. Regulate

A3916. Dual DMOS Full-Bridge Motor Driver. PACKAGEs: A3916 A3916

SGM2553/SGM2553D Precision Adjustable Current Limited Power Distribution Switches

System Board 6219 MAXREFDES89#: MAX14871 Full-Bridge DC Motor Driver MBED Shield

Application Note CDIAN003

DC Brushed Motor Controller Module EDP-AM-MC1

A Phase Sinusoidal Motor Controller. Description

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

A3982. DMOS Stepper Motor Driver with Translator

Adafruit 16-channel PWM/Servo Shield

PART MAX1658C/D MAX1659C/D TOP VIEW

OUTPUT UP TO 300mA C2 TOP VIEW FAULT- DETECT OUTPUT. Maxim Integrated Products 1

DESCRIPTION 50 V 50 V 50 V CP1 CP2 VCP VBB VBB. SLEEPn OUT1A OUT1B SENSE1 PHASE1 I01 A5989 I11 PHASE2 I02 I12 OUT2A OUT2B SENSE2

AMP-19520/40. Multi-axis Brushless/Brush Servo Amplifier. By Galil Motion Control, Inc. Rev. 1.0d

BLOCK DIAGRAM OF THE UC3625

A3987. DMOS Microstepping Driver with Translator

EUP /8.4A Switch Mode Li-Ion/Polymer Battery Charger

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

NJM3773 DUAL STEPPER MOTOR DRIVER

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

Functional description of BSD-01 Module. Features

Functional description of BSD-01v2 Module

Designated client product

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

Qik 2s12v10 User's Guide

LM5034 High Voltage Dual Interleaved Current Mode Controller with Active Clamp

HB-25 Motor Controller (#29144)

Adafruit 16-Channel PWM/Servo HAT for Raspberry Pi

NJM37717 STEPPER MOTOR DRIVER

0.7 A 6.8 V Dual H-Bridge Motor Driver

Qik 2s12v10 User's Guide

A4970. Dual Full-Bridge PWM Motor Driver

Tarocco Closed Loop Motor Controller

LMD A, 55V H-Bridge

MIC29150/29300/29500/29750 Series

LSI/CSI LS7560N LS7561N BRUSHLESS DC MOTOR CONTROLLER

Features. +12V to +36V MIC nf. High-Side Driver with Overcurrent Trip and Retry

Analog Servo Drive 20A20

SRPE-50E1A0 Non-Isolated DC-DC Converter

Analog Servo Drive 30A20AC

75 VOLT 8 AMP MOSFET H-BRIDGE PWM MOTOR DRIVER/AMPLIFIER

PowerAmp Design. PowerAmp Design PAD20 COMPACT HIGH VOLTAGE OP AMP

2A, 23V, 380KHz Step-Down Converter

Pin # Pin Name Pin Type Description. 4 GND Signal ground Signal ground pin. Connect ADC and DAC grounds to here.

Analog Technologies. Dual Mode Laser Driver LDA1-CP1-D

UNISONIC TECHNOLOGIES CO., LTD US2076 Preliminary CMOS IC

SA305 FEATURES APPLICATIONS DESCRIPTION EXTERNAL CONNECTIONS BLOCK DIAGRAM

SGM2551A/SGM2551C Precision Adjustable Current Limited Power Distribution Switches

ML4818 Phase Modulation/Soft Switching Controller

LD7523 6/16/2009. Smart Green-Mode PWM Controller with Multiple Protections. General Description. Features. Applications. Typical Application REV: 00

Discontinued Product

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

A5976. Microstepping DMOS Driver with Translator

Power Pulse Modulator A High Performance Versatile Square Pulse Generator

PowerAmp Design. PowerAmp Design PAD117A RAIL TO RAIL OPERATIONAL AMPLIFIER

DESCRIPTION. Functional Block Diagram A4915 VBB. Charge Pump Regulator VREG. Bootstrap Monitor CA CB CC GHA GHB GHC SA SB SC C BOOTA.

A3909. Dual Full Bridge Motor Driver. Description. Features and Benefits. Packages: Functional Block Diagram

LM5032 High Voltage Dual Interleaved Current Mode Controller

APPLICATION NOTE. ATA6629/ATA6631 Development Board V2.2 ATA6629/ATA6631. Introduction

High-Voltage, 3-Channel Linear High-Brightness LED Driver with Open LED Detection

LED Driver 4 click. PID: MIKROE 3037 Weight: 25 g

Universal Input Switchmode Controller

IX2127NTR. High-Voltage Power MOSFET & IGBT Driver INTEGRATED CIRCUITS DIVISION. Description. Driver Characteristics. Features.

BL8573 FEATURES DESCRIPTION APPLICATIONS TYPICAL APPLICATION. 500mA/1.5A Standalone Linear Li-Ion Battery Charge

MDM5253 DC Motor Driver Module with Position and Current Feedback User Manual

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

Features. General Description. Component List

Features MIC2194BM VIN EN/ UVLO CS OUTP VDD FB. 2k COMP GND. Adjustable Output Buck Converter MIC2194BM UVLO

Transcription:

Pololu Dual G2 High-Power Motor Driver for Raspberry Pi 24v14 /POLOLU 3752 18v18 /POLOLU 3750 18v22 /POLOLU 3754 This add-on board makes it easy to control two highpower DC motors with a Raspberry Pi. Its twin discrete MOSFET H-bridges support a wide operating voltage range and are efficient enough to deliver a continuous current without a heat sink. The drivers offer basic current limiting functionality, and they accept ultrasonic PWM frequencies for quieter operation. The default pin mappings make it easy to get started, but they can be customized for more specialized applications.

These G2 dual high-power motor drivers are add-on boards for the Raspberry Pi, featuring pairs of discrete MOSFET H-bridges designed to drive two large brushed DC motors. They are designed to mount on and plug into compatible Raspberry Pi boards (Model B+ or newer), including the Pi 3 Model B and Model A+. Three versions are available so you can pick the one with the appropriate operating voltage range and output current capabilities for your project: DUAL G2 HIGH- POWER MOTOR DRIVER 18V22 FOR RASPBERRY PI DUAL G2 HIGH- POWER MOTOR DRIVER 18V18 FOR RASPBERRY PI DUAL G2 HIGH- POWER MOTOR DRIVER 24V14 FOR RASPBERRY PI ABSOLUTE MAX INPUT VOLTAGE: 30 V 36 V* MAX NOMINAL BATTERY VOLTAGE: 18 V 28 V MAX CONTINUOUS CURRENT PER CHANNEL: 22 A 18 A 14 A DEFAULT ACTIVE CURRENT- LIMITING THRESHOLD: 60 A 50 A 40 A * 40 V if regulator is disconnected The minimum operating voltage for all four versions is 6.5 V, while the maximum operating voltages are given in the above table. The board also includes an integrated 5 V, 2.5 A switching step-down regulator that can be used to power the Raspberry Pi it is plugged into, enabling operation from a single power supply.

The driver s default configuration uses six GPIO pins to control the motor drivers, making use of the Raspberry Pi s hardware PWM outputs, and it uses two additional pins to read status outputs from the drivers. However, the pin mappings can be customized if the defaults are not convenient, and pins for current sensing and limiting are accessible on the board for more advanced applications. Note that this motor driver add-on is designed specifically for newer versions of the Raspberry Pi with 40-pin GPIO headers, including the Model B+, Model A+, Raspberry Pi 2 Model B, and Raspberry Pi 3 Model B. The board matches the Raspberry Pi HAT (Hardware Attached on Top) mechanical specification, although it does not conform to the full HAT specifications due to the lack of an ID EEPROM. (A footprint for adding your own EEPROM is available for applications where one would be useful; pull-ups on SDA, SCL, and WP are provided.) It is not practical to use this expansion board with the original Raspberry Pi Model A or Model B due to differences in their pinout and form factor. Features common to all versions PWM operation up to 100 khz Motor indicator LEDs show what the outputs are doing even when no motor is connected Integrated 5 V, 2.5 A switching step-down voltage regulator powers the Raspberry Pi base for single-supply operation Python library makes it easy to get started using this board as a motor driver expansion board GPIO pin mappings can be customized if the default mappings are not convenient Current sensing and limiting pins are exposed for advanced use Reverse-voltage protection Undervoltage shutdown Short circuit protection The following through-hole connectors and mounting hardware are included with the board, which ships with its surface-mount components populated: one 2 20-pin 0.1 female header three 2-pin 5 mm terminal blocks four M2.5 standoffs (11 mm length), screws, and nuts

The 2 20-pin 0.1 female header should be mounted to the bottom of the board (the side opposite the surface-mount components). Once soldered, this header is used to connect the board to the Raspberry Pi s 40-pin GPIO header. Alternatively, if you want to continue to have access to the Raspberry Pi s 40 GPIO pins while the motor driver board is plugged in, you can install a stackable 2 20-pin female header (not included) instead. You can solder the terminal blocks to the six large through-holes to make your motor and motor power connections, or you can solder a 0.1 male header strip (not included) into the smaller through-holes that border these larger holes. Note, however, that the terminal blocks are only rated for 16 A, and each header pin pair is only rated for a combined 6 A, so for higher-power applications, thick wires should be soldered directly to the board. The motor driver includes six 100 μf or 150 μf electrolytic power capacitors, and there is room to add additional capacitors (e.g. to compensate for long power wires or increase stability of the power supply). Additional power capacitors are usually not necessary, and no additional capacitors are included with this motor driver. Using the motor driver board Power An appropriate motor power supply should be connected to the motor driver s large VIN and GND pads. The board includes a reverse-voltage protection circuit that helps prevent damage in case the motor power supply is connected backward. The reverseprotected input voltage can be accessed for use in other circuits through the two pins labeled VM on the left side of the board.

By default, the motor power supply also feeds a 5 V, 2.5 A switching step-down regulator that provides power to the connected Raspberry Pi. An 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 is connected and powered. If you want to power the Raspberry Pi separately, the regulator can be disconnected by cutting two exposed traces on the board: one between the surface-mount pads labeled VM and REG IN, and another between the two pins by the REG OUT label, as shown to the right. On the 24v14 and 24v18 versions, disconnecting the regulator increases the absolute maximum operating voltage of the board to 40 V. 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 FLT Fault indicator: When the driver channel is functioning normally, this pin should be pulled high by the Raspberry 6 Motor 2 FLT Pi. In the event of a driver fault, FLT is driven low. See below for details. 12 13 Motor 1 PWM Motor 2 PWM Motor speed input: A PWM (pulse-width modulation) signal on this pin corresponds to a PWM output on the corresponding channel 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 100 khz. 22 23 Motor 1 SLP Motor 2 SLP Inverted sleep input: This pin is pulled low by default, putting the motor driver channel into a low-current sleep mode and disabling the motor outputs (setting them to high impedance). SLPmust be driven high to enable the motor channel. 24 Motor 1 DIR Motor direction input: When DIR is low, motor current flows from output A to output B; when DIR is high, current 25 Motor 2 DIR flows from B to A.

Motor control options With the PWM pin held low, both motor outputs will be held low (a brake operation). With PWM high, the motor outputs will be driven according to the DIR input. This allows two modes of operation: sign-magnitude, in which the PWM duty cycle controls the speed of the motor and DIR controls the direction, and locked-antiphase, in which a pulse-width-modulated signal is applied to the DIR pin with PWM held high. In locked-antiphase operation, a low duty cycle drives the motor in one direction, and a high duty cycle drives the motor in the other direction; a 50% duty cycle turns the motor off. A successful locked-antiphase implementation depends on the motor inductance and switching frequency smoothing out the current (e.g. making the current zero in the 50% duty cycle case), so a high PWM frequency might be required. INPUTS OUTPUTS SLP DIR PWM MXA MXB OPERATION 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) PWM frequency The motor driver supports PWM frequencies as high as 100 khz, but note that switching losses in the driver will be proportional to the PWM frequency. Typically, around 20 khz is a good choice for sign-magnitude operation since it is high enough to be ultrasonic, which results in quieter operation.

A pulse on the PWM pin must be high for a minimum duration of approximately 0.5 µs before the outputs turn on for the corresponding duration (any shorter input pulse does not produce a change on the outputs), so low duty cycles become unavailable at high frequencies. For example, at 100 khz, the pulse period is 10 µs, and the minimum nonzero duty cycle achievable is 0.5/10, or 5%. Fault conditions The motor driver can detect several fault states that it reports by driving the FLT pin low; this is an open-drain output that should be pulled up to your system s logic voltage. The detectable faults include short circuits on the outputs, under-voltage, and overtemperature. All of the faults disable the motor outputs but are not latched, meaning the driver will attempt to resume operation when the fault condition is removed (or after a delay of a few milliseconds in the case of the short circuit fault). The over-temperature fault provides a weak indication of the board being too hot, but it does not directly indicate the temperature of the MOSFETs, which are usually the first components to overheat, so you should not count on this fault to prevent damage from overtemperature conditions. 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 top side 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.

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. Current sensing and limiting The motor driver exposes current sensing and limiting pins that 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. The driver has the ability to limit the motor current through current chopping: once the motor drive current reaches a set threshold, the driver goes into brake mode (slow decay) for about 25 μs before applying power to drive the motor again. This makes it more practical to use the driver with a motor that might only draw a few amps while running but can draw many times that amount (tens of amps) when starting. For each motor channel, you can lower the limit by connecting an additional resistor between the VREF pin and the adjacent GND pin; the graph shows how the current limit relates to the VREF resistor value. Note that the current limiting threshold is not highly precise, and is less accurate at especially low settings (indicated by the dashed portion of the curve). The driver s current sense pins, labeled CS, output voltages proportional to the motor currents while the H-bridges are driving. The output voltage for this version is about 20 mv/a plus a small offset, which is typically about 50 mv.

Each CS output is only active while the corresponding H-bridge is in drive mode; it is inactive (low) when the channel is in brake mode (slow decay), which happens when the PWM input is low or when current limiting is active. Current will continue to circulate through the motor when the driver begins braking, but the voltage on the CS pin will not accurately reflect the motor current in brake mode. The CS voltage is used internally by the motor driver, so to avoid interfering with the driver s operation, you should not add a capacitor to this pin or connect a load that draws more than a few ma from it. Real-world power dissipation considerations The MOSFETs can handle large current spikes for short durations (e.g. 100 A for a few milliseconds), and the driver s current chopping will keep the average current under the set limit. The peak ratings are for quick transients (e.g. when a motor is first turned on), and the continuous rating is dependent on various conditions, such as the ambient temperature. PWMing the motor will introduce additional heating proportional to the frequency. The actual current you can deliver will depend on how well you can keep the motor driver cool. The driver s printed circuit board is designed to draw heat out of the MOSFETs, but performance can be improved by adding a heat sink or air flow. For high-current installations, the motor and power supply wires should also be soldered directly instead of going through the supplied terminal blocks, which are rated for up to 16 A. Warning: This motor driver has no over-temperature shut-off. An overtemperature or over-current condition can cause permanent damage to the motor driver. You might consider using either the driver s integrated current sense output (with an external ADC) or an external current sensor to monitor your current draw. This product can get hot enough to burn under normal operating conditions. Take care when handling this product and other components connected to it. Python library for the Pololu Dual G2 High Power Motor Drivers for Raspberry Pi -

https://shop.pimoroni.com/collections/robotics/products/pololu-dual-g2-high-power-motor-driver-for-raspberry-pi 1-12-18