background image

  

September 2015 

DocID028304 Rev 1 

1/28 

 

www.st.com

 

 

 

UM1943 

User manual 

Getting started with the X-NUCLEO-IHM07M1 motor driver 

expansion board based on the L6230 for STM32 Nucleo 

 

 

Introduction 

The X-NUCLEO-IHM07M1 is a three-phase brushless DC motor driver expansion board based on the 
L6230 for STM32 Nucleo. It provides an affordable and easy-to-use solution for driving three-phase 
brushless DC motors in your STM32 Nucleo project. The X-NUCLEO-IHM07M1 is compatible with the 
ST morpho connector and supports the addition of other boards which can be stacked onto a single 
STM32 Nucleo board. The user can also mount the Arduino UNO R3 connector. The X-NUCLEO-
IHM07M1 is fully configurable and ready to support different closed loop control based on sensor or 
sensorless mode control, and it is compatible with three shunt or single shunt current sense measuring. 
The driver used on this STM32 Nucleo expansion board is the L6230, a DMOS fully-integrated driver for 
three-phase brushless PMSM motors, assembled in a PowerSO36 package, with overcurrent and 
thermal protection. This user manual describes the procedure to configure the X-NUCLEO-IHM07M1 
expansion board to operate with an STM32 Nucleo board. 

Figure 1: X-NUCLEO-IHM07M1 three-phase brushless DC motor driver expansion board based on L6230 for 

STM32 Nucleo 

 

 

Summary of Contents for X-NUCLEO-IHM07M1

Page 1: ...ked onto a single STM32 Nucleo board The user can also mount the Arduino UNO R3 connector The X NUCLEO IHM07M1 is fully configurable and ready to support different closed loop control based on sensor or sensorless mode control and it is compatible with three shunt or single shunt current sense measuring The driver used on this STM32 Nucleo expansion board is the L6230 a DMOS fully integrated drive...

Page 2: ...ttings 5 3 Board schematic 10 4 Circuit description 18 4 1 Power section L6230 driver with integrated three phase bridge 18 4 2 Power section Overcurrent detection OCP and current sensing measurement 19 4 3 Analog section Hall Encoder motor speed sensor 21 4 4 Analog section BEMF detection circuit 21 4 5 Analog section Bus voltage and temperature sensing circuit 21 5 BOM bill of material 23 6 Revi...

Page 3: ...tion Full compatibility with ST Six Step or ST FOC control algorithms Full support for sensor and sensorless mode 3 shunt and 1 shunt configurable jumpers for motor current sensing Hall Encoder motor sensor connector and circuit Debug connector for DAC GPIOs etc Potentiometer available for speed regulation Fully populated board conception with test points User LED Compatible with STM32 Nucleo boar...

Page 4: ...rter topology The core of the power block is the L6230 driver which contains all the necessary active power and analog components to perform low voltage PMSM motor control Motor the X NUCLEO IHM07M1 is able to properly drive a low voltage BLDC PMSM motor Figure 2 Overall system architecture 2 2 Building the system The X NUCLEO IHM07M1 expansion board is a complete hardware development platform Pow...

Page 5: ...ww st com 2 2 1 Hardware settings Table 1 Jumper settings Jumper Permitted configurations Default condition JP1 Selection for pull up insertion BIAS in current sensing circuit OPEN JP2 Selection for op amp gain modification in current sensing circuit OPEN JP3 Selection for pull up enabling in Hall Encoder detection circuit CLOSED J9 Selection to supply the STM32 Nucleo board through the X NUCLEO I...

Page 6: ...ith silk screen The X NUCLEO IHM07M1 expansion board is equipped with the ST morpho connector male pin headers CN7 and CN10 accessible on both sides of the board They can be used to connect the power board to the STM32 Nucleo board All signals and power pins of the MCU are available on the ST morpho connector For further details please refer to user manual UM1724 5 12 STMicroelectronics morpho con...

Page 7: ...age 19 GND 20 GND 21 PB7 22 GND 23 PC13 Blue button 24 VIN J9 25 PC14 26 NC 27 PC15 28 PA0 Curr_fdbk_PhA R47 29 PH0 PF0 PD0 30 PA1 VBUS_sensing R51 31 PH1 PF1 PD1 32 PA4 DAC_Ch R76 N M 33 VLCD VBAT 34 PB0 BEMF2_sensing R60 35 PC2 Temperature feedback R54 36 PC1 or PB9 1 Curr_fdbk_PhB R48 37 PC3 BEMF1_sensing R59 38 PC0 or PB8 2 Curr_fdbk_PhC R50 CN10 1 PC9 2 PC8 3 PB8 4 PC6 5 PB9 6 PC5 7 AVDD 8 U5...

