data brief - steval-spin3204 - six-step brushless motor driver … · 2021. 7. 23. · mcsdk-y...

8
Features Input voltage from 7 to 45 V Output current up to 15 A RMS Power stage based on STD140N6F7 MOSFET Embedded 3.3 V buck regulator Embedded 12 V LDO regulator Single shunt current sensing Digital Hall sensors and encoder input Overcurrent comparator Bus voltage sensing Embedded ST-LINK/V2-1 Easy user interface with buttons and trimmer RoHS and WEEE compliant Applications Battery powered power tools Home appliances Pumps and fans Industrial automation Description The STEVAL-SPIN3204 three-phase brushless DC motor driver board is based on the STSPIN32F0B 3-phase BLDC controller with triple half-bridge gate driver, single shunt resistor current sensing topology and programmable overcurrent protection. The motor controller system-in-package includes an STM32F031C6 microcontroller ready to execute 6-step, field oriented control (FOC) and other advanced driving algorithms in the firmware, which can be downloaded onto the chip flash memory via the board USB port. The board is designed to help you test and develop motor control designs for applications such as power tools, home appliances, fans and pumps, with a flexible evaluation platform that even allows you to toggle between external sensor and sensorless position feedback data methods. Product summary Motor driver evaluation board based on the STSPIN32F0B 3- phase BLDC controller STEVAL- SPIN3204 N-channel 60 V, 3.1 mΩ typ., 80 A STripFET F7 Power MOSFET in a DPAK package STD140N6F7 Advanced single shunt BLDC controller with embedded STM32 MCU STSPIN32F0B Mainstream ARM Cortex-M0 Access line MCU with 32 Kbytes Flash, 48 MHz CPU, motor control STM32F031C6 STM32 Motor Control SDK X-CUBE- MCSDK-Y Applications Smart Home/ Industrial Motor Control/Industrial Tools Six-step brushless motor driver evaluation board for applications based on the STSPIN32F0B BLDC controller STEVAL-SPIN3204 Data brief DB3914 - Rev 2 - July 2021 For further information contact your local STMicroelectronics sales office. www.st.com

Upload: others

Post on 01-Aug-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Data brief - STEVAL-SPIN3204 - Six-step brushless motor driver … · 2021. 7. 23. · MCSDK-Y Applications Smart Home/ Industrial Motor Control /Industrial Tools Six-step brushless

Features• Input voltage from 7 to 45 V• Output current up to 15 ARMS

• Power stage based on STD140N6F7 MOSFET• Embedded 3.3 V buck regulator• Embedded 12 V LDO regulator• Single shunt current sensing• Digital Hall sensors and encoder input• Overcurrent comparator• Bus voltage sensing• Embedded ST-LINK/V2-1• Easy user interface with buttons and trimmer• RoHS and WEEE compliant

Applications• Battery powered power tools• Home appliances• Pumps and fans• Industrial automation

DescriptionThe STEVAL-SPIN3204 three-phase brushless DC motor driver board is based onthe STSPIN32F0B 3-phase BLDC controller with triple half-bridge gate driver, singleshunt resistor current sensing topology and programmable overcurrent protection.

The motor controller system-in-package includes an STM32F031C6 microcontrollerready to execute 6-step, field oriented control (FOC) and other advanced drivingalgorithms in the firmware, which can be downloaded onto the chip flash memory viathe board USB port.

The board is designed to help you test and develop motor control designs forapplications such as power tools, home appliances, fans and pumps, with a flexibleevaluation platform that even allows you to toggle between external sensor andsensorless position feedback data methods.

Product summary

Motor driver evaluationboard based onthe STSPIN32F0B 3-phase BLDC controller

STEVAL-SPIN3204

N-channel 60 V, 3.1mΩ typ., 80 ASTripFET F7 PowerMOSFET in a DPAKpackage

STD140N6F7

Advanced single shuntBLDC controller withembedded STM32MCU

STSPIN32F0B

Mainstream ARMCortex-M0 Access lineMCU with 32 KbytesFlash, 48 MHz CPU,motor control

STM32F031C6

STM32 Motor Control SDK

X-CUBE-MCSDK-Y

Applications

Smart Home/Industrial MotorControl/IndustrialTools

Six-step brushless motor driver evaluation board for applications based on the STSPIN32F0B BLDC controller

STEVAL-SPIN3204

Data brief

DB3914 - Rev 2 - July 2021For further information contact your local STMicroelectronics sales office.

www.st.com

Page 2: Data brief - STEVAL-SPIN3204 - Six-step brushless motor driver … · 2021. 7. 23. · MCSDK-Y Applications Smart Home/ Industrial Motor Control /Industrial Tools Six-step brushless

1 Solution overview

The STEVAL-SPIN3204 motor control board can be set up to control a three-phase brushless DC (BLDC) motorbased on position feedback data from one of the following sources:• external quadrature encoders or Hall Effect sensors• on-board circuitry that senses the back electromotive force (BEMF) generated by the load motor.

Figure 1. STEVAL-SPIN3204 motor control block diagram

OC compthresholdselect

DC/DC Buck conv

Seria

l Wire

Deb

ugSWVM

STM32F031 MCU

OC_SEL

control

OC

_CO

MP

Gate Driver Control Logic

12V VREG

VREG12

VM

3.3V

RHS

OUT

LS

VBOOT

3x Power Half-bridge

GH

R

VBUS

GL

HS

LS

BEMFcircuit

VDD

GPIO_BEMF

Firmware based

STM32F103CBLDO regulator

LD3985

ESD protection

USBLC6-23V3_STLINK

USB Type B Mini MCU

STSPIN32F0BBLDC

controller

ST-LINK/V2-1programming interface

THREE-PHASEBLDC MOTOR

← Hall or encoder →

STEVAL-SPIN3204evaluation board

OPAMP

on STM32 MCSDK

The power stage on the board delivers 15 ARMS DC current from three STD140N6F7 MOSFETs in half-bridgeconfiguration managed by the triple half-bridge gate driver on the BLDC controller.The board senses the current flowing into the motor phases through a shunt resistor, and the resulting signalis amplified, filtered and forwarded to the STSPIN32F0B BLDC controller MCU and control logic gate driver formonitoring and peak current limitation or overcurrent protection, depending on the driving method implementedin the firmware (voltage mode or current mode, respectively). Voltage sensing is implemented through a voltagedivider from the motor supply voltage (VBUS) and sent to the BLDC controller MCU for monitoring purposes.The board also features an embedded ST-LINK/V2-1 programmer/debugger to help you load, test and modify themotor controller firmware.

STEVAL-SPIN3204Solution overview

DB3914 - Rev 2 page 2/8

Page 3: Data brief - STEVAL-SPIN3204 - Six-step brushless motor driver … · 2021. 7. 23. · MCSDK-Y Applications Smart Home/ Industrial Motor Control /Industrial Tools Six-step brushless

2 Schematic diagrams

Figure 2. STEVAL-SPIN3204 schematic - motor controller MCU and interfaces

EPAD

PF1

45

33

3

3

1

OPEN

JP1

OUTW

VREG126

LSU

PA5

PA3

VM

9

PB6

L122uH

C1

100 nF50VX7R

27

OP1

P

VDD

21 23

1

SWD

_CLK

PB9

PA6

15

PA13

6

4

TP3S1751-46R VBOOTV

PB7

1

48

PA6

1

PB1

3

TP4S1751-46R

PA2

R2010 K

PA4

VREG

16

2

2

C63.3 nF

PB8

PA5

2

LSV 31

VDDA

1

PA3C10

47 uF6.3VX5R

7

J1061300211121

GN

D

2

SW2

430483025816

R6100K

PA5

R5120 R

PB1

DL3YELLOW

HSU

LSW

C191 nF50VX7R

14

PB1

TP8S1751-46R

19

PB9

TP2S1751-46R

PA32

241

1

3

24

C3220 nF

100VX7R

OC

CO

MP

PC15

PC14

8

C121 nF

44

13

PF1

RESERVED

PA2

C222 uF63V

3

PA1

VDD

20

PC14

R1910 K

1

R139 K

VDD

TEST

MO

DE

C5100 nF50VX7R

OP1

N

26

UAR

T1_T

X

3

OUTV

4

OUTW

J1

61300811121

OP1

O

PC14

LSW

+

28

LSV

TP1S1751-46R

12

29

PF0

34

VDD

1PC15

OUTU

PB1

HSV

PA7

8

VDD

SW3

430483025816

25

18

+ 42

VM

C4

10 uF25V

1

BOO

T0

PA15

301

SWD

_IO

VBOOTW

PA15

1

PA1D1STPS0560Z

PA0

HSV

46

NRST

LSU

OUTU

RESET

USER1

43

PA4

R14

0 R

2

SW

DL1RED

22

OUTV

5

VDD

40 38

UAR

T1_R

X

PA14

39

NRST

C8100 nF

11PA0

J9

61300211121

HSW

C144.7 nF

R2

100 R

PF0

DL4YELLOW

2

U1STSPIN32F0B

BOURNS3386G-1-104LF

GPI

O_B

EMF

SPEED

HSU

2

PB9

PA3

32

R7

100 R

VDD

C11100 nF50VX7R

OP1

P

C7 100 nF

37SW

D_C

LK

4

R4120 R

SW1

430483025816

R3330 R

PB8

RES

ERVE

DPF0

4

C9100 nF

VBOOTU

4

1

RES

ERVE

D

C131 nF

35

10

5

47

HSW

1

PB8

JUMPER3

PA15

R34

10 K

OC

CO

MP

OP1

O

PC15

VDD

36

17 1

VDD

7

OP1

N

NRST

PF1

R1310 K

R8

100 R

USER2

DB

3914 - Rev 2

page 3/8

STEVAL-SPIN

3204Schem

atic diagrams

Page 4: Data brief - STEVAL-SPIN3204 - Six-step brushless motor driver … · 2021. 7. 23. · MCSDK-Y Applications Smart Home/ Industrial Motor Control /Industrial Tools Six-step brushless

Figure 3. STEVAL-SPIN3204 schematic - power stage and external sensor inputs

C16

220 uF

R35

10 R

R260.02 R

1

63V

J3

691213510003

2

00000

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0 M6

OPTICAL_TARGET

R270.02 R

C22

10 pF

R60NP

D3

1N4148WS

R581 K

C38

NP

R49

680 ROUTU

1R42

62 R

2

M8

GZ_rev2

R57 1 K

M1

HOLE_3.2MM_6

63V

1

1

2

0000

0 0 0 0

0 0 0 0

0 0 0 0

D6

1N4148WS

NP

VBUS

N2

D7

1N4148WS

LSV

R5410 K

JUMPER1

+

2

DL2RED

2

CLOSE

JP2

0000

0 0 0 0

0 0 0 0

0 0 0 0

0 0 0 0

1

000

0 0 0

0 0 0

000

3

2

2

R5310 K

2

J2

691213510002

0000

0 0 0 0

0 0 0 0

0 0 0 0

0 0 0 0

VBUS

R56 1 K

R39

10 R

TP13S1751-46R

3

C24

10 pF 1

000

0 0 0

0 0 0

000

R18

62 R

3

1

PA2

00000

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

1

TP7S1751-46R

3

LSU

PA0

00000

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

D8

1N4148WS

1

1

HSW

2

R5510 K

2

N1R23

62 R

J4

61300511121

R22

10 R

2

R36

62 R

+

1

C39

TP10S1751-46R

VBUS

C25220 nF100VX7R

OPENJP5

VM

Q3N-MOS

OUTW

R48

680 R

R31

10 R

1

Q5N-MOS

C40220 nF

100VX7R

Q2N-MOS

Q4N-MOS

Q1N-MOS

PA1

R59NP

OPENJP7

TH Mounting option12.50 mm dia - 5 mm pitch

VBUS

1

1

1

M3

HOLE_3.2MM_6

D5

1N4148WS

3

VDD

OUTV

M5

OPTICAL_TARGET

R40

62 R

HSU

3

SENSEP

1

M7

OPTICAL_TARGET

R61NP

1

TP11S1751-46R

3

SENSEN

VUSB

Digital Hall/Encoder

C41220 nF100VX7R

00000

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

2

R41

10 R

3

LSW

R17

10 R

M4

HOLE_3.2MM_6

1

VDD

3

4

JP361300311121

C17

220 uF

R32

62 R

OPENJP6

2

+

0000

0 0 0 0

0 0 0 0

0 0 0 0

0 0 0 0

Q6N-MOS

D4

1N4148WS

JUMPER Connected between JP3-1 & JP3-2

HALL1/A+HALL2/B+HALL3/Z+

VDDGND

00000

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

0 0 0 0 0

R11680 R

+

2

M2

HOLE_3.2MM_6

HSV

C23

10 pF

5

DB

3914 - Rev 2

page 4/8

STEVAL-SPIN

3204Schem

atic diagrams

Page 5: Data brief - STEVAL-SPIN3204 - Six-step brushless motor driver … · 2021. 7. 23. · MCSDK-Y Applications Smart Home/ Industrial Motor Control /Industrial Tools Six-step brushless

Figure 4. STEVAL-SPIN3204 schematic - current and voltage feedback, and BEMF sensing circuits

1

C4268 pF

R12

D11BAT30KFILM

D12BAT30KFILM

R29

2.4 K

OC Comp

1PA0

JUMPER4

9.31 K

7.5 K

R46

10 K

2

J1161300311121

2

VDD

R44

4.7 K

TP15TPSMD-1MM

R33

2.4 K

R9

0 R

SENSEP

R1515 K

TP12TPSMD-1MM

PA6

D2BAT30KFILM

1

3

VBUSFeedback

D10BAT30KFILM

+

C45220 nF

-

+

C4468 pF

D14BAT30KFILM

VDD

2

VDD

R282.2 K

100 pFR751 K

OCCOMP

C21100 pF

PA5

VBUS

1

VDD

BEMF

R252.2 K

R47

10 K

PA1

-

OCOP1P

D13BAT30KFILM

1

_

OUTU

JP10

C15

R242.2 KC43

68 pFR16

OCREF

CLOSE

GPIO

PA2

OP1N

TP6TPSMD-1MM

R2115 K

PA4

D9BAT30KFILM

R10169K

R45

10 K

JP8

OUTV

SENSEN

OUTW

2

JP9

1OP1O

C184.7 nF

CLOSE

R74

2.2 K

CLOSE

1

DB

3914 - Rev 2

page 5/8

STEVAL-SPIN

3204Schem

atic diagrams

Page 6: Data brief - STEVAL-SPIN3204 - Six-step brushless motor driver … · 2021. 7. 23. · MCSDK-Y Applications Smart Home/ Industrial Motor Control /Industrial Tools Six-step brushless

Figure 5. STEVAL-SPIN3204 schematic - ST-LINK

18TP9

PA4

12

PC13-TAMPER-RTC

I/O1#1

U3

LD3985M33R

C26100 nF

PA214

R71 10 K

PB2/BOOT1

9

VUSB

24

U2

USBLC6-2SC6

35

PB7

STLINK_TX

6

39

C34

100 nF

FM_SWCLK

PA6

FM_SWDIO

PB10

44

A2

1

1

PB15

26

GNDC33

100 nF

NRST

SHELL

PA3

USB_VCC

PA10

C29100 nF

31

R64

1.5 K

TP5S1751-46R

VUSB

R67

100 R

4

OSCOUT/PD1

48

C20100 nF

U4

STM32F103CBT6

STLINK_RX

3V3_STLINK

INHIBIT

TP14S1751-46R

SHELL

R51

0 R

TP16

7OUT

7

BYPASS

19

A1

PB14

8

PA11

J5

65100516121

2T_NRST

VDD_1

3V3_STLINK

32

K1

36 VSS_1

3 USB_DP

17

5

VDD

PB4/JNTRST

3

R6636 K

40

PB9

2

PB11

I/O2#4I/O2#3

UART1_RX

Q7NPN

46

R50

0 R

ID

J861300211121

4

PB12

62

VBUS

1

R52

0 R

2

4

3V3_STLINK

PA15

USB_DM

2

3V3_STLINK PA7

T_JTMS

PA1

21

3738

NRST

43

13

R73

100 R

JUMPER2

C3610 pF

C3510 pF

25

16 PB5

R63 100 R

USBDM

OPENJP4

47

T_JTCK

BOOT0

T_JTCK

SWD_IOR694.7 K

2

I/O1#6

11

USB_RENUM

R30100 K

VSSA

2

PB8LED_STLINK

8

27

C28100 nF

R6510 K

23

29J6

61300411121

3

R374.7 K

41

PA8

T_NRSTPB0

1

29

1

SHELL

RX

D-

D+

SWDIO

VDD

R43

0 R

PA0-WKUP

42

33

VDD_2

GND

10

PB6

1

PA12

1

2

PC15-OSC32_OUT

4

R72 NP

4

30

20

3

1

15

USB_DM

OSCIN/PD0

1

C30

1 uF

R70

100 K

34

STLINK FW LOAD

VBAT

R62 100 R

C27100 nF

VSS_3

USB_RENUM

RED-GREEN

LD1

USB_DP

PA13

SWD_CLK

C37100 nF

13

T_JTMS

3V3_STLINK

PB13

1

K2

5

1

USB_GND

VIN

VUSB

3

LED_STLINK

28

PC14-OSC32_IN

PB1

C3210 nF

PA5

5

UART1_TX

3V3_STLINK

J761300211121

VDDA

PA14

C311 uF

5

VSS_2

T_JTCK

USBDP

R682.7 K

6

1

R384.7 K PB3/JTDO

45

VDD_3

SHELL

X1

8MHz

PA922

TX

DB

3914 - Rev 2

page 6/8

STEVAL-SPIN

3204Schem

atic diagrams

Page 7: Data brief - STEVAL-SPIN3204 - Six-step brushless motor driver … · 2021. 7. 23. · MCSDK-Y Applications Smart Home/ Industrial Motor Control /Industrial Tools Six-step brushless

Revision history

Table 1. Document revision history

Date Version Changes

06-May-2019 1 Initial release.

19-Jul-2021 2Updated cover page product summary table and Section 1 Solution overview.

Added references to X-CUBE-MCSDK-Y.

STEVAL-SPIN3204

DB3914 - Rev 2 page 7/8

Page 8: Data brief - STEVAL-SPIN3204 - Six-step brushless motor driver … · 2021. 7. 23. · MCSDK-Y Applications Smart Home/ Industrial Motor Control /Industrial Tools Six-step brushless

IMPORTANT NOTICE – PLEASE READ CAREFULLY

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

Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design ofPurchasers’ 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 servicenames 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

STEVAL-SPIN3204

DB3914 - Rev 2 page 8/8