ST STEVAL-IHM015V1 Скачать руководство пользователя страница 1

October 2008

  Rev 2

1/53

UM0432

User manual

Low voltage motor control demonstration board

based on ST7MC MCU

Introduction

The low-voltage motor control demonstration board (also referred to by its order code 
STEVAL-IHM015V1)  is a complete development platform for low-voltage motor control 
applications. Based on a cost-effective, flexible and open design, it allows easy 
demonstration of ST7MC capabilities to drive low-voltage synchronous motors. It includes 
an ST7MC 8-bit microcontroller with a 16-Kbyte internal Flash memory. The STEVAL-
IHM015V1 comes with all the hardware necessary for developing motor control applications 
based on ST7MC peripherals including a motor control peripheral (MTC) and serial 
communication interface (SCI). The STEVAL-IHM015V1 uses an in-circuit communication 
(ICC) standard interface to connect to the host PC via in-circuit debuggers/programmers 
such as the in DART-STX board from Softec. The board’s power stage is designed to 
support up to 25 A and up to 48 V. With the included power MOSFET device STS8DNH3LL 
in SO-8 package, the maximum input voltage is 30 V and the maximum current rating is 8 A. 
The power supply stage can be easily configured to accept a wide range of input voltages.

Figure 1.

STEVAL-IHM015V1

Features

Voltage range from 5 to 48 V

Maximum current up to 25 A

Power MOSFET STS8DNH3LL (dual n-channel) 8 A/30 V included

Compatible with power MOSFET in SO-8 and DPAK packages

10 V auxiliary power supply connector

Serial communication interface connector

Programming and debug support via a 10-pin ICC connector

On-board 2 K-bit (256 bytes) serial memory

Four potentiometers for runtime settings

Start/stop button

Reset button

Debug pins available

www.st.com

Downloaded from 

Elcodis.com

 

electronic components distributor

 

Содержание STEVAL-IHM015V1

Страница 1: ...ation ICC standard interface to connect to the host PC via in circuit debuggers programmers such as the in DART STX board from Softec The board s power stage is designed to support up to 25 A and up t...

Страница 2: ...6 Board architecture 14 6 1 Power supply 15 6 2 Power stage 15 6 3 ICC connector 17 6 4 SDI interface serial data interface 18 6 5 Board schematic 19 7 Motor control operations 21 7 1 Environmental co...

Страница 3: ...6 Changing the real time parameters 39 7 5 7 Stopping the motor LED action 40 7 5 8 Configuring the system for BEMF amplification 40 7 5 9 Detecting the BEMF during the PWM on time 40 7 5 10 Detectin...

Страница 4: ...Running the motor LED action 45 7 7 6 Changing the real time parameters 46 7 7 7 Stopping the motor LED action 46 8 Bill of materials 47 9 References 50 10 Known limitations 51 11 Revision history 52...

Страница 5: ...or sinewave advanced parameters 31 Table 12 Jumper settings table 35 Table 13 Bus voltage threshold parameter 37 Table 14 BLDC SL jumpers setting 38 Table 15 Potentiometer functionality based on open...

Страница 6: ...TVD7 for InDART STX toolset configuration 23 Figure 13 Motor Type Choice window 25 Figure 14 3 phase BLAC DC trapezoidal basic parameters window 25 Figure 15 3 phase BLAC DC trapezoidal advanced param...

Страница 7: ...ks apart from the motor plus a software GUI to configure the motor drive Additionally open source C code is available derived from the ST7MC motor control libraries allowing easy customization and ext...

Страница 8: ...ormation concerning the power supply conditions are detailed in the documentation and should be strictly observed 2 3 Installing the demonstration board The installation and cooling of the demonstrati...

Страница 9: ...protective devices in accordance with the applicable safety requirements for example compliance with technical equipment and accident prevention rules Warning Do not touch the board immediately after...

Страница 10: ...r saving modes halt active halt wait and slow Configurable window watchdog timer Nested interrupt controller with 14 interrupt vectors Two 16 bit timers One 8 bit auto reload timer Serial peripheral i...

Страница 11: ...ier output MCCREF Current limitation reference MCPWMV PWM Output V user for current reference MCZEM Debug pin C Z event MCDEM Debug pin C D event SPI MISO Master in slave out data MOSI Master out slav...

