

Stmsp
AC Servo Driver for STM32F4
- Size
- 42 × 42 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 134
- Nets
- 88
- Pads
- 448
- Tracks, vias
- 975, 276
- Pours
- 52
- Routed
- Yes
- KiCad
- KiCad 5 (file 20170123)
- Created
- 9 Dec 2013
- Updated
- 23 Aug 2023
Overview
Stmsp is an open-source printed circuit board by rene-dev, from the rene-dev/stmbl repository on GitHub, published under the GPL-3.0 licence. It is a 4-layer board of 42 × 42 mm with 134 parts on 88 nets, routed with 975 tracks and 276 vias.
It is built around the SN65176BD, TLE5012 and L6206Q, with the MCP16331-E/CH, USBLC6-4SC6 and MIC5504-3.3YM5 among its other parts. Its parts include 54 resistors, 39 capacitors, 10 ICs, 10 diodes and 7 connectors. It belongs with the robots and motor control boards and the STM32 boards of this library.
Main components
7SN65176BD
SOIC-8-40℃~+105℃ 1 1 4.75V~5.25V 70mA Transceiver SOIC-8 RS-485 / RS-422 ICs ROHSTexas InstrumentsRS-485 / RS-422 ICsTLE5012
DSO-8DSO-8 Magnetic Angle Sensors ROHSInfineon TechnologiesPre-Ordered TransistorsL6206Q
VFQFPN-48(7x7)2 2.5A 300mΩ 8V~52V Bipolar Driver Yes VFQFPN-48(7x7) Stepper Motor Driver ROHSSTMicroelectronicsGate DriversMCP16331-E/CH
SOT-23-6-40℃~+125℃ 1 1mA 2V~24V 4.4V~50V 500kHz 500mA Adjustable Buck Buck Built-in No SOT-23-6 DC-DC Converters ROHSMicrochip TechnologyDC-DC ConvertersUSBLC6-4SC6
SOT-23-6-55℃~+125℃ 0.3pF 15V 300W@8/20us 4.7A@8/20us 5V 6V 80nA ESD Four channels IEC 61000-4-2、IEC 61000-4-5、IEC 61000-4-4 Unidirectional SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSTECH PUBLICESD And Surge Protection (TVS/ESD)MIC5504-3.3YM5
SOT-23-5-40℃~+125℃@(Tj) 1 120uVrms 15uA 180mV@(300mA) 3.3V 300mA 5.5V 75dB@(1kHz) Fixed Over Temperature Protection、Enable Positive SOT-23-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSTECH PUBLICVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsSS110
SMA(DO-214AC)-65℃~+150℃ 100V 1A 200uA 30A 850mV@1A Independent SMA(DO-214AC) Schottky Diodes ROHSGOODWORKSchottky Diodes
README
README.mdBuild Log: https://travis-ci.org/rene-dev/stmbl
DISCLAIMER
THE AUTHORS OF THIS SOFTWARE ACCEPT ABSOLUTELY NO LIABILITY FOR ANY HARM OR LOSS RESULTING FROM ITS USE. IT IS EXTREMELY UNWISE TO RELY ON SOFTWARE ALONE FOR SAFETY. Any machinery capable of harming persons must have provisions for completely removing power from all motors, etc, before persons enter any danger area. All machinery must be designed to comply with local and national safety codes, and the authors of this software can not, and do not, take any responsibility for such compliance.
This software is released under the GPLv3.
STMBL
There is work in progress on documentation: https://github.com/rene-dev/stmbl/blob/master/docs/src/Getting%20Started.adoc
IRC: #stmbl on irc.hackint.eu https://webirc.hackint.org/#stmbl
STMBL is an open source servo drive designed for Retrofitting CNC machines and Robots. It supports Industrial AC and DC servos with up to 320V and 2kW (see specs for details).
Documentation about the PCB and pinout of the feedback connector:
https://github.com/rene-dev/stmbl/wiki/Pinouts
https://github.com/rene-dev/stmbl/wiki/PCB
Hardware version 4.1

Driving a Bosch Turboscara
https://www.youtube.com/watch?v=d6NH1W7DUnQ
https://www.youtube.com/watch?v=oTllxnYAgFc
Driving a Manutec Robot
https://www.youtube.com/watch?v=gwgnAeGjZrA
https://www.youtube.com/watch?v=wXLcAZwjlzE
Driving a Weeke BP12 VMC
https://www.youtube.com/watch?v=24LftGNp4MI
Driving a Haas VF0 (Spindle + Axes)
https://www.youtube.com/watch?v=kqenepupJIs
Drivetest
https://www.youtube.com/watch?v=-E1o_5cFyto
Supported Motors
- Synchronous AC Servos
- Asynchronous AC Servos
- DC Servos
- 2 Phase HF spindle motors
Supported Feedback systems
- Resolvers
- Incremental encoders
- sin/cos encoder interpolation
- Mitsubishi absolute encoders
- Sanyo Denki absolute encoders
- Yaskawa absolute encoders
- Sick HIPERFACE®
- Tamagawa SmartAbs
Planned:
- EnDat
- BiSS
- SSI
- Sanyo Denki wire-saving incremental encoder
Supported Position/Velocity Commands Inputs:
- Smartserial
- Quadrature
- Step/direction
- RS485
TODO
- Sensorless FOC
Directories
- hw/spice/ Spice simulation for resolver interface
- hw/kicad/v4.0/ kicad files for version 4
- src/ STM32F4 code, command, feedback and control loop
- stm32f303/ STM32F3 code, running on the HV side, generating PWM
Commercial Applications
Should you find the GPL license insufficient for your needs, other licenses can be purchased from my company.
Likewise, please contact us should you wish to fund the further development of this project, or are interesed in custom hardware, software, or commercial support.
Parts
134| Qty | Value | Footprint | References |
|---|---|---|---|
| 17 | 100n | stmbl:C_0603 | C1, C4, C5, C7, C8, C10, C11, C13, C17, C22, C24, C27, C29, C33, C36, C37 +1 |
| 17 | 1k | stmbl:R_0603 | R2, R6, R10, R17, R20, R21, R24, R28, R30, R33, R34, R38, R39, R41, R42, R55 +1 |
| 15 | 10k | stmbl:R_0603 | R9, R11, R13, R14, R15, R16, R18, R19, R22, R23, R26, R27, R29, R31, R36 |
| 8 | 18p | stmbl:C_0603 | C2, C3, C6, C16, C18, C19, C34, C35 |
| 5 | 120 | stmbl:R_0603 | R35, R40, R49, R50, R51 |
| 5 | 470 | stmbl:R_0603 | R1, R43, R52, R53, R54 |
| 4 | 1n | stmbl:C_0603 | C31, C32, C38, C39 |
| 4 | 220n | stmbl:C_0805 | C12, C14, C15, C20 |
| 4 | Led_Small | stmbl:LED-0805-SIDE | D7, D8, D9, D12 |
| 3 | 1.5k | stmbl:R_0603 | R3, R32, R37 |
| 3 | 1N4148 | stmbl:SOD-123 | D2, D10, D11 |
| 3 | 3.9k | stmbl:R_0603 | R46, R47, R48 |
| 3 | testpoint | stmbl:Measurement_Point_Round-SMD-Pad_Small | T1, T2, T3 |
| 2 | 0.02 | stmbl:R_0805 | R8, R12 |
| 2 | 10u | stmbl:C_0805 | C21, C28 |
| 2 | 2.2u | stmbl:C_0603 | C23, C25 |
| 2 | 200V 1A | stmbl:SOD-123 | D4, D6 |
| 2 | 22 | stmbl:R_0603 | R4, R5 |
| 2 | 220r 700mA | stmbl:R_0603 | L1, L2 |
| 2 | Q_NJFET_GSD | stmbl:SOT-23 | Q1, Q2 |
| 2 | SN65176B | stmbl:SOIC-8-N | U8, U9 |
| 2 | TLE5012 | stmbl:SOIC-8-N | U7, U10 |
| 2 | USBLC6-4SC6 | stmbl:SOT-23-6 | U1, U4 |
| 1 | 100 | stmbl:R_0603 | R56 |
| 1 | 10n | stmbl:C_0603 | C30 |
| 1 | 22u | stmbl:c_elec_5x5.3 | C26 |
| 1 | 22µ 650mA | stmbl:SMD_INDUCTOR_32x25 | L3 |
| 1 | 4.7k | stmbl:R_0603 | TH1 |
| 1 | 51k | stmbl:R_0603 | R25 |
| 1 | 8M | stmbl:Crystal_SMD_0503_4Pads | Y1 |
| 1 | CONN_01X02 | stmbl:akl183-2 | P6 |
| 1 | CONN_01X02 | stmbl:akl182-2 | P4 |
| 1 | CONN_01X04 | stmbl:Pin_Header_Straight_1x04 | P2 |
| 1 | CONN_01X04 | stmbl:Pin_Header_Straight_1x04_dual | P3 |
| 1 | CONN_01X06 | stmbl:Pin_Header_Straight_1x06 | P5 |
| 1 | CONN_02X05 | stmbl:Pin_Header_Straight_2x05 | J1 |
| 1 | JUMPER3_NC | stmbl:SOLDER_JUMPER_3_NC | JP2 |
| 1 | L6206Q | stmbl:VFQFPN48 | U2 |
| 1 | MCP16331 | stmbl:SOT-23-6 | U5 |
| 1 | MIC5504-3.3YM5 | stmbl:SOT-23-5 | U6 |
| 1 | STM32F303CBTx | stmbl:LQFP-48_7x7mm_Pitch0.5mm | U3 |
| 1 | USB_OTG | stmbl:USB_Micro-B | P1 |
| 1 | ss110 | stmbl:SMA_Standard | D1 |
The 131 most common of 134 parts.
Questions
How big is the Stmsp PCB?
It measures 42 × 42 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Stmsp use?
134 parts, built around the SN65176BD, TLE5012, L6206Q and MCP16331-E/CH. 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 Stmsp KiCad files?
From the rene-dev/stmbl repository on GitHub, at the commit this page was made from: the board is hw/kicad/stmsp/stmsp.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Stmsp 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).
More from rene-dev/stmbl
12- 4 layers59.2 × 66 mm

- 2 layers100 × 100 mm

- 2 layers100 × 100 mm

- 4 layers99.8 × 74.9 mm

- 2 layers100 × 100 mm

- 2 layers100 × 100 mm

- 2 layers99.9 × 99.9 mm

- 2 layers99.8 × 99.8 mm

- 2 layers100 × 100 mm

- 2 layers57 × 75 mm

- 2 layers87.5 × 50 mm

- 4 layers100 × 75 mm

Similar boards
- 2 layers

Tle5012b encoder breakout
Teslafly/TLE5012-Hall-Encoder-Module
Breakout/mounting board for the TLE5012 hall encoder for vesc
12 parts7 - 2 layers99.8 × 99.8 mm

Stmbl 5.0
freakontrol/stmbl
THE AUTHORS OF THIS SOFTWARE ACCEPT ABSOLUTELY NO LIABILITY FOR ANY HARM OR LOSS RESULTING FROM ITS USE. IT IS EXTREMELY UNWISE TO RELY ON SOFTWARE ALONE FOR SAFETY.
432 parts53GPL-3.0 - 2 layers100 × 100 mm

Stmbl 4.0
coon42/stmbl_otter
sudo dfu-util -d 0483:df11 -a 0 -s 0x8000000:leave -D objhvf3/hvf3.bin
425 parts1GPL-3.0 - 2 layers100 × 100 mm

- 2 layers66 × 37.6 mm

Controller
marenz2569/led-controller-ethernet
led-controller-ethernet is the hardware to the avr-ethernet-licht firmware https://github.com/marenz2569/avr-ethernet-licht
35 partsLGPL-2.1 - 2 layers105 × 47 mm

Modulo2-powamp
nodep/myAmp
Battery powered, solid state, guitar amplifier schematic and PCB
76 parts4GPL-3.0 - 2 layers100 × 100 mm

- 4 layers127 × 101.6 mm
