Foc ex

IpinZhu·foc-esc·hardware/foc-expansion/foc-ex.kicad_pcb

Foc ex PCB layout, top view — open source ESP32 board by IpinZhu

About the Foc ex PCB

Foc ex is an open source ESP32 PCB design by IpinZhu, published on GitHub under the MIT license. It is a 2-layer board measuring 50 × 70 mm, with 5 components from 5 distinct parts.

Its main chip is the ESP32-S3-WROOM-1, from the ESP32 family. Other key parts include the ESP32-C3-WROOM-02. By type, the board carries 2 ICs, 1 connector, 1 switch and 1 capacitor.

From the project

这是一个基于 STM32G473RC 的实验性三相 PMSM/BLDC 电机控制平台。仓库包含驱动板设计,以及使用 Rust 2024 + Embassy 实现的电流控制型磁场定向控制(FOC)固件。

这是一个基于 STM32G473RC 的实验性三相 PMSM/BLDC 电机控制平台。仓库包含驱动板设计,以及使用 Rust 2024 + Embassy 实现的电流控制型磁场定向控制(FOC)固件。

当前固件位于 software/firmware,目标芯片为 STM32G473RC:

- TIM1 中心对齐互补 PWM,输出引脚为 PA8/PA9/PA10 和 PB13/PB14/PB15。 - 配置的 PWM 频率:100 kHz。 - 配置的死区时间:在 170 MHz 定时器时钟下为 200 ns。 - 占空比范围:5%–95%。 - 通过 INA240A2 放大器和 0.5 mΩ 分流电阻进行三相电流反馈。 - 由定时器触发 ADC,对相电流、VBUS 和 TMP235 温度传感器进行采样。 - 支持电流 FOC、速度 FOC、开环控制、启动电流偏置校准、SVPWM、遥测和软件故障处理。 - 带版本和 CRC 的双槽 Flash 参数持久化:上电自动加载,UART param ... 命令和 CAN 参数帧可读取、设置、保存或恢复出厂参数。 - 电机参数自整定(Auto-Tune):autotune start 一键完成 Rs/L/磁链辨识、电流环 PI 计算与阶跃验证、开环同步校验和观测器参数配置,结果保存为带 CRC 的电机参数档案,重启后自动应用。 -…

Main components on the Foc ex

Foc ex bill of materials (BOM)

5 components, 5 distinct parts.

QtyPartRefs
1
ESP32-S3-WROOM-1
U1
1
ESP32-C3-WROOM-02
U2
1
Conn_01x02
J1
1
SW_Push
SW1
1
C_Small
C1

Foc ex design files

The KiCad project lives in the IpinZhu/foc-esc repository on GitHub; these links point at the commit this page was built from.

Foc ex: common questions

What microcontroller does the Foc ex use?

The Foc ex is built around the ESP32-S3-WROOM-1, from the ESP32 family.

How big is the Foc ex PCB?

The Foc ex measures 50 × 70 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the Foc ex?

5 components, from 5 distinct parts. The full bill of materials is listed on this page.

Where can I download the Foc ex design files?

From the IpinZhu/foc-esc repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.

Can I use the Foc ex design in my own project?

Yes, under the terms of its MIT license, which IpinZhu chose for the repository.

Can I test firmware for the Foc ex without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug ESP32 firmware against it before you order a PCB.

More boards in foc-esc

Similar boards