Skip to the content
2 layers58 × 40 mmOpm lowside, the printed circuit board in 3D

open source motor drivers to be driven by foc controller

Size
58 × 40 mm
Copper layers
2
Thickness
1.6 mm
Parts
84
Nets
82
Pads
263
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 6 (file 20211014)
Created
13 Dec 2021
Updated
27 Jan 2022

Overview

Opm lowside is an open-source printed circuit board by opme, from the opme/motor-driver repository on GitHub. It is a 2-layer board of 58 × 40 mm with 84 parts on 82 nets.

It is built around the INA180A3IDBVR(LX), HYG025N06LS1C2 and 19-217/GHC-YR1S2/3T. Its parts include 32 resistors, 31 capacitors, 6 ICs, 6 transistors and 5 connectors. It belongs with the robots and motor control boards of this library.

Main components

3

README

opm-inline-mcu/README.md

motor-driver

This motor driver uses inline current sensing. The driver chip TMC6200 has built in current sensing.

Diagram

Layout

TMC6200 Gate Driver

Design uses TMC6200 gate driver. The datasheet is located at Layout. Below are some high level details about the gate driver.

Universal high voltage BLDC/PMSM/Servo MOSFET 3-halfbridge gate-driver with in line motor current sensing. External MOSFETs for up to 100A motor current. 3 Floating Sense Amplifiers with programmable gain (5, 10, 20)

Integrated current sense amplifiers eliminate costly sense amplifiers required for FOC controllers (recommended use for applications up to 10A, use external precision amplifiers for higher current with low sense resistor values)

THE TMC6200 OFFERS TWO BASIC MODES OF OPERATION:

MODE 1: Stand-alone driver with pin configuration Enable this mode by tying low pin SPE. The interface pins allow a number of different settings for BBM generation and sense amplifier amplification control.

MODE 2: SPI controlled This mode allows detailed control over the protection, diagnostic and control features, e.g. for tuning overcurrent detection. Enable this mode by tying high pin SPE.

The driver integrates a four-level temperature sensor (120°C pre-warning and selectable 136°C / 143°C / 150°C thermal shutdown)

The TMC6200 protects the MOSFET power stages against a short circuit or overload condition by monitoring the voltage drop in the high-side MOSFETs, as well as the voltage drop in the low-side mosfets

Design Discussion

Choice is to run in Mode 1 - Stand-alone driver with pin configuration. See datasheet Figure 1.1 Standalone application using differential sensing. Existing FOC algorithms should run without relying on the SPI interface. Future versions could change if the controller firmware has a driver added for TMC6200.

In this mode the SPI pins are used for configuration and not settings/diagnostics. Setting SDO/Single to +VCC_IO allow signals to be set to DRV_EN. This is also the case for the Drive Strength and the sense amplication. In a 10A implementation we set sense amplification to 10 and 00 driver strength since we are using simialr mosfets that were tested in the datasheet.

Drive Strength: CSN / IDRV0 and SCK / IDRV1 - 00: 0.5A 01: 0.5/1A, 10: 1A, 11: 1.5A, currently set to 00 for .5A

Sense Amplification: SDI / AMPLx10 - Sense Amplification 0: 5, 1: 10, currently set to 10.

The TMC6200 IC current sensing is recommended to have a limit of 10A when using the internal sensing.

The thermal design of the PCB is also designed for 10A max current. The 10A limit is chosen to allow full SMT and single side hole through components with 1oz copper.

Heatsink over the gate driver and mosfets is required over a certain current. 28x28x20 is a standard heat sink size and is added to the pcb using silicon thermal glue.

Initial parts were selected based on the Trinamic reference designs that I have copied into this git repo.

Footprint for capacitors and resistors chosen as 0603 to make it easier to manufacture with low end SMD machines.

Parts are selected that are available in quantity from various resellers due to current chip shortage. Avoided any parts that were only available in small quantities or not in stock.

Sense resistor selection. TMC6200 datasheet specifies different sense resistor selection. Sense resistor of 005R0 with 10x amplification was selected for 15A max current 10A continuous.

In addition to the TMC6200 internal temperature sensor, there is a temperature sensor on the board. The analog temperature signal is sent out the controller.

Mosfet selection. Reference design has via for +VM connection through SMT pad. This limits the vendor ability to manufacture the board and increases cost due to those needed to be capped in the manufacturing process. Alternative is to put the via next to the SMT pad.

Design Discussion for TMC6200 Pins

See TMC6200 datasheet for full documentation of pins. Below is specific decisions taken when choice was given.

CLK 24 pin on the TMC6200 is tied to GND using short wire for internal clock. This clock has accuracy of +-4%

Exposed die pad: Connect the exposed die pad to a GND plane. Provide as many as possible vias for heat transfer to GND plane. Reference design has via for GND connection through SMT pad. Since TMC chip will be manually added for first batch, these through hole vias were used. If those are done by SMT in the future then some other solution for tying the pad to GRD may be needed.

Mosfet pads go to +VM but do not use hole through vias. This limits the vendor ability to manufacture the board and increases cost due to those needed to be capped in the manufacturing process. Alternative is to put the via next to the SMT pad which is done in this design.

Part selection

TypeDesignatorFootprintDiscussion
TerminalBlock_3_P5.08mmU3Libraries:TerminalBlock_bornier-3_P5.08mmShould support 18A to 20A max current though design current is 10A
1nF/100VC14 C12 C11Capacitor_SMD:C_0603_1608Metric
TerminalBlock_2_P5.08mmU2Libraries:TerminalBlock_bornier-2_P5.08mm
330uF/63VC15 C16Capacitor_THT:C_Radial_D10.0mm_H20.0mm_P5.00mmTMC6200 datasheet recommends 100uF of electroltyic capacitor for each amp of current expected. Total 660 uF for 10 Amps included. 10000 hour life, low impedance, low ESR, high ripple current rating
VCC_IOJ2Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical
1000R/1%R19 R21Resistor_SMD:R_0603_1608Metric
19-217/GHC-YR1S2/3TD1 D2LED_SMD:LED_0603_1608Metric
150R/1%R20Resistor_SMD:R_0603_1608Metric
4700R/1%R18 R17 R24Resistor_SMD:R_0603_1608Metric
10000R/1%R16Resistor_SMD:R_0603_1608Metric
100nF/50VC17 C20 C10Capacitor_SMD:C_0603_1608Metric
TemperatureJ5Connector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_Vertical
PWMx6J3Connector_JST:JST_PH_B6B-PH-K_1x06_P2.00mm_Vertical
0RR22Resistor_SMD:R_0603_1608Metric
1500R/1%R23Resistor_SMD:R_0603_1608Metric
Current SensingJ6Connector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_Vertical
SPI/InfoJ1Connector_JST:JST_PH_B6B-PH-K_1x06_P2.00mm_Vertical
0RR26Resistor_SMD:R_0603_1608Metric
0ΩR25Resistor_SMD:R_0603_1608Metric
2.2uF/50VC13 C19Capacitor_SMD:C_0805_2012Metric
100nF/100VC18Capacitor_SMD:C_0805_2012Metric
TMC6200-TAIC1Libraries:TMC6200-TA
2R2/1%R4 R6 R11 R13 R3 R1Resistor_SMD:R_0603_1608Metricslope control resistors. 1Ohm to 2.2Ohm recommended for larger MOSFETs.
10R/1%R5 R12 R2Resistor_SMD:R_0603_1608Metric
0R005/1%/1WR9 R10 R14 R15 R7 R8Resistor_SMD:R_1206_3216MetricUse low inductivity SMD type, e.g. 1210 or 2512 resistor for RS
4.7uF/100VC8 C9 C7Capacitor_SMD:C_1210_3225Metric
4.7uF/16VC5 C4 C6Capacitor_SMD:C_0603_1608MetricBootstrap capacitors. for larger QG - use minimum 4.7µF on 12VOUT pin. QG is 59.5nC at VDS=48V, VGS=10V, ID=20A
22nF/100VC1Capacitor_SMD:C_0603_1608Metric
100nF/100VC2 C3Capacitor_SMD:C_0603_1608Metric
Power Mosfet 60V 100A 2.5 max Rds(on)Q2 Q6 Q4 Q3 Q1 Q5Libraries:PDFN-8HYG025N06LS1C2, 60V minimum, 2.5ohm max Rds(on) and fast switching for lower heat dissipation, Max current > 30A

Parts

84
QtyValueFootprintReferences
610R/1%Resistor_SMD:R_0603_1608MetricR24, R25, R26, R27, R28, R29
62.2R/1%Resistor_SMD:R_0603_1608MetricR12, R13, R14, R15, R16, R17
6HYG025N06LS1C2Libraries:PDFN-8Q1, Q2, Q3, Q4, Q5, Q6
6R001/1%Resistor_SMD:R_0603_1608MetricR18, R19, R20, R21, R22, R23
5330uF/63VCapacitor_THT:C_Radial_D10.0mm_H20.0mm_P5.00mmC4, C5, C29, C30, C31
30RResistor_SMD:R_0603_1608MetricR7, R10, R11
3100R/5%Resistor_SMD:R_0603_1608MetricR30, R31, R32
3100nF/10VCapacitor_SMD:C_0603_1608MetricC23, C24, C25
310uF/100VCapacitor_SMD:C_2220_5650MetricC17, C18, C19
31nF/100VCapacitor_SMD:C_0603_1608MetricC1, C2, C3
31nF/16VCapacitor_SMD:C_0603_1608MetricC26, C27, C28
33300pFCapacitor_SMD:C_0603_1608MetricC20, C21, C22
34700R/1%Resistor_SMD:R_0603_1608MetricR2, R3, R9
3470nF/16VCapacitor_SMD:C_0603_1608MetricC14, C15, C16
3INA180A3IDBVRLibraries:SOT95P280X145-5NIC1, IC2, IC3
21000R/1%Resistor_SMD:R_0603_1608MetricR4, R6
2100nF/100VCapacitor_SMD:C_0603_1608MetricC12, C13
2100nF/50VCapacitor_SMD:C_0603_1608MetricC6, C10
219-217/GHC-YR1S2/3TLED_SMD:LED_0603_1608MetricD1, D2
22,2uF/50VCapacitor_SMD:C_0805_2012MetricC8, C9
110000R/1%Resistor_SMD:R_0603_1608MetricR1
1100nF/100VCapacitor_SMD:C_0805_2012MetricC7
11500R/1%Resistor_SMD:R_0603_1608MetricR8
1150R/1%Resistor_SMD:R_0603_1608MetricR5
122nF/100VCapacitor_SMD:C_0603_1608MetricC11
1Current SensingConnector_JST:JST_PH_B3B-PH-K_1x03_P2.00mm_VerticalJ1
1FanLibraries:Fan_3010M1
1HeatsinkLibraries:Heatsink_30x30mm_2xFixation3mmHS1
1PWMx6Connector_JST:JST_PH_B6B-PH-K_1x06_P2.00mm_VerticalJ4
1QFN37_7X7_TRILibraries:TMC6100-LAIC4
1SPI/InfoConnector_JST:JST_PH_B6B-PH-K_1x06_P2.00mm_VerticalJ2
1TemperatureConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ5
1TerminalBlock_2_P5.08mmLibraries:TerminalBlock_bornier-2_P5.08mmU1
1TerminalBlock_3_P5.08mmLibraries:TerminalBlock_bornier-3_P5.08mmU2
1VCC_IOConnector_JST:JST_PH_B2B-PH-K_1x02_P2.00mm_VerticalJ3

More from opme/motor-driver

4
  • 4 layers249.8 × 250 mmPanel.opm inline, the printed circuit board in 3D

    Panel.opm inline

    opme/motor-driver

    open source motor drivers to be driven by foc controller

    2,473 parts
  • 4 layers58 × 40 mmOpm inline, the printed circuit board in 3D

    Opm inline

    opme/motor-driver

    open source motor drivers to be driven by foc controller

    103 parts
  • 4 layers55 × 85 mmTMC6100-EVAL v1.2, the printed circuit board in 3D

    TMC6100-EVAL v1.2

    opme/motor-driver

    open source motor drivers to be driven by foc controller

    78 parts
  • 4 layers58 × 40 mmOpm inline, the printed circuit board in 3D

    Opm inline

    opme/motor-driver

    open source motor drivers to be driven by foc controller

    76 parts

Similar boards

  • 4 layers90 × 50 mmCryobelt, the printed circuit board in 3D

    Cryobelt

    michael201110/cryobelt

    100 parts1
  • 4 layers100 × 175 mmKiCad PDM, the printed circuit board in 3D

    KiCad PDM

    NonthapatC/RapidAmentePDM

    329 parts1
  • 2 layers30 × 30 mmMotor power, the printed circuit board in 3D

    Motor power

    neurobot-1000/neurobot-1000.github.io

    Monorepo for the Neurobot-1000 works

    10 partsBSD-3-Clause-Clear
  • 4 layers55 × 42 mmDrone V3, the printed circuit board in 3D

    Drone V3

    Ryan-Fagan/QuadcopterPCB

    Gerbers, models, & code for an STM32 quadcopter focused on reasearch applications.

    89 parts
  • 4 layers70 × 70 mmAi camera, the printed circuit board in 3D

    Ai camera

    maxlab-io/tokay-lite-pcb

    Tokay AI Camera - ESP32 camera development board

    161 parts130CERN-OHL-P-2.0
  • 4 layers100 × 68 mmDevKit, the printed circuit board in 3D

    DevKit

    kaminaris/GigaESC

    209 parts47
  • 2 layers56 × 32 mmMIDI UART interface san, the printed circuit board in 3D

    MIDI UART interface san

    kinoshita-lab/MIDI-UART-interface-san

    Handy interface PCB for MIDI and microcontrollers.

    37 parts20
  • 4 layers41.6 × 28.2 mmQCA7000, the printed circuit board in 3D

    QCA7000

    Millisman/QCA7000

    QCA7000 PLC Board

    111 parts19Apache-2.0

Questions

How big is the Opm lowside PCB?

It measures 58 × 40 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Opm lowside use?

84 parts, built around the INA180A3IDBVR(LX), HYG025N06LS1C2 and 19-217/GHC-YR1S2/3T. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Opm lowside KiCad files?

From the opme/motor-driver repository on GitHub, at the commit this page was made from: the board is opm-lowside/source/opm-lowside.kicad_pcb and its schematic opm-inline-mcu/source/Connectors.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Opm lowside design in my own project?

Its repository states no licence, so its author keeps all rights: ask opme before reusing the design.