Страница 12: ...ble 2 may cause permanent damage to the device Table 2 STS8DNH3LL absolute maximum ratings Symbol Parameter Value Unit VDS Drain source voltage VGS 0 30 V VDGR Drain gate voltage RGS 20 k 30 V VGS Gat...

Страница 13: ...e useful to check the working status of the board If the measured value is considerably greater than the typical value some damage has occurred to the board See the power supply configuration for a 10...

Страница 14: ...ction 7 In normal functioning mode the board is supplied by the VBUS connector J5 but an auxiliary supply connector J6 is included on the board to feed the drivers and the microcontroller The board is...

Страница 15: ...With the L4976D s Vref signal it is possible to provide the microcontroller with up to 20 mA With the LK112SM50TR it is possible to provide up to 200 mA 6 2 Power stage The power stage is based on si...

Страница 16: ...three kinds of devices Table 5 shows a list of compatible devices Table 5 Compatible devices Place holder Packages Type Compatible devices U15 U17 U18 SO 8 Dual STS8DNH3LL 1 1 The above are examples o...

Страница 17: ...tor J1 is used to establish ICC communication for programming debugging purposes Its pinout is shown in Figure 8 This connector is compatible with Softec s inDART STX board not included in the package...

Страница 18: ...vided with an SDI interface JP1 to establish SCI communication with external devices We suggest using an isolation board between the SDI interface and the external devices The pinout is shown in Figur...

Страница 19: ...0nF C2 100nF NC C2 100nF NC 1 2 3 4 SW4 Start Stop SW4 Start Stop R19 10K R19 10K R15 1M R15 1M C10 100nF 25V C10 100nF 25V P4 100K P4 100K P1 50k P1 50k 2 4 6 8 10 1 3 5 7 9 J1 ICC connector HE10 mal...

Страница 20: ...Out 6 VBoot 8 Lvg 5 GND 4 U14 L6387 U14 L6387 R56 22K R56 22K R35 4 7K R35 4 7K RF3 330K RF3 330K R30 3 3K R30 3 3K R40 220R R40 220R R45 200R R45 200R R54 22K R54 22K C24 220 F ESR 42mOhm C24 220 F...

Страница 21: ...touching two or more points in the circuit An isolated DC power supply can be constructed using an isolation transformer and a variable transformer A schematic of this DC power supply is shown in the...

Страница 22: ...mpiler Installation steps 1 Install the Cosmic compiler first Use the default installation folder C Program Files COSMIC CXST7_16Kbite Registration is required before using the product You can perform...

Страница 23: ...ollowing files are present inside each working folder a stw file STVD7 workspace file a stp file STVD7 project file a source folder containing all required c and h files Note We suggest making a backu...

Страница 24: ...rameters visually and enables the software to automatically generate the required h files Table 7 shows the h configurations files related to each firmware For a detailed description of the configurat...

Страница 25: ...e 13 Motor Type Choice window You must select the desired value and press OK 7 4 4 3 phase BLAC DC trapezoidal settings Figure 14 3 phase BLAC DC trapezoidal basic parameters window Downloaded from El...

Страница 26: ...ramp UP only in voltage mode Current reference Value of current flowing inside one of three phases of the motor at the end of the acceleration phase only in current mode Number of Z events before aut...

Страница 27: ...Proportional coefficient KP Value of the proportional coefficient Kp of the PI regulator Sampling time Regulation sampling time in milliseconds Change motor type The Change Motor Type button enables t...

Страница 28: ...anking 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 Demagn...

Страница 29: ...us speed Min Sets the target minimum stator frequency in Hz for closed loop mode Max Sets the target maximum stator frequency in Hz for closed loop mode V F voltage vs frequency curve limitation Min v...

Страница 30: ...t from the Ph F curve defined in the advanced settings based on the rotor speed Set phase shift according by P3 Manual setting of the phase shift using potentiometer P3 the maximum CCW position is 0 o...

Страница 31: ...ware uses this curve to set the value of the phase shift based on the actual value of the rotor frequency when the set phase shift according to Ph F curve option is set in the main window The curve is...

Страница 32: ...mic compiler see Section 7 3 1 Run the STDV7 for inDART STX and click on File Open Workspace 2 Select the workspace file in the firmware working folder depending on the motor type see Section 7 4 1 3...

