
Control Board Peripherals
ssyps2/PMSM_Motor_FOC
A three-level 3-phase Diode Clamped Inverter, applied as a battery connected Permanent Magnet Synchronous Machine (2kW) drive.

A three-level 3-phase Diode Clamped Inverter, applied as a battery connected Permanent Magnet Synchronous Machine (2kW) drive.
PMSM Driver is an open-source printed circuit board by ssyps2, from the ssyps2/PMSM_Motor_FOC repository on GitHub. It is a 4-layer board of 294 × 143.9 mm with 290 parts on 179 nets, routed with 1,019 tracks and 469 vias.
It is built around the MGJ2D051515SC, HFBR-2521Z and VS-E5TH3006S2L-M3, with the 74LVC1G04Z, HCPL-3120 and BZX384-C18-Q among its other parts. Its parts include 97 capacitors, 62 resistors, 60 ICs, 24 diodes and 24 transistors. It belongs with the power boards of this library.
The aim of this project is to simulate a 3-Phase Diode Clamped Inverter as a battery connected Permanent Magnet Synchronous Machine (PMSM) drive, and design a PCB to implement a low power version of this type of converter. The control algorithm will be tested in PLECS and eventually implemented in the F28379D micro-controller. Torque, speed, and mechanical position closed loop control of the PMSM motor will be included.
The main topology of the circuit for simulation in the PLECS is shown in Figure below.
The circuit designed in the simulation will be implemented in a 4-layer Printed Circuit Board (PCB). Surface Mount Technology (SMT) will be applied for more compact layout, higher design flexibility, and reducing the noise interference. The microcontroller is selected to be TI’s LAUNCHXL-F28379D, which is a 32-bit MCU with frequency up to 200MHz and sufficient communication interface (like UART, CAN, I2C) and high-speed PWM channels. Also, current sensor will be used to detect the 3-phase current and sampled by ADC to complete the torque control loop.
The schematic of PCB is shown in Figure below.
The PCB layout is shown in Figrue below.
3D Model:
Diode Clamped Inverter:
| Qty | Value | Footprint | References |
|---|---|---|---|
| 77 | 1u | Capacitor_SMD:C_1206_3216Metric | C10, C11, C12, C13, C16, C17, C18, C19, C20, C21, C22, C23, C24, C25, C26, C27 +61 |
| 24 | 270 | Resistor_SMD:R_1206_3216Metric | R1, R2, R10, R11, R15, R16, R17, R18, R19, R20, R24, R25, R26, R27, R28, R29 +8 |
| 24 | 50 | Resistor_SMD:R_1206_3216Metric | R3, R12, R13, R14, R21, R22, R23, R30, R31, R32, R37, R38, R39, R41, R43, R45 +8 |
| 24 | BZX384C18 | Diode_SMD:D_SOD-323 | D1, D2, D10, D11, D12, D13, D14, D15, D16, D17, D18, D19, D20, D21, D22, D23 +8 |
| 18 | VS-E5TH3006S2L-M3 | Package_TO_SOT_SMD:TO-263-2 | U37, U38, U39, U40, U41, U42, U43, U44, U45, U46, U47, U48, U49, U50, U51, U52 +2 |
| 14 | 20k | Resistor_SMD:R_1206_3216Metric | R4, R5, R40, R42, R44, R46, R48, R50, R52, R54, R56, R58, R60, R62 |
| 12 | 0.1u | Capacitor_SMD:C_1206_3216Metric | C1, C2, C3, C4, C5, C6, C9, C85, C86, C87, C88, C89 |
| 12 | 74LVC1G04 | Package_TO_SOT_SMD:SOT-23-5 | U1, U4, U5, U6, U13, U14, U15, U22, U23, U24, U31, U32 |
| 12 | BC846 | Package_TO_SOT_SMD:SOT-23 | Q1, Q2, Q3, Q4, Q9, Q10, Q15, Q20, Q21, Q22, Q23, Q24 |
| 12 | HCPL-3120 | Package_DIP:DIP-8_W8.89mm_SMDSocket_LongPads | U3, U10, U11, U12, U19, U20, U21, U28, U29, U30, U35, U36 |
| 12 | HFBR-2521Z | OptoDevice:Broadcom_AFBR-16xxZ_Horizontal | J2, J6, J7, J8, J9, J10, J11, J12, J13, J14, J15, J16 |
| 12 | MGJ2D051515SC | Converter_DCDC:Converter_DCDC_Murata_MGJ2DxxxxxxSC_THT | U2, U7, U8, U9, U16, U17, U18, U25, U26, U27, U33, U34 |
| 12 | RGCL60TK60 | Package_TO_SOT_THT:TO-3P-3_Vertical | Q5, Q6, Q7, Q8, Q11, Q12, Q13, Q14, Q16, Q17, Q18, Q19 |
| 6 | 1n | Capacitor_SMD:C_1206_3216Metric | C82, C83, C84, C95, C96, C97 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3_Pad_Via | H1, H2, H3, H4 |
| 3 | 1714971 | FYP_Components:CONN_1714971_PXC | J3, J4, J19 |
| 3 | 2606-1101 | FYP_Components:CONN_2606-1101_WAG | J1, J17, J18 |
| 3 | ACS723xLCTR-40AB | Package_SO:SOIC-8_3.9x4.9mm_P1.27mm | U55, U56, U57 |
| 3 | LMV641MF/NOPB | FYP_Components:DBV5_TEX | U58, U59, U60 |
| 2 | 2200u | FYP_Components:DC-link_ALC80C222FP400 | C14, C15 |
| 1 | 1827907 | FYP_Components:CONN_1827907 | J5 |

ssyps2/PMSM_Motor_FOC
A three-level 3-phase Diode Clamped Inverter, applied as a battery connected Permanent Magnet Synchronous Machine (2kW) drive.



ppolGTMonster/RobustEEG_forUHFMRI
Hardware for an Open Source EEG usable in high magnetic Fields


OxeBots/ssl_electronics
Oxebots electronics design for the RoboCup Soccer Small-Size League

rahmanaacc/CIRCUIT-PCB-BLDC-CONTROLLER-PARTITION-BOARD-MODULE-STM32f411-based
Design and development of a modular PCB partition board for a BLDC motor controller based on the STM32F411CEU6 microcontroller, integrating control, sensing, gate-driver, and interface circuitry into a structured…


SlenderN679/Inversor-trifasico-digital
Projeto de um Inversor Trifásico com Controlo Digital assente num STM32H755. Implementa modulação SPWM a 25 kHz, controlo escalar V/f e um Retificador Monofásico Ativo (AFE) com fator de potência unitário.
It measures 294 × 143.9 mm and has 4 copper layers, 1.6 mm thick.
290 parts, built around the MGJ2D051515SC, HFBR-2521Z, VS-E5TH3006S2L-M3 and 74LVC1G04Z. 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.
From the ssyps2/PMSM_Motor_FOC repository on GitHub, at the commit this page was made from: the board is PMSM_Driver/PMSM_Driver.kicad_pcb and its schematic Control_Board_Peripherals/Control_Board_Peripherals.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask ssyps2 before reusing the design.