Skip to the content
2 layers81.4 × 63.5 mmBbesc kiCad, the printed circuit board in 3D

Bbesc kiCad

jakeread/tesc16

in-progress motor controller, towards accessible closed-loop control

Size
81.4 × 63.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
82
Nets
82
Pads
437
Tracks, vias
639, 59
Pours
8
Routed
Yes
KiCad
KiCad 4
Created
12 Jun 2017
Updated
28 Aug 2017

Overview

Bbesc kiCad is an open-source printed circuit board by jakeread, from the jakeread/tesc repository on GitHub. It is a 2-layer board of 81.4 × 63.5 mm with 82 parts on 82 nets, routed with 639 tracks and 59 vias.

It is built around the DRV8302 and JUMPER3. Its parts include 31 capacitors, 28 resistors, 6 transistors, 6 connectors and 2 ICs. It belongs with the robots and motor control boards and the NXP (LPC, Kinetis, i.MX RT) boards of this library.

Main components

2

README

README.md

FOCT v0.3

Field Oriented Control on a Teensy 3.2

FOCT System

Briefly

FOCT does closed-loop control of brushless dc (BLDC) motors: the type normally found in RC Cars, Airplanes, Drones etc. These motors are incredibly power-dense, making them an excellent candidate for Robotics applications. However, it's very difficult to control them at low speeds and in small position intervals.

FOCT implements 'all the bells and whistles' found in high-end robotics motor controllers (encoder feedback, BEMF & current sensing, etc) in a relatively low-cost solution. Code is written in Arduino for the Teensy Microcontroller, and is meant to be easily extensible and pick-through-able.

FOCT is in development! So is it's documentation!

The Hardware

FOCT uses a Teensy 3.2 to control Three H-Bridges, which each drive one phase of a three-phase brushless motor. The H-Bridge gates are driven with a DRV8302, a wunderkid IC that is also home to a 5V Buck Converter (for your peripheral needs) and two differential Op-Amps, used to measure phase current. The board also has simple voltage-dividers connected to Teensy ADCs for measuring phase voltage, and includes an SPI out connector used to interface with an AS5047 encoder for absolute position sensing. For now, input is done over Teensy's blazing-fast serial port.

Up to ~24v supply
Up to 30A without a heatsink, 42 with good cooling, peaks of 60
Planned PWM in, SPI slave modes for control. Serial over USB Config / testing.

FOCT v0.2 Hardware

FOCT v0.3 Schematic

The Software

FOCT runs on Arduino! It uses Teensy's built interval timers to handle fast-loop-insurance, and only occasionally reaches into the chip's registers to make PWM work properly. Code will be well commented, I hope / promise...

How it Works: Closed-Loop BLDC Control

// 6-step commutation w/ position reference

How it Works: Field-Oriented Control

// FOC ! Transforms, current measurement, UVW || AB || IQ frames

TBD's, software

  • Proper filtering on Current measurement, encoder measurement
  • Tuning the FOC loop
  • Encoder Offset Discovery routine
  • Auto Tuning, interface, system integration, oh my

TBD's, hardware

  • ADC voltage divider to sense VBUS voltage
  • More DAC outputs / testing pins so to tune FOC
  • SMD Thermistor near the FETS ?
  • Go to STM32F4 & chibios ?
  • Caps could be closer to FETS, heatsink strap

Parts

82
QtyValueFootprintReferences
1110uFCapacitors_SMD:C_1206_HandSolderingC2, C3, C13, C14, C16, C26, C27, C28, C29, C30, C31
64R7Resistors_SMD:R_1206_HandSolderingR15, R16, R21, R22, R27, R28
6Q_NMOS_GDSHTO-252:TO-252-2Q1, Q2, Q3, Q4, Q5, Q6
52.2uFCapacitors_SMD:C_1206_HandSolderingC4, C5, C7, C8, C10
4100RResistors_SMD:R_1206_HandSolderingR11, R12, R13, R14
4MountingHole_3.2mm_M3_DIN965_PadMounting_Holes:MountingHole_3.2mm_M3_DIN965_PadM3, M3 -> 81.28mm, M3 56.515mm Square, M3 offset inside by 3.429mm
3220nFCapacitors_SMD:C_1206_HandSolderingC18, C19, C20
339KResistors_SMD:R_1206_HandSolderingR19, R25, R30
33k3Resistors_SMD:R_1206_HandSolderingR4, R6, R7
35K6Resistors_SMD:R_1206_HandSolderingR20, R26, R31
3CONN_01X01Mounting_Holes:MountingHole_2.7mm_Pad_ViaP5, P6, P7
2100uFCapacitors_SMD:CP_Elec_6.3x7.7C24, C32
210kResistors_SMD:R_1206_HandSolderingR5, R17
22.2nFCapacitors_SMD:C_1206_HandSolderingC21, C22
22000uFCapacitors_ThroughHole:CP_Radial_D13.0mm_P5.00mmC23, C25
2SHNTR_SHUNT_3920:R_SHUNT_3920R18, R24
1100nFCapacitors_SMD:C_1206_HandSolderingC17
1120pFCapacitors_SMD:C_1206_HandSolderingC6
115kResistors_SMD:R_1206_HandSolderingR8
115uFCapacitors_SMD:C_1206_HandSolderingC15
118kResistors_SMD:R_1206_HandSolderingR3
11MResistors_SMD:R_1206_HandSolderingR10
11uFCapacitors_SMD:C_1206_HandSolderingC12
1220kResistors_SMD:R_1206_HandSolderingR9
122nFCapacitors_SMD:C_1206_HandSolderingC11
122uHInductors:Inductor_Taiyo-Yuden_NR-40xx_HandSolderingL1
147RResistors_SMD:R_1206_HandSolderingR2
16.8nFCapacitors_SMD:C_1206_HandSolderingC9
1CONN_01X02Wire_Connections_Bridges:WireConnection_2.50mmDrill_LargePadJ3
1CONN_01X03Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmP2
1CONN_01X06Pin_Headers:Pin_Header_Straight_1x06_Pitch2.54mmJ1
1DIODESCHDiodes_SMD:D_SMA_HandsolderingD1
1DRV_8302HTSSOP-56:TSSOP-56_6.1x14mm_Pitch0.5mmU3
1JUMPERPin_Headers:Pin_Header_Straight_1x02_Pitch2.54mmJP1
1JUMPER3Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mmJP3
1TVS 5vDiodes_SMD:D_SMA_HandsolderingD2
1teensy_3-2teensy_3-2_bottomLess:Teensy3.2-bottomLessU2

More from jakeread/tesc

1
  • 2 layersBbesc kiCad 1stAttempt, the printed circuit board in 3D

    Bbesc kiCad 1stAttempt

    jakeread/tesc

    in-progress motor controller, towards accessible closed-loop control

    59 parts16

Similar boards

  • 4 layers186.9 × 129.8 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    ansh1113/e-bike-conversion-kit

    A 4-layer PCB-based e-bike conversion kit featuring an STM32-based VESC ESC, power management circuits, wireless throttle, GSM, GPS, and more.

    179 parts1
  • 4 layers77 × 30 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    PetteriAimonen/ebike-controller-pcb-compact

    Custom e-bike controller based on VESC4

    149 parts1
  • 4 layers39.9 × 97.5 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    augustbering/besc-hw

    This the Hardware for my open source custom ESC.

    120 parts
  • 4 layers80.1 × 43 mmAair gimb pcb, the printed circuit board in 3D

    Aair gimb pcb

    danil555555/air_gimb_pcb

    94 parts
  • 4 layers39 × 85 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    FrogFairy/bldc-hardware

    Brushless DC Motor controller from Benjamin Vedder

    165 parts
  • 4 layers68.2 × 125.3 mmAfter remap, the printed circuit board in 3D

    After remap

    KoJZz/Control-Rakatuy

    bash git pull origin main # pull updatean terbaru dari repo git add . # add file terbaru yang udah dibuat git commit -m "Update: [Component Name] - Added power stage layout" # commiting git push origin main # push ke…

    148 parts
  • 2 layers82 × 54 mmBLDC 4, the printed circuit board in 3D

    BLDC 4

    koson/bldc_hardware-1

    This is a fork of Benjamin Vedders Open Source VESC project: https://github.com/vedderb/bldc-hardware

    99 parts
  • 2 layers40 × 60 mmSTM8003f3p development board, the printed circuit board in 3D

    STM8003f3p development board

    niksrajendra/stm8-bootloader-extended

    STM8 bootloader designed to work with any available communication interface and configure for different feature like secure, unsecure bootloader.

    131 parts

Questions

How big is the Bbesc kiCad PCB?

It measures 81.4 × 63.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Bbesc kiCad use?

82 parts, built around the DRV8302 and JUMPER3. 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 Bbesc kiCad KiCad files?

From the jakeread/tesc repository on GitHub, at the commit this page was made from: the board is Circuit/bbesc_kiCad.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Bbesc kiCad design in my own project?

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