St Com Sl-ptool1v1 Compact Reference Design For Low Voltage Brushless Power Tools User Manual

St Com Sl-ptool1v1 Compact Reference Design For Low Voltage Brushless Power Tools User Manual

ST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools logo

ST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools

ST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools product

Introduction

This STEVAL-PTOOL1V1 compact 70 mm x 30 mm reference design board is tailored for low voltage power tools driven
by 3-phase brushless motors, supplied by 2S to 6S batteries. The design is based on the STSPIN32F0B controller and STL180N6F7 (or STL220N6F7) power MOSFET.
The board is ready for sensorless and sensored FOC, and can be configured for six-step sensorless control through available BEMF sensing circuitry. The firmware example included in STM32 Motor Control SDK (X-CUBE-MCSDK-Y) uses position feedback from Hall effect sensors, with debugging and programming capability available through the SWD interface and the direct firmware update feature.

The board can deliver up to 15 A continuous current, thanks also to the optimal thermal dissipation provided by an embedded heatsink. It embeds a fast power-on circuit that connects and disconnects the battery, allowing standby consumption below 1 μA for extended battery duration. Several protection features are included, such as thermal shutdown, undervoltage lockout, overcurrent protection with programmable threshold and reverse biasing of power stage outputs.
This reference design is predominately intended for power tools, but is very suitable for any battery-powered application involving similar architecture, rating and performance. A potentiometer input for speed variation is available.ST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools fig 1

Getting started

Safety precautions

Danger: Some of the components mounted on the board could reach hazardous temperature during operation.

Caution: While using the board:

  • Do not touch the components or the heatsink
  • Do not cover the board
  • Do not put the board in contact with flammable materials or with materials releasing smoke when heated
  • After operation, allow the board to cool down before touching it
  • Adding a bulk capacitor is highly recommended to prevent a not stabilized power supply or voltage overshoots at power-on which could damage the device

Overview

The STEVAL-PTOOL1V1 implements a single-shunt topology and features:

  • 7 – 45 V motor voltage rating supported
  • Recommended for power tools supplied from 2S to 6S batteries
  • Output current up to 15 Arms
  • STSPIN32F0B advanced 3-phase motor controller tailored for single-shunt applications
  • STL180N6F7 60 V, 1.9 mΩ N-channel power MOSFET
  • Ultra-low standby current below 1µA thanks to an external turn-on/off trigger
  • Heat sink for improved power dissipation
  • Extremely compact footprint (70 mm x 30 mm)
  • Input connector for Hall effect sensors and encoder
  • Plug-and-play capability through six-step firmware with Hall effect sensor feedback
  • Six-steps sensorless control available through dedicated BEMF sensing circuitry and sensorless/sensored Field Oriented Control
  • Speed regulation through an external trimmer
  • Protections: thermal shutdown, UVLO, overcurrent and reverse biasing of power stage outputs
  • SWD debug interface and direct firmware update (DFU) via UART

Hardware and software requirements

To use the STEVAL-PTOOL1V1 board, you need:

  • a Windows (7, 8 or 10) PC
  • ST-LINK debugger/programmer for STM32
  • the STM32 Motor Control SDK (X-CUBE-MCSDK-Y)
  • one of the following IDEs:
    • IAR Embedded Workbench for ARM
    • Keil microcontroller development kit (MDK-ARM-STR)
    • STM32CubeIDE
  • a power supply with output voltage between 7 and 45 V (70 mA, max. DC current PCB absorption only in run-mode)
  • a three-phase brushless motor in the current and voltage ranges of the power supply and the STSPIN32F0B

Hardware description and configuration

Figure 2. STEVAL-PTOOL1V1 overviewST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools fig 2

  1. Speed regulation trimmer
  2. Power-on trigger
  3. Positive battery supply
  4. Holes for mounting the heatsink
  5. Motor phase connector
  6. Motor phase connector
  7. Motor phase connector
  8. Negative battery supply
  9. Hall sensor connectors
  10. BEMF sensing circuitry
  11. SWD interface
  12. GPIOs

MCU GPIOs mapped on J3 connectors

ConnectorPin no.SignalRemarks
 

 

 

 

 

 

 

 

 

J3

1NRSTSWD-RESET signal
2Ground
3PA13SWD-CLK signal
4PB1
5GroundSWD-GND signal
6PA7BEMF divider enabler
7PA14SWD-DIO signal
8PA6
9VDD
10PA5
11BOOT0
12PA4Current feedback
ConnectorPin no.SignalRemarks
 

 

 

 

 

J3

13PA15
14PA3Speed regulation trimmer input
15PB6
16PC14
17PB7
18PC15
19PB8
20PB9

Operation mode and sensing topology selection

The STEVAL-PTOOL1V1 supports 6-step sensorless and sensored algorithms.
According to the algorithm used, you can change the board configuration by soldering the missing components as per the table below.

Table 2. Hardware configuration

Driving techniqueHardware changes
Sensorless

Voltage mode (see Figure 3)

 

•        BEMF sensing circuitry must be populated

•        R10, R11 and R12 must be unsoldered

Sensorless Current mode

(see Figure 3 and Figure 4)

•        BEMF sensing circuitry must be populated

•        R10, R11 and R12 must be unsoldered

•        C20 and C21 can be populated to improve current feedback filtering performances

•        R28 and R38 can be populated to offset or partition current feedback signal

Hall sensors

Voltage mode

 

Default – no change required

Hall sensors Current mode

(see Figure 4)

•        C20 and C21 can be populated to improve current feedback filtering performances and/or to offset/partition

•        R28 and R38 can be populated to offset or partition current feedback signal

ST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools fig 3ST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools fig 4

Current sensing

The STEVAL-PTOOL1V1 board mounts a shunt resistor to sense the current flowing into the motor phases. The resistor is connected to an amplifier integrated in the STSPIN32F0B for signal conditioning before forwarding the sensed value to the integrated comparator. Filtering parameters and gain factor can be changed through R26 and C20. The filtered signal (current feedback) is routed to J3-12.
STSPIN32F0B integrates a comparator for OC detection. When an OC event is triggered, the OC comparator output signals the OC event to the MCU PB12 and PA12 inputs (BKIN and ETR). The comparator internal OC threshold can be set via MCU (PF6 and PF7 ports as per the table below). The corresponding current limit setting depends on the shunt resistor and signal conditioning values.

Table 3. OC thresholds

PF6PF7OC threshold [mV]Default current limit [A]
00N.A.
0110020
1025050
11500100

Hall effect sensors and encoder connector

The STEVAL-PTOOL1V1 board interfaces the digital Hall effect sensors or encoder mounted on the motor with the STM32 Nucleo development board through J7 connector.
The connector provides:

  • pull-up resistors (R6, R8, R9) for open-drain and open-collector interfacing
    Remove the pull-up resistors in case of push-pull outputs (see Figure 5)
  • the encoder/sensor supply is normally connected to the battery voltage but the default setting can be changed by removing R3 and short-circuiting R4 allowing VDD supply (see Figure 5)

Table 4. J7 pinout

PinEncoderHall effect sensor
1A+Hall 1
2B+Hall 2
3ZHall 3
PinEncoderHall effect sensor
4Encoder power supplySensor power supply
5GroundGround

ST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools fig 5

Speed trimmer
You can connect an external trimmer to J9 connector to provide the MCU with an analog signal used by the firmware as the setting point of the speed control loop.
The voltage ranges from 0 to 3.3 V (VDD) and increases by rotating the trimmer in clockwise direction.

Turn on/off circuitry
An external switch allows you to properly connect or disconnect the MCU and the battery, reducing the quiescent consumption to the lowest level. As soon as the switch is closed, the motor can be driven as required by the control algorithm.
The schematic section below shows the turn on/off trigger circuitry. By closing the trigger switch, the Q1 PMOS gate is forced low, connecting the battery to the control circuitry.

ST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools fig 6

Keep-alive circuit
As soon as the Q1 PMOS connects the battery to the STSPIN32F0B and the VM rises above the turn on threshold, the power-up sequence starts and the integrated buck regulator performs the soft-start ramp supplying the MCU.
When the MCU is operative, you can keep the PMOS closed using Q2 NMOS which acts as an MCU driven switch parallel to the external trigger switch. Thus, the firmware takes control of the connection between the battery and the STSPIN32F0B allowing the code to perform a safe switch-off (for example, by braking the motor).
Set the GPIO output (PF0) at MCU initialization.

External trigger status detection
While the STSPIN32F0B is supplied by the keep-alive circuit, the actual status of the external trigger switch must be constantly monitored to execute the shutdown sequence when it is released.
The monitoring GPIO (PF1) is connected to the switch through D2 diode. As long as the switch is closed, the GPIO is forced low through D2. Releasing the switch, D2 turns off and the GPIO is pulled up by the resistor.
An interrupt to trigger the braking and stop the motor should be set on the rising edge of PF1.

Protection against reverse biasing from power stage outputs
The battery is always connected to the power stage while the control side is disconnected through the Q1 PMOS switch. Thus, the voltage of the power stage output (VOUT) can be higher than the control logic supply (VM) violating the AMR limit of the gate driving circuitry (VOUT max. = VM + 2 V).
The device is protected against this reverse biasing by the diodes between each output and the VM supply (D3, D4, D5 and D7).

How to use the board

Step 1. Check the mounting options according to the desired operation mode (see Section 2.1 Operation mode and sensing topology selection).
Step 2. Connect an external trigger switch to J8.
As an option, you can connect an external trimmer to J9 to vary the motor speed.
Step 3. Supply the board through J1 (positive) and J2 (ground).
Step 4. Download the pre-compiled code through the SWD interface.
Step 5. Connect the brushless motor phases to J4, J5 and J6.
Step 6. Develop your application using the firmware example included in STM32 Motor Control SDK (X-CUBEMCSDK- Y) as starting point.

Schematic diagrams

Figure 7. STEVAL-PTOOL1V1 schematic diagramST com SL-PTOOL1V1 Compact Reference Design for Low Voltage Brushless Power tools fig 7

Bill of materials

Table 5. STEVAL-PTOOL1V1 bill of materials

ItemQ.tyRef.Part/ValueDescriptionManufacturerOrder code
12C1, C24.7µF Size 1206 50 VSMT ceramic capacitorKemetC1206C475K5PACTU
21C347 µF Size

0805 6.3 V

SMT ceramic capacitorKemetC0805C476M9PACTU
32C4, C191 nF Size

0402 6.3 V

SMT ceramic capacitorMurataGRM155R61H102KA01D
42C5, C18100 nF Size

0402 6.3 V

SMT ceramic capacitorMurataGCM155R71C104KA55D
51C64.7 µF Size 1206 50 VSMT ceramic capacitorKemetC1206C475K5PACTU
61C7220 nF Size

0402 50 V

SMT ceramic capacitorTaiyo YudenUMK105BJ224KV-F
73C10, C11, C171000 n Size

0603 16 V

SMT ceramic capacitorTDKC1608X7R1C105K080AC
81C12100 n Size

0402 16 V

SMT ceramic capacitorMurataGCM155R71C104KA55D
91C131 n Size 0402

3.6 V

SMT ceramic capacitorMurataGRM155R61H102KA01D
104C14, C15, C16, C22100 p Size

0402 6.3 V

SMT ceramic capacitorMULTICOMPMC0402B101K250CT
 

11

 

2

 

C20, C21

Size 0402 6.3 VSMT ceramic capacitor (not mounted) 

Any

121C2310 µ Size

0805 16 V

SMT ceramic capacitorMurataGRM21BR61C106KE15L
131C2410 n Size

0402 6.3 V

SMT ceramic capacitorWurth Elektronik885012205012
141D1STPS0560Z SOD-123Schottky RectifierSTSTPS0560Z
151D2BZT585B12T SOD523SMD Precision Zener DiodeDiodes IncorporatedBZT585B12T-7
165D3, D4, D5, D6, D71N4148WS SOD-323FSmall Signal Fast Switching DiodeVishay1N4148WS-E3-08
 

17

 

3

 

D8, D9, D10

BZX585-C3V3 SOD-523 3.3 V3.3 V Zener Diode 300mW (not mounted) 

Nexperia

BZX585-C3V3 or

equivalent (NP)

 

18

 

3

 

D11, D12, D13

BAT30KFILM SOD-523 30 VSmall Signal Schottky Diode (not mounted) 

ST

 

BAT30KFILM

 

19

 

6

D14, D15, D16, D17, D18, D19BAT30KFILM SOD-523 30 VSmall Signal Schottky Diode 

ST

 

BAT30KFILM

1D20IN4148WS SOD-323 75VGeneral purpose diodeVishay1N4148WS-E3-08
201JP1SMT jumperAny
215J1, J2, J4, J5, J6Plated Hole 3 mmJumpersAny
ItemQ.tyRef.Part/ValueDescriptionManufacturerOrder code
 

22

 

1

 

J3

 

STRIP 2×10

2×10 pins

Strip connector 10×2 poles, 2.54 mm (not mounted) 

Any

 

23

 

1

 

J7

STRIP 1×5

1×5 pins

Strip connector 5

poles, 2.54 mm (not mounted)

 

Any

 

24

 

1

 

J8

STRIP 1×2

1×2 pins

Strip connector 2

poles, 2.54 mm (not mounted)

 

Any

 

25

 

1

 

J9

STRIP 1×3

1×3 pins

Strip connector 3

poles, 2.54 mm (not mounted)

 

Any

 

26

 

1

 

L1

22 µF, 580 mA, SMD 3 x

1.5 mm

 

Inductor

 

Bourns

 

SRN3015-220M

 

27

 

1

 

Q1

 

STN3P6F6 SOT-223

P-channel -60 V,

0.13 Ohm, -3 A STripFET F6 Power MOSFET

 

ST

 

STN3P6F6

 

28

 

1

 

Q2

2N7002 SOT-23N-channel 60 V,

7.5 Ohm MOSFET

 

ST

 

2N7002

 

 

 

 

29

 

 

 

 

6

 

 

 

Q3, Q4, Q5, Q6, Q7, Q8

 

STL180N6F7

N-channel 60 V,

1.9 mOhm, 120 A STripFET F7 Power MOSFET

 

 

 

 

ST

 

STL180N6F7

 

 

STL180N6F7

N-channel 60 V,

0.0012 Ohm typ.,

260 A STripFET

F7 Power MOSFET

 

 

STL220N6F7

 

30

 

2

 

R1, R2

100 k Size

0402 1/16W 5

%

 

SMT resistor

 

Panasonic

 

ERJ2RKF1003X

311R30 R Size 0805

0.1 W 5 %

SMT resistorYageoRC0805JR-070RL
321R4Size 0805 0.1

W 5 %

SMT resistor (not mounted)Any
 

33

 

2

 

R5, R41

100 k Size

0402 1/16 W 5

%

 

SMT resistor

 

Panasonic

 

ERJ2RKF1003X

343R6, R8, R910 k Size 0402 1/16 W 5 %SMT resistorPanasonicERJ2RKF1002X
351R715 k Size 0402 1/16 W 5 %SMT resistorVishayCRCW040215K0FKED
363R10, R11, R121 k Size 0402 1/16 W 5 %SMT resistorPanasonicERJ2GEJ102X
 

37

 

1

 