Page 8: ...NT REF R77 28 PB14 8 DIAG ENABLE BKIN1 R49 29 PB5 GPIO DAC PWM R85 30 PB13 9 GPIO DAC PWM R82 31 PB3 Encoder B Hall H2 R81 32 AGND 33 PA10 WH_PWM R70 34 PC4 35 PA2 36 NC PF5 37 PA3 38 NC PF4 Notes 1 Please refer to Table 9 Solder bridges in user manual UM1724 for further details 2 Please refer to Table 9 Solder bridges in user manual UM1724 for further details 3 U5V is 5 V power from ST LINK V2 1 ...

Page 9: ... 26 and PB15 is on CN10 pin 13 7 For STM32F302 Nucleo only pin PA5 is on CN10 pin 30 and PB13 is on CN10 pin 11 pin PA6 is on CN10 pin 28 and PB14 is on CN10 pin 13 pin PA7 is on CN10 pin 26 and PB15 is on CN10 pin 13 8 For STM32F302 Nucleo only pin PA5 is on CN10 pin 30 and PB13 is on CN10 pin 11 pin PA6 is on CN10 pin 28 and PB14 is on CN10 pin 13 pin PA7 is on CN10 pin 26 and PB15 is on CN10 pi...

Page 10: ...r_fdbk1 Curr_fdbk2 CP Vshunt_2 Curr_fdbk3 Vshunt_3 C8 N M 100pF 6 3V JP1 FOC R11 2 2k C4 N M 100pF 6 3V R13 680 C1 100nF10V R9 2 2k U10C TSV994IPT 10 9 8 4 11 U10D TSV994IPT 12 13 14 4 11 R10 2 2k C3 680pF 10V 0 3 R R15 2 2k R1 2 2k C7 680pF 10V R5 2 2k R4 2 2k R14 0 R8 0 R2 680 R12 2 2k C5 680pF 10V U10B TSV994IPT 5 6 7 4 11 U10A TSV994IPT 3 2 1 4 11 R7 680 R16 2 2k R6 2 2k C6 N M 100pF 6 3V JP2 ...

Page 11: ...22 10pF 10V R28 10k R27 10k D4 BAT30KFILM D3 BAT30KFILM D2 BAT30KFILM C19 100n R35 4K7N M J4 RING 1 C21 10pF 10V SPEED REGULATION SPEED 3V3 SPEE D R42 100K SHUNT RESISTOR Vshunt_1_GND Vshunt_2_GND Vshunt_3_GND Vshunt_1 Vshunt_2 Vshunt_3 R45 0 33 1W R44 0 33 1W R43 0 33 1W RS model 742 8420 Placed near the L6230 driver 3V3 Temperature feedba ck R19 NTC 10K 2 1 R20 4K7 C10 10nF 10V VBUS SENSOR VBUS_...

Page 12: ...RING 1 R25 39k R23 10K r o t o M 2 J 1 2 3 C13 100nF 100V C17 1nF 6 3V D1 SMBD 7000 1 2 3 C18 10n N M C15 100uF 63V C12 10n 100V U11 L6230PD IN1 9 CPOUT 24 VSA 4 N C 3 N C 2 GND 1 OUT3 32 N C 31 VBOOT 30 EN3 29 CP 28 VCP 7 CP 13 N C 14 OUT1 15 N C 16 N C 17 GND 18 GND 19 N C 20 N C 21 EN1 10 SENS1 12 N C 23 N C 6 IN2 26 SENS2 8 SENS3 25 EN2 27 IN3 11 OUT2 5 DIAG EN 22 VSB 33 N C 34 N C 35 GND 36 E...

Page 13: ...UT1 OUT2 OUT3 GPIO_BEMF GPIO_BEMF GPIO_BEMF BEMF1 BEMF3 3V3 3V3 3V3 3V3 GPIO_BEMF BEMF1 BEMF2 GPIO_BEMF GPIO_BEMF BEMF3 Vshunt_3 SENS3 Vshunt_2 Vshunt_1 SENS1 Vshunt_2 R39 10k J6 CON3 1 2 3 R36 2 2k D10 BAT30KFILM D6 BAT30KFILM R41 10k J5 CON3 1 2 3 D9 BAT30KFILM D5 BAT30KFILM D8 BAT30KFILM R38 2 2k C23 0 1uF 6 3V R40 10k D7 BAT30KFILM R37 2 2k GSPG03092015DI1010 ...

