18
Introduction The X-NUCLEO-IHM17M1 is a low voltage three-phase brushless DC motor driver expansion board based on STSPIN233 for STM32 Nucleo. It is an affordable and easy-to-use solution with motor driver operation in low voltage battery scenarios, allowing zero consumption state (such as in thermal printers, robotics, toys, etc..). The X-NUCLEO-IHM17M1 supports the addition of other boards to a single STM32 Nucleo board through the Arduino UNO R3 and the ST morpho connectors. Furthermore, the board is designed for six-step and FOC algorithms. Figure 1. X-NUCLEO-IHM17M1 expansion board Getting started with the X-NUCLEO-IHM17M1 low voltage 3-phase brushless DC motor driver expansion board based on STSPIN233 UM2360 User manual UM2360 - Rev 1 - February 2018 For further information contact your local STMicroelectronics sales office. www.st.com/

Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

Embed Size (px)

Citation preview

Page 1: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

IntroductionThe X-NUCLEO-IHM17M1 is a low voltage three-phase brushless DC motor driver expansion board based on STSPIN233 forSTM32 Nucleo. It is an affordable and easy-to-use solution with motor driver operation in low voltage battery scenarios, allowingzero consumption state (such as in thermal printers, robotics, toys, etc..).

The X-NUCLEO-IHM17M1 supports the addition of other boards to a single STM32 Nucleo board through the Arduino UNO R3and the ST morpho connectors.

Furthermore, the board is designed for six-step and FOC algorithms.

Figure 1. X-NUCLEO-IHM17M1 expansion board

Getting started with the X-NUCLEO-IHM17M1 low voltage 3-phase brushless DC motor driver expansion board based on STSPIN233

UM2360

User manual

UM2360 - Rev 1 - February 2018For further information contact your local STMicroelectronics sales office.

www.st.com/

Page 2: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

1 Hardware and software requirements

To use the STM32 Nucleo development boards with the X-NUCLEO-IHM17M1 expansion board, the followingsoftware and hardware are required:• a Windows PC (XP, Vista 7 , Win 8, Win 10 ) to install the software package• an X-NUCLEO-IHM17M1 expansion board• an STM32 Nucleo development board (NUCLEO-F030R8, NUCLEO-F103RB, NUCLEO-F302R8 or

NUCLEO-F401RE)• a type A USB to mini-B USB cable to connect the STM32 Nucleo board to the PC• the X-CUBE-SPN17 software package (available on www.st.com)• an IDE chosen among IAR Embedded Workbench for ARM (IAR-EWARM), Keil microcontroller development

kit (MDK-ARM-STM32) and system workbench for STM32 Nucleo project (SW4STM32)• three-phase brushless DC motor with compatible voltage and current for STSPIN233 driver• an external power supply or battery able to provide the voltage required by the brushless motor used

UM2360Hardware and software requirements

UM2360 - Rev 1 page 2/18

Page 3: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

2 Getting started

The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range ofapplications.The board maximum ratings are:• Power stage supply voltage from 1.8 to 10 V• Motor phase current up to 1.3 Arms

To start your project with the board:

Procedure Step 1. Check the jumper position of your configuration (see Section 3 Hardware description and configuration)Step 2. Connect the X-NUCLEO-IHM17M1 with the STM32 Nucleo development board through ST morpho

connectors (CN7, CN10)Step 3. Supply the board through input 2 (Vin) and 1 (GND) of the J2 connector: the D10 (red) LED turns onStep 4. Develop your application using the examples provided with the firmware library

Further support material is available at STSPIN233 and STM32 Nucleo

UM2360Getting started

UM2360 - Rev 1 page 3/18

Page 4: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

3 Hardware description and configuration

The figure below shows the board connector and jumper positions.

Figure 2. X-NUCLEO-IHM17M1 jumper and connector positions

CN10 Morphoconnector

EN/FAULT LED

CN5 Arduino UNO R3connector

CN9 Arduino UNO R3connector

VDD

STSPIN233Motor driver

Ground

Speed referencetrimmer

Hall effect sensor/Encoderinput connector

Ground

CN7 Morphoconnector

CN6 Arduino UNO R3connector

FOC/6STEPselection

TSV994 Quad op-amp

Motor connector,test points and LEDs

Supply connector

3 shunt/1 shunt

VS

CN8 Arduino UNO R3connector

Hall effect sensor outputpull-up

The table below shows ST morpho connector detailed pinout.

UM2360Hardware description and configuration

UM2360 - Rev 1 page 4/18

Page 5: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

Table 1. ST morpho connectors

Connector Pin(1) Signal Remarks

CN7 1 Enable 1 ENU input

2 Enable 2 ENV input

3 Enable 3 ENW input

12 VDD

16 VDD

17 H1/Encoder A Mounting option R12 (default)

18 5 V

20 Ground

22 Ground

28 H1/Encoder A Mounting option R10

Bus voltage feedback Mounting option R8

30 H2/Encoder B

32 Current reference Mounting option R9

34 Current feedback 3

35 SPEED reference

36 BEMF sensing 1

37 BEMF sensing 2

38 BEMF sensing 3

CN10 1 BEMF GPIO Enable/disable voltage divider

12 Stop PWM (ETR)

13 Current reference Mounting option R14

EN/FAULT Mounting option R6

14 EN/FAULT Mounting option R2

15 Current feedback 1 Mounting option R5 (default)

16 Current feedback 1 Mounting option R1

21 IN2 INV input

23 IN1 INU input

24 Current feedback 2

25 H3/Encoder Z

26 Current feedback 1 Mounting option R3

27 Current reference Mounting option R11 (default)

28 EN/FAULT Mounting option R4

29 Standby

33 IN3 INW input

34 Bus voltage feedback Mounting option R7

1. All the non-listed pins are not connected

The X-NUCLEO-IHM17M1 is equipped with screw connectors for motor and power supply, jumpers for selectingthe single-shunt or three-shunt operation and a connector for Hall effect sensors (refer to the table below).

UM2360Hardware description and configuration

UM2360 - Rev 1 page 5/18

Page 6: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

Table 2. Other connectors, jumpers and test points

Reference Pins Label Description

J2 1, 2 Vin – GND Supply voltage

J3 1, 2, 3 U – V – W Motor phases

J4 1, 2, 3 - Hall effect sensor/Encoder inputs

JP2 1, 2 Hall effect sensor pull-up

JP3 1, 2, 3 3 Sh – 1 Sh Three shunt/single shunt topology

JP4 1, 2, 3 3 Sh – 1 Sh Three shunt/single shunt topology

JP5 1, 2 FOC/6STEP configuration

JP6 1, 2 FOC/6STEP configuration

TP1 GND Ground

TP2 OUT U test point

TP3 OUT V test point

TP4 OUT W test point

TP5 VDD test point

TP6 GND Ground

TP7 VS Supply voltage test point

3.1 Selecting the STM32 Nucleo boardThis expansion board natively supports the following STM32 Nucleo development boards:• NUCLEO-F401RE• NUCLEO-F302R8• NUCLEO-F103RB• NUCLEO-F030R8

Before starting to work with the development board, check if the proper mounting option is implemented (seeSection 5 Mounting options).

UM2360Selecting the STM32 Nucleo board

UM2360 - Rev 1 page 6/18

Page 7: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

4 Circuit description

The STSPIN233 integrates a protected triple half-bridge with low RDS(on) for evaluating a solution for a three-phase BLDC motor in very low consumption mode.The device is protected against overload and short-circuits: short to ground, short to motor supply voltage, shortbetween the outputs. If one of the failure events occurs, the fault signal is set and the fault LED D10 is lit (red).The STSPIN233 is compatible with single and three-shunt sensing, and the X-NUCLEO-IHM17M1 expansionboard is designed to provide both topologies. The current feedback signal conditioning is performed by hardwareavailable on the board and sent to the STM32 Nucleo board through the ST morpho connectors.Motor speed regulation can be performed by hardware, by acting on trimmer R36. In this way, you can change thereference used by STM32 firmware for speed regulation.The X-NUCLEO-IHM17M1 expansion board provides two hardware solutions for motor position feedback: onebased on sensors and the other one based on sensorless detection.

4.1 Hall/encoder motor speed sensorThe X-NUCLEO-IHM17M1 expansion board implements the Hall/encoder sensor detection circuit for motor speedfeedback. The motor sensor feedback is connected through the J4 connector and an analog circuit to the STM32Nucleo board in order to detect the motor rotation.For sensors requiring external pull-up, three 10 kΩ resistors are already mounted and connected to the VDDvoltage (if these are not necessary, you can remove them).

4.2 Sensorless detectionIn six-step driving mode, one of the three phases is left in high impedance state: comparing this phase voltagewith the center-tap voltage, we can detect the BEMF zero-crossing.This signal is acquired through an analog circuit embedded on the expansion board and sent to the STM32Nucleo board through the ST morpho connectors.

4.3 Bus voltage circuitThe X-NUCLEO-IHM17M1 expansion board provides the hardware bus voltage sensing. This signal is acquiredwith a resistor divider from the motor supply voltage (VBUS) and sent to the analog to digital converter.

UM2360Circuit description

UM2360 - Rev 1 page 7/18

Page 8: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

5 Mounting options

The X-NUCLEO-IHM17M1 provides different mounting options to be compatible with the following STM32 Nucleodevelopment boards:• NUCLEO-F401RE• NUCLEO-F302R8• NUCLEO-F103RB• NUCLEO-F030R8

Table 3. Mounting options

BoardCurr fbk 1 Curr ref VBUS fbk EN/FAULT Enc. A/H1

R1 R3 R5 R9 R11 R14 R7 R8 R2 R4 R6 R10 R12

NUCLEO-F401RE(default)

NM NM 0R NM 22k NM NM 0R NM NM 0R NM 0R

NUCLEO-F302R8 NM 0R NM NM NM 22k NM 0R NM 0R NM NM 0R

NUCLEO-F103RB NM NM 0R NM NM NM 0R NM NM NM 0R 0R NM

NUCLEO-F030R8 NM NM 0R NM NM NM NM 0R NM NM 0R NM 0R

UM2360Mounting options

UM2360 - Rev 1 page 8/18

Page 9: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

6 Bill of materials

Table 4. X-NUCLEO-IHM17M1 bill of materials

Item Q.ty Ref. Part/Value Description Manufacturer Order code

1 1 CN5 NP Header Samtec SSQ-110-01-F-S

2 2 CN6, CN9 NP Header Samtec SSQ-108-01-F-S

3 2 CN7, CN10 ESQ-119-24-G-D Header Samtec ESQ-119-24-G-D

4 1 CN8 NP Header Samtec SSQ-106-01-F-S

5 1 C1 1 nF 50 V 0.15603

Cercamiccapacitor

Any 1NF_50V_X5R_0603

6 1 C2 22 µF 16 V 0.2D5_H11_P2

Aluminiumcapacitor

WurthElektronik

860010372002

7 1 C3 22 µF 16 V 0.2L4.5_W4.5

Aluminiumcapacitor

WurthElektronik

865080340003

8 1 C4 2.2 µF 16 V 0.2603

Cercamiccapacitor

Any 2.2µF_16V_X5R_0603

9 7 C5, C14, C15,C16, C17, C18,C19

680 pF 50 V 0.15603

Cercamiccapacitor

Any 680PF_50V_X7R_0603

10 1 C6 10 nF 50 V 0.15603

Cercamiccapacitor

Any 10NF_50V_X7R_0603

11 1 C7 3.3 nF 50 V 0.15603

Cercamiccapacitor

Any 3.3NF_50V_X7R_0603

12 2 C8, C12 100 nF 50 V 0.15603

Cercamiccapacitor

Any 100NF_50V_X7R_0603

13 3 C9, C10, C11 10 pF 50 V 0.1603

Cercamiccapacitor

Any 10PF_50V_COG_0603

14 1 C13 4.7 µF 50 V 0.15805

Cercamiccapacitor

Any 4.7µF_50V_X7R_0805

15 1 C20 220 nF 50 V 0.1603

Cercamiccapacitor

Any 220NF_50V_X7R_0603

16 9 D1, D2, D3, D4,D5, D6, D7, D8,D9

BAT30KFILMSOD523

Small signalSchottky diode

ST BAT30KFILM

17 1 D10 603 Red LED WurthElektronik

150060RS75000

18 3 D11, D12, D13 603 Yellow LED WurthElektronik

150060YS75000

19 1 JP2 Tin-drop close805

Resistor Any Any

20 2 JP5, JP6 Tin-drop open805

Resistors Any Any

21 2 JP3, JP4 Tin-drop dual603

Resistors Any Any

22 1 J2 Screw WurthElektronik

691213510002

23 1 J3 Screw WurthElektronik

691213510003

UM2360Bill of materials

UM2360 - Rev 1 page 9/18

Page 10: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

Item Q.ty Ref. Part/Value Description Manufacturer Order code

24 1 J4 Header WurthElektronik

61300511121

25 1 M8 PCB GY rev1 - 2layers

PCB Any Any

26 1 Q1 P-MOS SOT23 CMS FairchildSemiconductors

FDV302P

27 8 R1, R2, R3, R4,R7, R9, R10,R65

NP 603 Resistors Any R_NP_0603

28 8 R5,R6,R8,R12,R50,R55,R61,R64

0 R 1/10 W ±5%603

Resistors Any 0R_5%_0603

29 1 R11 22 K 1/10 W±5% 603

Resistor Any 22K_5%_0603

30 1 R14 22 K (NP) 1/10W ±5% 603

Resistor Any 22K_5%_0603

31 1 R16 18 K 1/10 W±5% 603

Resistor Any 18K_5%_0603

32 1 R17 30 K 1/10 W±1% 603

Resistor Any 30K_1%_0603

33 5 R18, R24, R25,R26, R66

39 K 1/10 W±5% 603

Resistors Any 39K_5%_0603

34 1 R19 10 K 1/10 W±1% 603

Resistor Any 10.0K_1%_0603

35 1 R20 330 R 1/10 W±5% 603

Resistor Any 330R_5%_0603

36 16 R21, R22, R23,R40, R41, R42,R47, R51, R52,R53, R56, R57,R58, R59, R62,R63

2.2 K 1/10 W±5% 603

Resistors Any 2.2K_5%_0603

37 6 R27, R28, R29,R43, R44, R45

10 K 1/10 W±5% 603

Resistors Any 10K_5%_0603

38 3 R30, R31, R32 1.8 K 1/10 W±5% 603

Resistors Any 1.8K_5%_0603

39 3 R33, R34, R35 NP 1/10 W ±5%603

Resistors Any 4.7K_5%_0603

40 1 R36 100 K 1/2 W±10%L9.5_W4.9_H9.5

Trimmerresistor

Bourns 3386P-1-104

41 3 R37, R38, R39 0.1 R 1/2 W ±1%1206

Resistors Any 0.1R_1%_1206_0.5W

42 3 R48, R54, R60 680 R 1/10 W±5% 603

Resistors Any 680R_5%_0603

43 7 TP1, TP2, TP3,TP4, TP5, TP6,TP7

S1751-46R Test points Harwin S1751-46R

44 1 U1 STSPIN233QFN16

Low voltagethree phaseand threesense motordriver

ST STSPIN233

UM2360Bill of materials

UM2360 - Rev 1 page 10/18

Page 11: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

Item Q.ty Ref. Part/Value Description Manufacturer Order code

45 1 U2 LMV331SOT23-5L

Generalpurpose lowvoltagecomparator

ST LMV331ILT

46 1 U3 TSV994TSSOP14

Widebandwidth(20MHz) rail torail input/output 5VCMOS Op-Amps, quad

ST TSV994IPT

UM2360Bill of materials

UM2360 - Rev 1 page 11/18

Page 12: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

7 X-NUCLEO-IHM17M1 schematic diagram

Figure 3. X-NUCLEO-IHM17M1 circuit schematic (1 of 2)

ARD

UIN

O/M

OR

PHO

CO

NN

ECTO

R

F302

Cur

rent

s

F302

BEM

F si

x ST

EP

F302

F 303

PWM

F103

F 103

BKIN

2

GND

GND

BOTT

OM

MO

UN

TED

C7_

1C

7_3

C7_

5C

7_7

C7_

13C

7_15

C7_

17C

7_19

C7_

21C

7_23

C7_

25C

7_27

C7_

29C

7_31

C7_

33C

7_35

C7_

37

C7_

14C

6_3

C7_

16C

7_18

C6_

5C

7_20

C7_

22C

7_24

C6_

8

C7_

28C

8_1

C7_

38C

8_6

C7_

36C

8_5

C7_

34C

8_4

C7_

30C

8_2

C7_

32C

8_3

C7_

2C

7_4

E5V

C7_

6C

7_8

C10

_3C

5_10

C10

_7C

5_8

C5_

7C

10_9

C5_

6C

10_1

1C

5_5

C10

_13

C5_

4C

10_1

5C

5_3

C10

_17

C5_

2C

10_1

9

C10

_5C

5_9

C10

_35

C9_

2

C9_

5C

9_4

C9_

7

C10

_33

C9_

3

C9_

6

C9_

8

C10

_37

C9_

1

C10

_2C

10_4

C10

_6C

10_8

C10

_10

C10

_12

C10

_14

C10

_16

C10

_18

C10

_20

C10

_22

C10

_24

C10

_26

C10

_28

C10

_30

C10

_32

C10

_34

C10

_36

C10

_38

C7_

9C

7_11

C7_

12C

6_1

N.C

.C

6_2

+3V3

C6_

6

PA15

- En

c. A

/H1

PA1

- En

c. B

/H2

PB10

- En

c. Z

/H3

N.C

. C7_

10

C6_

7

C7_

26

C6_

4

PA0

- Enc

A/H

1

C7_

18

C5_

1C

10_2

1

C10

_1

C10

_29

C10

_31

C10

_25

C10

_27

C10

_23

C7_

17C

7_30

C10

_25

Z+/H

3

A+/H

1B+

/H2

C7_

28

VDD

5VEN

_FAU

LT

IN1

EN1

IN2

EN2

IN3

EN3

C10

_14

C10

_28

C10

_13

C10

_23

C7_

1

C10

_21

C7_

2

C10

_33

C7_

3

C10

_15

C7_

34

Cur

r_fd

bk1

Cur

r_fd

bk2

Cur

r_fd

bk3

C7_

32

C10

_27

C10

_13

C10

_1

C7_

36C

7_37

C7_

38

GPI

O_B

EMF

BEM

F1BE

MF2

BEM

F3C

10_2

4

VBU

SC

7_28

C7_

35SP

EED

C10

_26

C10

_16

C10

_34

C10

_29

SBY_

RES

ET

Stop

PW

MC

10_1

2

CU

RR

ENT

REF

M8

GY_

1xx

R1

NP

CN

6SS

Q-1

08-0

1-F-

SN

P

1 2 3 4 5 6 7 8

R5

0R

C7

3.3N

F

R11

22k

R6

0R

CN

5SS

Q-1

10-0

1-F-

S

NP 12345678910

R64

0R

R9

0R (N

P)

R8

0R

TP1

S175

1-46

R

1

R2

NP

TP6

S175

1-46

R

1

R4

NP

CN

9

SSQ

-108

-01-

F-S

NP

12345678

M3

OPT

ICAL

_TAR

GET

R3

NP

R12

0R

C20

220N

F

M2

OPT

ICAL

_TAR

GET

CN

8SS

Q-1

06-0

1-F-

SN

P

1 2 3 4 5 6

R14

22K

(NP)

R7

NP

CN

7

ESQ

-119

-24-

G-D

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37

2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38

CN

10

ESQ

-119

-24-

G-D

1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37

2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32 34 36 38

M1

OPT

ICAL

_TAR

GET

R10

NP

BOTT

OM

MO

UN

TED

DAC

/REF

HAL

L/En

code

r sen

sor

PA8-

UH

PA9-

VHPC

11

PA10

-WH

PC12

PA12

PB12

- Ph

A

PA7

- PhA

PA7

- PhA

PB1

- PhB

PB0

- PhC

PA4

- DAC

PB4

- PW

M

PB14

PC9

- GPI

O

PC1

- AD

CPC

3 - A

DC

PC0

- AD

C

PC4

PA0

PC2

PA11

- BK

IN2

PA6

- BKI

N

PA6

- BKI

N

PB5

PC10

NC NC NC

NC NC

NC

NC

NC NC

NC

NC

NC

NC

NC

NC

NC

NC NC

NC NC

NC

UM2360X-NUCLEO-IHM17M1 schematic diagram

UM2360 - Rev 1 page 12/18

Page 13: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

Figure 4. X-NUCLEO-IHM17M1 circuit schematic (2 of 2)

3Sh

HAL

L/En

code

r sen

sor

A+/H

1B+

/H2

Z+/H

35V G

ND

Vshu

nt_1

_GN

D

Vshu

nt_1

_GN

D

Exte

rnal

op-

amp

VS

Cur

rent

con

trol

FOC

OUT

1O

UT2

OUT

3

GPI

O_B

EMF

GPI

O_B

EMF

GPI

O_B

EMF

SENS

1

SENS

2

SENS

3

SENS

1SE

NS3

IN1

IN3

IN2

VBUS

_SEN

S

BEM

F1BE

MF3

OUT

2

OUT

3

EN2

EN3

EN1

OUT1

OUT2

OUT3

SPEE

D

EN_F

AULT

OUT

1

VIN+

VIN+

5V

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VDD

VBUS

Vshu

nt_2

EN3

IN3

EN2

IN2

IN1

EN1

A+/H

1B+

/H2

Z+/H

3

GPI

O_B

EMF

BEM

F1BE

MF2

GPI

O_B

EMF

GPI

O_B

EMF

BEM

F3

Vshu

nt_3

Vshu

nt_2

Vshu

nt_1

Vshu

nt_2

Vshu

nt_1

Vshu

nt_2

Vshu

nt_3

EN_F

AULT

SPEE

D

Vshu

nt_1

Curr_

fdbk

1

Curr_

fdbk

2

Vshu

nt_2

Curr_

fdbk

3

Vshu

nt_3

CURR

ENT

REF

Curr_

fdbk

2

Stop

PW

M

SBY_

RESE

T

TP7

S175

1-46

R

1

R522

.2K

R301

.8K

R54

680R

R34

4.7K

NP

R59

2.2K

R512

.2K

+ -

U21

+IN

3-IN

2V-

5V+

4O

UT

R43

10K

C19

680P

F

J2

6912

1351

0002

12

C9 10PF

JP2

CLO

SE

12

R61

0R

R48

6

80R

R26

39K

D9 BAT3

0KFI

LM

R20

330R

TP2

S175

1-46

R

1

R321

.8K

R21

2.2K

R40

2.2K

R63

2.2K

C18

680P

F

R24

39K

R29

10K

U3D

TSV9

94

Vcc4

GND11

IN+

12

IN-

1314

OUT

R33

4.7K

NP

R311

.8K

U3C

TSV9

94

Vcc4

GND11

IN+

10

IN-

98

OUT

R16

18K

D13

YELL

OW

JP3

DUAL

1 3

2

R62

2.2K

R45

10K

R35

4.7K

NPR2

32.

2K

R28

10K

+C2 22

µF16

V

C11

10PF

D5 BAT3

0KFI

LM

J4

6130

0511

121

1 2 3 4 5

JP4

DUAL

1 3

2

J3

6912

1351

0003

123

R60

680R

R27

10K

C6 10NF

TP5

S175

1-46

R

1

D11

YELL

OW

D12

YELL

OW

R66

39K

C5 680P

F

D4 BAT3

0KFI

LM

U3A

TSV9

94

Vcc4

GND11

IN+

3

IN-

21

OUT

D8 BAT3

0KFI

LM

U3B

TSV9

94

Vcc4

GND11

IN+

5

IN-

67

OUT

D10

RED

R39

0.1R

1/2W

R65

NP

D3 BAT3

0KFI

LM

D7 BAT3

0KFI

LM

TP3

S175

1-46

R

1

C13

4.7µ

F

R42

2.2K

JP5

OPE

N

1 2

D2 BAT3

0KFI

LM

R36

100K

13

2

C8 100N

F

D1 BAT3

0KFI

LM

C1 1NF

R582

.2K

R53

2.2K

+C3 16

V

R44

10K

R18

39K

C17

680P

F

R22

2.2K

R37

0.1R

1/2W

16V

R55

0R

R38

0.1R

1/2W

C12

100N

F

R41

2.2K

D6 BAT3

0KFI

LM

R25

39K

R57

2.2K

Q1

P-M

OS

FDV3

02P

SOT2

3

S2

1G

D3

R50

0R

C14

680P

F

R19

10K 1%

TP4

S175

1-46

R

1

C16

680P

F

U1

INU

1

GND6

OU

TW10

ENW

12

OU

TU3

ENU

2

SEN

SU4

INV

15

SEN

SV8

SEN

SW9

ENV

16

INW

11

OU

TV7

EN/F

AULT

13

VS5

STBY

/RES

ET14

EPAD17

C10

10PF

R56

2.2K

C15

JP6

OPE

N1

2

R17

30K

1%

R47

2.2K

STSP

IN23

3 D

MO

S dr

iver

for t

hree

-pha

se b

rush

less

DC

mot

or

BEM

F de

tect

ion

six-

step Sing

le/th

ree

shun

t con

figur

atio

n

Pow

er c

onne

ctor

Shun

t res

isto

r

680P

F

Vshu

nt_2

_GN

D

Vshu

nt_3

_GN

D

FOC

22µF

C422

µF

C2

(TH

T) o

r C3

(SM

D)

doub

le fo

otpr

int

GN

D

VDD

U V W

VBU

S se

nsor LM

V331

Spee

d re

gula

tion

3Sh

1Sh

1Sh

Vshu

nt_2

_GN

DVs

hunt

_3_G

ND

En/fa

ult L

EDO

ut L

EDs

UM2360X-NUCLEO-IHM17M1 schematic diagram

UM2360 - Rev 1 page 13/18

Page 14: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

Revision history

Table 5. Document revision history

Date Revision Changes

09-Feb-2018 1 Initial release.

UM2360

UM2360 - Rev 1 page 14/18

Page 15: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

Contents

1 Hardware and software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2

2 Getting started. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

3 Hardware description and configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4

3.1 Selecting the STM32 Nucleo board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

4 Circuit description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

4.1 Hall/encoder motor speed sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4.2 Sensorless detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

4.3 Bus voltage circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

5 Mounting options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8

6 Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9

7 X-NUCLEO-IHM17M1 schematic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12

Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14

UM2360Contents

UM2360 - Rev 1 page 15/18

Page 16: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

List of tablesTable 1. ST morpho connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Table 2. Other connectors, jumpers and test points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Table 3. Mounting options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Table 4. X-NUCLEO-IHM17M1 bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Table 5. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

UM2360List of tables

UM2360 - Rev 1 page 16/18

Page 17: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

List of figuresFigure 1. X-NUCLEO-IHM17M1 expansion board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 2. X-NUCLEO-IHM17M1 jumper and connector positions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Figure 3. X-NUCLEO-IHM17M1 circuit schematic (1 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 4. X-NUCLEO-IHM17M1 circuit schematic (2 of 2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

UM2360List of figures

UM2360 - Rev 1 page 17/18

Page 18: Getting started with the X-NUCLEO-IHM17M1 low voltage 3 ... · 2 Getting started The X-NUCLEO-IHM17M1 expansion board is a three-phase brushless DC motor driver covering a wide range

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. 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.

© 2018 STMicroelectronics – All rights reserved

UM2360

UM2360 - Rev 1 page 18/18