R13

100 k Size

0603 1/16W 5

%

 

SMT resistor

 

TE Connectivity

 

CRG0603F100K

381R1439k Size 0402

1/16W 5 %

SMT resistorVishayCRCW040239K0FKED
393R15, R16, R1710 k Size 0402

0.1 W 5 %

SMT resistor (not mounted)Any
ItemQ.tyRef.Part/ValueDescriptionManufacturerOrder code
401R181 k Size 0402

1/16W 5 %

SMT resistorPanasonicERJ2GEJ102X
411R190 R Size 0603

1/16W 5 %

SMT resistorPanasonicERJ3GEY0R00V
 

42

 

3

 

R20, R21, R22

2.2 k Size 0402 0.1 W 5

%

SMT resistor (not mounted) 

Any

 

43

 

6

R23, R24, R25, R35, R36, R3756 R Size

0603 0.1 W 5

%

 

SMT resistor

 

Vishay

 

CRCW060356R0FKEA

442R26, R3910 k Size 0402 1/16 W 1 %SMT resistorPanasonicERJ2RKF1002X
451R270 R Size 0603

0.1 W 5 %

SMT resistorPanasonicERJ3GEY0R00V
462R28, R38Size 0402 1/16 W 1 %SMT resistor (not mounted)Any
472R29, R342 k Size 0402 1/16 W 1 %SMT resistorPanasonicERJ2RKF2001X
 

48

 

3

 

R30, R31, R32

10 R Size

0603 0.1 W 5

%

 

SMT resistor

 

Vishay

 

CRCW060310R0FKEA

 

49

 

1

 

R33

4.7 k Size 0402 1/16 W 1

%

 

SMT resistor

 

Panasonic

 

ERJ2GEJ472X

501R400.001R Size 2512 3 W 1 %SMT resistorBournsCRE2512-FZ-R001E-3 or

equivalent

 

51

 

7

TP1, TP2, TP3, TP4, TP5, TP6, TP7TP-SMD-

diam1_27mm copper pad

 

SMD pad

 

Any

 

 

52

 

 

1

 

 

U1

 

STSPIN32F0B VFQFPN48

7x7x1mm

Advanced single shunt BLDC controller with embedded STM32 MCU 

 

ST

 

 

STSPIN32F0B

 

53

 

1

 

3386W-1-503L F

Potentiometer, 50Kohm, through hole, 3386 trimpot series 

Bourns

 

3386W-1-503LF

541Heatsink-29×2 9×8 mmHeatsink-29x29x 8 mmFischer ElektronikICK SMD E 29 SA
 

55

 

1

 

PCB

30x70x1.55m

m 30x70x1.55m

m

4 layer FR4-PCB cu Thikness 70micron, inner 35micron 

Any

 

56

 

4

 

3x8mm 3x8mm

Vite metrica cilindrica M3 RS PRO, in Acciaio, 8mm 

Wurth

 

00463 8

5747X3.2X0.5mm

7X3.2X0.5mm

Nylon 6/6 UL94- V2STEAB5021/1
 

58

 

1

3.2 W/m*K 150x150x0.5 mm self- adhesive 

Thermal interface sheet

 

R.S. Pro

 

707-4645

Revision history

Table 6. Document revision history

DateVersionChanges
02-Oct-20201Initial release.
14-Jan-20212Updated Section 1.1 Safety precautions, Section 3 How to use the board and Section 4 Schematic diagrams.
03-Aug-20213Updated Introduction, Hardware and software requirements and How to use the board.
11-Nov-20214Updated Section 4 Schematic diagrams.

IMPORTANT NOTICE – PLEASE READ CAREFULLY

STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgment.

Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other product or service names are the property of their respective owners.

Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2021 STMicroelectronics – All rights reserved

References

Documents / Resouces

Download manual
Here you can download full pdf version of manual, it may contain additional safety instructions, warranty information, FCC rules, etc.


Related Manuals