STMicroelectronics X-NUCLEO-IHM09M2 User Manual
تبلیغات
تبلیغات
UM3030
User manual
Getting started with the X-NUCLEO-IHM09M2 motor control connector expansion board for STM32 Nucleo
Introduction
The X-NUCLEO-IHM09M2 is a motor control connector expansion board for STM32 Nucleo . It provides an easy way to evaluate motor control solutions for three-phase motors by connecting the STM32 Nucleo development board to an external ST motor control power board, thanks to the ST morpho and motor control connector.
The 34-pin motor control connector is compatible with all major ST motor control power boards, which requires an external digital section (MCU) to drive a three-phase motor.
The DAC connector supports the user code development and testing with easy access to the MCU peripherals.
An LED is available for fault condition signaling or status indication.
The X-NUCLEO-IHM09M2 is fully compatible with the ST six-step and field-oriented control (FOC) firmware library.
Figure 1. X-NUCLEO-IHM09M2 motor control connector expansion board
UM3030 - Rev 1 - July 2022
For further information contact your local STMicroelectronics sales office.
www.st.com
1
1.1
UM3030
System overview
System overview
Main characteristics
•
•
•
•
•
•
•
The X-NUCLEO-IHM09M2 expansion board is designed for three-phase motor driver applications. It features:
• ST motor control connector (34 pins) compatible with ST motor control power boards
STM32 Nucleo compatibility, thanks to ST morpho connectors
Compatible with the ST six-step and FOC motor control firmware library
Debug connector for DAC, GPIOs, etc.
Fully populated board with test points
LED for fault signaling or status indication
Potentiometer available (for speed reference)
•
PCB type and size:
– PCB material - FR-4
– layout - double layer
– copper thickness - 35 μm
– overall board dimensions - 70 mm x 70 mm
RoHS compliant
UM3030 - Rev 1 page 2/19
2
2.1
UM3030
Getting started
Getting started
System architecture
A generic motor control system consists of the following major blocks:
1.
Control block , which accepts the user commands and provides motor control signals to drive a motor.
The X-NUCLEO-IHM09M2 adapter connects an STM32 Nucleo development board to a power board that requires an external digital section.
2.
Power block , which is normally in a three-phase inverter topology. It contains all the necessary active power and analog components to control a low voltage PMSM/BLDC motor.
3.
Motor , which is a three-phase brushless motor.
Figure 2. System architecture
2.2
Building the system
The X-NUCLEO-IHM09M2 expansion board adapts the STM32 Nucleo development board to the ST motor control power boards, which require an external digital section to control a three-phase PMSM/BLDC motor.
For the regular board operation, plug the expansion board onto the top of the development board (control block) via the ST morpho connector, as shown below.
UM3030 - Rev 1 page 3/19
Figure 3. X-NUCLEO-IHM09M2 plugged onto the STM32 Nucleo
UM3030
Building the system
2.2.1
J7
J1
CN7
CN6
CN8
CN10
CN5
CN9
D1
The interconnection between the two boards is fully compatible with a wide range of STM32 Nucleo development boards. No solder bridge modification is required.
The stacked solution is ready to operate with a compatible power board via a standard 34-pin flat cable.
Hardware settings
Set the X-NUCLEO-IHM09M2 J1 jumper off.
Jumper/connector
Table 1. Jumper, connectors, and LED
34-pin motor control connector
DAC/GPIO output
ST morpho connector
Arduino UNO R3 connector
Arduino UNO R3 connector
ST morpho connector
Arduino UNO R3 connector
Arduino UNO R3 connector
LED for fault or status indication
Description
UM3030 - Rev 1 page 4/19
Figure 4. X-NUCLEO-IHM09M2 - top layer with silk-screen
UM3030
Building the system
UM3030 - Rev 1
The X-NUCLEO-IHM09M2 is equipped with ST morpho connectors. The male pin headers are CN7 and CN10.
These connectors are used to connect the expansion board to the STM32 Nucleo .
The MCU signals and power pins are available on the morpho connector. For further details, refer to UM1724 , section 5.12.
7
8
9
5
6
1
2
3
4
Pin
PC10
PC11
PC12
PD2
VDD
E5V
BOOT0
GND
NC/PF6
Default
Table 2. ST morpho connector - CN7
Signal
NTC bypass
Dissipative brake/OCP disable
R17
R19
Solder bridge page 5/19
UM3030 - Rev 1
UM3030
Building the system
26
27
28
29
30
21
22
23
24
25
34
35
36
31
32
33
16
17
18
19
20
10
Pin
11
12
13
14
15
37
38
NC
NC/PF7
IOREF
PA13
RESET
PA14
+3V3
PA15
+5V
GND
GND
Default
PB7
GND
PC13
VIN
PC14
NC
PC15
PA0
PH0/PF0/PD0
PA1
PH1/PF1/PD1
PA4
VLCD/VBAT
PB0
PC2
PC1 or PB9
PC3
PC0 or PB8
Encoder A/Hall H1
Curr_fdbk_PhA
VBUS_sensing
DAC_Ch
VL_PWM
Temperature feedback
Curr_fdbk_PhB
Potentiometer
Curr_fdbk_PhC
1. For further details, refer to UM1724 , table 9.
Signal
Table 3. ST morpho connector - CN10
Signal
6
7
4
5
8
1
2
3
Pin
PC9
PC8
PB8
PC6
PB9
PC5
AVDD
U5V
Default
R27
Solder bridge
R4
R5
R18 (not mounted)
R15
R10
R28
Solder bridge page 6/19
UM3030 - Rev 1
UM3030
Building the system
26
27
28
29
30
31
32
33
34
35
36
37
38
12
13
14
9
10
11
21
22
23
24
25
15
16
17
18
19
20
Pin Default
GND
NC
PA12
PA11
PA9
PB2
PA8
PB1
PB10
PB12
PB6
PB11/NC
PC7
GND
PB15
PB4
PB14
PB5
PB13
PB3
AGND
PA10
PC4
PA2
NC/PF5
PA3
NC/PF4
GPIO/DAC/PWM
DIAG/ENABLE/BKIN1
DIAG/ENABLE/BKIN2
UL_PWM
VH_PWM
Red LED
UH_PWM
WL_PWM
Encoder Z/Hall H3
PWM/DEBUG
DIAG/ENABLE/BKIN1
GPIO/DAC/PWM
GPIO/DAC/PWM
Encoder B/Hall H2
WH_PWM
Signal
1. U5V is the 5 V power from the ST-LINK/V2-1 USB connector and it rises above +5 V.
2. For NUCLEO-F302R8 only: pin PA5 is on CN10/pin 30 and PB13 is on CN10/pin 11.
3. For NUCLEO-F302R8 only: pin PA6 is on CN10/pin 28 and PB14 is on CN10/pin 13.
4. For NUCLEO-F302R8 only: pin PA7 is on CN10/pin 26 and PB15 is on CN10/pin 13.
R21
R3
R1
R12
R8
R14
R6
R16
R25
R20
R2
R23
R22
R24
R11
Solder bridge page 7/19
2.2.2
UM3030
Building the system
Pinout of the motor control connector
Figure 5. J7 motor control connector (top view)
33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1
UM3030 - Rev 1
34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2
6
7
8
9
4
5
1
2
3
10
11
12
13
14
15
16
20
21
22
23
17
18
19
Pin
The X-NUCLEO-IHM09M2 expansion board supports motor control via the J7 34-pin connector. This connector provides all the required control and feedback signals to and from an ST motor power-drive board.
The available signals include the emergency stop, speed or position feedback, three-phase motor current, bus voltage, and heatsink temperature.
PA6/PA11
GND
PA8
GND
PA7/PB15
GND
PA9
GND
PB0
GND
PA10
GND
PB1
PA1
PA0
Not connected
PC1
Not connected
PC0
Not connected
PC10
Not connected
PC11
Default
Table 4. J7 pin assignments
DIAG/ENABLE/BKIN1
Dissipative brake/OCP disable
UH_PWM
Function
UL_PWM
VH_PWM
VL_PWM
WH_PWM
WL_PWM
VBUS_sensing
Curr_fdbk_PhA
Curr_fdbk_PhB
Curr_fdbk_PhC
NTC bypass
Dissipative brake/OCP disable page 8/19
2.2.3
2.2.4
UM3030
Building the system
28
29
30
31
32
33
34
24
25
26
27
Pin
Not connected
E5V
PC2
Not connected
Not connected
Not connected
Not connected
PA15
Not connected
PB3
PB10
Default
Temperature feedback
Encoder A/Hall H1
Encoder B/Hall H2
Encoder Z/Hall H3
Function
DAC settings for debug
For debugging purposes, you can use the DAC peripheral and configure the motor control library to drive the signal.
For instance, the PA4 pin is accessible through the ST morpho connector or J1 connector. This pin is usually connected to DAC_CH1.
Different pins are available on the J1 connector, according to the STM32 Nucleo development board used.
User LED
The X-NUCLEO-IHM09M2 provides a programmable LED (D1) connected on the PB2 pin. It can be used to signal motor status, faults, etc.
You have to configure this pin and drive it through the application code you have developed.
UM3030 - Rev 1 page 9/19
3
UM3030
MC FOC SDK: configuration guide for X-NUCLEO-IHM09M2
MC FOC SDK: configuration guide for X-NUCLEO-IHM09M2
The X-NUCLEO-IHM09M2 expansion board is compatible with the motor control (MC) FOC SDK, which is a firmware library and workbench GUI.
No hardware modification is needed to run the motor through this control algorithm.
For the pin configuration, see Table 2 and
You can connect the STM32 Nucleo to the MC workbench GUI through a virtual COM embedded in the STM32
Nucleo , which allows using the USART2 on PA2 and PA3 pins from the same USB type A to Mini-B USB cable used to program the STM32 Nucleo .
For further information on the MC FOC SDK, see X-CUBE-MCSDK .
UM3030 - Rev 1 page 10/19
4 Schematic diagrams
C10_14
C10_28
C10_13
C10_23
C10_21
C10_33
C10_15
C10_26
C7_34
C10_24
C7_17
C10_31
C10_25
C7_1
C7_3
C7_5
C7_7
C7_9
C7_11
C7_13
C7_15
C7_17
C7_19
C7_21
C7_23
C7_25
C7_27
C7_29
C7_31
C7_33
C7_35
C7_37
CN7
25
27
29
31
17
19
21
23
9
11
13
15
5
7
1
3
33
35
37
PA11
F302
R6
R8
R1
0
R2
0
R3
0
0
0
PA6-BKIN
PA8-UH
PA9-VH
F302
R11
R12
R13
R15
R16
R27
R24
R25
0
0
0
0
0
PA10-WH
PA7-UL
PB0-VL
PB1-WL
0
0
0
PA15 - Enc. A/H1
PB3 - Enc. B/H2
PB10 - Enc. Z/H3
MC1
MC3
MC7
PWM
Figure 6. X-NUCLEO-IHM09M2 circuit schematic
C7_28
C7_36
C7_38
C7_30
C7_35
R4
R9
R7
R5
R10
0
0
0
0
0
Currents
PA0 - PhA
PC1 - PhB
PC0 - PhC
PA1 - BUSV
PC2 - Temp. Sens.
MC15
MC17
MC19
MC14
MC26
MC11
MC5
MC9
MC13 DAC
HALL/ENCODER SENSOR
MC31
MC33
MC34
C7_32
C10_27
C10_11
C10_30
C10_29
F302
R18
R20
R21
R22
R23
0
0
PA4- DAC
PB4-PWM
0
0
0
PA5 - DAC
PA5/PB13
P B55--D C P M
J2
RING
1
1
2
3
J1
Stripline m. 1x3
C10_22
C7_1
R17
R19
C7_2
3V3
R26
100K
R28 0 PC3-SPEED
USER
0
0
PB2 R14
510 D1
RED
PC10-NTC bypass
MC21
PC11-Dissipative Brake/OCP disable
MC23
C7_37
26
28
30
32
18
20
22
24
10
12
14
16
6
8
2
4
34
36
38
C7_22
C7_24
C7_26
C7_28
C7_30
C7_32
C7_34
C7_36
C7_38
C7_2
C7_4
E5V C7_6
C7_8
N.C. C7_10
C7_12
C7_14
C7_16
C7_18
C7_20
5V
ARDUINO/MORPHO CONNECTOR
R29
R30
N.C.
0
3V3
C6_1 N.C.
C6_2 +3V3
C6_3
C6_4
C6_5
C6_6
C6_7
C6_8
7
8
5
6
3
4
1
2
CN6
C8_1
C8_2
C8_3
C8_4
C8_5
C8_6
1
2
3
4
5
6
CN8
MC25
CN5
CN9
8
7
6
5
4
3
2
1
10
9
8
7
6
5
4
3
2
1
C5_10
C5_9
C5_8
C5_7
C5_6
C5_5
C5_4
C5_3
C5_2
C5_1
C9_8
C9_7
C9_6
C9_5
C9_4
C9_3
C9_2
C9_1
C10_1
C10_3
C10_5
C10_7
C10_9
C10_11
C10_13
C10_15
C10_17
C10_19
C10_21
C10_23
C10_25
C10_27
C10_29
C10_31
C10_33
C10_35
C10_37
CN10
25
27
29
31
17
19
21
23
9
11
13
15
5
7
1
3
33
35
37
26
28
30
32
18
20
22
24
10
12
14
16
6
8
2
4
34
36
38
C10_2
C10_4
C10_6
C10_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
MC1
MC3
MC5
MC7
MC9
MC11
MC13
MC15
MC17
MC19
MC21
MC23
MC25
MC31
MC33
25
27
29
31
33
17
19
21
23
9
11
13
15
5
7
1
3
J7
CON34A
18
20
22
24
26
28
30
32
34
10
12
14
16
6
8
2
4
MC14
MC26
3V3
MC34
5
UM3030
Bill of materials
Bill of materials
1
2
3
4
5
6
7
8
9
10
11
12
13
Item
1
1
1
1
1
2
0
0
1
0
26
0
1
Q.ty
Table 5. X-NUCLEO-IHM09M2 bill of materials
D1
J1
J2
Ref.
Part/value
RED, SMD
0603,
Description
LED standard -
SMD
Manufacturer
Lite-on
Order code
LTST-C193KRKT-5A
Stripline m. 1x3,
TH 2.54 mm pitch
3-way strip line Stelvio Kontek 613040167028
RING, TH, 1 mm
Test point
Vero
Technologies
Samtec
20-2137
ESQ-119-24-T-D
CONN 38, TH
2.54 mm pitch
38-pin elevated socket morpho connector 4UCONN 08413
CN7, CN10, male on top, female on bottom
CN6,CN9,femal e on top, male on bottom
CN5, female on top, male on bottom
J7
CONN8, TH
2.54 mm pitch
CONN10, TH
2.54 mm pitch
Motor control connector, TH
8-pin elevated socket morpho connector (not mounted)
10-pin elevated socket (not mounted)
34-way IDC straight boxed header
6-pin elevated socket (not mounted)
Samtec
4UCONN
Samtec
4UCONN
ASSMANN
WSW
CN8, female on top, male on bottom
R1, R2, R3, R4,
R5, R6, R7, R8,
R9, R10, R11,
R12, R13, R15,
R16, R17, R18,
R19, R20, R21,
R22, R23, R24,
R25, R27, R28
CONN6, TH
2.54 mm pitch
0 Ohm, 0603,
0.1 W
SMD resistors
Samtec
4UCONN
RS PRO
R14
R26
R29
510 Ohm, 0603,
0.1 W
SMD resistor
100 kOhm, 1/2
W, ±10 %
RS PRO
Trimmer resistor Bourns
0, 0603, 1/2 W
Solder bridge
(not mounted) leave open
-
R30 closed with a drop of tin
0, 0603, 1/2 W Solder bridge Any -
-
ESQ-108-24-T-S
15284
ESQ-110-24-T-S
15286
AWHW 34G-0202-T
ESQ-106-24-T-S
15282
716-9743
804-8820
3386G-1-104LF
UM3030 - Rev 1 page 12/19
6
UM3030
Board versions
Board versions
Table 6. X-NUCLEO-IHM09M2 versions
PCB version
X$NUCLEO-IHM09M2
Schematic diagrams
X$NUCLEO-IHM09M2 schematic diagrams
1. This code identifies the X-NUCLEO-IHM09M2 first version. It is printed on the board PCB.
Bill of materials
X$NUCLEO-IHM09M2 bill of materials
UM3030 - Rev 1 page 13/19
7
UM3030
Regulatory compliance information
Regulatory compliance information
Formal Notice Required by the U.S. Federal Communications Commission
For evaluation only; not FCC approved for resale
FCC NOTICE
This kit is designed to allow:
(1) Product developers to evaluate electronic components, circuitry, or software associated with the kit to determine whether to incorporate such items in a finished product and
(2) Software developers to write software applications for use with the end product.
This kit is not a finished product and when assembled may not be resold or otherwise marketed unless all required FCC equipment authorizations are first obtained. Operation is subject to the condition that this product not cause harmful interference to licensed radio stations and that this product accept harmful interference. Unless the assembled kit is designed to operate under part 15, part 18 or part 95 of this chapter, the operator of the kit must operate under the authority of an FCC license holder or must secure an experimental authorization under part 5 of this chapter 3.1.2.
Formal Product Notice Required by Industry Canada Innovation, Science and Economic Development
Canada compliance :
For evaluation purposes only. This kit generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to Industry Canada (IC) rules.
À des fins d'évaluation uniquement. Ce kit génère, utilise et peut émettre de l'énergie radiofréquence et n'a pas
été testé pour sa conformité aux limites des appareils informatiques conformément aux règles d'Industrie Canada
(IC).
Formal product notice required by EU
This device is in conformity with the essential requirements of the Directive 2015/863/EU (RoHS).
UM3030 - Rev 1 page 14/19
Revision history
Date
18-Jul-2022
Table 7. Document revision history
Revision
1 Initial release.
Changes
UM3030
UM3030 - Rev 1 page 15/19
UM3030
Contents
Contents
UM3030 - Rev 1 page 16/19
UM3030
List of tables
List of tables
UM3030 - Rev 1 page 17/19
UM3030
List of figures
List of figures
UM3030 - Rev 1 page 18/19
UM3030
IMPORTANT NOTICE – 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, 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.
© 2022 STMicroelectronics – All rights reserved
UM3030 - Rev 1 page 19/19
دانلود
تبلیغات