Страница 33: ...nDART STX drivers Note Windows 2000 and Windows XP may issue a warning the first time the inDART STX power board is connected to the PC The USB driver used by inDART STX is not digitally signed by Mic...

Страница 34: ...e S19 to download into the microcontroller then press OK to know which binary code to select see Section 7 4 9 7 4 11 Setting the option bytes 1 Press the Option Byte button in the toolbar and select...

Страница 35: ...o the hall sensor connector J14 Table 12 Jumper settings table Name Selection Description J2 Open Disable the auxiliary Flash memory The debug feature can be enabled Closed Enable the auxiliary Flash...

Страница 36: ...value is set to 29 V To change it one parameter inside the source code must be modified and the executable must be rebuilt To do this find the following definition inside the adc c source file define...

Страница 37: ...alue and in voltage mode the current is limited to a maximum value The maximum current allowed by this mechanism is related to the hardware and is fixed at 6 5 A To change this threshold the R20 resis...

Страница 38: ...ply For this demonstration the power supply output voltage should be set to 20 Vdc and the current limitation of the power supply should be set to 4 A After power on the control board LEDs should blin...

Страница 39: ...e duty cycle or the value of the current reference is not set by P1 but has a fixed value If during the GUI configuration phase the from RV2 RV3 control was unchecked the value of the rising delay coe...

Страница 40: ...stem Since this direct back EMF sensing scheme requires a minimum PWM off time to sample the back EMF signal the duty cycle cannot reach 100 Furthermore in some applications that is HVAC using high in...

Страница 41: ...The system can be set up to use VBus 2 as the external reference In this case in addition to the settings described in Section 7 5 10 you must replace R74 using the formula Equation 5 Also set J21 bet...

Страница 42: ...ttings Set up the board following the instructions in Section 7 4 12 bus voltage between 9 and 28 V and Section 7 4 13 Set up the board as per Table 18 7 6 3 LED action after power on Turn on the powe...

Страница 43: ...ed the start up phase ends without getting a sufficient number of valid zero crossing events Motor stalled during the running of the motor no zero crossing events have been observed Note Blinking of t...

Страница 44: ...t check that the board has been set up for BLAC driving see Section 7 4 6 7 7 1 Specific sensor connections In order to be driven correctly the motor must have three position sensors in this case thre...

Страница 45: ...are has started to run After a while a green LED stays on indicating an idle state 7 7 4 Setting the potentiometers Before running the motor the two potentiometers P1 and P3 must be set see Table 22 f...

Страница 46: ...ng the running of the motor no sensor signal has been observed 7 7 6 Changing the real time parameters The real time parameters can be changed using the control board s potentiometers Table 22 explain...

Страница 47: ...V smd 0805 15 C28 C32 1 F 25V Through hole 16 C29 3 3 nF 50 V smd 0805 17 C30 C40 22 nF 50 V smd 0805 18 C33 1 F 25 V Through hole 19 C39 10 F 16 V Through hole 20 C41 220 pF 50 V smd 0805 21 C42 100...

Страница 48: ...47 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 NC SMD 48 RF1 RF2 RF3 330 k 1 4 W SMD 1206 49 R1 R4 680 1 4 W SMD 1206 50 R1 R50 R63 R71 470 1 4 W SMD 1206 51 R2 100 k 1 4 W NC SMD 1206 52 R3 R5 R6...

Страница 49: ...s TS271ACD NC SMD 78 U2 STMicroelectronics ST7FMC2S4T6 SMD 79 U3 STMicroelectronics M95020 MN3TP S SMD 80 U9 STMicroelectronics LK112SM50TR SMD 81 U10 STMicroelectronics L4976D SMD 82 U11 U13 U14 STMi...

Страница 50: ...eripherals 2 ST7MC motor control related application notes complete information about motor control libraries developed for the ST7MC microcontroller 3 STS8DNH3LL datasheet complete information about...

Страница 51: ...ton generates a glitch on the power supply which in turn triggers the LVD thus causing an unwanted reset Workaround program the option byte with AVD LVD off Note This limitation will be fixed in the n...

Страница 52: ...t 2008 2 Changed document title from Low voltage motor control demo kit to Low voltage motor control demonstration board based on ST7MC MCU Added Section 7 5 9 Section 7 5 10 Section 7 5 11 Section 7...

Страница 53: ...S FOR A PARTICULAR PURPOSE AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY...

Отзывы: