Skip to the content
PCBKitNew board
4 layers96 × 172 mmServo cpu, the printed circuit board in 3D

Servo inverter for 3-phase AC motor with/out encoder feedback

Size
96 × 172 mm
Copper layers
4
Thickness
1.6 mm
Parts
167
Nets
182
Pads
657
Tracks, vias
2,138, 351
Pours
4
Routed
Yes
KiCad
KiCad 7 (file 20221018)
Created
19 Jan 2023
Updated
22 Jul 2025

Overview

Servo cpu is an open-source printed circuit board by wiciu15, from the wiciu15/servo2 repository on GitHub. It is a 4-layer board of 96 × 172 mm with 167 parts on 182 nets, routed with 2,138 tracks and 351 vias.

It is built around the MAX485ED, SN65HVD232D and AP63205WU, with the ISL83491IB, ISP742RI and 74HC14 among its other parts. Its parts include 57 resistors, 51 capacitors, 18 ICs, 14 diodes and 9 connectors. It belongs with the robots and motor control and power boards and the STM32 boards of this library.

Main components

12

README

README.md

Servo 2

3-phase AC servomotor driver

This is a project of a servo inverter to drive 3-phase AC motor with/out encoder feedback

It's in alpha development so there are many bugs and things included in software but not really working/tested.

DEMO video: https://www.youtube.com/watch?v=Hu02lt5aCbM

CNC DEMO: https://www.youtube.com/watch?v=LXm4no8DIPE

CPU board

This is a free software under the GNU license, you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. This project is shared with public for educational purposes, without WARRANTY and Author is not liable for any damages caused directly or indirectly by this software/hardware. The board is mains-powered. High voltage can kill you. Have caution when using high voltage devices

Features

  • Manual voltage and frequency control
  • U/f scalar motor control
  • Open loop current control for test purposes
  • Field-oriented vector control (FOC) for PMSM/BLDC motors with encoder feedback
  • Encoders support:
    • ABZ encoder with differential driver output, needs one manual rotation to index with a rotor properly
    • Mitsubishi J2/J2s/J4/JE series, baud rate 2 500 000 bits/s, implementation is working but need some polish
    • Tamagawa T-Format encoders - tested with ABB BSM-series motor, baud rate 2 500 000 bits/s, most robust implementation and testing at this moment
    • Panasonic minas series encoder - support in early development, not much tested and buggy
    • DELTA NH4 series T+ T- encoder - very early development
  • Braking chopper control
  • under/overvoltage, overcurrent, short-circuit and other errors detection and handling
  • Communication with PC using MODBUS over USB-CDC
  • simple CANopen node for fieldbus control
  • Parameter set, with non-volatile storage in external EEPROM
  • control and monitoring of drive using OLED screen and buttons
  • ramp generators and limiters for current,speed and position control loops

To-do in the future

  • I2t thermal monitoring of motor
  • sensorless rotor angle aquisition
  • analog and digital I/O
  • step/dir input
  • current and speed loop gains auto-tuning
  • motor parameters automatic measurement

Used third-party software

Hardware modification

MOdifications of rev.A of CPU board

  • data/command line to OLED screen(PA15)
  • bridge between tim1break input (PE15) and overcurrent interrupt(PA1)(break interrupt was not working i dont know why just bridged it to EXTI on other pin).
  • OLED CLK is moved to PA5, PB3 is used as DEBUG_SWO.
  • added filter to GND on FAULT line from power board to enchance noise rejection from EMI(i was getting random short-circuit errors).

Parts

167
QtyValueFootprintReferences
292u2Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC1, C2, C3, C10, C11, C12, C13, C14, C15, C16, C20, C21, C24, C25, C26, C32 +13
1610kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR13, R14, R17, R18, R19, R23, R24, R29, R30, R32, R33, R35, R36, R38, R39, R41
12100nCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC17, C27, C42, C43, C44, C45, C46, C47, C48, C49, C50, C51
11470RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR46, R47, R48, R49, R50, R51, R52, R53, R54, R56, R58
72k2Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR28, R31, R34, R37, R40, R42, R43
7BZT52B5v1Diode_SMD:D_SOD-123FD7, D8, D9, D10, D11, D12, D13
61kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR4, R15, R16, R44, R45, R55
622uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC28, C29, C30, C31, C39, C41
43k3Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR20, R21, R25, R26
4MountingHole_2.7mm_M2.5_DIN965_PadMountingHole:MountingHole_2.7mm_M2.5_DIN965_PadMH1, MH1, MH1, MH1
3150RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR9, R22, R27
3220RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR10, R11, R12
3TS912Package_SO:SO-8_3.9x4.9mm_P1.27mmU3, U12, U16
212pCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC18, C19
21uCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC22, C23
222RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR5, R6
24,7kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2, R3
2BZT52B6v2Diode_SMD:D_SOD-123FD3, D4
2ISP742RIPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU14, U15
110uInductor_SMD:L_Sunlord_SWPA5040SL2
116M xt224Crystal:Crystal_SMD_2520-4Pin_2.5x2.0mmY1
118kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR8
11N4148Diode_SMD:D_SOD-123FD14
1220kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR7
1470uInductor_SMD:L_1812_4532Metric_Pad1.30x3.40mm_HandSolderL3
14u7Inductor_SMD:L_Sunlord_SWPA8040SL1
1615mA PTCFuse:Fuse_1206_3216MetricF1
174HC14Package_SO:SO-14_3.9x8.65mm_P1.27mmU13
174LVC2G04Package_SO:SC-74-6_1.5x2.9mm_P0.95mmU18
1820kResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR1
1ABZConnector_RJ:RJ45_Ninigi_GEJ3
1AM26LS32APackage_SO:SO-16_3.9x9.9mm_P1.27mmU7
1AP1117-33Package_TO_SOT_SMD:SOT-223-3_TabPin2U4
1AP2151APackage_TO_SOT_SMD:SOT-23-5U8
1AP63205WUPackage_TO_SOT_SMD:TSOT-23-6U6
1CONNConnector_RJ:RJ45_Ninigi_GEJ5
1Control powerTerminalBlock_RND:TerminalBlock_RND_205-00232_1x02_P5.08mm_HorizontalJ2
1DEBUGConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ6
1DOWNButton_Switch_SMD:SW_SPST_B3S-1000SW4
1ENTERButton_Switch_SMD:SW_SPST_B3S-1000SW1
1ESCButton_Switch_SMD:SW_SPST_B3S-1000SW2
1EXTConnector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_VerticalJ9
1GNDJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP3
1GREEN_LEDDiode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolderD5
1I/OConnector_IDC:IDC-Header_2x10_P2.54mm_Latch_VerticalJ8
1ISL83491Package_SO:SO-14_3.9x8.65mm_P1.27mmU5
1LMC7660Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU11
1M24C02-WMNPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1MAX485EPackage_SO:SO-8_3.9x4.9mm_P1.27mmU9
1OLED-128O064DDisplay:OLED-128O064DDS1
1OPA-VJumper:SolderJumper-3_P1.3mm_Bridged12_Pad1.0x1.5mmJP2
1PWR boardConnector_PinHeader_2.54mm:PinHeader_2x10_P2.54mm_VerticalJ1
1RED_LEDDiode_SMD:D_1206_3216Metric_Pad1.42x1.75mm_HandSolderD6
1RESETJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP1
1SM6T27ADiode_SMD:D_SMBD1
1SN65HVD232Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU10
1STM32F407VETxPackage_QFP:LQFP-100_14x14mm_P0.5mmU1
1Serial EncoderConnector_RJ:RJ45_Ninigi_GEJ4
1UPButton_Switch_SMD:SW_SPST_B3S-1000SW3
1US1BDiode_SMD:D_SMAD2
1USB_BUSB_B_JST_Vertical:USBJ7
1VO0661TPackage_SO:SOIC-8_3.9x4.9mm_P1.27mmU17

The 166 most common of 167 parts.

Questions

How big is the Servo cpu PCB?

It measures 96 × 172 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Servo cpu use?

167 parts, built around the MAX485ED, SN65HVD232D, AP63205WU and ISL83491IB. 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 Servo cpu KiCad files?

From the wiciu15/servo2 repository on GitHub, at the commit this page was made from: the board is PCB/servo_cpu/servo_cpu.kicad_pcb and its schematic PCB/servo_cpu/connectivity.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Servo cpu design in my own project?

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

Similar boards

  • 2 layers200 × 155 mmDE10nano interface, the printed circuit board in 3D

    DE10nano interface

    ShadeTechnik/socfpga-developement-OSHW

    hardware and software development for socfpga, open source

    139 parts1
  • 4 layers99.8 × 99.8 mmGapstorm retro, the printed circuit board in 3D

    Gapstorm retro

    G-EDM/Gapstorm-Pro

    G-EDM Gapstorm Pro - Pulseboard PCB files including BoM, Kicad files, Gerber files and Pick&Place file

    137 parts3
  • 2 layers68.6 × 53.3 mmControl chain arduino shield, the printed circuit board in 3D

    Control chain arduino shield

    mod-audio/cc-hw-arduino-shield

    MOD Arduino Shield hardware repository.

    41 parts6CC-BY-SA-4.0
  • 2 layers172 × 140.5 mmBottom board, the printed circuit board in 3D

    Bottom board

    mod-audio/mod-hw-duo

    Hardware project of MOD Duo

    255 parts1
  • 2 layers175 × 60 mmUsb rs485 switch, the printed circuit board in 3D

    Usb rs485 switch

    ucw-gadgets/usb-rs485_switch

    8x RS-485 switch and USB convertor

    357 parts
  • 2 layers70 × 90 mmVentilation control, the printed circuit board in 3D

    Ventilation control

    ucw-gadgets/ventilation-control

    Board for controlling ventilation system

    184 partsMIT
  • 2 layers67.4 × 44.8 mmAllSerial LIN, the printed circuit board in 3D

    AllSerial LIN

    Phunkafizer/AllSerial

    An universal sophisticated USB-serial converter

    13 parts6MIT
  • 2 layers119.9 × 108 mmLx deciim, the printed circuit board in 3D

    Lx deciim

    lucblender/lx-deciim

    lx-deciim is a dual-channel bitcrusher Eurorack module based on the Daisy Seed. Unlike traditional bitcrushers, it lets you selectively disable bits and replace them with CV-controlled triggers.

    206 parts5