ST STEVAL-IHM010V1 User Manual
ST STEVAL-IHM010V1 User Manual

ST STEVAL-IHM010V1 User Manual

Igbt power module evaluation kit - st7mc control board
Table of Contents

Advertisement

Quick Links

IGBT Power module evaluation kit - ST7MC control board
Introduction
The ST7MC evaluation board STEVAL-IHM010V1 is a complete development platform for
STMicroelectronics' ST7MC microcontroller. Based on a cost effective, flexible and open
design, it allows easy demonstration of ST7MC capabilities and enables rapid evaluation of
the MTC microcontroller's peripherals. It includes the ST7MC 8-bit microcontroller with 16 K
internal Flash memory. The STEVAL-IHM010V1 features motor control Connector (MC-
Connector) and hardware features for developing motor control applications based on
ST7MC peripherals including motor control peripheral (MTC), Serial Communication
Interface (SCI). The STEVAL-IHM010V1 uses an In-Circuit Communication (ICC) standard
interface to connect to your host PC via In-Circuit Debuggers/Programmers like inDART-
STX board from Softec.
Figure 1.
Features
5 V power supply connector
34-pin dedicated motor control connector
Serial communication Interface connector
Programming and debug support via 10-pin ICC connector
Onboard 2K-bit (256 byte) serial memory
Four potentiometers for runtime settings
Start / stop button
Reset button
Debug pins available
July 2007
STEVAL-IHM010V1
Rev 2
UM0430
User manual
www.st.com
1/48

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STEVAL-IHM010V1 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST STEVAL-IHM010V1

  • Page 1: Figure 1. Steval-Ihm010V1

    IGBT Power module evaluation kit - ST7MC control board Introduction The ST7MC evaluation board STEVAL-IHM010V1 is a complete development platform for STMicroelectronics' ST7MC microcontroller. Based on a cost effective, flexible and open design, it allows easy demonstration of ST7MC capabilities and enables rapid evaluation of the MTC microcontroller's peripherals.
  • Page 2: Table Of Contents

    Contents UM0430 Contents System architecture ......... 7 Safety and operating instructions .
  • Page 3 UM0430 Contents 7.4.8 "3 Phase PMAC motor (sinewave)" settings ..... 29 7.4.9 "3 Phase PMAC Motor (sinewave)" advanced settings ... . . 31 7.4.10 Changing the maximum current allowed by GUI .
  • Page 4 Contents UM0430 7.8.5 Running the motor (LED behavior) ......44 7.8.6 Changing real-time parameters ....... 44 7.8.7 Stopping the motor (LED behavior) .
  • Page 5 UM0430 List of tables List of tables Table 1. ST7FMC2S4T6 Functions ..........10 Table 2.
  • Page 6 STEVAL-IHM010V1 ........
  • Page 7: System Architecture

    STEVAL-IHM010V1, one power board STEVAL-IHM011V1, one motor and the power supply. The control board STEVAL-IHM010V1 is a microcontroller (ST7MC) based board that provides the driving signals related to the motor selected and the driving strategies. Driving signals are constituted of 6 PWM signals in the range of 0-5V paired in high side/low side pairs of one pair for each leg.
  • Page 8: Safety And Operating Instructions

    Safety and operating instructions UM0430 Safety and operating instructions General During assembly and operation, the IGBT power module eval kit poses several inherent hazards, including bare wires, moving or rotating parts, and hot surfaces. There is danger of serious personal injury and damage to property, if it is improperly used or installed incorrectly.
  • Page 9: St7Fmc2S4T6 Microcontroller Functions

    UM0430 ST7FMC2S4T6 Microcontroller functions Warning: Do not touch the design boards after disconnection from the voltage supply, as several parts and power terminals which contain possibly energized capacitors need to be allowed to discharge. ST7FMC2S4T6 Microcontroller functions Main features ● TQFP44 package ●...
  • Page 10: Table 1. St7Fmc2S4T6 Functions

    ST7FMC2S4T6 Microcontroller functions UM0430 Table 1. ST7FMC2S4T6 Functions Function I/O name Description (depends on embedded software) MCO0 to MCO5 PWM outputs MCIA, MCIB, MCIC Analog or digital input for position sensor or B.E.M.F. detection B.E.M.F. Detection comparator reference NMCES Emergency stop Operational amplifier positive input Operational amplifier negative input Operational amplifier output...
  • Page 11: Control Board Electrical Characteristics

    Table 2. Control board electrical characteristics STEVAL-IHM010V1 Control board parameters Unit 5 V Auxiliary supply range – J6 MC Connector pin 25 – 5V MC Connector pin 28 –...
  • Page 12: Board Architecture

    Board architecture UM0430 Board architecture The STEVAL-IHM010V1 can be schematized as in Figure Figure 3. Control board architecture The heart of the control board is the ST7MC microcontroller which is provided with a dedicated peripheral to drive the three-phase brushless motor.
  • Page 13: Mc Connector

    UM0430 Board architecture Two communication systems can be established with the microcontroller: – ICC Used for programming/debugging purposes – SCI Used for data exchange through SDI connector The control board is connected to the power board through a specific connector (MC Connector).
  • Page 14: Table 3. Motor Control Connector

    Board architecture UM0430 Figure 5. MC Connector pin out Table 3. Motor control connector Pin N. Description Pin on ST7MC Emergency stop MCES Ground High side PWM phase A MCO0 Ground Low side PWM phase A MCO1 Ground High side PWM phase B MCO2 Ground Low side PWM phase B...
  • Page 15: Icc Connector

    UM0430 Board architecture Table 3. Motor control connector (continued) Pin N. Description Pin on ST7MC Ground Phase C current Ground NTC PYPASS relay Ground Dissipative BRAKE Ground HEATSINK temperature AIN0 PFC SYNC ICAPx_B PFC PWM OCMP1_B Ground ENCODER A MCIA Ground ENCODER B MCIB...
  • Page 16: Serial Data Interface (Sdi)

    Board architecture UM0430 Serial Data Interface (SDI) The board is provided with a serial data interface (SDI) able to establish SCI communication with an external device. We suggest using an isolation board between the SDI and the external devices. The pin out is shown in Figure Figure 7.
  • Page 17: Board Schematics

    UM0430 Board schematics Board schematics Figure 8. Control board schematic 17/48...
  • Page 18: Motor Control Demonstration

    Motor control demonstration UM0430 Motor control demonstration Environmental considerations Warning: The IGBT Power Module Eval Kit must only be used in a power laboratory. The high voltage used in any HV drive system presents a serious shock hazard. The kit is not electrically isolated from the AC input. This topology is very common in AC drives.
  • Page 19: Hardware Requirements

    UM0430 Motor control demonstration Hardware requirements To set up the IGBT power module eval kit system the following items are required: ● The control board: STEVAL-IHM010V1 ● The power board: STEVAL-IHM011V1 ● 34-pin flat cable ● High voltage isolated AC power supply up to 220 V 10 A ●...
  • Page 20: Control Board Setup

    Motor control demonstration UM0430 During the first run of the software after installation, a prompt for the configuration of the ⎯ toolset should appear. The toolset can be configured at any time by opening the "tools options" inside stvd7. To do this, click "toolset", select the "Toolset" menu tab and select ST7Cosmic and configure as in Figure Figure 9.
  • Page 21: Configuring The Firmware Using Gui

    UM0430 Motor control demonstration Table 4. Firmware libraries arranged according to driving strategy Firmware name Description AC_3PH_SR to drive sensored AC Induction motor sinusoidal driven BLAC_3PH_SR to drive sensored PM brushless motor sinusoidal driven BLDC_3PH_SL to drive sensorless PM brushless motor trapezoidal driven BLDC_3PH_SR to drive sensored PM brushless motor trapezoidal driven Note:...
  • Page 22: Motor Type Selection

    Motor control demonstration UM0430 For a detailed description of the configuration files and how to manually customize the related parameters, see AN1904, AN1905, AN1947. 7.4.3 Motor type selection After "IGBT PM EV KIT - GUI" is started, the motor type choice dialog box appears (see Figure 10).
  • Page 23: Phase Blac/Dc (Trapezoidal)" Settings

    UM0430 Motor control demonstration 7.4.4 "3 Phase BLAC/DC (trapezoidal)" settings Figure 11. "3 Phase BLAC/DC (trapezoidal)" basic parameters window Table 6. "3 Phase BLAC/DC (trapezoidal)" basic parameters Parameter name Description Poles pairs the number of pole (north/south) pairs in the motor the manner in which to run the motor, either open loop (without speed regulation) or Speed regulation closed loop (with speed regulation)
  • Page 24 Motor control demonstration UM0430 Table 6. "3 Phase BLAC/DC (trapezoidal)" basic parameters (continued) Parameter name Description Duty cycle the duty cycle percentage during the Ramp Up (only in voltage mode) the value of current flowing inside one (of three) phases of the motor at the end of the Current reference “acceleration phase”...
  • Page 25: Phase Blac/Dc (Trapezoidal)" Advanced Settings

    UM0430 Motor control demonstration 7.4.5 "3 Phase BLAC/DC (trapezoidal)" advanced settings Clicking the "advanced settings" button (see Figure 11) opens the "advanced settings" dialog box (see Figure 12). This is where the advanced "3 phase BLAC/DC (trapezoidal)" motor type parameters are set. Figure 12.
  • Page 26: Figure 13. 3 Phase Ac Induction Motor (Sinewave)" Basic Parameters Window

    Motor control demonstration UM0430 Table 7. "3 Phase BLAC/DC (trapezoidal)" advanced parameters (continued) Parameter name Description Zero crossing After D blanking window sets the blanking window after a D event in microseconds (µs) Z event counter filter defines the number of counter events required to validate a Z event Threshold voltage voltage set (in Volts) for Z detection Demagnetization...
  • Page 27: Phase Ac Induction Motor (Sinewave)" Settings

    UM0430 Motor control demonstration Table 8. “3 Phase AC induction motor (sinewave)” basic parameters Parameter name Description Poles pairs the number of pole (north/south) pairs in the motor the manner in which to run the motor, either open loop (without speed regulation) Speed regulation or closed loop (with speed regulation) Speed sensor...
  • Page 28: Phase Ac Induction Motor (Sinewave)" Advanced Settings

    Motor control demonstration UM0430 7.4.7 "3 Phase AC induction motor (sinewave)" advanced settings Clicking the "advanced settings" button (see Figure 13) opens the "advanced settings" dialog box (see Figure 14). This is where the advanced "3 Phase AC induction motor (sinewave)"...
  • Page 29: Table 10. "3 Phase Pmac Motor (Sinewave)" Basic Parameters

    UM0430 Motor control demonstration 7.4.8 "3 Phase PMAC motor (sinewave)" settings Figure 15. "3 Phase PMAC motor (sinewave)" basic parameters window Table 10. "3 Phase PMAC motor (sinewave)" basic parameters Parameter name Description Poles pairs the number of Pole (north/south) pairs in the motor the manner in which to run the motor, either open loop (without speed regulation) Speed regulation or closed loop (with speed regulation)
  • Page 30 Motor control demonstration UM0430 Table 10. "3 Phase PMAC motor (sinewave)" basic parameters (continued) Parameter name Description Start-up settings affects the slew rate of the voltage during the motor start-up phase before Voltage slew rate reaching the potentiometer set value (only in open loop) Start-up stator frequency sets the stator frequency during the start-up sequence (only in closed loop) sets the maximum duration of the start-up sequence in milliseconds (ms) (only in...
  • Page 31: Table 11. "3 Phase Pmac Motor (Sinewave)" Advanced Parameters

    UM0430 Motor control demonstration Figure 16. "3 Phase PMAC motor (sinewave)" advanced parameters window Table 11. "3 Phase PMAC motor (sinewave)" advanced parameters Params name Description Switches PWM Pulse Width Modulation (PWM) Frequency in kHz frequency Dead times value selects from available preset dead time duration values in microseconds (µs) Software uses this curve to set the value of the phase shift based on the actual value of the Ph/F curve rotor frequency when the “set phase Shift according to Ph/F curve”...
  • Page 32: Figure 17. St7Vd Active Project Configuration

    Motor control demonstration UM0430 7.4.10 Changing the maximum current allowed by GUI The maximum current allowed by GUI has been set to 4.1 amps. This value may be changed by modifying the file "gui.ini" inside the folder where the file "IGBT PM EV KIT - GUI"...
  • Page 33: Figure 18. System Setup For Programming Phase

    UM0430 Motor control demonstration 7.4.12 Programming the firmware Before programming the firmware, the control board must be supplied and connected to the PC using the inDART board. We suggest setting up the system as in Figure Figure 18. System setup for programming phase Use the USB cable to connect the inDART-STX Board to the PC.
  • Page 34: Figure 19. Option Byte Settings

    Motor control demonstration UM0430 Once the ST7VD for inDART has been installed, the "datablaze programmer" utility that can be used to program the firmware using the inDART-STX can also be installed. Run the Softec datablaze programmer utility. Click the "select device" button on the toolbar. In the "select device"...
  • Page 35: Table 12. Jumper Settings

    UM0430 Motor control demonstration Figure 20. Programming option auto window 12. Press start to program the device. If an error window appears, make sure that the inDART-STX board is connected to the ControlBDST7MC2 control board and that the control board is well supplied. 7.4.14 Jumper setting table Table 12.
  • Page 36: Figure 21. System Setup For Running Phase

    Motor control demonstration UM0430 Connect the insulated high voltage power supply to the J6 connector of STEVAL- IHM011V1 (Pin 2-3). Connect the 34-pin flat cable between the two MC connectors: J4 of control board and J3 of power board. Connect the phases of the motor to the power board J4 connector and, if required, connect the sensor signal to the Tachometer connector J2 or the hall sensor/encoder connector J1 based on the sensor present inside the motor and the driving strategy (Section 7: Motor control...
  • Page 37 UM0430 Motor control demonstration 7.5.2 Specific jumper settings To set up the power board jumper, follow the instructions in the power board user manual. Open the J5 jumper on the control board. Keep J2 of the control board open. 7.5.3 LED behavior after power on Turn on the power supply.
  • Page 38: Table 13. Potentiometer Functionality Based On Open/Closed Loop Driving Strategy

    Motor control demonstration UM0430 Table 13. Potentiometer functionality based on open/closed loop driving strategy Open loop Closed loop sets the stator frequency value from minimum sets the target rotor frequency value from minimum value to Maximum value configured (see value to maximum value configured (see Section 7.4.6: “3 Phase AC induction motor Section 7.4.6: “3 Phase AC induction motor (sinewave)”...
  • Page 39: Table 14. Potentiometer Functionality Based On Open/Closed Loop Driving Strategy

    UM0430 Motor control demonstration 7.6.3 LED behavior after power on Turn on the power supply. For this demonstration the power supply output voltage should be set to 30 Vdc and current limitation of the power supply should be set to 4 amp. After power on the control board LED behavior should be the following: ●...
  • Page 40 Motor control demonstration UM0430 Table 14. Potentiometer functionality based on open/closed loop driving strategy (continued) Voltage mode sets the value of rising delay coefficient from 0 to sets the value of rising delay coefficient from 0 to 255 sets the value of falling delay coefficient from 0 to sets the value of falling delay coefficient from 0 to 255 not used not used...
  • Page 41: Table 15. "Bldc Sensored" Motor Connections

    UM0430 Motor control demonstration set up for voltage mode - open loop - sensor 60° driving (see Section 7.4.4: "3 Phase BLAC/DC (trapezoidal)" settings). 7.7.1 Specific connection (sensor) To drive the motor, the motor must have three position sensors, in this case three hall sensors.
  • Page 42: Table 16. Potentiometer Functionality Based On Open/Closed Loop Driving Strategy

    Motor control demonstration UM0430 During any state: idle, start, run or brake, if the red LED stays on along with the brake of the motor, this indicates a fault condition. A fault condition is due to one of the following conditions: ●...
  • Page 43: Table 17. "Pmac Sensored" Motor Connections

    UM0430 Motor control demonstration The maximum current allowed has been set to 4.1 A. (see Section 7.4.10: Changing the maximum current allowed by GUI.) 7.7.7 Stopping the motor (LED behavior) Push the start/stop button to stop the motor. The LEDs toggle from green to red to indicate "idle state"...
  • Page 44: Running The Motor (Led Behavior)

    Motor control demonstration UM0430 7.8.3 LED behavior after power on Turn on the power supply. For this demonstration the power supply output voltage should be set to 30 Vdc and current limitation of the power supply should be set to 4 amp. After power on the control board LED behavior should be the following: ●...
  • Page 45: Stopping The Motor (Led Behavior)

    UM0430 Motor control demonstration Table 18. Potentiometer functionality based on open/closed loop driving strategy (continued) Open loop Closed loop manual setting of the phase shift; the maximum manual setting of the phase shift; the maximum CCW position is 0° of phase shift and the maximum CCW position is 0°...
  • Page 46: Bill Of Materials

    Bill of materials UM0430 Bill of materials Table 19. Bill of materials Item Reference Part 1 µF 25 V C4,C5,C6,C8 10 nF 25 V C7,C10 100 nF 25 V C9,C11 100 nF 25 V 1 nF 25 V 100 nF 25 V C14,C15 12 pF...
  • Page 47: References

    UM0430 References References This user manual provides information about using your STEVAL-IHM010V1 and its hardware features. For additional information about supporting software and tools, please refer to: ST7MC Datasheet. Complete information about microcontroller features and peripherals. ST7MC Motor Control related application notes. Complete information about motor control libraries developed for ST7MC microcontroller.
  • Page 48 No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.

Table of Contents