Home
STEVAL-IHM033V1 - STMicroelectronics
Contents
1. UM1077 Connectors 3 3 16 pin SPI I2C SCI interface J3 parameters Figure 6 16 pin SPI C SCI interface J3 v 1515119 7T 5 3 1 Ca PAANAN SG E EIE E NE 1614 1210 8 6 4 2 AM09435v1 Table 4 16 pin SPI IC SCI interface J3 pin assignments bn ag Pin of pn Pin of J3 pin Description STM32F100CB J3 pin Description STM32F100CB 1 VDD u 2 Not connected 3 USART1_RX PB7 4 USART1_TX PB6 5 SPI1 NSS PB8 6 SPI1 SCK PB3 7 SPI1 MISO PB4 8 SPI1 MOSI PB5 9 12C1_SDA PB7 10 I2C1 SCL PB6 11 Not connected 12 Not connected 13 Not connected 14 Not connected 15 VDD u 16 Ground Note The J3 connector is not insulated so please ensure that the instructions in Section 6 1 are strictly followed 3 4 Serial wire debugging connector J2 Figure 7 Serial wire debugging connector J2 v 19 171513 119 7 5 3 1 im mim imi mim imim im im im m im m m m imim 20 181614 1210 8 6 4 2 AM09654v1 ky Doc ID 018759 Rev 2 11 24 Connectors UM1077 Table 5 Serial wire debugging connector J2 pin assignments Pin number Description Pin number Description 1 3 3 V power 2 Not connected 3 Not connected 4 GND 5 Not connected 6 GND 7 SWDIO PA13 8 GND 9 SWCLK PA14 10 GND 11 Not connected 12 GND 13 SWO PB3 14 GND 15 RESET 16 GND 17 Not connected 18 GND 19 Not connected 20 GND 12 24 Doc ID 018759 Rev 2 a Schematics Motor control connector see Fi
2. A s P1 Ll DEWOBDARE FOR EVALUATION JUL PURPOSE ONLY T i USART E o DOF B1 M Lais 1l LI m pi RESET N 53 pa 3 CE casa a LIL Epa Ma su AVI A AM08507v1 Doc ID 018759 Rev 2 ky UM1077 Hardware layout and configuration 2 1 2 2 2 3 2 4 2 5 2 6 Two 3 pin jumpers with two possible positions are present on the STEVAL IHM033V 1 board the possible settings for which are presented in Table 1 Power supply The STEVAL IHM033V 1 board is designed to be powered via J1 or J4 MC connector See Section 3 1 Boot option The STEVAL IHM board allows boot only from embedded user Flash Clock source The STM32F100CB microcontroller present on the STEVAL IHM033V1 board is intended to be used in conjunction with an external high speed clock HSE 8 MHz crystal X1 reference in the schematic Reset source The reset signal of the STEVAL IHMO33ve board is active low and the reset sources include e Reset button B1 e Debugging tools from connector J2 Insulated RS232 One type D 9 pin connector P1 USART1 is available on the STEVAL IHM033V1 board The USART1 connector is connected to the RS232 transceiver U3 The RS232 transceiver U3 is connected to the microcontroller via optocouplers U4 and U5 which perform the electrical insulation of the board 16 pin SPI I2C SCI interface Using this interface it is possible to connect a device which can comm
3. Lv UM1077 YI User manual Control stage based on STM32F100CB microcontroller dedicated for motor control with user interface via serial communication Introduction The STEVAL IHM033V1 is a control stage based on STMicroelectronics ARM Cortex M3 core based STM32F100CB microcontrollers dedicated for motor control It is designed as an evaluation environment for motor control applications using STM32F100CB microcontrollers with full speed I C channels SPI channels insulated USART channels internal 8 KB SRAM and 128 KB Flash and SWD debugging With dedicated hardware evaluation features the STEVAL IHM033V1 board is designed to help developers evaluate the device and to develop their own applications The STEVAL IHM033V1 can be used together with the STM32 PMSM single dual FOC SDK v3 0 and an STMicroelectronics demonstration powerboard equipped with an MC connector such as the STEVAL IHM032V 1 for a complete motor control evaluation and development platform This user manual provides information on using the STEVAL IHM033V1 board and its hardware features Figure 1 STEVAL IHM033V1 demonstration board 2 s Oy Cas p CHAL INMOI SVI AM08499v1 October 2011 Doc ID 018759 Rev 2 1 24 www st com Contents UM1077 Contents 1 Main features pak aee waan Q8 9 a D ta ee DR LE 5 2 Hardware layout and configuration 6 2 1 Power supply 2 ia eek YE eat ik ee RUE RO DE RES
4. uonelu uu lduu ue ui ayesado IM Jo asodind JejnonJed Aue Joj jis 10 uoneoljdde JNOA Joj ejqeyns eq JIM suoeoyloeds ay pau IM ubisap siy Jos AAA jeu JULIEM JOU op SIOSUBII SI Jo pue soluoJjoejeoJoA S UIGIOUI peurejuoo uonewojui Aue Jo uoneoyioeds siy jo ssaua a dwoo Jo Aoeinooe BY JUELEM JOU op SIOSUBAI s Jo pue soluo29 9019IN 1S Ano 029 Ano 619 919 HINDI VEE 1821 en A0 ASZ Le any SLO gri za wa 0 SH 0 vH 8vLvTI La Doc ID 018759 Rev 2 STEVAL IHM033V1 IO assignments UM1077 5 STEVAL IHM033V1 IO assignments Table 6 STEVAL IHM033V1 IO assignments LQFP48 Pin name Type I O level input EVAL board IO assignment 1 VBAT S 2 PC13 Not connected 3 PC14 Not connected 4 PC15 Not connected 5 OSC IN Crystal oscillator 8 MHz 6 OSC OUT Crystal oscillator 8 MHz 7 NRST 1 0 RESET 8 Vssa S 9 VppA s 10 PA0 l Enc A BEMF Fdbck A 11 PA1 l Enc B BEMF Fdbck B 12 PA2 l Enc Z BEMF Fdbck C 13 PA3 l Bus Volt feedback 14 PA4 O Curr Ref DAC1 OUT 15 PA5 O DAC2 OUT 16 PAG l Current A BLDC Mtdsel 17 PA7 l Current B 18 PB0 l Current C 19 PB1 l Temperature feedback 20 PB2 O FT NTC bypass 21 PB10 O FT PFC PWM 22 PB11 l FT PFC Synch 23 Vss 1 s 24 Vpp 1 s 25 PB12 l FT MC EmergencySTOP 26 PB13 O FT PhaseU L 27 PB14 O FT PhaseV_L 28 PB15 O FT PhaseW L 29 PA8 O FT PhaseU H 30
5. PA9 O FT PhaseV H 31 PA10 O FT PhaseW H 32 PA11 Not connected 16 24 Doc ID 018759 Rev 2 ki UM1077 STEVAL IHM033V1 IO assignments Table 6 STEVAL IHM033V1 IO assignments continued LQFP48 Pin name Type I O level input EVAL board IO assignment 33 PA12 l FT BLDC ETR 34 PA13 y o FT SWDIO 35 Vss 2 36 Vpp 2 37 PA14 FT SWCLK 38 PA15 Not connected 39 PB3 I O FT SPI1_SCK SWO 40 PB4 y o FT SPI1 MISO 41 PB5 y o SPI1 MOSI 42 PB6 I O FT USART1 TX I2C1 SCL 43 PB7 yo FT USART1 RX 1I2C1 SDA 44 BOOTO GND 45 PB8 yo FT SPI1 NSS 46 PB9 FT Dissipative brake OCP boost 47 Vss 3 S 48 Vpp 3 S e FT 5V tolerant e S supply Doc ID 018759 Rev 2 17 24 Using the STEVAL IHM033V1 with the STM32 FOC firmware library UM1077 6 Using the STEVAL IHM033V1 with the STM32 FOC firmware library The STM32 FOC firmware library v3 0 provided along with the STM3210B MCKIT performs the field oriented control FOC of a permanent magnet synchronous motor PMSM in both sensor and sensorless configurations It is possible to configure the firmware to use the STEVAL IHM033V1 as the control stage of the motor control system This section describes the customizing to be applied to the STM32 FOC firmware library V3 0 in order for the firmware to be compatible with the STEVAL IHM033V1 6 1 Environmental considerations Warning The STEVAL IHM033V1 demonstrat
6. aken ERE 7 2 2 Boot ONUON nr renate KAS 7 2 3 GOE SOD En rna PEP NP 7 2 4 Reset source ics s Ee Ra DR RERO EG PE Rx iten 7 2 5 Insulated ASLI naaa BKA GIKAN GA ERR Ep Sd Pedir dd ea 7 2 6 16 pin SPI C SCl interface 7 2 7 Motor Oo iro steenarend PA 8 2 8 Development and debug support 8 3 CONNECIONS u u Lu AN ar uh SS KANA AA AA AA NAA 9 3 1 Motor control connector J1 JA 9 3 2 Insulated RS232 connector PI straa BKA baw ene oe ewe eee NG 10 3 3 16 pin SPI IC SCI interface J3 parameters 11 3 4 Serial wire debugging connector J2 11 4 SchematicS l ss arnhem tee desde de ded wee ew eee 13 5 STEVAL IHM033V1 IO assignments 16 6 Using the STEVAL IHM033V1 with the STM32 FOC firmware library 18 6 1 Environmental considerations 18 6 2 Hardware requirements es eten nan anan nana 19 6 3 Software requirements ee eee ran en n nan nna nn 19 6 4 STM32 FOC firmware library v3 0 customizing 19 7 Bill of material wi wem pede ERC PEE am kk l s av ves ese 21 8 References fh cutee T 22 9 Revision history ussen neten tenemen de ee 23 2 24 Doc ID 018759 Rev 2 ky UM1077 List of tables List of tables Table 1 Table 2 Table 3 Table 4 T
7. for current reading 1sh ADC1 IN7 Bus voltage ADC channel ADC1 IN3 Temp feedback ADC channel ADC1_IN9 DAC functionality DAC functionality peripheral DAC Digital I O Timer TIM1 TIM1 remapping No remap ky Doc ID 018759 Rev 2 19 24 Using the STEVAL IHM033V1 with the STM32 FOC firmware library UM1077 Table 7 STEVAL IHM033V1 motor control workbench parameters continued Block Parameter STEVAL IHM033V1 default Unit value Encoder interface timer TIM2 Encoder interface timer remap No remap Hall sensor interface timer TIM2 Hall sensor interface timer remap No remap Serial communication channel USART1 Serial communication USART1 Remap remapping Dissipative brake output Port B Pin 9 In rush current limiter Port B Pin 2 Overcurrent protection disabling Port B Pin 9 Note In the Drive management section User Interface Add on the Joystick LCD button check box must be unchecked because the feature is not supported by the STEVAL IHM033V1 Note To program debug the board it is necessary to configure the IAR workbench for the SWD interface Go to the User project option Click on J Link J Trace Select the Connection tab and check the SWD radio button 20 24 Doc ID 018759 Rev 2 ky UM1077 Bill of material 7 Bill of material Table 8 Bill of materia
8. 011 STMicroelectronics All rights reserved STMicroelectronics group of companies Australia Belgium Brazil Canada China Czech Republic Finland France Germany Hong Kong India Israel Italy Japan Malaysia Malta Morocco Philippines Singapore Spain Sweden Switzerland United Kingdom United States of America www st com 24 24 Doc ID 018759 Rev 2 ky
9. 018759 Rev 2 ky UM1077 Main features Main features The STEVAL IHM033V1 control stage has the following characteristics Compact size STMicroelectronics ARM Cortex M3 core based STM32F100CB microcontroller Connector for interfacing with any STMicroelectronics demonstration powerboard equipped with an MC connector such as the STEVAL IHMO32V 1 with alternate functions current reference current limitation regulation method selection current boost The board is compatible with sinusoidal and trapezoidal control Insulated USART communication interface Non insulated UUSCI interface see STEVAL PCC009V4 External oscillator Reset button SWD for programming debugging DAC outputs test points Doc ID 018759 Rev 2 5 24 Hardware layout and configuration UM1077 2 6 24 Hardware layout and configuration The STEVAL IHMO33V1 board is designed around an STM32F100CB microcontroller in a 48 pin LQFP package The hardware block diagram in Figure 2 shows the connections between the STM32F100CB microcontroller and peripherals USART UUSCI motor control Figure 3 shows these features on the demonstration board Figure 2 STEVAL IHM033V1 block diagram STM32F100 48pin Opto isolation Oscillator AM08501v1 Figure 3 8 STEVAL IHM033V1 board layout J1 Motor control DAC Outputs ANS G9 m J3 L a wa A 16 pin SPI I2C ew sc t SCI Interface paca A J2 I 12 SWD m uala al E
10. 20 ex 1q eAnedissiq YOUAS Jid ET WMd Idd ei ssed q JAN v a yo eqpaa ainyeredwie 8 eun Dbioerg L3s3ul Kreo al lespin OQ 18 v juaung I I 1no zova 0 pa n A 3 lt 4 ZZ 4u001 der INO lovq jeu uno n xoeqpee 40A sng NOW aa 9 oqpa JWIG Z dug 1 a g apy J N3g 8 Sua 4 ze Y X0qp4 JIN38 v Sua 8 L 9 ES I d ZHIN8 adez r EX 89 now aa ams lt NOW ad lt Jisa _ lt JOMSPOS Hds lt wows lt joiaws c now aaa ef AM09660v1 Doc ID 018759 Rev 2 14 24 Schematics 15 24 UM1077 Serial communication Figure 10 5 N e AO o o z lt 0611 82 SH 12 9S19H4S gt lt 108 toa x1 11uvsn poyeinsup XL RY e Ry OGLI PBZ SM 12 9919H15 sh L oer i AA oee 6H ejeinsu X nap ea a ati non aan vn Y OSI AAA oee 9H z 2 VAS LOEI XHTLLHYSN _ n lt now aan 16s adA NOW aa B _ _ 19S LOZ1 XL LIV XH LLHVSN 2 SA Moi ISON bd es Has pareinsu Xy pareinsul x 1 OMS MOS Hd lt SSN tas 70S 102l XL LLHVSN vas iod XH LLHVSN AO AO lt now aa ejewo4 69a YLOZEZEIS ae anyo 819 anyo 10S aar 719 uoneoijydde noA 10 jpeuonouny Wa sAs ay Wiyuoo 0 uong uawa dwi UBIsap JNOA 189 pue ejepijeA Ajatejdwoo pinoys no Ayyom uononpoud si ubisap ay eur JUEJJEM JOU OP SJOSUOOI SI 1O pue SOIUOJJO9 GOJOIIN S
11. 8759 Rev 2 ky UM1077 Revision history 9 Revision history Table 9 Document revision history Date Revision Changes 24 May 2011 1 Initial release 28 Oct 2011 2 Minor text changes to improve readability no technical changes Doc ID 018759 Rev 2 23 24 UM1077 Please Read Carefully Information in this document is provided solely in connection with ST products STMicroelectronics NV and its subsidiaries ST reserve the right to make changes corrections modifications or improvements to this document and the products and services described herein at any time without notice All ST products are sold pursuant to ST s terms and conditions of sale Purchasers are solely responsible for the choice selection and use of the ST products and services described herein and ST assumes no liability whatsoever relating to the choice selection or use of the ST products and services described herein 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 UN
12. LESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY FITNESS 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 TWO AUTHORIZED ST REPRESENTATIVES ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY DEATH OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE ST PRODUCTS WHICH ARE NOT SPECIFIED AS AUTOMOTIVE GRADE MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER S OWN RISK Resale of ST products with provisions different from the statements and or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever any liability of ST ST and the ST logo are trademarks or registered trademarks of ST in various countries Information in this document supersedes and replaces all information previously supplied The ST logo is a registered trademark of STMicroelectronics All other names are the property of their respective owners 2
13. ND 13 PWM WL PB15 14 Bus voltage PA3 Phase A current 15 BEMF sampling method PAG 16 GND selection 17 Phase B current PA7 18 GND 19 Phase C current PBO 20 GND 21 NTC bypass PB2 22 GND 23 PB9 24 GND 25 Not connected 26 PB1 PFC synch PB11 or VDD pi required 27 6Step current regulation PA12 see 28 3 3 V feedback Table 1 Doc ID 018759 Rev 2 9 24 Connectors UM1077 Table 2 Motor control connector J1 J4 pin assignments Pin of Pin of J1 J4 J1 J4 pin Function STM32F100CB pin Function i 00 PFC PWM PB10 or 29 6Step current regulation PA4 see 30 GND reference Table 1 31 H1 Enc A BEMF A PA0 32 GND H3 Enc 33 H2 Enc B BEMF B PA1 34 ZIBEMF C PA2 3 2 Insulated RS232 connector P1 Figure 5 Insulated RS232 connector P1 front view 1 2 3 5 6 7 8 9 AM09398v1 Table 3 Insulated RS232 connector P1 pin assignments Pin number Description Pin number Description 1 NC NC 2 Insulated RXD connected to RTS used as insulated power USART1_RXD via optocoupler supply 3 Insulated TXD connected to NC USART_TXD via optocoupler 4 DTR used as insulated power NC supply 5 Insulated GND Note 10 24 The insulated section is power supplied via P1 connector pins 4 and 7 To supply the insulated section it is required to bring up DTR and RTS before establishing the communication Doc ID 018759 Rev 2
14. able 5 Table 6 Table 7 Table 8 Table 9 Motor control jumpers JP1 JP2 eee 8 Motor control connector J1 J4 pin assignments 9 Insulated RS232 connector P1 pin assignments eee 10 16 pin SPI IC SCI interface J3 pin assignments 11 Serial wire debugging connector J2 pin assignments 12 STEVAL IHM033V1 IO assignments seren nen nen nen n ao noon oo non 16 STEVAL IHM033V1 motor control workbench parameters oo 19 Bill ofimaterial a este in oie a a ten kee p qup be e a Cu LR 21 Document revision history ses lel n kk la ak ken mr 23 Doc ID 018759 Rev 2 3 24 List of figures UM1077 List of figures Figure 1 STEVAL IHMO33V1 demonstration board sere vr n kn n en nen noon no nen 1 Figure 2 STEVAL IHM033V1 block diagram Isle ene teens 6 Figure 3 STEVAL IHM033V1 board layout aoe eee 6 Figure 4 Motor control connector J1 J4 top view oenen tees 9 Figure 5 Insulated RS232 connector P1 front view 10 Figure 6 16 pin SPI FC SCI interface J3 11 Figure 7 Serial wire debugging connector J2 onee tee 11 Figure 8 Motor control connector eee 13 Figure 9 MCU connections aaneen eee eeen 14 Figure 10 Serial communication vaneen eneen 15 4 24 Doc ID
15. aung I98SPIN 2G 18 v tudung T Meseyd H Meseud T Aeseud H_A seUd Tneseud H n seud F lt dOLS oueieu3 ON NNO9 HOLOW Lr yoeqpaay yon sng 7 13 24 Doc ID 018759 Rev 2 UM1077 Schematics MCU connections Figure 9 dO1sAdusb awg OW L uoneoidde 1no Joj Ajijeuonounj wa sAs ay uuuoo 0 uonelu uu lduui ubisap no so pue ejepijeA Ajaja dwoo pinous no AyjJom uononpoud si ubisap eui veur jueurem jou op SIOSUADI S Jo pue SOIU0109 80101 S Uonejuouso dwi ue ui eje19do jim 10 asodind JejnonJed Aue 10 jis 10 uoneorjdde Jno Joj ejgeyns eq Im suoneoijtoeds ay jeau JIM ubisap SIU rey jueuem jou op SIOSUS9I SI J0 PUE SIUOI DA 90191N S ul919Ul peurejuoo uoneuojui Aue Jo uoneoljio ds siy jo sseuejejduioo JO oeinoge BY jueuwem JOU OP SJOSUO2I S JO pue S9IUOJ129 80J9 IN LS 4U00L ero NOW AAA JUL 914000142EWLS TZ 19 elad 1neseuq gt Sc ldd 1 Aeseud HS 98 viad 1 Meseud S a Slad ee H neseud n 83 8vd tu H Aeseud Sl 6 Vd H Meseud gt Ol Vd Ll Vd Hiaoq1g 5 cL Vd olamsL__ gt el Vd ESSA NOW AAA Vd L Vd dNAM 0Yd vada VSSA LSHN LNO 9SO LAd NI OSO 0dd GlOd vlOd OLU diNVI ELDd LVaA now qqA gt MIOMS OMS MOS Las OSIN tas ISOW LIdS TOS LOIZI XL LLHVSN vas LOZI XH LLUYSN SSN LIdS 18009 d
16. e J1 J4 MC connector to the Bet in 1 2 E noe ae ai STM32F100CBT6B microcontroller pin PB11 TIM2_CH4 used Palaui Sating as PFC Synch JP1 Connect pin 27 of the J1 J4 MC connector to the Between pin 2 and3 STM32F100CBT6B microcontroller pin PA12 TIM1_ETR used as BLDC ETR Connect pin 29 of the J1 J4 MC connector to the Bet 1 2 ph A and2 GTM32F100CBT6B microcontroller pin PB10 TIM2 CH3 used Default setting as PFC PWM 2 Connect pin 29 of the J1 J4 MC connector to the Between pin 2 and3 STM32F100CBT6B microcontroller pin PA4 DAC1 OUT used as Curr Ref Development and debug support The following debug connector is available on the STEVAL IHM033V1 board e J2 an industry standard 20 pin SWD interface connector for connection of debugging programming tools for ARM core based devices Doc ID 018759 Rev 2 ky UM1077 Connectors 3 Connectors 3 1 Motor control connector J1 J4 Figure 4 Motor control connector J1 J4 top view v 33 3129 2725 23 2119 171513 119 7 5 3 1 34 3230 282624 2220 181614 1210 8 6 4 2 AM09397v1 Table 2 Motor control connector J1 J4 pin assignments J1 J4 pin Function C A AW ya Function sur 00 1 Emergency stop PB12 2 GND 3 PWM UH PA8 4 GND 5 PWM UL PB13 6 GND 7 PWM VH PA9 8 GND 9 PWM VL PB14 10 GND 11 PWM WH PA10 12 G
17. gure 8 MCU connections see Figure 9 This section provides design schematics for the STEVAL IHM033V1 Serial communication see Figure 10 This section includes Motor control connector Schematics UM1077 Figure 8 4 AM09655v1 uoneordde 1no 10 Ayyeuonouny wa sAs ay Wyuoo 0 uonejuawajdwi ubisap 1no sa pue ayepijea Ajajejdwoo pinoys no Kyuom uononpoud si ubisap eui yeu JUBJIEM JOU OP SJOSUOGOI S Jo pue SOIU01199 0 9IW LS Uonejuews dui ue ul ojeJedo jim Jo asodind 1ejnonsed Aue 104 1j Jo uoneoljdde anok 10 ajqeyns eq J suoneoiytoeds ey zoow JIM ubisap siy reu JULEM JOU op SJOSUO I S J0 PUE SIIUO0N9 90101N15 UBIA peurejuoo uoreuuojur Aue 10 uoneoyioeds siy jo sseuejejduioo JO oejno9e ey JULEM JOU op sJosueoi S Jo pue soIuo199 90J0lA LS 8 HAPT AWNII g 9u3 V X0qp4 JIN38 V ouF3 Oxqp4J4Wwagzou3 gt NOW ad LEES yoeqpaay einjereduje Edd xoeqpeejyoA sng 1800q d20 exelq eAnedissiq SsedAq JIN 2 juaung juaung IespiN OG 18 V tuaung 1 Meseud H Moseyd T Aeseyd H_Aeseud 1 neseud H neseud ANO zova 9 lt lt linozova mya On tovarseu ung NNOO HOLOW vr WN WN 90 so vo 9 aps 4N38 z oua 8 HPI JiN38 8 dua V aps Jw3g v MUI ed 1nO LOYO H ng WMd 23d NOW AAA 13 0019 yoeqpesy anjesedway YOuAS O4d 18009 d20 exeiq amedissig ssed q JIN 9 juaung g
18. ion board is not electrically insulated if it is connected to a high voltage powerboard it must only be used in a power laboratory the voltage used in the drive system presents a shock hazard The kit is not electrically isolated from the powerboard This topology is very common in motor drives The microprocessor is grounded by the integrated ground of the DC bus The microprocessor and associated circuitry are hot and MUST be isolated from user controls and communication interfaces Warning Any measurement equipment must be isolated from the main power supply before powering up the motor drive To use an oscilloscope with the kit it is safer to isolate the DC supply AND the oscilloscope This prevents a shock from occurring as a result of touching any single point in the circuit but does NOT prevent shocks when touching two or more points in the circuit An isolated AC power supply can be constructed using an isolation transformer and a variable transformer Note Isolating the application rather than the oscilloscope is highly recommended in any case 18 24 Doc ID 018759 Rev 2 ky UM1077 Using the STEVAL IHM033V1 with the STM32 FOC firmware library 6 2 Hardware requirements The following items are required to run the STEVAL IHMO33V1 together with the STM32 FOC firmware library e The STEVAL IHM033V1 board or MB459B board powerboard present in the STM32 MC kit or any other demon
19. l Reference Part value Manufacturer Manufacturer code B1 TD 0341 RESET black Any C1 1nF C2 C3 C7 C10 C12 C13 C14 C16 C17 C18 C19 100 nF C20 C21 C4 C5 C6 N M Do not fit Do not fit C8 C9 22 pF C11 1 uF Any C15 47 uF Any TP_CH4 Test point Test point Test point DAC1 DAC2 GND Test point Any D1 D2 LL4148 any JP1 JP2 Jumper Any J1 MOTOR CONN Any J4 place on bottom layer MOTOR CONN Any J2 SWD Any J3 16 pin SPI IPC SCI Any P1 DB9 female Any R1 3 3 kQ R6 R8 330 Q R2 100 ko R3 2200 R4 R5 0 R7 47Q R9 1200 U1 STM32F100CBT6B STMicroelectronics STM32F100CBT6B U2 L78L33ACUTR STMicroelectronics L78L33ACUTR U3 ST3232CTR STMicroelectronics ST3232CTR U4 U5 SFH6156 2T a eee SFH6156 2T X1 8 MHz Any Jumper Doc ID 018759 Rev 2 21 24 References UM1077 8 22 24 References This user manual provides information on the hardware features and use of the STEVALIHMO33V1 demonstration board For additional information on supporting software and tools refer to the following STM32F100xx datasheet RM0041 reference manual UM1052 user manual UM1053 user manual TN0516 technical note http www st com mcu web site which is dedicated to the complete STMicroelectronics microcontroller portfolio Please contact the nearest ST sales office or support team to obtain the required documentation if it is not included in the software package received or available on the ST web site www st com Doc ID 01
20. stration board with MC connector e A high voltage insulated AC power supply up to 230 Vac e A programmer debugger dongle for the control board not included in the package To program debug the STEVAL IHM033V1 a dongle with single wire debugging capabilities SWD is required Use of an insulated dongle is always recommended e A 3 phase brushless motor with permanent magnet rotor not included in the package e An insulated oscilloscope as necessary e An insulated multimeter as necessary 6 3 Software requirements To customize compile and download the STM32 FOC firmware library v3 0 a toolchain must be installed Please refer to the UM1052 user manual for complete details on how to set up the proper toolchain and refer to the control board user manual for further details 6 4 STM32 FOC firmware library v3 0 customizing To customize the STM32 FOC firmware library v 3 0 the ST motor control workbench as described in the UM1052 user manual can be used The required parameters for the control stage related to the STEVAL IHMO33V1 are given in Table 7 Table 7 STEVAL IHM033V1 motor control workbench parameters Block Parameter STEVAL IHM033V1 default Unit value MCU and clock frequency STM32 sub family Value line medium density CPU frequency 24 MHz Nominal MCU supply voltage 3 30 V Analog input ADC channel selection for phase U ADC1_IN6 ADC channel selection for phase V ADC1_IN7 ADC channel selection for phase W ADC1 IN8 ADC channel
21. unicate using IC SPI and UART For instance the STEVAL PCCOO9V4 is an STM32 based universal USB to serial communication interface UUSCI In the UUSCI demonstration board the STM32 microcontroller is used as the interface between the PC and the end device Doc ID 018759 Rev 2 7 24 Hardware layout and configuration UM1077 2 7 2 8 8 24 Motor control The STEVAL IHM033V1 board supports motor control via a 34 pin connector J1 or J4 which provides all required control and feedback signals to and from a motor power drive board Available signals on this connector include emergency stop speed or position feedbacks 3 phase motor current bus voltage sensor heatsink temperature sensor coming from the motor drive board and 6 channels of PWM control signals going to the motor drive circuit It is possible to use the J1 connector 34 way boxed header placed in the top side or alternatively the J4 connector 32 way double row female stripline placed in the bottom side to connect the STEVAL IHM033V1 with one of STMicroelectronics demonstration powerboards equipped with an MC connector such as STEVAL IHM032v1 For the latter option it is possible to directly plug in the J4 connector to the MC connector of the powerboard respecting the polarity Special motor control operation is enabled by setting jumpers JP1 JP2 see Table 1 Table 1 Motor control jumpers JP1 JP2 Jumper Position Description Connect pin 27 of th
Download Pdf Manuals
Related Search
Related Contents
加 M 。 R 家庭用燃料電池(SOFC)導入効果に関する近似分析 - Doors SEGURO MÉDICO Y DE REPATRIACIÓN FY-08RB-W の取扱説明書を見る Eizo L66 User's Manual Severin KA 5992 号 - 山根工務店 HKGunLoader Manual Catskill Craftsmen 15445 Instructions / Assembly Copyright © All rights reserved.
Failed to retrieve file