This document introduces the STM32H7-based motor development board
1,
AF_MDB (AF Motor Development Board), which can control BLDC/PMSM below 48V, uses three resistors for phase-to-phase sampling, and is suitable for sensorless control.
Design block diagram,

functional partition diagram,

power supply design diagram.

Detailed functions are shown in the schematic diagram.
Photos of versions V3 and V4 are available

. V3 is an earlier version. The main differences between the two versions are as follows:
V3
V4
Main control chip:
STM32H750VB
, STM32H723VE
Voltage range:
DC12-24V
, DC12-48V
Maximum current: 8A, 15A
Current sampling Linear Hall sensor ∑-δ isolation amplifier Communication methods: CAN, RS485, EtherNet CAN, RS485, EtherCat Temperature detection: Not supported Overvoltage /overcurrent/undervoltage protection: Not supported Dimensions : 55, 19, 85mm , 64, 23.5, 105mm V3 Housing link: https://item.taobao.com/item.htm?spm=a1z0d.6639537/tb.1997196601.4.57927484n1hzDI&id=631384646544 V4 Shell Link: https://item.taobao.com/item.htm?spm=a1z09.2.0.0.3df52e8dNSNcjQ&id=572205742724&_u=k1mfjbsnc8b9 Motor Test Data: http://www.tiger-motion.com/en/product/product.php?t=sm060d RJ45 Interface Multiplexing: The RJ45 interface has 8 wires (4 pairs of twisted pairs). For 100Mbps Ethernet, only wires 1, 2, 3, and 6 are used. The remaining four wires are used for CAN communication and 485 communication. Serial Number 1 2 3 4 5 6 7 8 Function tx+ tx- rx+ 485A 485B rx- CANL CANH 2 Software Design: The software part is mainly divided into the driver layer, algorithm layer, and application layer. The driver layer is generated using the CUBEMX tool and includes configuration information for the chip's clock, I/O, ADC, PWM, DMA, USRT, interrupts, etc. The chip configuration file is attached and can directly generate project code. The algorithm layer can be generated using the SIMULINK tool, facilitating the implementation of various control algorithms. The application layer requires user-written code to call the interfaces of the driver and algorithm layers to implement the required functions. The complete code is pending open source. 3. Other: If you find any design flaws or problems, please point them out. Discussion group: 702033789. The demonstration video shows the high-low speed switching effect of the sensorless FOC control under inertial load.