STMicroelectronics X-NUCLEO-IHM15A1 User manual

Type
User manual
Introduction
The X-NUCLEO-IHM15A1 dual brush DC motor driver expansion board is based on the STSPIN840 for STM32 Nucleo.
It provides an affordable and easy-to-use solution for the implementation of compact motor driving applications such as thermal
printers, robotics and toys.
Thanks to the parallel operation, it can be easily converted to a single brush DC driver with double current capability.
The current limiters and complete set of protection features make it suitable for rugged applications.
The X-NUCLEO-IHM15A1 is compatible with the Arduino UNO R3 connector and most STM32 Nucleo boards.
Figure 1. X-NUCLEO-IHM15A1 expansion board
Getting started with the X-NUCLEO-IHM15A1 dual brush DC motor driver
expansion based on STSPIN840 for STM32Nucleo
UM2393
User manual
UM2393 - Rev 1 - May 2018
For further information contact your local STMicroelectronics sales office.
www.st.com
1Hardware and software requirements
The main features of the X-NUCLEO-IHM15A1 expansion board are:
Voltage range from 7 to 45 V
Output current up to 1.5 Arms for each motor
Two independent current limiters with adjustable OFF time
Full protection set including: overcurrent, short-circuit, under voltage lock out and thermal shutdown
Parallel operation
Compatible with Arduino UNO R3 connector
Compatible with STM32 Nucleo boards
To use the STM32 Nucleo development boards with the X-NUCLEO-IHM15A1 expansion board, the following
software and hardware specifications are required:
an STM32 Nucleo development board (NUCLEO-F401RE, NUCLEO-F334R8 or NUCLEO-F030R8)
an X-NUCLEO-IHM15A1 expansion board
the X-CUBE-SPN15 software package (available on www.st.com)
a PC/laptop with Microsoft Windows (7 and above) to install the software package (X-CUBE-SPN15)
a type A USB to mini-B USB cable to connect the STM32 Nucleo board to the PC/laptop
an IDE chosen from among IAR Embedded Workbench for ARM (EWARM), Keil microcontroller
development kit (MDK-ARM) and system workbench for STM32 Nucleo project
up to two dual brush DC motors with compatible voltage and current ratings for the STSPIN840 driver
an external power supply able to provide the right voltage for the DC motor used
UM2393
Hardware and software requirements
UM2393 - Rev 1 page 2/14
2Safety precautions
Danger:
Some of the components mounted on the board could reach hazardous temperature
during operation.
While using the board:
Do not touch the components
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
UM2393
Safety precautions
UM2393 - Rev 1 page 3/14
3Getting started
The X-NUCLEO-IHM15A1 expansion board is a dual brush DC motor driver covering a wide range of
applications.
The maximum ratings of the expansion board are:
power stage supply voltage (VS) from 7 to 45 V
motor phase current up to 1.5 Arms
To start your project with the expansion board:
Step 1. Check the jumper position based on your configuration.
Step 2. Connect the X-NUCLEO-IHM15A1 to the STM32 Nucleo board through Arduino UNO R3 connectors
(CN5, CN6, CN8 and CN9).
Step 3. Supply the board through the input 5 (Vin) and 6 (GND) of the connector J1.
The D5 and D6 LEDs (red) turn on.
Step 4. Develop your application using the examples provided with the firmware library (X-CUBE-SPN15).
Visit www.st.com for supporting material regarding the STSPIN840 dual brush DC motor driver and
www.st.com/stm32nucleo.
UM2393
Getting started
UM2393 - Rev 1 page 4/14
4Hardware description and configuration
Figure 2. X-NUCLEO-IHM15A1 switch and connector positions
Motor B
outputs
OUTB1 test point
OUTB2 test point
OUTA2 test point
OUTA1 test point
Ground
test point
Ground
test point
OFF time
setting resistor
STSPIN840
Parallel mode jumper
Supply voltage test point
Power output
operation LEDs
(yellow)
Fault LEDs (red)
Arduino UNO R3 connectors
(CN5 and CN9)
Motor A
outputs
Supply input
Arduino UNO R3 connectors
(CN6 and CN8)
VDD
test point
(pull-up voltage)
Current limiter
threshold adjust
trimmers
REFA/B voltages
test points
Bridge B
shunt resistors
Bridge A
shunt resistors
Table 1. Arduino UNO R3 connector table
Connector Pin(1) Signal Description
CN5
1 STBY Active low standby signal
4 EN/FAULTB Enable/Fault signal for motor B
7 Ground
9 REF_PWM_B PWM reference signal for current limiter B
10 REF_PWM_A PWM reference signal for current limiter A
CN6
2 VDD Pull-up voltage from Nucleo board (3.3 V)
6 Ground
7 Ground
CN9
3 EN/FAULTA Enable/Fault signal for motor A
4 PHA Phase (direction) signal for motor A
5 PWMB PWM signal for motor B
6 PWMA PWM signal for motor A
8 PHB Phase (direction) signal for motor B
1. All the non-listed pins are not connected
UM2393
Hardware description and configuration
UM2393 - Rev 1 page 5/14
Table 2. J1 connector, switches and test points
Name Pin Label Description
J1
5-6 VIN-GND Motor power supply
1-2 B+, B- Motor B phase connection
3-4 A-, A+ Motor A phase connection
TP1, TP10 - GND Ground
TP2 - VIN Motor power supply
TP3 - VDD
Digital power supply (by
default 3.3 V coming from
STM32 Nucleo board)
TP4, TP5, TP6, TP7 - OUTB1, OUTB2, OUTA2,
OUTA1 power outputs
TP8 - REFA Threshold of current limiter A
TP9 - REFB Threshold of current limiter B
4.1 Selecting the STM32 Nucleo board
The X-NUCLEO-IHM15A1 expansion board offers native support for the following STM32 Nucleo development
boards:
NUCLEO-F401RE
NUCLEO-F334R8
NUCLEO-F030R8
4.2 Adjusting the off-time and the thresholds of the current limiters
The STSPIN840 integrates two current limiters, one for each full bridge.
The bridge current is sensed through the voltage drop across an external shunt resistor connected between the
source of the low side power MOSFET (SENSEx pins) and the ground.
The current limiter compares the voltage of the SNSA and SNSB pins to the respective reference voltage pin
(REFA and REFB). When VSNSX > VREFX, the control logic turns on both the low-side MOSFETs of the power
stage for a period adjusted through the pull-down resistor connected to the TOFF pin.
In the X-NUCLEO-IHM15A1 board, both a trimmer and a PWM signal from the Nucleo board adjust the current
limit thresholds:
Ipeak =VREF
RSHUNT =
VDD ×Rtrim
Rtrim + 5.6 kΩ×PWMDC
0.34 Ω (1)
The R5 resistor adjusts the off-time of both limiters; the value mounted by default on the board sets a duration of
about 40 µs.
UM2393
Selecting the STM32 Nucleo board
UM2393 - Rev 1 page 6/14
5Bill of materials
Table 3. X-NUCLEO-IHM15A1 bill of materials
Item Q.ty Ref. Part/Value Description Manufacturer Order code
1 1 CN5 SSQ-110-04-F-S Header Samtec SSQ-110-04-F-S
2 2 CN6, CN9 SSQ-108-04-F-
SHeader Samtec SSQ-108-04-F-S
3 2 CN7, CN10 ESQ-119-24-G-
DHeader (D.N.M) Samtec ESQ-119-24-G-D
4 1 CN8 SSQ-106-04-F-
SHeader Samtec SSQ-106-04-F-S
5 1 C1 220 NF 50 V
±10% 0603 X7R Ceramic capacitor Any Any
6 1 C2 1 NF 50 V ±15%
0603 X5R Ceramic capacitor Any Any
7 1 C3
68 µF 50 V
±20%
D8_H11.5_P3
Capacitor (D.N.M) Wurth Elektronik 860080674007
8 1 C4 68 µF 50 V
±20% D8_H10.5 ALU CMS Wurth Elektronik 865080653015
9 2 C5, C9 220 NF 35 V
±15% 0603 X7R
Ceramic
capacitors Any Any
10 1 C6 470 NF 100 V
±15% 0805 X7R Ceramic capacitor Any Any
11 2 C7,C8 10 NF 50 V
±15% 0603 X7R
Ceramic
capacitors Any Any
12 4 D1, D2, D3, D4 YELLOW 0805 LED Wurth Elektronik 150080YS75000
13 2 D5, D6 RED 0805 LED Wurth Elektronik 150080RS75000
14 1 JUMPER BLACK Jumper Wurth Elektronik 60900213621
15 1 J1 691241510006 Screw Wurth Elektronik 691241510006
16 1 J2 61300311121 Header (closed
2-3) Wurth Elektronik 61300311121
17 2 Q1, Q2 P-MOS SOT323 CMS NXP NX3008PBKW
18 2 Q3, Q4 N-MOS SOT416 CMS Onsemi NTA4001NT1G
19 1 R1 0 R 1/8 W ±5%
0805 Resistor Any Any
20 2 R2, R29 1 K 1/4 W ±20%
L5_W5_H2.55 Trimmer Bourns 3314J-1-102E
21 1 R3 18 K 1/10 W
±5% 0603 Resistor Any Any
22 2 R4, R28 22 K 1/10 W
±5% 0603 Resistors Any Any
23 1 R5 39 K 1/8 W ±5%
0805 Resistor Any Any
24 4 R6, R7, R8, R9 0.68 R 1/2 W
±1% 1206 Resistors Yageo (Phycomp) RL1206FR-7W0R68 L
25 4 R10, R11, R12,
R13
10 K 1/2 W ±5%
0805 Resistors Any Any
UM2393
Bill of materials
UM2393 - Rev 1 page 7/14
Item Q.ty Ref. Part/Value Description Manufacturer Order code
26 6 R14, R15, R16,
R17, R25, R27
47 K 1/10 W
±5% 0603 Resistors Any Any
27 2 R18, R22 1 K 1/10 W ±5%
0603 Resistors Any Any
28 2 R19, R23 39 K 1/10 W
±5% 0603 Resistors Any Any
29 2 R20, R21 330 R 1/10 W ±
5% 0603 Resistors Any Any
30 2 R24, R26 5.6 K 1/10 W
±5% 0603 Resistors Any Any
31 1 R30
OPEN
SOLDER_BRID
GE
Resistor Any Any
32 10
TP1, TP2, TP3,
TP4, TP5, TP6,
TP7, TP8, TP9,
TP10
S1751-46R Test poiints Harwin S1751-46R
33 1 U1 STSPIN840 Dual brush DC
motor driver ST STSPIN840
UM2393
Bill of materials
UM2393 - Rev 1 page 8/14
6X-NUCLEO-IHM15A1 schematic diagram
Figure 3. X-NUCLEO-IHM15A1 circuit schematic
A1
C3 (THT) or C4 (SMD)
Double footprint
VDD
Jumper closed
between pin 2 and 3
VDD
Vs
Vs
VDD
VDD
VDD VDD
VDD VDD
VDD
VDD
VREFA
VREFB
ENB_uC
REF_PWM_A
REF_PWM_B
STBY
PWMA_IN
PHA_IN
PWMB_IN
PHB_IN
ENA_uC
OUTB2
OUTB1
OUTA2
OUTA1
OUTA1
OUTA2
OUTB1
OUTB2
STBY
PARALLEL
PARALLEL
ENA_uC
ENB_uC
ENA_FAULTA
ENA_FAULTA
ENB_FAULTB
ENB_FAULTB
VREFA
VREFB
REF_PWM_B
REF_PWM_A
PHB_IN
PWMB_IN
PWMA_IN
PHA_IN
CN9
SSQ-108-04-F-S
1
2
3
4
5
6
7
8
D6
RED
R9
0.68R
1206
1/2W
R21
330R
M3
OPTICAL_TARGET
TP1
1
C9
220NF
J2
61300311121
1 3
2
R25
47K
TP8
1
JUMPER
Q2
P-MOS
S
2
1
GD
3
TP9
1
R29
1K
1 3
2
R11
10K
CN6
SSQ-108-04-F-S
1
2
3
4
5
6
7
8
D4
YELLOW
TP7
1
+
C3
68µF
TP4
1
Q4
N-MOS
D
3
1
GS
2
R30
OPEN
1 2
CN8
SSQ-106-04-F-S
1
2
3
4
5
6
C6
470NF
R19
39K
R23
39K
R6
0.68R
1206
1/2W
R5
39K
TP2
1
U1
STSPIN840
VREFA
1
VREFB
2
GND
3
SNSA 4
SENSEA1 5
OUTA1 7
OUTA2 8
VS 9
VS 10
OUTB2 11
OUTB1 12
SENSEB2 13
SENSEB1 14
SNSB 15
STBY
16
ENA_FAULTA
17
ENB_FAULTB
18
PW MA
19 PHA
20
PW MB
21
PHB
22
PARALLEL
23
TOFF
24
SENSEA2 6
EPAD
25
CN7
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
C5
220NF
R4
22K
M2
OPTICAL_TARGET
R8
0.68R
1206
1/2W
R10
10K
R1 0R
R24
5.6K
CN5
SSQ-110-04-F-S
1
2
3
4
5
6
7
8
9
10
M4
GV_2xx
J1
691241510006
1
2
3
4
5
6
D2
YELLOW
TP6
1
R12
10K
Q3
N-MOS
D
3
1
GS
2
C2
1NF
R14
47K
R3
18K
+
C4
68µF
D5
RED
R20
330R
M1
OPTICAL_TARGET
Q1
P-MOS
S
2
1
GD
3
R15
47K
R28
22K
R13
10K
TP3
1
C8
10NF
R18
1K
R16
47K
D1
YELLOW
R17
47K
D3
YELLOW
R22
1K
R26
5.6K
TP5
1
R2
1K
1 3
2
C7
10NF
TP10
1
R7
0.68R
1206
1/2W
C1
220NF
R27
47K
CN10
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
TOFF
Vs
GND
Vs
A2
B2
B1
GND
VDD
GND
GND
UM2393
X-NUCLEO-IHM15A1 schematic diagram
UM2393 - Rev 1 page 9/14
Revision history
Table 4. Document revision history
Date Revision Changes
16-May-2018 1 Initial release.
UM2393
UM2393 - Rev 1 page 10/14
Contents
1Hardware and software requirements ..............................................2
2Safety precautions.................................................................3
3Getting started ....................................................................4
4Hardware description and configuration ...........................................5
4.1 Selecting the STM32 Nucleo board ...............................................6
4.2 Adjusting the off-time and the thresholds of the current limiters ........................6
5Bill of materials....................................................................7
6X-NUCLEO-IHM15A1 schematic diagram ...........................................9
Revision history .......................................................................10
UM2393
Contents
UM2393 - Rev 1 page 11/14
List of tables
Table 1. Arduino UNO R3 connector table .........................................................5
Table 2. J1 connector, switches and test points .....................................................6
Table 3. X-NUCLEO-IHM15A1 bill of materials......................................................7
Table 4. Document revision history ............................................................. 10
UM2393
List of tables
UM2393 - Rev 1 page 12/14
List of figures
Figure 1. X-NUCLEO-IHM15A1 expansion board ...................................................1
Figure 2. X-NUCLEO-IHM15A1 switch and connector positions .........................................5
Figure 3. X-NUCLEO-IHM15A1 circuit schematic ...................................................9
UM2393
List of figures
UM2393 - Rev 1 page 13/14
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 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 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. 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
UM2393
UM2393 - Rev 1 page 14/14
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14

STMicroelectronics X-NUCLEO-IHM15A1 User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI