STEVAL-IHM021V1 STMicroelectronics, STEVAL-IHM021V1 Datasheet - Page 21

BOARD EVAL L6390/STD5NK52ZD

STEVAL-IHM021V1

Manufacturer Part Number
STEVAL-IHM021V1
Description
BOARD EVAL L6390/STD5NK52ZD
Manufacturer
STMicroelectronics
Type
Motor / Motion Controllers & Driversr

Specifications of STEVAL-IHM021V1

Main Purpose
Power Management, Motor Control
Embedded
Yes, MCU, 32-Bit
Utilized Ic / Part
L6390, STD5NK52ZD-1
Primary Attributes
3-Ph PMSM, 100 W 3-Phase Inverter, 110 ~ 230VAC
Secondary Attributes
Field-Oriented Control (FOC) of Sinusoidal-Shaped Back-EMF
Input Voltage
110 V to 230 V
Product
Power Management Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
L6390, STD5NK52ZD-1
Other names
497-8404
UM0580
9.2
9.3
9.4
Hardware requirements
The following items are required to run the STEVAL-IHM021V1 together with the " STM32
FOC firmware library ".
Software requirements
To customize, compile and download the " STM32 FOC firmware library v2.0 " motor control
firmware, the IAR tool " EWARM v5.20 (or v5.11)" must be installed. The free 32-k limited
version (referenced as the "KickStart" version) is available for downloading at:
http://supp.iar.com/Download/SW/?item=EWARM-KS32-442A .
Software modifications
The " STM32 FOC firmware library v2.0 " is compatible with the L6386 high-side driver. To
make the firmware compatible with the L6390, you must change the polarity of the PWM
driving the low-side transistors.
To do so, Follow these steps.
1.
2.
3.
#define NTC_HYSTERIS
4.
5.
The STEVAL-IHM021V1 board and MB525 board (STM32 evaluation board with MC
connector).
A high-voltage insulated AC power supply up to 230 Vac.
A J-link programmer (not included in the package).
A J-link insulating board (not included in the package).
A 3-phase brushless motor with permanent magnet rotor (not included in the package).
An insulated oscilloscope (as necessary).
An insulated multimeter (as necessary).
In " stm32f10x_svpwm_3shunt.c " substitute line 177 with:
TIM1_OCInitStructure.TIM_OCNPolarity = TIM_OCNPolarity_Low;
In " stm32f10x_svpwm_3shunt.c " substitute line 88 with:
In " MC_MotorControl_Layer.c " substitute lines 49 and 50 with:
In " MC_MotorControl_Layer.c " substitute line 382 with:
In " MC_Control_Param.h " set the required temperature threshold and hysteresis with:
#define NTC_THRESHOLD_C
#define NTC_HYSTERIS_C
return ((u8)(((s16)w_Temp_Average - 10477)/225 + 25));
#define NTC_THRESHOLD (u16) ((225 * (NTC_THRESHOLD_C - 25)) + 10477)
#define IDLE_LOW_SIDE_POLARITY_L6390
#define LOW_SIDE_POLARITY
Using the STEVAL-IHM021V1 with the STM32 FOC firmware library
(u16) ((225 * (NTC_THRESHOLD_C - NTC_HYSTERIS_C - 25)) + 10477)
60
5
// (°C)
// Temperature hysteresis (°C)
TIM_OCIdleState_Set
IDLE_LOW_SIDE_POLARITY_L6390
21/24

Related parts for STEVAL-IHM021V1