Page 14: ... DAC REF F302 PA5 PB13 PA4 DAC PB4 PWM PA5 DAC PB5 DAC PWM CURR ENT REF C7_32 C10_27 C10_11 C10_30 C10_29 0 2 8 R J8 RING 1 0 0 8 R J7 Stripline m 1 x3 1 2 3 0 7 7 R R76 0 N M 0 5 8 R Currents F302 EmbPGA PA0 PhA PC1 PhB PC0 PhC PA1 BUSV PC2 Temp Sens PA1 EmbPGA PA7 EmbPGA PB0 EmbPGA 3V3 C7_28 C7_38 C7_35 Curr_fdbk1 Curr_fdbk2 Curr_fdbk3 VBUS Tempe rature feedba ck C7_30 C10_15 C7_34 Vshunt_1 Vshu...

Page 15: ... C7_24 J9 JUMPER VIN 3A 1 2 Open by default J27 on 1 12 VMAX on J26 2 JP5 Nucleo pin 2 3 2 JP1 Nucleo removed USER PB1 PB2 C10_24 C10_22 SPEED D11 RED 0 8 7 R R83 510 BEMF six STEP F302 PC9 GPIO PC3 ADC PB0 ADC PA7 ADC PA12 TIM1 ETR C10_12 C10_1 C7_37 C7_34 C10_15 C10_26 CPOUT GPIO_BEMF BEMF1 BEMF2 BEMF3 0 2 5 R 0 6 6 R 0 9 5 R 0 3 6 R 0 0 6 R 0 5 5 R GSPG03092015DI1020 ...

Page 16: ... C10_21 C5_1 C10_5 C5_9 C10_35 C9_2 C10_29 C9_5 C10_31 C9_4 C10_25 C9_7 C10_33 C9_3 C10_27 C9_6 C10_23 C9_8 C10_37 C9_1 C10_1 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 C7_9 C7_11 C7_12 C6_1 N C C6_2 3V3 C6_6 N C C7_10 C6_7 C7_26 C6_4 C7_18 3V3 5V CN6 1 2 3 4 5 6 7 8 CN5 1 2 3 4 5 6 7 8 9 10 CN10 1 2 3 4 5 6 7 8 ...

Page 17: ...RING 1 R25 39k R23 10K r o t o M 2 J 1 2 3 C13 100nF 100V C17 1nF 6 3V D1 SMBD 7000 1 2 3 C18 10n N M C15 100uF 63V C12 10n 100V U11 L6230PD IN1 9 CPOUT 24 VSA 4 N C 3 N C 2 GND 1 OUT3 32 N C 31 VBOOT 30 EN3 29 CP 28 VCP 7 CP 13 N C 14 OUT1 15 N C 16 N C 17 GND 18 GND 19 N C 20 N C 21 EN1 10 SENS1 12 N C 23 N C 6 IN2 26 SENS2 8 SENS3 25 EN2 27 IN3 11 OUT2 5 DIAG EN 22 VSB 33 N C 34 N C 35 GND 36 E...

Page 18: ...if the digital section STM32 Nucleo board must be supplied by USB or by the expansion board For these settings please refer to Table 1 Jumper settings Figure 13 X NUCLEO IHM07M1 power section The L6230 integrates a three phase bridge which consists of six power MOSFETs Using the N channel power MOSFET for the upper transistors in the bridge requires a gate drive voltage above the power supply volt...

Page 19: ...t reference and the output generates a fault condition to the DIAG pin that goes to ground U11 L6230PD IN1 9 CPOUT 24 VSA 4 N C 3 N C 2 GND 1 OUT3 32 N C 31 VBOOT 30 EN3 29 CP 28 VCP 7 CP 13 N C 14 OUT1 15 N C 16 N C 17 GND 18 GND 19 N C 20 N C 21 EN1 10 SENS1 12 N C 23 N C 6 IN2 26 SENS2 8 SENS3 25 EN2 27 IN3 11 OUT2 5 DIAG EN 22 VSB 33 N C 34 N C 35 GND 36 EP 37 D12 SMBJ48A TR C12 10n 100V C9 22...

Page 20: ...er settings Figure 15 X NUCLEO IHM07M1 current sensing circuit U11 L6230PD IN1 9 CPOUT 24 VSA 4 N C 3 N C 2 GND 1 OUT3 32 N C 31 VBOOT 30 EN3 29 CP 28 VCP 7 CP 13 N C 14 OUT1 15 N C 16 N C 17 GND 18 GND 19 N C 20 N C 21 EN1 10 SENS1 12 N C 23 N C 6 IN2 26 SENS2 8 SENS3 25 EN2 27 IN3 11 OUT2 5 DIAG EN 22 VSB 33 N C 34 N C 35 GND 36 EP 37 OUT1 OUT2 J2 Motor 1 2 3 OUT3 J5 CON3 1 2 3 J6 CON3 1 2 3 R43...

Page 21: ...eft in high impedance state and comparing the voltage of this phase with the center tap voltage we can detect the BEMF zero crossing This signal is acquired with an analog circuit embedded on the board as shown in the diagram below Figure 17 X NUCLEO IHM07M1 BEMF detection circuit 4 5 Analog section Bus voltage and temperature sensing circuit The X NUCLEO IHM07M1 expansion board provides the hardw...

Page 22: ...230 driver as shown in the diagram that follows Figure 18 X NUCLEO IHM07M1 VBUS and temperature sensing circuit VBUS_SENS VIN VBUS C14 4 7nF 10V R18 9 31K 1 R17 169K 1 RS model 742 8420 Place d near the L6230 driver 3V3 Temperature feedback R19 NTC 10K 2 1 R20 4K7 C10 10nF 10V GSPG15092015DI0645 ...

Page 23: ...8 2 C11 C13 100nF 100V Ceramic Multilayer Capacitors X7R 10 9 1 C12 10n 100V 100V Ceramic Multilayer Capacitors X7R 10 10 1 C14 4 7nF 10V Ceramic Multilayer Capacitors X7R 10 11 1 C15 100µF 63V Aluminium Electrolytic Capacitor 0 2 12 1 C17 1nF 6 3V Ceramic X7R 10 13 3 C20 C21 C22 10pF 10V Ceramic Multilayer Capacitors C0G 5 14 1 D1 SMBD 7000 200 mA Signal Diode 15 9 D2 D3 D4 D5 D6 D7 D8 D9 D10 BAT...

Page 24: ...169 kOhm 0 1W SMD RESISTOR 1 31 1 R18 9 31 kOhm 0 1W SMD RESISTOR 1 32 1 R19 NTC 10kOhm NTC Thermistor 1 33 1 R20 4 7 kOhm 0 1W SMD RESISTOR 34 1 R21 33 kOhm 0 1W SMD RESISTOR 35 5 R22 R23 R27 R28 R29 10 kOhm 0 1W SMD RESISTOR 36 3 R39 R40 R41 10 kOhm 0 25W SMD RESISTOR 37 3 R24 R25 R26 39 kOhm 0 1W SMD RESISTOR 38 3 R30 R31 R32 1 8 kOhm 0 1W SMD RESISTOR 39 3 R33 R34 R35 4 7 kOhm 0 1W SMD RESISTO...

Page 25: ...UX1J101MNL1GS 12 0603 ANY 13 0603 ANY ANY 14 SOT 23 Infineon SMBD 7000 15 SOD 523 STMicroelectronics BAT30KFILM 16 SMD 0603 Lite on LTST C193KRKT 5A 17 TH 2 54 mm pitch any 18 TH 3 81 pitch any 19 TH 3 81 pitch any 20 TH 2 54 mm pitch any 21 TH Vero Technologies 20 2137 22 TH 2 54 mm pitch any 23 TH 2 54 mm pitch Samtec ESQ 119 24 T D 24 TH 2 54 mm pitch Samtec ESQ 108 24 T S 25 TH 2 54 mm pitch S...

Page 26: ...NY 35 0603 ANY ANY 36 0805 PANASONIC ERJT06J103V 37 0603 ANY ANY 38 0603 ANY ANY 39 0603 ANY ANY 40 Bourns 3386P 1 104LF 41 2512 Panasonic ERJ1TRQFR33U 42 0603 ANY ANY 43 0603 ANY ANY 44 0603 ANY ANY 45 0603 ANY ANY 46 TSSOP STMicroelectronics TSV994IPT 47 PowerSO STMicroelectronics L6230PD 48 49 SMB STMicroelectronics SMBJ48A TR ...

Page 27: ...UM1943 Revision history DocID028304 Rev 1 27 28 6 Revision history Table 6 Document revision history Date Version Changes 17 Sep 2015 1 Initial release ...

Page 28: ...asers 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 S...

Reviews: