

Moco rc1
PMSM/BLDC motor controller/driver PCBs
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 89
- Nets
- 82
- Pads
- 380
- Tracks, vias
- 0, 6
- Routed
- Not yet
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 7 Dec 2022
- Updated
- 18 May 2024
Overview
Moco rc1 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 89 parts on 82 nets.
It is built around the STSPIN32F0A, TCAN4550-Q1 and FDMD8240LET40, with the MBR180S1 among its other parts. Its parts include 30 resistors, 27 capacitors, 7 connectors, 4 diodes and 3 ICs. It belongs with the robots and motor control boards and the STM32 boards of this library.
Main components
4STSPIN32F0A
VFQFPN-48(7x7)-40℃~+125℃@(TJ) 16 32KB 4KB 6.7V~45V ARM Cortex-M0 FLASH VFQFPN-48(7x7) Microcontrollers (MCU/MPU/SOC) ROHSSTMicroelectronicsMicrocontrollers (MCU/MPU/SOC)TCAN4550-Q1
QFN20QFN20 New Arrivals ROHSTexas InstrumentsUncategorisedFDMD8240LET40
PQFN-12(3.3x5)-55℃~+175℃ 103A 2 N-Channel 2.5W 2V 2mΩ@10V 3.02nF 33pF 40V 40nC 876pF Half-Bridge N-Channel ±20V PQFN-12(3.3x5) MOSFETsonsemiMOSFETsMBR180S1
SOD-123-55℃~+175℃ 1 Independent 1A 24A 5uA@80V 740mV@1A 80V SOD-123 Schottky Diodes ROHSDiodes IncorporatedSchottky Diodes
README
hardware/moco-rd321/readme.mdmoco-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
| Description | Analog IC | STM32 | STM32 Func |
|---|---|---|---|
| High-side U | HS1 | PA8 | TIM1_CH1 |
| High-side V | HS2 | PA9 | TIM1_CH2 |
| High-side W | HS3 | PA10 | TIM1_CH3 |
| Low-side U | LS1 | PB13 | TIM1_CH1N |
| Low-side V | LS2 | PB14 | TIM1_CH2N |
| Low-side W | LS3 | PB15 | TIM1_CH3N |
| OC threshold select 1 | OC_TH_STBY1 | PF7 | Push-pull output |
| OC threshold select 2 | OC_TH_STBY2 | PF6 | Push-pull output |
| OC protection selection | OC_SEL | PA11 | Push-pull output |
| OC comparator output | OC_COMP_INT | PB12 | TIM1_BKIN |
| OC comparator output | OC_COMP_INT2 | PA12 | TIM1_ETR |
| Current sense U | OP3O | PA0 | ADC_IN0 |
| Current sense V | OP2O | PA1 | ADC_IN1 |
| Current sense W | OP1O | PB1 | ADC_IN9 |
| VM sense | -- | PA4 | ADC_IN4 |
| SPI SCLK | -- | PA5 | SPI1 |
| SPI MISO | -- | PA6 | SPI1 |
| SPI MOSI | -- | PA7 | SPI1 |
| SPI nCS MA702 | -- | PA15 | |
| USART Tx | -- | PA2 | USART1 |
| USART Rx | -- | PA3 | USART1 |
| I2C SCL | -- | PB6 | I2C1 |
| I2C SDA | -- | PB7 | I2C1 |
| SWDIO | -- | PA13 | |
| SWCLK | -- | PA14 | |
| Connected to GND | -- | BOOT0 | |
| User LED (Red) | -- | PF0 | Active 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
| STSPIN32x | F0 | F0A | F0B |
|---|---|---|---|
| Operating voltage | 8~45V | 6.7~45V | 6.7~45V |
| OP-Amps | 4 | 3 | 1 |
| GPIOs | 15 | 16 | 20 |
| BOOT0 pin | -- | Yes | Yes |
| 3FG decoding logic for Hall sensors | Yes | -- | -- |
| Comparator | OCP | OCP and current control | OCP and current control |
| Package | QFN 7x7mm 1EP | QFN 7x7mm 1EP | QFN 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
89| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 1.78k | Resistor_SMD:R_0402_1005Metric | R4, R5, R18, R19, R25, R26 |
| 6 | 10R | Resistor_SMD:R_0402_1005Metric | R1, R2, R15, R16, R22, R23 |
| 6 | 24k | Resistor_SMD:R_0402_1005Metric | R3, R6, R17, R20, R24, R27 |
| 6 | NetTie_2 | NetTie:NetTie-2_SMD_Pad0.5mm | NT1, NT2, NT3, NT4, NT5, NT6 |
| 5 | 100nF | Capacitor_SMD:C_0402_1005Metric | C8, C10, C11, C15, C16 |
| 4 | 10k | Resistor_SMD:R_0402_1005Metric | R8, R9, R14, R30 |
| 3 | 100nF/50V | Capacitor_SMD:C_0402_1005Metric | C1, C23, C26 |
| 3 | 10uF/50V | Capacitor_SMD:C_0805_2012Metric | C3, C20, C21 |
| 3 | 12k | Resistor_SMD:R_0402_1005Metric | R7, R21, R28 |
| 3 | 1nF | Capacitor_SMD:C_0402_1005Metric | C2, C24, C27 |
| 3 | 20mΩ/3W | Resistor_SMD:R_2512_6332Metric_Pad1.40x3.35mm_HandSolder | RS1, RS2, RS3 |
| 3 | 220nF/50V | Capacitor_SMD:C_0402_1005Metric | C19, C22, C25 |
| 3 | FDMD8240LET40 | moco:PQFN-12 | Q1, Q2, Q3 |
| 3 | MountingHole | MountingHole:MountingHole_2.2mm_M2_ISO7380 | H1, H2, H3 |
| 2 | 10nF | Capacitor_SMD:C_0402_1005Metric | C4, C14 |
| 2 | 10uF | Capacitor_SMD:C_0402_1005Metric | C9, C13 |
| 2 | 12pF | Capacitor_SMD:C_0402_1005Metric | C5, C6 |
| 2 | 4.7k | Resistor_SMD:R_0402_1005Metric | R12, R13 |
| 2 | 60R | Resistor_SMD:R_0402_1005Metric | R10, R11 |
| 2 | TVS | Diode_SMD:D_SOD-323_HandSoldering | D2, D3 |
| 1 | 100nF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C18 |
| 1 | 18uH | Inductor_SMD:L_Neosid_SMS-ME3015 | L1 |
| 1 | 300nF | Capacitor_SMD:C_0402_1005Metric | C12 |
| 1 | 4.7nF | Capacitor_SMD:C_0402_1005Metric | C17 |
| 1 | 40MHz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | 47uF | Capacitor_SMD:C_0805_2012Metric | C7 |
| 1 | 68k | Resistor_SMD:R_0402_1005Metric | R29 |
| 1 | AS5600 | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U3 |
| 1 | CAN | Connector_JST:JST_GH_SM03B-GHS-TB_1x03-1MP_P1.25mm_Horizontal | J7 |
| 1 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | J4 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D4 |
| 1 | MBR180S1 | Diode_SMD:D_SOD-123F | D1 |
| 1 | OUT_U | moco:Conn_1x1_3.7_1.5 | J1 |
| 1 | OUT_V | moco:Conn_1x1_3.7_1.5 | J2 |
| 1 | OUT_W | moco:Conn_1x1_3.7_1.5 | J3 |
| 1 | RESET | Button_Switch_SMD:SW_SPST_B3U-1000P | SW1 |
| 1 | STSPIN32F0A | moco:VFQFN-48_7x7_EP2.8mm_Pitch0.5mm | U1 |
| 1 | TCAN4550 | moco:VQFN-20_3.5_3.5_0.5p | U2 |
| 1 | VM+ | moco:Conn_1x1_3.7_1.5 | J5 |
| 1 | VM- | moco:Conn_1x1_3.7_1.5 | J6 |
Questions
What parts does the Moco rc1 use?
89 parts, built around the STSPIN32F0A, TCAN4550-Q1, FDMD8240LET40 and MBR180S1. 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 rc1 KiCad files?
From the ziteh/moco repository on GitHub, at the commit this page was made from: the board is hardware/moco-rc1/moco-rc1.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 rc1 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 layers

- 4 layers40 × 40 mm

- 4 layers32 × 32 mm

- 2 layers

- 2 layers35.5 × 41 mm

Similar boards
- 2 layers147.3 × 154.4 mm

- 4 layers40 × 40 mm

Ziteh moco moco sc1
punkfab/pcb-corpus
235 real KiCad boards from open-source hardware repositories, prepared as a placement and routing benchmark
118 parts1 - 4 layers55.9 × 61 mm

SapphineMinimalR6
ChrisHayward-dev/SapphireKicad
See the LastProduction branch for the most current revision
138 parts - 2 layers104.1 × 78.7 mm

- 4 layers90 × 80 mm

- 4 layers32.3 × 47.3 mm

- 4 layers44 × 43.5 mm

Esc4in1
Swamy-BV/kicad-flow
Build KiCad schematics and PCBs through MCP. Small, composable tools handle file formats and geometry; the caller controls placement, wiring, and routing.
87 partsAGPL-3.0 - 4 layers27 × 27 mm

O32controller
qwertpas/O32controller
Miniature closed-loop controller for brushless DC motors
88 parts37MIT