Skip to the content
PCBKitNew board
4 layersMoco od501, the printed circuit board in 3D

Moco od501

ziteh/moco24

PMSM/BLDC motor controller/driver PCBs

Copper layers
4
Thickness
1.61 mm
Parts
102
Nets
92
Pads
497
Tracks, vias
328, 276
Pours
8
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
7 Dec 2022
Updated
18 May 2024

Overview

Moco od501 is an open-source printed circuit board by ziteh, from the ziteh/moco repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 4-layer board with 102 parts on 92 nets, routed with 328 tracks and 276 vias.

It is built around the RT9013-33GB, TJA1050 and CSD18540Q5B, with the NCP18XH103F03RB and SS34 among its other parts. Its parts include 45 capacitors, 19 resistors, 9 connectors, 6 ICs and 6 transistors. It belongs with the robots and motor control boards and the STM32 boards of this library.

Main components

5

README

hardware/moco-rd321/readme.md

moco-RD321

  • 6.7V~35V, 12A
  • 3-Phase low-side current sensing. OP-Amp Gain=6.74, Shunt resistor=20mΩ
  • Overcurrent detection. Ith=30A @ OC_COMPth=500mV
  • Input voltage sensing
  • 32x32mm square PCB, 4xM2 mounting holes
  • STSPIN32F0A 3-phase gate driver with embdded MCU SiP
    • STM32F031C6 48MHz, 4KB SRAM, 32KB Flash
    • 600mA sink/source gate drivers, integrated bootstrap diodes
    • 12V LDO and 3.3V buck
  • SiZ250DT Dual N-MOSFET, 60V, 38A, 3.3x3.3mm
  • MA702 magnetic encoder, SPI
  • 2x04 2.54mm Pin header for debug, JST SM03B-SRSS-TB 1x03 for Serial and I2C

Pinmap

DescriptionAnalog ICSTM32STM32 Func
High-side UHS1PA8TIM1_CH1
High-side VHS2PA9TIM1_CH2
High-side WHS3PA10TIM1_CH3
Low-side ULS1PB13TIM1_CH1N
Low-side VLS2PB14TIM1_CH2N
Low-side WLS3PB15TIM1_CH3N
OC threshold select 1OC_TH_STBY1PF7Push-pull output
OC threshold select 2OC_TH_STBY2PF6Push-pull output
OC protection selectionOC_SELPA11Push-pull output
OC comparator outputOC_COMP_INTPB12TIM1_BKIN
OC comparator outputOC_COMP_INT2PA12TIM1_ETR
Current sense UOP3OPA0ADC_IN0
Current sense VOP2OPA1ADC_IN1
Current sense WOP1OPB1ADC_IN9
VM sense--PA4ADC_IN4
SPI SCLK--PA5SPI1
SPI MISO--PA6SPI1
SPI MOSI--PA7SPI1
SPI nCS MA702--PA15
USART Tx--PA2USART1
USART Rx--PA3USART1
I2C SCL--PB6I2C1
I2C SDA--PB7I2C1
SWDIO--PA13
SWCLK--PA14
Connected to GND--BOOT0
User LED (Red)--PF0Active HIGH
12V indicator LED (Blue)----
  • Unused GPIOs inside the package should be config to output low: PB0, PB2, PB3, PB4, PB5, PB8, PB9, PB10, PB11, PC13, PC14, PC15.
  • OC_TH_STBY1 and OC_TH_STBY2 should be HIGH for 500mV OC threshold.
  • For analog IC, the GPIO input config without pull-up or -down is always allowed.

PCB

Jumper

If input voltage (i.e. VM)<15V then close SB1 to connect VM pin and VREG12 pin.

Board Characteristics

  • Copper layer count: 4
  • Board overall dimensions: 32 x 32 mm
  • Min track/spacing: 0.13 mm / 0.13 mm
  • Min hole diameter: 0.3 mm
  • Castellated pads: No
  • Edge card connectors: No
  • Plated board edge: No
  • 1oz copper

SPI

MA702 encoder SPI:

  • Mode:
    • 0 (CPOL=0, CPHA=0) or 1 (CPOL=1, CPHA=1)
    • Data sampled on first edge
  • 16-bit data frame
  • MSB first
  • nCS pin active low
  • 25MHz clock

MCU

STSPIN32xF0F0AF0B
Operating voltage8~45V6.7~45V6.7~45V
OP-Amps431
GPIOs151620
BOOT0 pin--YesYes
3FG decoding logic for Hall sensorsYes----
ComparatorOCPOCP and current controlOCP and current control
PackageQFN 7x7mm 1EPQFN 7x7mm 1EPQFN 7x7mm 1EP

Solved: STSPIN32F0 vs STSPIN32F0A vs STSPIN32F0B - STMicroelectronics Community

Reference

  • qwertpas/O32controller: Miniature closed-loop controller for brushless DC motors
  • STspin32G4 support - hardware support - SimpleFOC Community
  • ST AN5397 "Current Sensing in motion control applications"
  • ST AN4999 "STSPIN32F0/F0A/F0B overcurrent protection"
  • ST DB3364 "STEVAL-SPIN3202: STSPIN32F0A advanced 3-phase BLDC driver with embedded STM32 MCU single shunt evaluation board"
  • ST DB4049 "EVALKIT-ROBOT-1: Compact reference design kit for robotics and automation based on STSPIN32F0A"
  • ST DB3798 "STEVAL-ESC002V1: Electronic Speed Controller reference design based on STSPIN32F0A"
  • TI SLUA887 "Bootstrap Circuitry Selection for Half-Bridge Configurations"
  • Diodes DN1156 "Gate Drivers in BLDC Motors"

Parts

102
QtyValueFootprintReferences
9100nFCapacitor_SMD:C_0402_1005MetricC1, C10, C21, C22, C23, C24, C28, C29, C32
910uF/50VCapacitor_SMD:C_1206_3216MetricC12, C13, C14, C15, C16, C17, C18, C19, C20
910uF/50VCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC37, C38, C39, C40, C41, C42, C43, C44, C45
7NetTie_2NetTie:NetTie-2_SMD_Pad0.5mmNT1, NT2, NT3, NT4, NT5, NT6, NT7
6CSD18540Q5BPackage_TO_SOT_SMD:TDSON-8-1Q1, Q2, Q3, Q4, Q5, Q6
41uFCapacitor_SMD:C_0402_1005MetricC4, C5, C26, C27
4DNIResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR11, R14, R15, R18
30.5mΩResistor_SMD:R_2512_6332MetricR7, R8, R9
30RResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR12, R13, R16
310kResistor_SMD:R_0402_1005MetricR2, R3, R10
3Amoco:wire_3.2mmJ3, J4, J5
3MountingHoleMountingHole:MountingHole_3.2mm_M3_ISO14580H1, H2, H3
210uFCapacitor_SMD:C_0603_1608MetricC3, C9
212pFCapacitor_SMD:C_0402_1005MetricC30, C31
21kResistor_SMD:R_0402_1005MetricR4, R6
230pFCapacitor_SMD:C_0402_1005MetricC33, C34
1100nFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC35
1100nF/6.3VCapacitor_SMD:C_0402_1005MetricC7
110nFCapacitor_SMD:C_0402_1005MetricC25
1120RResistor_SMD:R_0402_1005MetricR19
11uFCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC36
11uF/16VCapacitor_SMD:C_0603_1608MetricC11
11uF/50VCapacitor_SMD:C_1206_3216MetricC2
11uF/6.3VCapacitor_SMD:C_0402_1005MetricC6
122uHInductor_SMD:L_7.3x7.3_H3.5L1
147kResistor_SMD:R_0402_1005Metric_Pad0.72x0.64mm_HandSolderR17
147nFCapacitor_SMD:C_0603_1608MetricC8
154.9kResistor_SMD:R_0402_1005MetricR1
15kResistor_SMD:R_0402_1005MetricR5
18MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1AS5047xPackage_SO:TSSOP-14_4.4x5mm_P0.65mmU6
1Bmoco:wire_3.2mmJ6
1Cmoco:wire_3.2mmJ7
1CAN1Connector_JST:JST_GH_BM02B-GHS-TBT_1x02-1MP_P1.25mm_VerticalJ8
1CAN2Connector_JST:JST_GH_BM02B-GHS-TBT_1x02-1MP_P1.25mm_VerticalJ9
1DRV8323HPackage_DFN_QFN:QFN-40-1EP_6x6mm_P0.5mm_EP4.6x4.6mm_ThermalViasU3
1DebugConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ2
1LED_BAGRmoco:RGB LED 1.6x1.6mmLD1
1LMR16006XPackage_TO_SOT_SMD:SOT-23-6U1
1NCP18XH103F03RBResistor_SMD:R_0603_1608MetricTH1
1RESETButton_Switch_SMD:SW_SPST_TL3342SW1
1RT9013-33GBPackage_TO_SOT_SMD:SOT-23-5U2
1SS34Diode_SMD:D_SMAD1
1STM32G431CBUxPackage_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.6x5.6mmU4
1SerialConnector_JST:JST_GH_BM03B-GHS-TBT_1x03-1MP_P1.25mm_VerticalJ1
1SolderJumper_3_Bridged12Jumper:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mmSB1
1TJA1050Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU5

Questions

What parts does the Moco od501 use?

102 parts, built around the RT9013-33GB, TJA1050, CSD18540Q5B and NCP18XH103F03RB. 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 Moco od501 KiCad files?

From the ziteh/moco repository on GitHub, at the commit this page was made from: the board is hardware/moco-od501/moco-od501.kicad_pcb and its schematic hardware/moco-bkd8316/moco-bkd8316.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Moco od501 design in my own project?

Its repository publishes it under the CERN-OHL-P-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

More from ziteh/moco

5
  • 4 layers40 × 40 mmMoco pg4, the printed circuit board in 3D

    Moco pg4

    ziteh/moco

    PMSM/BLDC motor controller/driver PCBs

    101 parts24CERN-OHL-P-2.0
  • 4 layers32 × 32 mmMoco rd321, the printed circuit board in 3D

    Moco rd321

    ziteh/moco

    PMSM/BLDC motor controller/driver PCBs

    95 parts24CERN-OHL-P-2.0
  • 4 layersMoco rc1, the printed circuit board in 3D

    Moco rc1

    ziteh/moco

    PMSM/BLDC motor controller/driver PCBs

    89 parts24CERN-OHL-P-2.0
  • 2 layersMoco oi401, the printed circuit board in 3D

    Moco oi401

    ziteh/moco

    PMSM/BLDC motor controller/driver PCBs

    75 parts24CERN-OHL-P-2.0
  • 2 layers35.5 × 41 mmMoco bkd8316, the printed circuit board in 3D

    Moco bkd8316

    ziteh/moco

    PMSM/BLDC motor controller/driver PCBs

    50 parts24CERN-OHL-P-2.0

Similar boards

  • 4 layers50 × 50 mmZiteh moco moco rd501, the printed circuit board in 3D

    Ziteh moco moco rd501

    punkfab/pcb-corpus

    235 real KiCad boards from open-source hardware repositories, prepared as a placement and routing benchmark

    135 parts1
  • 2 layers45 × 55 mmDongleALIVEv2.0, the printed circuit board in 3D

    DongleALIVEv2.0

    joaogabrielsantosD/Dongle-eaLIVE-PCB

    PCB of the DongleEALIVE for reading data from the vehicle's CAN bus with telemetry via BLE, supporting GPS and accelerometer.

    77 parts1
  • 4 layers60 × 50 mmCANode V2, the printed circuit board in 3D

    CANode V2

    VISHNUPRIYANR1812/PCB-Projects

    Collection of my custom PCB designs, including schematics, Gerber files, and project details.

    44 parts
  • 2 layers200 × 100 mmPCBA FLUX-01A, the printed circuit board in 3D

    PCBA FLUX-01A

    bvrny/Vortex

    Vector & Flux

    169 parts
  • 8 layers85 × 55 mmDadu 8L 2side 85x55, the printed circuit board in 3D

    Dadu 8L 2side 85x55

    comedy1982-spec/pcb-viewer

    Dadu 기반 ELD 솔레노이드 ECU. 12 V 입력, TC364 · CAN-FD · PMIC, PCB 위 센서는 NTC 하나. A4911(3상 드라이버)의 A·B 레그로 H-브리지(하프브리지 IAUC60N04S6N050H ×2, 레그 션트 2 mΩ ×2), C 레그는 비워 두고 SPI로 그 고장(VC · CHO · CLO · OC3)을 마스크.

    130 parts
  • 4 layers50 × 100 mmTrek Box, the printed circuit board in 3D

    Trek Box

    tuanthanhhh/trek-safety-system

    The system continuously monitors user status and environment, detects abnormal conditions (e.g., fall or unconsciousness), and transmits alerts to a central monitoring station via LoRa communication.

    131 parts
  • 2 layers100 × 93 mmSpeeduino base, the printed circuit board in 3D

    Speeduino base

    Tjeerdie/SPECTRE

    Speeduino compatible engine control unit (ECU) based around black STM32F407VET6 board.

    213 parts59GPL-3.0
  • 4 layers42 × 50 mmSimpleFC G, the printed circuit board in 3D

    SimpleFC G

    wangyeee/OpenHardware

    Collections of hardware design related to my drone project.

    134 parts10BSD-3-Clause