Pre-production revision. This is an early revision ahead of production. Specifications and design details may change.

Motor control ยท Datasheet

MC Brushed Rev A

Closed-loop brushed DC motor controller

Codename
mc_brushed
Revision
Rev A Pre-production
Released
TBD
Marking
mc_brushed_pcb v0.1.1
Document
DS-MC-BRUSHED-A release 1.0, WIP

Features

  • Closed-loop velocity and position control via a quadrature encoder input
  • H-bridge motor driver, 10 A peak current and PWM up to 100 kHz
  • Overcurrent, short-circuit, open-load, undervoltage and thermal protection with fault reporting to the MCU
  • Classic CAN (500 kbps) host interface with dynamic node ID allocation
  • 5 V output and CAN connector
  • UART serial interface for development, debug and configuration, plus SWD via Tag-Connect
  • GPIO connector with 3.3 V supply for custom hardware
  • Addressable RGB LED (WS2812B-2020) for status display

Overview

A compact brushed DC motor controller node that bridges a CAN bus host to a brushed DC motor. It pairs an H-bridge motor driver (up to 38 V, 10 A peak) with integrated current sensing and a quadrature encoder input for closed-loop velocity and position control, letting a single CAN bus drive and monitor multiple motors.

Board top
Top
Board bottom
Bottom

Specifications

Parameter Conditions Min Typ Max Unit
Power
Supply voltage VIN 5 12 38 V
Supply voltage, absolute maximum VIN, no operation 40 V
Motor control
Motor current, peak Thermal limits apply 10 A
Current regulation Approximately 4, 5.4, 6.5 or 7 A (typical)
Protection Undervoltage lockout, overcurrent (10 A minimum trip), output short to supply or ground, open load
Host interface
Interface Classic CAN, UART serial for debug
CAN Classic CAN, 500 kbps (87.5% sample point)
Bus termination Optional split 2x 60 Ohm + 4.7 nF, not populated
UART USART1, 115200 bps, 3.3 V logic
Devices
Encoder Quadrature (A/B), 3.3 V or 5 V

Connectors and pinout

Figure: connector locations (top view)
Ref Connector Description
J1 Tag-Connect TC2050 SWD programming/debug connector.
J2 UART breakout 1x5, 2.54 mm pitch. Serial interface and UART bootloader control.
J3 5V and CAN 1x4 JST GH, 1.25 mm pitch. 5 V output and CAN bus.
J4 Encoder/GPIO 1x6 JST GH, 1.25 mm pitch. 3.3 V output and quadrature encoder/custom hardware connections.
J5 Power and Motor 1x4 pad with through-hole, 5 mm pitch. Supply input and brushed motor connections.

J2: UART breakout

Pin Name Type Description
1 USART1_TX OUT UART transmit
2 USART1_RX IN UART receive
3 GND PWR Ground
4 BOOT0 IN Assert high to enter the bootloader on reset
5 NRESET IN STM32 reset

J3: 5V and CAN

Pin Name Type Description
1 5V PWR 5 V output, approximately 650 mA available
2 CANH IO CAN high
3 CANL IO CAN low
4 GND PWR Ground

J4: Encoder/GPIO

Pin Name Type Description
1 A/CS IO Quadrature encoder channel A/SPI chip select
2 B/SCK IO Quadrature encoder channel B/SPI clock
3 GND PWR Ground
4 3V3 PWR 3.3 V LDO output, approximately 200 mA available
5 CIPO IO SPI controller in, peripheral out
6 COPI IO SPI controller out, peripheral in

J5: Power and Motor

Pin Name Type Description
1 VIN PWR Supply input, 38 V maximum
2 GND PWR Ground
3 OUT1 OUT Motor output 1
4 OUT2 OUT Motor output 2

Indicators, test pads and battery

LEDs

LED Marking Description
WS2812B-2020 LED None RGB addressable LED

Detailed description

Firmware and software

Flash over the UART bootloader or over SWD (see Detailed description).

Firmware and software are maintained and documented in their own repositories.

Repository Type Description
mc_brushed Firmware Official STM32 firmware, configuration macros and UART command reference.
mc_brushed_driver Driver Host driver (CAN), source-of-truth DBC definition and message table.
scalpelspace_bus Arduino library Arduino library (CAN).

Protocols: ScalpelSpace CAN Protocol

Key components

Part number Manufacturer Description Qty
? ? 32-bit MCU 1
? ? H-bridge motor driver 1
TJA1057BTK NXP USA Inc. CAN bus transceiver 1
LMR51610XDBVR Texas Instruments 5 V buck converter 1
TLV77333PDBVR Texas Instruments 3.3 V LDO (300 mA) 1
WS2812B-2020 (Various) PWM addressable RGB LED 1

Mechanical

Figure: dimensioned drawing

Errata

No known errata for Rev A.

Revision history

Revision Released Status Changes
Rev A TBD Pre-production
  • Initial release.
Information subject to change without notice. Latest version of this document: https://docs.scalpelspace.com/products/mc_brushed/rev-a/

This site uses Just the Docs, a documentation theme for Jekyll.