Skip to the content
2 layers210 × 125 mmController bldc, the printed circuit board in 3D

Firmware designed in ESP32 DEVKIT microcontroller where motor, throttle, breaks, Nextion touch screen and more systems are integrated.

Size
210 × 125 mm
Copper layers
2
Thickness
1.6 mm
Parts
73
Nets
61
Pads
227
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 5 (file 20171130)
Created
19 Apr 2021
Updated
21 Jun 2021

Overview

Controller bldc is an open-source printed circuit board by david8128, from the david8128/Electeam-Sharky repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 210 × 125 mm with 73 parts on 61 nets.

It is built around the IR2103PBF, MC1458P and IRF1010NPBF, with the 1N4728A, LM35 and PN2222A among its other parts. Its parts include 29 resistors, 13 capacitors, 9 diodes, 7 ICs and 7 transistors. It belongs with the robots and motor control boards and the ESP32 boards of this library.

Main components

6

README

README.md

Electeam-Sharky-ESP32

This is the firmware for the ESP32-WROOM-32 microcontroller where throttle, break, LCD screen, motor and more systems are integrated.

Schematic

The PCB Kicad folder is located in (controller_bldc_kicad_Sch_PCB/)[https://github.com/david8128/Electeam-Sharky-ESP32/tree/main/controller_bldc_kicad_Sch_PCB]

Electrical Specifications for the PCB electronics

Power

Relay for the Operator Presence Control - aka. Death Man Security System (HAT901 12VDC 20A) = 0.96 W

MOSFET has been considered for de OPC but the consumtion is higher (Using IRF1010N with a ) For this project is used the MCPWM BLDC motor control (hall sensor feedback) example from ESP-IDF library.

As shown in Schematic there were used two LM2596 DC-DC HW-411 converters

Battery

When battery is fully charged the voltage is 40.6V. The BMS open the discharging circuit when the battery voltage is under 32V.

The energy or maximum energetic storage capacity of the battery is 320Wh.

This modes will be reviewed under the light of the Shell Echo Marathon Competition.

Modes

Acceleration Optimized

Soft Start

Manual

Here you have the documentation of the MCPWM-Hall_Sensor example:

MCPWM BLDC motor control(hall sensor feedback) Example

This example will show you how to use MCPWM module to control bldc motor with hall sensor feedback

The following examples uses MCPWM module to control bldc motor and vary its speed continuously

The bldc motor used for testing this code had hall sensor capture sequence of 6-->4-->5-->1-->3-->2-->6-->4--> and so on

IR2103 3-ph bridge driver is used for testing this example code

User needs to make changes according to the motor and gate driver ic used

Step 1: Pin assignment

  • The gpio init function initializes:
    • GPIO19 is assigned as the MCPWM signal for 1H(UH)
    • GPIO18 is assigned as the MCPWM signal for 1L(UL)
    • GPIO17 is assigned as the MCPWM signal for 2H(VH)
    • GPIO16 is assigned as the MCPWM signal for 2L(VL)
    • GPIO15 is assigned as the MCPWM signal for 3H(WH)
    • GPIO14 is assigned as the MCPWM signal for 3L(WL)
    • GPIO23 is assigned as the MCPWM capture signal for Hall A
    • GPIO25 is assigned as the MCPWM capture signal for HALL B
    • GPIO26 is assigned as the MCPWM capture signal for HALL C

Step 2: Initialize MCPWM

  • You need to set the frequency and duty cycle of MCPWM timer
  • You need to set the MCPWM channel you want to use, and bind the channel with one of the timers
  • You need to set the capture unit, for POS/NEG edge capture
  • Also reversing the hall sensor BIT weight, will make bldc motor rotate CW or CCW

Parts

73
QtyValueFootprintReferences
6100Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR5, R6, R7, R8, R9, R10
41.5kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR12, R13, R14, R15
41N4004Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD1, D2, D3, D9
30.1uFCapacitor_THT:C_Disc_D4.7mm_W2.5mm_P5.00mmC7, C8, C9
315kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR20, R21, R22
31N4148Diode_THT:D_DO-35_SOD27_P7.62mm_HorizontalD6, D7, D8
32.2uFCapacitor_THT:CP_Radial_D6.3mm_P2.50mmC2, C3, C4
32.5kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR26, R27, R29
3220uFCapacitor_SMD:CP_Elec_10x14.3C10, C11, C12
3IR2103Package_SO:SO-8_3.9x4.9mm_P1.27mmU4, U8, U9
3IRF1010NPackage_TO_SOT_THT_Electeam:TO-220-3_Horizontal_TabDownQ1, Q3, Q5
3IRF1010NPackage_TO_SOT_THT_Electeam:TO-220-3_Horizontal_TabUpQ2, Q4, Q6
210kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR4, R16
21N4728ADiode_THT:D_DO-41_SOD81_P10.16mm_HorizontalD4, D5
21kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR2, R3
10.1Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR11
10.1uFCapacitor_THT:C_Disc_D7.5mm_W5.0mm_P10.00mmC13
10.47uFCapacitor_THT:C_Disc_D7.5mm_W5.0mm_P10.00mmC5
11.2kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR28
112kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR1
1150kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR23
11uFCapacitor_THT:C_Disc_D7.5mm_W5.0mm_P10.00mmC1
1220Resistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR18
12kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR25
14.7kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR19
147uFCapacitor_THT:CP_Radial_D8.0mm_P3.80mmC6
15.2kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR17
175kResistor_THT:R_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_HorizontalR24
1BLDC MotorConnector_Phoenix_GMSTB:PhoenixContact_GMSTBA_2,5_3-G-7,62_1x03_P7.62mm_HorizontalJ9
1Battery SupplyConnector_Phoenix_GMSTB:PhoenixContact_GMSTBA_2,5_2-G_1x02_P7.50mm_HorizontalJ1
1Conn_01x11_MaleConnector_Molex:Molex_KK-254_AE-6410-11A_1x11_P2.54mm_VerticalJ2
1ESP32-DEVKITC-32DESP32-DEVKITC-32D_Electeam:MODULE_ESP32-DEVKITC-32DU1
1FusePackage_TO_SOT_THT_Electeam:PortafusibleF1
1Hall SensorsConnector_Molex:Molex_KK-254_AE-6410-05A_1x05_P2.54mm_VerticalJ7
1LM2596SOURCEPackage_TO_SOT_THT_Electeam:LM2596DCSource_ElecteamU5
1LM2596SOURCE_Pin2Package_TO_SOT_THT_Electeam:LM2596DCSourcePin2_ElecteamU3
1LM35Connector_Molex:Molex_KK-254_AE-6410-03A_1x03_P2.54mm_VerticalJ6
1MC1458PPackage_DIP:DIP-8_W7.62mm_LongPadsU2
1ON_OFFConnector_Molex:Molex_KK-254_AE-6410-02A_1x02_P2.54mm_VerticalSW1
1PN2222APackage_TO_SOT_THT:TO-92_InlineQ7
1RAYEX-L90BRelay_THT:Relay_SPST_RAYEX-L90BK1

Similar boards

  • 2 layers377.2 × 318 mmThree phase bridge, the printed circuit board in 3D

    Three phase bridge

    arcoslab/open-coroco-legacy

    COmpliant RObot COntroller is a free software project aiming to create an impedance controller based on a stm32 microcontroller using bldc motors and strain gauges.

    105 parts6
  • 2 layers177.9 × 187.4 mmAudio board 0033 rev.a, the printed circuit board in 3D

    Audio board 0033 rev.a

    palazzol/CyberamicControlCenter

    Repo for docs and info about the Cyberamic Control Center

    105 parts16
  • 2 layers63.5 × 43.2 mm2db div, the printed circuit board in 3D

    2db div

    dmsmccann/Spectrum-Analyzer

    Based on design by W7ZOI in 1998 QST

    30 parts2
  • 2 layers99.1 × 99.1 mmDual MS20 VCF, the printed circuit board in 3D

    Dual MS20 VCF

    JordanAceto/angelo_modular

    modular analog synthesizer for a.p.

    91 parts2CC-BY-4.0
  • 2 layers54.1 × 114 mmADSR Generator, the printed circuit board in 3D

    ADSR Generator

    theWickedWebDev/Modular-Synth

    35 parts
  • 2 layersHardware deneme, the printed circuit board in 3D

    Hardware deneme

    KerimAltuntecim/esp32-pcb-control-system

    ESP32-C3 PCB control system with Nextion HMI, motor, sensor and power-driver interfaces.

    38 partsMIT
  • 4 layers127.3 × 73 mmSpeed controller, the printed circuit board in 3D

    Speed controller

    rkleva/Low-Power-Inverter-STM32

    179 parts
  • 4 layers134.5 × 116.3 mmESCTasarım, the printed circuit board in 3D

    ESCTasarım

    SalihAyvaci21/ESCTasarim

    Drone motorları için geliştirilmiş; ATmega328P ve IR2103 tabanlı, sandviç PCB yapısına (2x2 katman) sahip, IRLZ44N MOSFET'li yüksek akım 3-faz BLDC motor sürücüsü.

    91 parts

Questions

How big is the Controller bldc PCB?

It measures 210 × 125 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Controller bldc use?

73 parts, built around the IR2103PBF, MC1458P, IRF1010NPBF and 1N4728A. 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 Controller bldc KiCad files?

From the david8128/Electeam-Sharky repository on GitHub, at the commit this page was made from: the board is Diseño Electrónico/Esquema y Gerbers PCB/controller_bldc.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Controller bldc design in my own project?

Its repository publishes it under the GPL-3.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).