Home

UM0877 User manual - STMicroelectronics

image

Contents

1. define PFC MAX THRESHOLD VDC 460 define PFC MIN THRESHOLD VDC 225 in volt define PFC MAX IL 13 in ampere define PFC MAX HYS IL PFC MAX IL 0 95 ck ccc KEKE KKK KKK KEK KA XK A X A KK KKK KEK KA K A KEKE Z A AZ A A A A A A X A X A ZA MA Z k k k e Parameters of voltage PI Voltage PI Regulator koc ck ock ck ok ck KAZ A ck AK AZ ok KAZ A AK ZK AZ A Ck kk Z ko A ck ck ko ck ck KA ck ck ok ck Ck ck sk ck ck ok ko k ko Sk ck ko ko kx AX divided by 1024 CkCckckckck ck ckckckckckckckck K K ckckckckckckckckckckckckckckckckckckckckckckckckck ck ckckckckckckckckck ck ck KKK define kpv init u16 1700 define kiv init u8 213 La d AAA Ad AAA AAA dA AAA XK XK XK d XK XK XK AA AA AX XK AA AA AA X d X A d A A A A A d d A Ad d d J e Parameters of current PI Current PI Regulator koc ock ok ck ck ck AAA K AA KAZ A ck ck AZ A ck KKK XK A ck ck ck ck ck KA ck ck ok ck ck ck Sk ck ck ck ck ck ko Sk ck ko ko kx J divided by 1024 XOkCckckckck ck ckckckckckckck ck kck ckckckckckckckckckckckckckckckckckckckckckckckckck ck kckckckckckckckck ck ck ckck define kpi init u16 230 define kii init u8 56 Ak ck koc ok ok Z KA KA KA XK A X A X A Z A A X A XK A XK A XK A Z A AZ A A A A Z A X A KA ck ko ck ko ck ko ko ko ko ko EEK e Parameters of soft restart see Figure 26 for soft restart KRK whck R A R R k k k Ak kk R A AR A R AAR A A A A AA R A AA A AA A
2. mains insertion soft start completed GN C Kaj m control board supplied l j j C b S __ f PFC PFC PFC y waiting starting running al x Nee x A N fault P m N AA PFC stopped 6 2 STM32 peripherals for digital PFC Some STM2 peripherals are used to perform the digital PFC Table 1 Peripherals and pins of the STM32F103ZE used for the digital PFC Peripheral Description MCU mcer pin connector ADC1 Ch 3 regular channel Output DC voltage PA 03 14 ADC1 Ch 4 regular channel PFC current PA 04 24 ADC2 Ch 5 regular channel Input AC voltage PA 05 22 TIM3 Ch 4 80 kH 9 Drives the PFC power MOSFET PC 09 29 Duty cycle changes every two periods TIM3 Ch 3 80 kHz Triggers the ADC This duty cycle is half of the TIM3 Ch 4 duty 15 trigger to convert ADC1 Ch 3 one cycle but never lower than 8 1 us to avoid channel is available any bad effects caused by the power 2 4 trigger to convert ADC1 Ch4 and ADC2 MOSFET s commutation Ch 5 Stores the converted values coming from DMA Ch 1 ADCs Its IRQ calls the PFC routine after 2 d couple of ADC conversions Input Vin Zero crossing detection PD 02 27 Output Drives the relay for bypassing the resistor PD 10 21 when there is in rush current EXTI line 1 PFC hardware overcurrent detection PE 01 2 System timer SYSTICK Internal timer for other features 32 62 Doc ID 16854 Rev 1 ky UM0877 Digital PFC firmware Table 2 Used i
3. Download the code into the STM32 as shown Figure 33 Downloading and debugging the firmware WErrorstatus MSEStart pStatus a 32 Private function prototypes AI 33 void RCC_Contigurstion void void GPIO_Contiguration void 35 void MVIC_Contigaration veid 31 Private functions Al Description Main program None 1o A S System Clocks Configuration 3 PCC Configuration s Download the application and start the debugger Errors 0 Warnings 0 int Cat MM AM05877v1 As soon as the download is complete you can unplug the J LINK probe Once you have reset the STM32 the control board will be ready for you to try out the demonstrator Doc ID 16854 Rev 1 UM0877 Starting the PFC application 7 5 Getting started with the system The next step is to interconnect the parts to assemble the digital PFC demonstrator Figure 34 Connecting the various system components AM065878v1 1 Connect the AC power source to pins 1 and 3 of the J7 connector of the STEVAL ISF002V1 2 Connect an active DC load to pins 1 and 3 of the J8 connector of the STEVAL ISF002V1 3 Connect a 34 pin flat cable between J15 of the STEVAL ISF002V1 and the main MC connector of the STEVAL IHM022V1 4 Connect a 3 ph inverter board if required optional 5 Supply the control board STEVAL
4. 3 2 2nF Y 2 rcx A Hl 2 hig sil gt C p OK o 47uF 300Vae X2 y FITAD d PON 220ACHOA H ce gt R Sy mil 22er ya gt S ATO 4 2 2uF 46v Auxiliary power euppiy tection N 1 ici TPI v PS VIPERIZADIP 16V TP 18x A B 4 224F BAI 10uF jid 410 H Ent 15v STTH1ROGU sou sov The mains has to be provided by pins 1 and 3 of the J7 connector pin 2 can be linked up to earth The voltage input range must be within 185 265 Vrms at 50 Hz The digital section is provided by means of a circuit based on the VIPER12 to obtain 15 Vdc and a positive voltage regulator L7805 to obtain 5 Vdc The VIPER12 can be left out by removing J9 In this case 15 Vdc have to be provided on J10 positive on pin 1 ky Doc ID 16854 Rev 1 19 62 STEVAL ISF002V1 hardware description UM0877 3 5 2 20 62 Signal conditioning for input voltage Figure 14 STEVAL ISF002V1 input voltage sensing section R6 220k 1 R7 220k 1 C8 0 22uF 630V R8 PFC Vac R10 4 7k 196 R12 0 07 3w AMOS858v1 Figure 15 STEVAL IHMO22V1 input voltage sensing section R PFC Vac DC Input C 22nF AMOS859v1 The conversion ratio is given by Equation 33 Equation 33 R10 4 7 10 0 008629 R6 R7 R8 R10 220 220 100 4 7 10 The input voltage scaled by this conversion ratio will be read by the MCU s
5. N UM0877 J User manual 1 4 kW digital power factor corrector based on the STM32F103ZE Note April 2010 Introduction This system has been designed to evaluate the capabilities of the high density STM32F103ZE microcontroller to perform a digital power factor corrector An application example is provided for easy evaluation of the system s features and performance The system is intended for demonstration purposes to evaluate the potentiality of the STM32 to control a high power PFC with performances comparable to a standard continuous mode PFC monolithic IC while assigning enough micro resources such as program memory and CPU computational capabilities to other complex operations such as driving 3ph motors in scalar or field oriented control The system described in this document has been designed to offer high performances in terms of PF THD and DC output voltage ripple According to less demanding performances power components such as the inductor present in the PFC power board can be downsized to obtain a cost effective solution As opposed to monolithic ICs this digital approach enables a sophisticated control algorithm to be applied and system parameters to be adjusted to meet customer requirements The STM32 digital PFC hardware system is composed of two boards a PFC power stage STEVAL ISF002V1 and a dual motor control stage STEVAL IHMO22V1 based on the STM32F103ZE microcontroller Thanks to an MC connector on the PF
6. 17 STEVAL ISF001V1 blockdiagram 18 STEVAL ISF002V1 power supply section 19 STEVAL ISF002V1 input voltage sensing section lt 20 STEVAL IHM022V1 input voltage sensing section 20 STEVAL ISF002V1 output voltage sensing section 21 STEVAL IHM022V1 output voltage sensing section 21 STEVAL ISF002V1 PFC current sensing section 22 STEVAL IHM022V1 PFC current sensing section lt 22 STEVAL ISF002V1 PFC power MOSFET driving section 24 STEVAL ISF002V1 overcurrent protection section 25 STEVAL ISF002V1 vin zero crossing detection section 26 Vin zero crossing detection without load 27 Vin zero crossing detection with load 27 STEVAL IHMO22V1 sjeda oo Ia koa a oa n OS A o ead dre a ete 29 Output voltage soft start methodology 31 PFC states s aciri pania aiaee cabled hPa Abd bee ee wae ede tae oe 32 Use of peripherals for digital PFC 33 PFC firmware flowchart 38 Digital PFC timing eee kaaa 39 Hardware connections for fi
7. 8 A 400 V Ac 400 V Single Phase A D1 diode bridge 8A Bridge Rectifier Through hole Vishay KBU8G E4 RS code 634 9288 Heat sinkfor Heatsink for D1 a for Aavid Thermalloy al 10 RS code 4907208 D1 cee GF1M WI Rectifier diode DO214BA Vishay GF1M RS code 269 451 600 V TNNT D3 1N5406 3A Rectifier diode DO201AD Any RS code 262 343 Turbo 2 D4 STTH12S06 ultrafast high TO 220 ST Microelectronics um voltage rectifier Do LL4148 Switching SOD 80 An Distrelec code l diode_ y 601496 D14 Turbo 2 B STTH1R06 ultrafast high SMB ST Microelectronics p ROG voltage rectifier sjen eu JO iq pue oneuieuos 4 480INn 3 L 94 79891 GI 900 09 y9 Table 10 STEVAL ISF00V1 BOM continued Manuf RS distrelec other Ref Part value Toll 96 Voltage Watt Technology Package Manufacturer More current information code code info BZX84 D8 BZX84C15 15V Zener diode SOT 23 NXP C15 RS code 436 8186 x 1N4001 50 V1 A Rectifier diode DO204AL Vishay 1N4001 RS code 261 148 D12 15 V 15V 0 5W Zenerdiode DO 34 An Disita ae rane y 601542 D13 LED red Red CHIPLED SMD 1206 Any RS code 654 5694 F1 Fuse o Mi Time lag fuse RS RS code 488 8567 c Socket for F1 Hsc fo Through hole Schurter 31 8231 RS code 336 7851 Low power IC1 VIPER12A E Orr line SMPS SO 8 ST Microelectronics VIPERI2A primary S E switcher 3 way PCB J7 220AC 16 A eter Through hole Phoen
8. AA A R AR AHR K R R KR EERE Three particular points are located at startup after OC and after OV WA N in percentage is the part of VdcRef used by voltage PI xf N will be increased by N_GROWTH as soon as CYCLES reaches CYCLES_MAX 3 Doc ID 16854 Rev 1 UM0877 Digital PFC firmware K CYCLES is increase by 1 every 2bus that is at 40kHz example x for CYCLE MAX CYCLE MAX STARTUP 1600 then N will be increased after 1600 x 25us 40ms T coc ce ck ck ck ccc ck ck ck ck ck ck ck ck ck ck ck ck ZX X X X XK XK X XK X ok ok ok X X X X X X X X XK AX X X X AX X e x A A M M AG k amp k amp ko KEKE define CYCLES MAX STARTUP 1600 define CYCLES MAX OVERCURRENT 3200 define CYCLES MAX OVERVOLTAGE 3200 define N INITIAL STARTUP 68 define N INITIAL OVERCURRENT 97 define N INITIAL OVERVOLTAGE 98 define N GROWTH STARTUP 4 define N GROWTH OVERCURRENT 1 define N GROWTH OVERVOLTAGE 1 ck ck ck ck ck ck KK KKK KEK KKK Z A K KKK KKK KEKE KKK KKK KEK KKK KKK KKK KK KK KKK A ck ko ko Sk ko A Ax x Doc ID 16854 Rev 1 37 62 Digital PFC firmware UM0877 6 4 38 62 Digital PFC firmware execution Figure 29 shows the seguence of events for the digital PFC firmware Figure 29 PFC firmware flowchart PFC Configuration v wait for charging of PFC output capacitors v read mains fregue
9. BRIDGE APPLICATIONS PIN 1 2 3 6 7 8 900uH 15 CIRCUIT DIAGRAM RESISTANCE DC MEASURE TA 20 C PIN 1 2 3 6 7 8 100mQ MAX OPERATING CURRENT 10A MAX DC MEASURE TA 20 C OPERATING VOLTAGE 500V MAX F 80kHz IR 10A TA 20 C SATURATION CURRENT 20AMAX DC MEASURE L gt 50 NOM TA 20 C RESONANCE FREQUENCY 286KHZ NOM TA 20 C OPERATING AMBIENT TEMPERATURE 10 C 45 C IR 10A MAX MAXIMUM DIMENSIONS 75x80 H48mm WEIGHT 550g APPROX INDUCTANCE VS CURRENT INDUCTANCE VS FREQUENCY 100 i i 1 T 20 1 A 25 1 PFCBOBBIN START 5 j NOTUSD 2 PrcBoBMNSTART 6 PFCEOBBNENO Cd 3 PrceoesNsrRT amp h amp 7 PFCBOBBINEND amp 4 jworusD 8 PFCBOBBIN END Cid PIN WITH THE SAME SUBSCRIPT MUST BE CONNECTED TOGETHER ON PCB MOR amp D0014 00 Rev 00 02 09 08 E AGNETICA AM05889v1 Doc ID 16854 Rev 1 59 62 Schematic and bill of materials UM0877 Figure 46 Technical sheet of PFC inductor page 2 of 2 STP 04 Product Technical Specification Code 1856 0002 Product PFC Inductor 900uH 10A Customer STMicroelectronics Customer Code Date 30 06 09 Revision 0 Page 2 of 2 DIMENSIONAL DRAWING DIMENSIONS IN MILLIMETERS DRAWING NOT IN SCALE PCB drilling 3mm Recommended PCB drilling 1 5mm Solder pad 4 0mm Top v
10. IHM022V1 with either a 5 V DC power supply or by means of the PFC power board STEVAL ISF002V1 refer to J18 in Table 3 ky Doc ID 16854 Rev 1 43 62 Running the demonstrator UM0877 8 8 1 44 62 Running the demonstrator Navigating in the system menu The system s user interface is comprised of four basic hardware elements A 320 x 240 TFT LCD display Four LEDs red orange blue and green A 5 way joystick UP DOWN RIGHT LEFT SELECTION One push button KEY Figure 35 Hardware elements of the control board AM 05879v1 The four LEDs are used to obtain information on the actual state of the digital PFC Table 5 LED description for digital PFC LED color Description Red PFC stopped Orange PFC waiting Blue PFC starting Green PFC running As shown in Figure 5 on page 10 two PI regulators are used to implement a digital PFC The parameters of these Pls can be changed by either modifying the PFC h file or by changing the parameters of the Pls while the firmware is running by means of the joystick and KEY push button Use UP or DOWN of joystick to select the PI parameter Use RIGHT of joystick to increase the selected PI parameter Use LEFT of joystick to decrease the selected PI parameter Use KEY push button to restore the selected PI parameter Doc ID 16854 Rev 1 ky UM0877 Running the demonstrator Table 6 Default values of PI regulator
11. PI is not immediately fixed to the final target The actual VDC reference is gradually increased to reach the final target voltage of 415 V The growth of this reference is shown in Figure 26 and it is managed by the PFC ROUTINE function part of the PFC c file every 25 us This method of gradually incrementing to reach the target output voltage reference is called soft start Doc ID 16854 Rev 1 ky UM0877 Digital PFC firmware Figure 26 Output voltage soft start methodology N INITIAL N GROWTH mwanza N INITIAL 7777777 1 777777777 gt CYCLES 0 1 2 CYCLES MAX 1 2 CYCLES MAX 0 0 N VdcReferen ceActual VdcReferen ce x 100 25 us PFC RUNNING this is the steady state of the PFC The PFC routine is performed with a loop frequency of 40 kHz half of the switching frequency of the MOSFET This routine controls the digital PFC and performs the following Software protections and limitations Voltage PI Current PI Updating of the PFC MOSFET duty cycle PFC STOPPED the PFC is in this state after any fault condition The MOSFET is switched off and it is not possible to exit from this state Figure 27 summarizes the states and transition events of the state machine Doc ID 16854 Rev 1 31 62 Digital PFC firmware UM0877 Figure 27 PFC states
12. Performance of the digital PFC 47 9 1 Siad Stale 1 2 38340 ebat acude d ERR REESE ah 47 9 2 Efficiency measurement 48 Appendix A Schematic and bill of materials 50 A 1 LAVOUL oda Bobra Le EE A CER Ed ERES Red Esai db estas 51 A 2 Customized inductor by MAGNETICA 59 REVISION DISUOlY i cud wd K s di ddd ee wk ee doe eee 61 ky Doc ID 16854 Rev 1 3 62 List of tables UM0877 List of tables Table 1 Table 2 Table 3 Table 4 Table 5 Table 6 Table 7 Table 8 Table 9 Table 10 Table 11 4 62 Peripherals and pins of the STM32F103ZE used for the digital PFC 32 Used interrupts and their priority 33 PFC power board STEVAL ISF002V1 jumper settings 40 Control demonstration board STEVAL IHMO22V1 jumper settings 41 LED description for digital PFC 44 Default values of PIregulators 45 Efficiency with 185 Vrms at 50 NZI WWW ern 48 Efficiency with 230 Vrms at 50 HZ 1 eee 49 Efficiency with 265 Vrms at 50 HZ 1 tees 49 STEVAL ISFOOV1 BOM ssssseseeesesel rrr 52 Document revision history lt ete ee 61 Doc ID 16854 Rev 1 ky UM0877 List of figures List of figures F
13. and risk of fire during the tests fan water cooled load etc Do not touch the board and its components after disconnection from the voltage supply as several parts and power terminals containing possibly energized capacitors must be given time to discharge Doc ID 16854 Rev 1 7 62 PFC basics and operating principles UM0877 2 2 1 8 62 PFC basics and operating principles Introduction Most of the power conversion applications consist of an AC to DC conversion stage immediately following the AC source The DC output obtained after rectification is subsequently used for further stages Since many applications demand a DC voltage source a rectifier with a capacitive filter is necessary However current pulses with high peak amplitudes are drawn from a rectified voltage source with sine wave input and capacitive filtering The current drawn is discontinuous and of a short duration irrespective of the load connected to the system When this type of current is drawn from the mains supply the resulting network losses the total harmonic content and the radiated emissions become significantly higher At power levels of more than 500 W these problems become more pronounced Figure 1 Typical AC to DC rectification without PFC Pest waaga and Octput votaga AMQOS851v1 Two factors that provide a quantitative measure of the power quality in an electrical system are the power factor PF and total harmonic di
14. with noise coming from the switching of the power MOSFET For the STM32 ADC the total conversion time is calculated as follows Equation 41 Tape cony SamplingTime 12 5 cycles For design purposes the following values have been selected Eguation 42 SamplingTime 7 5 cycles Eguation 43 ADC giock 12 MHz Thus yielding Equation 44 Tapco SamplingTime 125 _ 7 5 12 5 _ 0 625 1041 us 1666 us ADC a 12 MHz Through experimental measurements the CPU performs a PFC routine for a time of 4 27 us every control loop then the CPU s load for the PFC routine 4 27 us 25 us z amp 1796 becomes ky Doc ID 16854 Rev 1 39 62 Starting the PFC application UM0877 7 7 1 7 2 7 3 40 62 Starting the PFC application This chapter explains how to configure the demonstrator Hardware requirements STEVAL ISF002V1 PFC power board 34 pin flat cable AC power source able to supply the appropriate voltage and current DC electronic load able to provide the appropriate load STEVAL IHM022V1 dual motor control demonstration board 5 V 2 ADC power supply to supply the STEVAL IHM022V1 J Link ARM KS USB cable A and B type plug 20 pin flat cable PC Software reguirements e AR embedded workbench for ARM 5 20 e JAR project for digital PFC based on the STM32F103ZE microcontroller The software demonstration source code is provided by STMicroelectronics free of charge after acceptance of the license agre
15. 00 ko 1 1 4 W Resistor Through hole RS code 148 972 R9 470 5 1 4 W Resistor SMD 1206 4 480INn S EIJ9 eUI JO iq pue JIJEWAYIS 09 29 L eu 19891 GI 90d Table 10 STEVAL ISF00V1 BOM continued Manuf RS distrelec other Ref Part value Toll 96 Voltage Watt Technology Package Manufacturer More current information code code info R11 6 80 5 1 4 W Resistor SMD 1206 Non inductive R12 0 07 Q 3 3W resistor LOB3 Through Hole IRC Distrelec 710516 type R13 2 R31 3 3 KQ 5 1 4 W Resistor SMD 1206 R14 R30 10 kQ 5 1 4 W Resistor SMD 1206 R33 R15 o R22 1 5kQ 5 1 4 W Resistor SMD 1206 R16 220 kQ 5 1 4 W Resistor SMD 1206 R17 6 8 ko 5 1 4 W Resistor SMD 1206 R18 n R24 33 ko 5 1 4 W Resistor SMD 1206 R19 o R20 22 KQ 5 1 4 W Resistor SMD 1206 R21 12 ko 5 1 4 W Resistor SMD 1206 R23 4 7 KO 5 1 4 W Resistor SMD 1206 R25 o R29 2 2 KO 5 1 4 W Resistor SMD 1206 R26 1kQ 5 1 4 W Resistor SMD 1206 R27 R28 120 ko 5 1 4 W Resistor SMD 1206 R32 1 5 KQ 5 1 4 W Resistor SMD 1206 R34 100 0 5 5W Resistor Through hole Any RS code 199 7769 R36 1 2 KQ 5 1 4 W Resistor SMD 1206 sjeuojew JO iq pue oneuieuos 4 480INn 3 L eu 79891 GI 900 09 8G Table 10 STEVAL ISF00V1 BOM continued Manu
16. 2 PFC basics and operating principles 8 2 1 Introd UCtlOD E P ea ptg O O tees ee onde ao 8 2 2 PFC with digital approach 9 3 STEVAL ISF002V1 hardware description 11 3 1 Electrical characteristics 11 3 2 Target applications 11 3 3 Dimensioning the power components 12 3 3 1 Preliminary definition 12 3 3 2 acl MERERI 12 3 3 3 Input capacitor sss ces ese RR Un RR LAU RACE RR Regu EUER RN 12 3 3 4 Boost inductor for CCM 13 3 3 5 Output capacitor IIIA AAA 13 3 3 6 Power MOSFET 000 cece eee teen eens 14 3 3 7 Boost diode 15 3 4 neo IA IAA Ea a E E EE 16 3 4 1 VIN Connector anrai s eieaa dk SE AR ee eee 16 3 4 2 Vout connector eee 16 3 4 3 15bVconnector 16 3 4 4 MC PFC connector 16 3 4 5 MC connector only 17 3 5 STEVAL ISF002V1 block diagram 18 3 5 1 Power supply ee eee eee 19 3 5 2 Signal conditioning for input voltage 20 3 5 3 Signal conditioning for output voltage 21 3 5 4 Signal conditi
17. 4 Rev 1 ky UM0877 STEVAL IHM022V1 demonstration board 5 STEVAL IHM022V1 demonstration board The STM32F103ZE s demonstration board STEVAL IHM022V1 is designed as a dual and triple motor control development platform for STMicroelectronics ARM Cortex M3 core based STM32F103ZE microcontroller Figure 25 STEVAL IHMO22V1 AMOS869v1 For more information refer to the user manual of the STEVAL IHMO22V 19 a UMO688 Quick reference guide for the STEVAL IHMO22V1 STM32 dual motor drive demonstration board and software application available for download from www st com Doc ID 16854 Rev 1 29 62 Digital PFC firmware UM0877 6 6 1 30 62 Digital PFC firmware This chapter describes and explains how to implement the digital PFC software Firmware architecture The execution of the PFC firmware is based on the implementation of a state machine It is basically made up of four states PFC WAITING after initialization the system waits for the AC mains insertion triggered by a falling edge of the zero crossing detector shown in Figure 22 After this time the new state assumed is PFC STARTING PFC STARTING the mains freguency is measured and if it is outside the range of 45 66 Hz the new state becomes PFC STOPPED If the mains freguency is within this range the relay against in rush current is closed and protections are enabled To avoid current peaks the VDC setpoint for the voltage
18. 5 1 06 96 4 0 997 11 at 50 Hz 100 00 1400 1 47 413 5 1 41 95 9 0 998 0 9 105 00 1470 1 55 416 9 1 48 95 5 0 998 0 9 48 62 Doc ID 16854 Rev 1 ky UM0877 Performance of the digital PFC Table 8 Efficiency with 230 Vrms at 50 Hz Percentage Nominal Input Input power Output Output power 1 o 1 2 voltage of target output kw voltage V 3 kw Eff PF THD power power W 25 00 350 0 37 410 5 0 36 97 3 0 966 5 0 50 00 700 0 72 410 0 0 70 97 2 0 992 2 1 e at 75 009 1050 1 09 412 4 1 06 97 2 0 996 1 7 100 00 1400 1 45 414 9 1 41 97 2 0 998 1 6 105 00 1470 1 52 415 2 1 47 96 7 0 998 1 6 Table 9 Efficiency with 265 Vrms at 50 Hz Percentage Nominal Input Input power Output Output 1 3 of target output 1 3 2 Eff PF THD voltage power power W kW voltage V power kW 25 00 350 0 37 410 7 0 36 97 3 0 955 9 0 50 00 700 0 72 410 5 0 70 97 2 0 990 3 7 Bes We TT 1050 1 09 411 9 1 06 97 2 0 996 32 at 50 Hz 100 00 1400 1 45 415 0 1 41 97 2 0 998 2 7 105 00 1470 1 52 415 0 1 47 96 7 0 998 2 7 1 By means of digital power meter Yokogawa WT110 2 By means of AC power source analyzer Agilent 6813B 3 By means of DC electronic load Chroma 63202 ky Doc ID 16854 Rev 1 49 62 UM0877 STEVAL ISF00V1 schematic Appendix A Schematic and bill of materials Schematic
19. ADC Doc ID 16854 Rev 1 ky UM0877 STEVAL ISF002V1 hardware description 3 5 3 Signal conditioning for output voltage Figure 16 STEVAL ISF002V1 output voltage sensing section R1 R2 R3 R4 330k 196 220k 1 C6 c7 330uF 450V 330uF 450V OUT 400V 3 5A AM05860v1 Figure 17 STEVAL IHMO22V1 output voltage sensing section BUS_400v DC Input R c 100K 100nF AMO5861v1 The conversion ratio is given by Equation 34 R4 R R4 R R1 R2 R3 iadi R4 R Doc ID 16854 Rev 1 21 62 STEVAL ISF002V1 hardware description UM0877 3 5 4 22 62 That is Eguation 35 4 7 10 100 10 4 7 100 10 4 7 10 100 108 4 7 100 10 0 007053 330 220 82 10 The output voltage scaled by this conversion ratio will be read by the MCU s ADC Signal conditioning for PFC current Figure 18 STEVAL ISF002V1 PFC current sensing section 03 STTH12S06 t0220 cs 0 68uF 630V c C 330uF 450V 330uF 450V e Qi 1 STW23NM6ON e Trsense R12 0 07 3w MW 7 AMOS862v1 Figure 19 STEVAL IHMO22V1 PFC current sensing section PFC lac DC Input R 100K AM05863v1 Doc ID 16854 Rev 1 ky UM0877 STEVAL ISF002V1 hardware description Eguation 36 R14 10 10 PFC lac Rsense R12 R13 InSense MENU Equation 37 PFC lac IRsense 0 212121 Conversion ratio Equa
20. C power board this latter can be interfaced to several ST MCU based boards especially those developed for motor control On board OFF line SMPS based on a VIPER12 is used to generate the 15 VDC voltages necessary to supply the drivers inside the power board Additionally this board provides 5 volts for supplying any control stage supplied via the MC connector Read Section 1 prior to using the system m Main system features Maximum output power 1400 W Input voltage range 185 230Vac 50 60 Hz Output voltage 415VDC 5 ripple PF up to 0 998 at nominal rated power THD between 0 9 and 9 over entire operating range Hardware overcurrent protection Software current limitation Software overvoltage protection Software voltage limitation Regulated DC output voltage with zero load Adjustable target value of output DC voltage Embedded UI for adjusting real time Pls parameters for voltage and current Available demo for dual FOC motor control drive Doc ID 16854 Rev 1 1 62 www st com Contents UM0877 Contents 1 Safety and operating instructions 6 1 1 General ii S IA 6 1 2 Intended use of the demonstrationboard 6 1 3 Installation of the demonstration board 6 1 4 Electronic connection 7 1 5 Demonstration board operation 7
21. E ain x al sv CUT ME BL WT AMO5888v1 D1 rectifier bridge D4 PFC diode STTH12S06 C6 DC output voltage capacitor C7 DC output voltage capacitor IC1 VIPER12 J7 AC input voltage connector 185 265 V at 50 Hz J8 DC output voltage connector 400 Vdc J9 jumper to remove low voltage supply VIPER12 J10 15 Vdc input connector J1 operational amplifiers TSV992 J12 advanced MOSFET driver TD352 J14 hex inverters 74VHCU04 J15 MC and PFC connector to interface with digital board J16 MC connector to drive 3 ph inverter board J18 jumper to supply digital board with 5 Vdc L1 EMI filter L2 PFC inductor Q1 PFC power MOSFET STW23NM60N R34 resistor to avoid in rush current at start up RL1 relay to bypass the R34 resistor Doc ID 16854 Rev 1 51 62 Table 10 STEVAL ISFOOV1 BOM Manuf RS distrelec other Ref Part value Toll 96 Voltage Watt Technology Package Manufacturer More current information code code info C1 C4 22nFY1 20 400 V Yi ceramic Through hole Any RS code 214 5903 capacitor C2 0 22 uF 20 300V X2 capacitor Through hole Any RS code 208 6882 C3 0 47 UF 10 300 V X2 capacitor Through hole Any RS code 441 9694 C5 0 68 uF 4 10 630 V naaal Through hole Any RS code 190 8438 polyprop cap Electrolytic ppt C6 C7 330 UF 20 450 V y Through hole Phycomp 30BPF RS code 440 6711
22. GND 13 MC WL 14 BUS VOLTAGE 15 CURRENT A 16 GND 17 CURRENT B 18 GND 19 CURRENT C 20 GND 21 NTC BYPASS RELAY 22 NC 23 DISSIPATIV BRAKE 24 N C 25 5V POWER 26 HEAT SINK TEMP 27 N C 28 3 3V POWER 29 N C 30 GND 31 ENCODER A 32 GND 33 ENCODERB 34 ENCODER INDEX AM05855v1 ky Doc ID 16854 Rev 1 17 62 STEVAL ISF002V1 hardware description UM0877 3 5 STEVAL ISF002V1 block diagram Figure 12 shows the principal blocks of the STEVAL ISF002V1 and their interconnections Each block is described in the following sections Figure 12 STEVAL ISF001V1 block diagram Vac RELAY AND ANTI BOOST DC DC Vde 185 260 Vrms INPUT FILTER T RECTIFIER IN RUSH CURRENT gt CONVERTER 50 60 Hz RESISTOR L Dj C T 415 V ZERO CROSSING DETECTION FOR INPUT VOLTAGE PFO SYNC LOW VOLTAGE POWER SUPPLY SIGNAL CONDITIONING FOR INPUT VOLTAGE NTC BYPASS RELAY PRO Vac SENSE EV POWER 1 SIGNAL CONDITIONING FOR PFC CURRENT PFC Iac SENSE OVER CURRENT PROTECTION ENABLE DISABLE PFC PWM MC PFC CONNECTOR BUS VOLTAGE MOSFET DRIVER SIGNAL CONDITIONING FOR OUTPUT VOLTAGE 18 62 Doc ID 16854 Rev 1 3 UM0877 STEVAL ISF002V1 hardware description 3 5 1 Power supply Figure 13 STEVAL ISF002V1 power supply section Fi Neg YN A m A E V F uzao a NT c 4 Ro T
23. I W Zve pE woor 129 woy Wemomo 2 W ra Wn gt wes M lac 1 aloo Av pH an L a n Lad xc va ma W prousezya uoraoenozd 3407119 VST EI PLE W xo xz aee T r agi gt MW zw ag nee Pru n9osIHLLS im zz mo am dour A4 w9 E N o shi aor 20 soss us E Agz 4n001 agi ocu PEE sio 810 zia doze gee n 44001 wa wz as AGL g lad ar E oni ZUM OA wee Leu 3 lt 2 S lesen s Zur pau Le W SSRI gr 68100 OMOL A2 zmo pau oo z m A08 L son mo oa el ma Bash s pru sra al al wa fe i E m id seins zey e it H Ho slovech Pez meo m m idi io W ll H ade zio 1 a dioi vio ONAS 046 wA 5 MELOO ZLE P cy wm X 99 ons a na zz TUNE unex uouuco z aeos s MW sum sa t x001 Moso anezo 990 gni 3 ia eu o 3d veenoorino o qur szt tk sa ez p T Aosr snoce Sr in ce NOSNEZMIS n m a ADE9 A890 wo er so 6h x077 r ou 340 NO Zia Ozzovoosz KLUS a dv01 Hn006 Lo w T EA seu A E i mer l hi ora EXOCOOE ZED SA AAT eo a gt ail oor sna DA ao us m Pro S Xea nay t sir za Jeba apop ov odve mazz n o Hh LY bE 5022 L 06 sa b w 5 su MS 001 OHA we AW Ww W n z j owe pwm vH eu a ba aot vy h zi to Januar ker ecu ES Loov ielo sa s B AM05887v1 Doc ID 16854 Rev 1 50 62 UM0877 Schematic and bill of materials A 1 Layout Figure 44 STEVAL ISF002V1 layout DENO BOARD ONLY FOR EVALUATION PURPOS
24. IONS Checks protections against overvoltages and undervoltages A Calls STOP PFC if any protections are triggered PFC INIT Calls PFC CONFIGURATION Uses WAIT FOR Vin ZERO as timer to wait for charging output capacitors Enables the TIM3 counter Bypasses resistor when there is in rush current Uses WAIT FOR Vin ZERO as timer to wait for change relay status Calls ENABLE PROTECTIONS Sets the PFC status as PFC STARTING Doc ID 16854 Rev 1 ky UM0877 Digital PFC firmware 6 3 2 e PFC ROUTINE This routine is called by the IRQ of DMA1 CH 1 that is generated after two completed ADC conversions see Figure 30 Calculates mean of Vdc Performs a soft start if the PFC status is PFC_STARTING or a software limitation if an overcurrent or overvoltage incident occurs After this the PFC status switches to PFC_RUNNING Manages the software limitation against overcurrent Manages the software limitation against overvoltage Performs a voltage PI every 400 cycles Performs a current PI every cycle Updates the duty cycle of TIM3 CH 4 and CH 3 Calls CHECK PROTECTIONS e ACTUAL PFC FLAG Returns the value of PFC STATUS FLAG e DC BUS Value Returns the value in volts of the DC bus voltage e Get Vac Returns the ADC s converted value of Vac e Get lac Returns the ADC s converted value of lac e Get Vdc main Returns the ADC s c
25. MOS882v1 Doc ID 16854 Rev 1 UM0877 Performance of the digital PFC 9 Performance of the digital PFC The following connections have been used to test the system Figure 39 Test setup block diagram i yi d AM05883v1 9 1 Steady state The following figures show the behavior of the digital PFC when it is supplying a load of 1400 W while the input voltage is 185 V 50 Hz 230 V 50 Hz and 265 V 50 Hz Figure 40 185 Vrms at 50 Hz as input 1400 W as output load AMO5884v1 ky Doc ID 16854 Rev 1 47 62 Performance of the digital PFC UM0877 Figure 41 230 Vrms at 50 Hz as input 1400 W as output load mese UB Tigges ad 00 Alv 100 Vid 5 00 meaty Ed 00 Voffset 000 Aottzet 200 0 Votat 25045 EME Cza Postive gt L us EELIS uus sv AMOS885v1 Figure 42 265 Vrms at 50 Hz as input 1400 W as output load Tmebese Oma Trigger m ud ud uu E EL uu asy me 9 2 Efficiency measurement The following tables provide information on the efficiency of the digital PFC Table 7 Efficiency with 185 Vrms at 50 Hz Percentage Nominal Input Input power Output Output power 1 2 of target output 1 3 3 Eff PF THD voltage power power W kW voltage V kW 25 00 350 0 37 410 9 0 36 97 3 0 978 3 6 50 00 700 0 73 410 0 0 71 97 3 0 995 1 5 185 ms 7500 1050 1 10 410
26. RS code 461792 J18 CONS 3 way single row strip line connector male connector 2 54 mm pitch Vertical through hole Any RS code 495 8470 sjeuojew JO iq pue neways 4 480INn L eu S891 GI 900 c9 98 Table 10 STEVAL ISF00V1 BOM continued Manuf RS distrelec other Ref Part value Toll Voltage Watt Technology Package Manufacturer Mors current information code code info Power line Vertical B82725A2 Distrelec code LE B82725A2802NI choke through hole Epcos 802N1 351190 L2 900 uH 10 Apk L3 1 mH 10 290 mA Radial inductor Through Hole Wurth Elektronik 744741102 RS code 488 9964 N channel 600 V 0 1500 19 A second Q1 STW23NM60N generation TO 247 ST Microelectronics STWESNM 60N MDmesh power MOSFET Heat Heatsink for Be STW23NM60N sinkfor Heatsink for A1 Otand and D4 and Aavid Thermalloy 78075 oy STTH12S06 100 00 mm Q2 Q3 BC847 NPN transistor SOT23 NXP BC847 RS code 436 7953 12 V Mini power T7SS5E6 RL1 Small relay 10A PCB relay Through hole Tyco Electronics 12 RS code 616 8714 R1 330 ko 1 0 6W Resistor Through hole RS code 149 105 R2 R6 R7 220 ko 1 0 6 W Resistor Through hole RS code 149 060 R3 82 ko 1 0 6 W Resistor Through hole RS code 148 950 d 4 7 KQ 1 0 6 W Resistor Through hole RS code 148 663 R5 R35 470 ko 5 1 4 W Resistor Through hole R8 1
27. amage to property may be caused if it is used or installed incorrectly All operations involving transportation installation and use as well as maintenance should be carried out by skilled technical personnel national accident prevention rules must be observed For the purpose of these basic safety instructions skilled technical personnel refers to suitably qualified people who are familiar with the installation use and maintenance of power electronic systems Warning Many sources of serious hazard are present on this board The board operates directly from the mains is not galvanic insulated and provides high voltage DC levels at the output that can cause serious electric shocks serious burns and death Hot surfaces that can cause burns are present on the board This board must be used in a power laboratory only and under protection by engineers and technicians who are experienced in power electronics technology STMicroelectronics will not be held responsible for damage caused to objects or persons Intended use of the demonstration board The entire system is designed for demonstration purposes only and shall not be used for electrical installation or machinery The technical data as well as information concerning the supply conditions shall be taken from the documentation and strictly observed Installation of the demonstration board The installation and cooling of the whole system must be in accordance with the specific
28. and bill of materials Figure 43 ods mod ASH Z Odd jopeuuo2 OW Y Odd pauvo OW m xepul epoou a waa00N3 ee kapu Jopooug su3dooNa Er ws V1BOO0N3 te A ano YH3Q0N3 E ono WW Dad HE oeod ZE ano Wid 24d Hel Wwe oaa L8 A EE YIM INAS 24d ZX BACH ET INAS Odd IM JONAs oad u oz dwaj 13MOd ASH abes JaMOd AS oz YIMOd AG gt AZ esuos oe Od AVAYA ALLVAISSIA z E aivua Auvaissia SL ez XXE asusah Ddd AYISM ssa OLN EL sence PET AVT SSNGAG OIN EZ gt wid fees ano 9 NZB8NO m 2 1N3MunO a au ono VININ a Visum E a s y BOVLIOA sna WON ADO 6N A gavion sna IMON e ano HMCON ano HMCON it ano WON ano WOW 6 P EEE ano HAN D No HA ON i Pi m i ano IMON ano Iw 5 ano Hoon ano HOON H t qvo dots kouobuowa oun 1 400 044 dos ousdins E a sw T M p 30001 pole E idu bp VPOLOHAPL E 9o ndoa V T x
29. are UM0877 6 3 1 34 62 PFC c file The PFC c file contains the following functions PFC CONFIGURATION Sets the PFC status to PFC WAITING Performs O configuration for ADCs timer PFC synchronization PFC overcurrent protection and relay driving against in rush current Timer3 configuration CH 3 for ADC trigger and CH 4 for driving PFC power MOSFET ADC1 configuration converts Vdc and lac ADC1 and ADC2 convert their channels simultaneously ADC2 configuration converts a dummy channel and Vac This dummy channel is not used by the digital PFC standalone DMA1 CH 1 configuration has two buffers of 32 bits each Each buffer contains the converted value of the simultaneous conversion of ADC1 and ADC2 see Figure 28 DMA1 CH 1 IRQ configuration this interrupt will be generated as soon as the two buffers are filled EXTILine 1 IRQ configuration WAIT_FOR_Vin_ZERO Waits until Vin gets zero within one mains period ENABLE PROTECTIONS Enables check for hardware protection against PFC overcurrent Enables check for software protections DISABLE PROTECTIONS Disables check for hardware protection against PFC overcurrent Disables check for software protections STOP PFC Calls DISABLE PROTECTIONS Sets to zero the TIM3 CH 4 output PFC power MOSFET will be open from this point on Changes the PFC status in PFC STOPPED CHECK PROTECT
30. ations and targeted application e Excessive strain on the board must be avoided In particular no components are to be bent or isolating distances altered during the course of transportation or handling e Nocontact must be made with electronic components and contacts e The boards contain electro statically sensitive components that are prone to damage through improper use The electrical components must not be mechanically damaged or destroyed to avoid potential health risks Doc ID 16854 Rev 1 ky UM0877 Safety and operating instructions 1 4 1 5 Note Electronic connection National accident prevention rules must be followed when working on the main power supply with the power supply or power board in general The electrical installation must be completed in accordance with the appropriate reguirements for example cross sectional areas of the conductors fusing PE connections Demonstration board operation An AC insulated and protected against overload and short circuits is preferable during the evaluation tests of the system that is in compliance with technical eguipment and accident prevention rules A proper load able to dissipate or in any case absorb and reuse the power delivered by the system must be used In case of resistive and dissipative dummy loads particular attention should be paid to the temperature that the load may reach Provide the needed eguipment to avoid hot surfaces
31. capacitor 3050 Polyester Distrelec code Yo H 9 C8 0 22 uF 10 630 V capacitor Through hole Any 823778 o C9 2 2 UF 20 450 V Electrolytic Through hole Any RS code 193 7256 o capacitor m Electrolytic C10 2 2 UF 20 50V M Through hole Any RS code 117 007A capacitor lt C11 10 uF 20 50V Electrolytic Through hole Any RS code 365 4240 capacitor Ceramic 419 C12 3 9 pF 10 50 V capacitor X7R SMD 0805 Ceramic E o C13 1uF 10 50 V capacitor X7R SMD 0805 C14 5 Ceramic C25 100 pF 10 50 V capacitor X7R SMD 0805 C15 22nF 10 50V Ceramic SMD 0805 capacitor X7R C16 C19 Lais Ceramic C21 100 nF 10 50 V capacitor X7R SMD 0805 C22 c9 6S ZZ80INN sjen eu JO Iq pue JIJEWAYIS 09 89 L A8Y 19891 GI 90d Table 10 STEVAL ISF00V1 BOM continued Manuf RS distrelec other Ref Part value Toll Voltage Watt Technology Package Manufacturer More current information code code info Ceramic 49 C17 220 pF 10 50 V capacitor X7R SMD 0805 C18 100 uF 20 25V Electrolytic Through hole Any RS code 365 4127 capacitor C20 1 UF 20 50V Electrolytic Through hole Any RS code 365 4199 capacitor C23 3 3 nF 10 50V ceramic SMD 0805 capacitor X7R Ceramic 419 C24 470 pF 10 50 V capacitor X7R SMD 0805 C26 Do not fit n Ex Do not fit Do not fit Do not fit Do not fit Do not fit Do not fit E
32. ctual property contained therein UNLESS OTHERWISE SET FORTH IN STS 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 EOUIVALENTS UNDER THE LAWS OF ANY JURISDICTION OR INFRINGEMENT OF ANY PATENT COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE 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 proper
33. ement during the installation procedure The firmware can be customized with your own preferred development tool and downloaded into the internal Flash memory of the STM32 through a JTAG interface present on the STEVAL IHMO22V1 Jumper settings Table 3 and Table 4 show the jumper settings for the STEVAL ISF002V1 power board and STEVAL IHMO22V1 demonstration board respectively Note that Table 4 only describes the jumpers used from the digital PFC all other jumper settings must be left as default Table 3 PFC power board STEVAL ISF002V1 jumper settings Name Selection Description 12 VIPER12 is enabled J10 connector must be open JP9 VIPER12 is disabled 15 V must be provided by J10 connector Doc ID 16854 Rev 1 ky UM0877 Starting the PFC application Table 3 PFC power board STEVAL ISF002V1 jumper settings continued Name Selection Description Control board is not supplied from power board J18 Control board is supplied with 5 Vdc provided by power board Control board is supplied with 5 Vdc provided by a power stage connected to the power board by means of an MC connector J16 iu EE N NI NI wo wo wo Table 4 Control demonstration board STEVAL IHM022V1 jumper settings Name Selection Description JMP6 To connect MC_Main PFC_lac with PA4 JP13 i To connect MC_Main PFC_Vac with PA5 Note MC_Main_Bus_Voltage is connected directly to PA3 For an
34. f RS distrelec other Ref Part value Toll Voltage Watt Technology Package Manufacturer Mors current information code code info 1 way single row strip line TP1 15 V TP aeo kalia Any RS code 495 8470 male through hole connector 2 54 mm pitch 1 way single row strip line TP2 5VTP WA ee Any RS code 495 8470 male Through hole connector 2 54mm pitch 1 way single row strip line Vdc power stage connector Vertical TP3 TP male Through hole Any RS code 495 8470 connector 2 54 mm pitch Metal Metal spacer a spacer Metal spacer M3x10mm Any RS code 222 395 Metal Metal screw Metal screw Any RS code 560 580 screw M3x6mm Metal Metal screw Metal Screw Any RS code 560 596 screw M3x10mm Metal Metal washer Metal washer Any RS code 560 338 washer M3 Metal shake Metal shakeproof Metal washer Any RS code 526 574 proof washer M3 washer 4 480INn S EIJ9 eUI JO iq pue oneuauos UM0877 Schematic and bill of materials A 2 zi Customized inductor by MAGNETICA Figure 45 Technical sheet of PFC inductor page 1 of 2 STP 04 Product Technical Specification Code 1856 0002 Product PFC Inductor 900uH 10A Customer STMicroelectronics Customer Code Date 30 06 09 Revision 0 Page 1 of 2 TYPICAL APPLICATION TECHNICAL DATA INDUCTOR FOR BUCK BOOST AND BUCK BOOST DC DC INDUCTANCE CONVERTER SUITABLE ALSO IN HALF BRIDGE PUSH MEASURE 1KHz TA 20 PULL AND FULL
35. gure 43 Figure 8 Vin connector AM05852v1 Vout connector Refer to J8 of Figure 44 Figure 9 Vout connector AM05853v1 15 V connector Refer to J10 of Figure 44 This connector can be used to provide 15 V to the STEVAL ISF002V1 if the VIPER12 is bypassed For correct polarity follow the board s serigraphy MC PFC connector Refer to J15 of Figure 44 Doc ID 16854 Rev 1 ky UM0877 STEVAL ISF002V1 hardware description Figure 10 MC PFC connector 33 31 29 27 25 23 21 19 17 15 1311 9 7 5 3 1 DI DEDEEPEEEUILTTIEEFEEBIP EI ELFVOODODODOCOD r 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 1 EMERGENCY STOP 2 PFCOCP 3 MC UH 4 GND 5 MCUL 6 GND 7 MC VH 8 GND 9 MCVL 10 GND 11 MC WH 12 GND 13 MCWL 14 BUS VOLTAGE 15 CURRENT A 16 GND 17 CURRENT B 18 GND 19 CURRENT C 20 GND 21 NTC BYPASS RELAY 22 PFC Vac SENSE 23 DISSIPATIV BRAKE 24 PFC Iac SENSE 25 5V POWER 26 HEAT SINK TEMP 27 PFC SYNC 28 3 3V POWER 29 PFC PWM 30 GND 31 ENCODER A 32 GND 33 ENCODER B 34 ENCODER INDEX AM05854v1 3 4 5 MC connector only Refer to J16 of Figure 44 Figure 11 MC connector only 33 31 28 27 25 23 24 19 17 15 1311 9 7 5 3 1 Oot ooo 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 1 EMERGENCY STOP 2 GND 3 MC UH 4 GND 5 MCUL 6 GND 7 MC VH 8 GND 9 MCVL 10 GND 11 MC WH 12
36. ications to meet specific requirements Simple integration with other applications From a theoretical point of view it could be possible to replace an existing analog solution made up of discrete components with ST s digital solution in which case other than the PFC control the same MCU would also manage the main application To perform a digital power factor corrector a microcontroller needs to have information about three main system parameters These are the output DC voltage the input AC voltage and the inductor current These parameters appropriately scaled down are managed by the microcontroller that modulates the switching of the MOSFET to have the input current in phase with the input AC voltage while keeping the output DC voltage to a fixed and stable value A generic implementation scheme for a digital PFC is shown in Figure 5 ky Doc ID 16854 Rev 1 9 62 PFC basics and operating principles UM0877 Note 10 62 Figure 5 Digital PFC implementation scheme Power Section Control Section The power section is composed of the STEVAL ISF002V1 covered in this user manual The control section is composed of the STEVAL IHM022V1 covered in UM0686 AMOS849v1 Figure 6 Block diagram of the voltage and current PI regulator Reference Action Actual with saturation at the top or bottom AMOS850v1 By means of a voltage error compe
37. iew Side view MOR amp D0014 00 Rev 00 02 09 08 E Kc NE TICA AMOS890v1 z 60 62 Doc ID 16854 Rev 1 UM0877 Revision history Revision history Table 11 Document revision history Date 23 Apr 2010 Revision 1 Initial release Changes Doc ID 16854 Rev 1 61 62 UM0877 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 intelle
38. igure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 Figure 10 Figure 11 Figure 12 Figure 13 Figure 14 Figure 15 Figure 16 Figure 17 Figure 18 Figure 19 Figure 20 Figure 21 Figure 22 Figure 23 Figure 24 Figure 25 Figure 26 Figure 27 Figure 28 Figure 29 Figure 30 Figure 31 Figure 32 Figure 33 Figure 34 Figure 35 Figure 36 Figure 37 Figure 38 Figure 39 Figure 40 Figure 41 Figure 42 Figure 43 Figure 44 Figure 45 Figure 46 ky Typical AC to DC rectification without PFC 8 Scheme of AC to DC boost converter topology 9 AC to DC boost converter signals with CCM PFC output VDC input Vac and inductor current time scale 5ms 9 AC to DC boost converter signals with CCM PFC inductor current and power MOSFET gate command time scale 10 p5 9 Digital PFC implementationscheme 10 Block diagram of the voltage and current PI regulator 10 STEVAL ISFOO2V ni 1i eiusd do Poole edwin Bean Hace bool edad a do ees 11 Murena 16 Vout connector snis esee y adc e dp kone eese daos Da E ok ap A ORG E e BON Ye c 16 MC PFC connector 0600s 17 MC connector Only i inse bc dete esr ko eee deh haa doe Yes oe du dk
39. ix Contact 1731734 RS code 189 5972 7 62 mm 3 way PCB jg OUT 400 V mount screw Throughhole Phoenix Contact 1731734 RS code 189 5972 3 5A terminal 7 62 mm 2 way single row strip line VIPER12 connector Vertical 9 ON OFF male through hole Any nS coce aS BaO connector 2 54 mm pitch 4 480INn S EIJ9 eUI JO iq pue JIJEWIAYIS c9 SS L eu 19891 GI 90d Table 10 STEVAL ISFOOV1 BOM continued J10 Ref Part value External 15 V Toll Voltage current Watt Technology information 2 way single row strip line connector male connector 2 54 mm pitch Package Vertical through hole Manufacturer Any Manuf code RS distrelec other code RS code 495 8470 More info J11 TSV992 Rail to rail input output 20 MHz GBP operational amplifiers SO 8 ST Microelectronics TSV992ID J12 TD352 Advanced IGBT MOSFET driver SO 8 ST Microelectronics TD352ID J13 L7805C Positive voltage regulators DPAK ST Microelectronics L7805CDT TR J14 74VHCU04 HEX INVERTER SO 14 ST Microelectronics 74VHCU04 MTR J15 MC_connector_P FC_1 34 way IDC low profile boxed header 2 54 mm pitch Vertical through hole Any RS code 461792 J16 MC_connector_P FC_2 34 way IDC low profile boxed header 2 54 mm pitch Vertical through hole Any
40. n fact the second operational amplifier inside the TSV992 is used as a comparator and its output is high if the following conditions are met ky Doc ID 16854 Rev 1 25 62 STEVAL ISF002V1 hardware description UM0877 3 5 7 Figure 22 STEVAL ISF002V1 vin zero crossing detection section Eguation 39 R20 R21 PFC_lac lt R19 R20 R21 From Equation 4 and Equation 7 out2 of the TSV992 is high if Equation 40 3 035714 RSense 0 212121 Furthermore out2 of the TSV992 is connected to the MCU that can have information about the PCF overcurrent occurrence see Figure 43 A 1431A Zero crossing detection of input voltage wana 220ACHO0A ni S F1 i 2 NW W 3 B d gt v A M Fuse 10A A X X lt RS c1 hi S t L1 22nF Y1 M SA AEOV Ac diode bridge uf e ife fg UM O 47uF 300Vac x2 O FITA F c2 V 0 22uF 300V ac X2 Nea Q R35 z k l d Pa 470k lt R27 120k 4201 R28 D15 R29 iy 2 2k 1N4001 D14 LL4148 SPFC SYNC 26 62 From PFC SYNC information can be obtained on the zero crossing of the input voltage as shown in Figure 23 Doc ID 16854 Rev 1 UM0877 STEVAL ISF002V1 hardware description Figure 23 Vin zero crossing detection without load LeCroy ry 0 0 V offset 0 00 A offset AMOS867v1 Figure 24 Vin zero crossing detection with load LeCr
41. ncy Is mains freguency outof Ye range s No h enable timer for ADC trigger v by pass resistor against in rush current v wait for relay stabilization v enable PFC protections y enable PFC routine execution L wait until all PFC inputs have been read Has any hardware protection appened v PFC routine Has any software protection appened stop PFC The timing of the PFC is explained in Figure 30 Doc ID 16854 Rev 1 3 UM0877 Digital PFC firmware Figure 30 Digital PFC timing DC4 n DC4 n DC4 n 1 DC4 n 1 TINS CHA PFC MOSFET PWM fixed frequency of 60 kHz OC3 n DC3 n DC3 n 1 DC3 n 1 TIM3 CH 3 to trigger ADC1 2 fixed frequency of 80 kHz AD Conversions DMA1 CH 1 IRO DMA1 CHA IRO ADCs Start ADCs Start ADCs Start ADCs Start L DMA1 CHA Z Service Routine PFC Routine YA New New Duty Cycle Duty Cycle AMOSB74v1 The frequency of TIMG is fixed at 80 kHz while the duty cycle varies according to the digital PFC control TIM3 CH 4 is used to drive the PFC power MOSFET TIM3 CH 3 is used to trigger the ADC The ADC conversion starts at the end of the TIMS CH 3 duty cycle The TIMS CH 3 duty cycle is equal to half of the TIMS CH 4 duty cycle but never lower than 1 us to avoid invalidating the conversion
42. nsator it is possible to follow the target of the output voltage Moreover its output is used as a scaling factor for the Vac the latter used as the current reference input for the current error compensator The output of this last PI is the actual duty cycle of the PFC power MOSFET Doc ID 16854 Rev 1 ky UM0877 STEVAL ISF002V1 hardware description 3 3 1 3 2 STEVAL ISF002V1 hardware description Electrical characteristics Voltage input range 185 265 Vrms at 50 60 Hz Output voltage for power section 415 Vdc ripple lower than 5 Output voltage for digital section 15 Vdc and 5 Vdc Target output power 1400 W Power factor gt 0 99 at 1400 W Total harmonic distortion lt 3 DC to DC converter boost topology PFC mode continuous conduction mode Switching frequency 80 kHz Control loop frequency 40 kHz Hardware protection against PFC overcurrent 14 3 A Figure 7 STEVAL ISF002V1 AMOS851v1 Target applications This demonstration board is intended for motor control applications involved in domestic appliances HVAC heating ventilating and air conditioning appliances blowers and fans AN3165 describes how to merge the digital PFC firmware with the one developed for the STM32 dual FOC motor control demonstrator Doc ID 16854 Rev 1 11 62 STEVAL ISF002V1 hardware description UM0877 3 3 3 3 1 3 3 2 3 3 3 12 62 Dimensioning the power componen
43. nterrupts and their priority Peripheral IRQ Use Pre emption priority Sub priority EXTI Line1 Overcurrent protection PE 01 0 0 EXTI Line2 Mains freguency detection PD 02 0 1 DMA1 channel1 PFC routine 1 0 System timer SYSTICK Timer for delays 2 0 Figure 28 Use of peripherals for digital PFC PFC MOSFET Driver OC3REF is Trigger Output IRQ generation as soon as the buffers are filled 40 KHz ADC2 is slave of ADCI for simultaneous regular conversions Over Current Signal available 6 3 Main files for digital PFC This firmware is structured in such a way as to allow easy integration with other existing applications The software for the digital PFC is composed of two files The first PFC c contains all the functions while the second PFC h contains the definitions of the system parameters other than constants used internally by the main file Obviously with an existing host application some additional steps must be accomplished to integrate the PFC software Assuming that the host application has the minimum necessary resources available in terms of embedded peripherals CPU load and code memory it is basically sufficient to include these two files in the host application firmware and to appropriately call a function that initializes and starts the digital PFC ky Doc ID 16854 Rev 1 33 62 Digital PFC firmw
44. o Then for each mains period on PFC SYNC a transition high zero occurs as soon as the mains crosses zero Note This circuitry combined with a timer is also used to measure the frequency of Vin 3 Doc ID 16854 Rev 1 27 62 Current and voltage protections UM0877 4 Note 28 62 Current and voltage protections The digital PFC demonstrator includes the following A hardware protection against PFC overcurrent 14 3 A The PFC is stopped when the value of the inductor current goes above the value fixed by the hardware in this case 14 3 A see Section 3 5 6 A software limitation for a maximum PFC current 13 A Each control loop PFC is momentarily stopped if the inductor current rises above PFC MAX IL 13 A and restarts when the inductor current goes below PFC MAX HYS IL 95 of PFC MAX IL A software protection against output overvoltages 460 V Each control loop PFC is stopped if the DC voltage rises above PFC MAX THRESHOLD VDC 460 V A software limitation for a maximum output voltage 435 V Each control loop PFC is momentarily stopped if the DC voltage rises above PFC MAX VDC 105 of PFC REFERENCE VDC and restarts when the DC voltage goes below PFC MAX HYS VDC 98 75 of PFC REFERENCE VDO PFC REFERENCE VDC is 415 V With the exception of the hardware protection all values that take part in the software protection or limitation can be modified in the PFC h file see Section 6 3 2 Doc ID 1685
45. oning for PFC current 22 2 62 Doc ID 16854 Rev 1 ky UM0877 Contents 3 5 5 Driving the PFC power MOSFET 24 3 5 6 Overcurrent protection 25 3 5 7 Zero crossing detection of input voltage 26 4 Current and voltage protections 28 5 STEVAL IHM022V1 demonstration board 29 6 Digital PFC firmware 30 6 1 Firmware architecture 30 6 2 STM32 peripherals for digital PFC 32 6 3 Main files for digital PFC 33 6 3 1 Au UT 34 6 3 2 PFO 13 T 35 6 4 Digital PFC firmware execution 38 7 Starting the PFC application 40 7 1 Hardware requirements 40 7 2 Software requirements 40 7 8 Jumper settings 40 7 4 Downloading the firmware 41 7 5 Getting started with the system 43 8 Running the demonstrator 44 8 1 Navigating in the system menu 44 8 2 Digital PFC at WOK EA ties rA t bakad ta dog DE PEE tedy E 45 9
46. onverted value of Vdc PFC h The PFC h file contains the definitions of constants used to perform the digital PFC as well as prototypes of functions Some of its parameters can be changed e TIM3 frequency define TIM3FREQ 80000 in Hz e ADC channel mapping ADC1 and ADC2 KKK K KKK KKK KKK KKK KKK KKK KKK KEK KKK KKK KK KEK KKK KK KKK KKK ck ck KKK Sk Sk Sk ko ko kx X define Vdc_main_Channel ADC Channel 3 define Vdc sub Channel ADC Channel 14 define Iac Channel ADC Channel 4 define Vac Channel ADC Channel 5 KREKKKKKK KKK KKK KKK KKK Z K K Z Z Z KKK Z K KZ ck ck ck KK KKK ck KKK ck ck ko ZA Z ck kc k k k k kkkk J e Conversion ratios see Section 3 5 2 3 5 3 and 3 5 4 Conversion Ratios cock ck ck cc ck coco cock cc ck ck ck ck ck ck ck ck AX AA X XK ZX XK AX X X X KEK KKK KKK KKK ko kx KKK ko ko ko ko J Doc ID 16854 Rev 1 35 62 Digital PFC firmware UM0877 36 62 define CONV RATIO VAC 0 008629 net ratio define CONV RATIO VDC 0 007053 net ratio define CONV_RATIO_IL 0 212121 net ratio e Thresholds for software protections and limitations see Chapter 4 Thresholds for SW Protections and Limiters Wo hck kok kc kc ko koc k k ko kcok k ko LEILA ULE ko k ko k ko define PFC REFERENCE VDC 415 in Volt define PFC MAX VDC PFC REFERENCE VDC 1 05 435V define PFC MAX HYS VDC PFC REFERENCE VDC 0 9875 410V
47. osrET switching 80109 1510 415 1198 5 140 10 418P W Eguation 22 PmosFET switehing 6 63 W Eguation 23 Puosrer tot PwosrET conduction PMOSFET switching 7 2 6 63 W 14W Doc ID 16854 Rev 1 ky UM0877 STEVAL ISF002V1 hardware description 3 3 7 Boost diode The maximum current that can pass into the boost diode is Eguation 24 Ipiode rms V in pk min Pout 16 Vinon 1400 16 185 J2 A 3 7 Vout 185 2 3 1415 Eguation 25 Ipiode rms 5 54 A The selected boost diode is the STTH12S06 Eguation 26 lavg Pout _ 1400 337 Vour 415 Equation 27 Phiode conduction Ve lio E 5 3 37 W 5W Eguation 28 1 Ppiode switching 2 fsw Vout Qu Now for the STTH12S06 Equation 29 Qr 0 160 nC Equation 30 PDiode switching 3 80 109 415 160 1 o W 2 65 W Equation 31 Ppiode tot Poiode conductiony Pbiode switching 5 2 65 W 8W Equation 32 Peecitot Pariagetoty PuosrET to Pbiode tot 11 6 14 8 W 34W Doc ID 16854 Rev 1 15 62 STEVAL ISF002V1 hardware description UM0877 3 4 3 4 1 3 4 2 3 4 3 3 4 4 16 62 Connectors The STEVAL ISF002V1 has five connectors see Section A 1 e J7 for Vi e J8 for Vin e J10 to provide 15 Vdc if the VIPER12 is bypassed e J15 for connection with the control board MC PFC connector e J16 for connection with a 3 ph inverter board MC connector only Vin connector Refer to J7 of Fi
48. rmware downloading 41 Opening the workspace file 42 Downloading and debuggingthefirimware 42 Connecting the various system components 43 Hardware elements of the control board 44 LCD after startup rre 45 LCD during running of the digital PFC 45 LCD after an overcurrent 46 Test setup block diagram 1 2 tees 47 185 Vrms at 50 Hz as input 1400 Wasoutputload 47 230 Vrms at 50 Hz as input 1400 Wasoutputload 48 265 Vrms at 50 Hz as input 1400 Wasoutputload 48 STEVAL ISFOOV1 schematic 50 STEVAL ISF002V1 layout 51 Technical sheet of PFCinductor page1of2 59 Technical sheet of PFCinductor page20f2 60 Doc ID 16854 Rev 1 5 62 Safety and operating instructions UM0877 1 1 1 2 1 3 6 62 Safety and operating instructions General During assembly and operation the PFC power board poses several inherent hazards including bare wires moving or rotating parts and hot surfaces Serious personal injury and d
49. s Kp Ki Voltage PI 1700 Er 1024 1024 230 56 Current PI 1024 3024 8 2 Digital PFC at work Once the board has been reset and if the firmware is correctly loaded into the Flash memory and the PFC power board is waiting for a mains insertion the LCD display should show the following Figure 36 LCD after startup ST Digital Power Factor Corrector J 10 gt ge parameter value select PI parameter AM05880v1 If after the reset the screen is blank this means that the firmware has not been correctly downloaded into the memory or that the microcontroller has been kept in a halt state by the dongle First check if the microcontroller is in a halt state Remove the JTAG dongle from the connector and press the reset button If the screen is still blank you will have to compile and download the firmware again If the system has been connected correctly after the mains has been inserted the MCU will detect this condition and will launch the digital PFC and protections The LCD display should now show the following Figure 37 LCD during running of the digital PFC ST Digital Power Factor Corrector AMOS881v1 Doc ID 16854 Rev 1 45 62 Running the demonstrator UM0877 46 62 If any errors occur the MCU will stop the digital PFC and the LCD will display the following Figure 38 LCD after an overcurrent 577 Digital Power Factor Corrector ge parameter value select Pl parameter A
50. stortion THD The amount of useful power being consumed by an electrical system is predominantly decided by the PF of the system e Benefits from improvement of power factor include lower energy and distribution costs reduced losses in the electrical system during distribution better voltage regulation increased capacity to serve power requirements Most often the core of a power factor correction PFC is an AC to DC boost converter see Figure 2 For power typically above 600 W the switching of the power MOSFET T is modulated so that the inductor current is in continuous conduction mode CCM as shown in Figure 3 Doc ID 16854 Rev 1 ky UM0877 PFC basics and operating principles Figure 2 Scheme of AC to DC boost converter topology AMOS846v1 Figure 3 AC to DC boost converter signals Figure 4 AC to DC boost converter signals with CCM PFC output VDC input with CCM PFC inductor current Vac and inductor current and power MOSFET gate command time scale 5 ms time scale 10 us input Vokage and Output Voltage 15 PFC MOSFET PAM 10 o 05 1 1 5 1s L it L a o m 4 k 0 T05 007 0015 om 0035 003 as 2 7 8 5 AM05847v1 AM05848v1 10 2 2 PFC with digital approach e A digital implementation for a PFC gives some advantages Easy implementation of sophisticated control algorithms Quick software modif
51. tion 38 0 212121 hA A The PFC current scaled by this conversion ratio will be read by the MCU s ADC Doc ID 16854 Rev 1 23 62 STEVAL ISF002V1 hardware description UM0877 3 5 5 24 62 Driving the PFC power MOSFET Figure 20 STEVAL ISF002V1 PFC power MOSFET driving section D5 114148 R11 6 8 15v A C13 1uF e Qi 1 JE STW23NM60N m R23 4 7k LFC PWM 74VHCTO4A R26 tk AMOS864v1 The PFC PWM provided by the MCU is inverted and sent to the MOSFET driver TD352 Doc ID 16854 Rev 1 ky UM0877 STEVAL ISF002V1 hardware description 3 5 6 Overcurrent protection Figure 21 STEVAL ISF002V1 overcurrent protection section z F 6 5 x u B e o8 H i 1 Es E a os u za amp o i 2 amp Ad o J I AAA R32 1 5K 5 E 33nF T 4 R24 33k F C21 100nF EI he 01 1 STW23NMBDN R23 47k a l I A 03 e PA s 5 E ze LL4148 This hardware protection unit uses a feature of the TD352 The output is fixed to zero as soon as a high level is detected on its desat pin pin 4 While the Q2 NPN transistor is in saturation the voltage on the desat pin is zero Otherwise the voltage on the desat pin is 15 V and the output of the TD352 is fixed to zero Q2 remains saturated until Rgense goes below 14 3 V I
52. ts This section describes how to dimension the power components relating to the power section shown in Figure 5 and the electrical characteristics shown in Section 3 1 Preliminary definition Based on the electrical characteristics listed in Section 3 1 the following maximum values are calculated Eguation 1 lin rms NC o A 8 05A N Viniminy PF 0 95 185 0 99 Equation 2 lin pk lin rms J2 11 38 A Equation 3 Bercy Ja Infava 7 24A Rectifier The following eguation is a calculation of the power rate for the bridge rectifier Eguation 4 PBridge 2 W lin avg 2 0 8 7 24 W 11 6W Input capacitor A ripple of 20 has been chosen for the inductor current and it is assumed that the Vin ripple is 6 Therefore Equation 5 Equation 6 Vinvipple 0 08 Vo 0 06 265 2 V 22 49 V Equation 7 l C cee uF 0 158 pF 8 Vin ripple 7 8 80 10 22 49 This capacitor has to be in class X2 so its value must be 0 22 pF Doc ID 16854 Rev 1 ky UM0877 STEVAL ISF002V1 hardware description 3 3 4 Boost inductor for CCM The inductance value is calculated by taking into account the inductor s continuous conduction mode Eguation 8 l l pk lin pk Apple 11 38 2 28 A 12 52 A 2 2 Eguation 9 2 li k I avg gt 8A Equation 10 v Vout 7 Vinten Vout Vinfpk nin out L gt Vout max 1 Oma _ Vout Vout min Lu lagele fs
53. ty of their respective owners 2010 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 62 62 Doc ID 16854 Rev 1 ky
54. w i lipple Equation 11 v V j Vout Vout m Vin pk a out in pk min Vout Lmin 2 bw lippie Equation 12 Loin gt Vout Viti Vg _ 415 185 2 185 V2 B LEER daco 415 80 10 2 28 Eguation 13 Lmin 2 0 530 mH The inductor shown in Section A 2 is manufactured with this inductance value at normal operating conditions 3 3 5 Output capacitor Assuming that Vout rippie S 5 the value of the output capacitor is calculated Equation 14 1400 lout max 415 gt 29 F 520yF Cout n 2 f V 415 5 H mains out ripple nm 2 50 100 Two capacitors in parallel have been selected Their values are 330 pF at 450 V Doc ID 16854 Rev 1 13 62 STEVAL ISF002V1 hardware description UM0877 3 3 6 14 62 Power MOSFET The maximum current that can pass into the power MOSFET is given by Eguation 15 Eguation 15 haosrerime o E 16 Vig 1400 WA 16 185 42 rms Vintpk 3 1 Vout 185 42 3 1415 Eguation 16 IMOSFET tms 9 16 A The selected power MOSFET is the STW23NMEON Its Rps on is 0 180 O for a Tease of 25 C Considering a factor of 1 5 due to the temperature of 80 C Rps on 0 270 Its maximum power rate is calculated as follows Equation 17 2 PMOSFET conduction IMOSFET rms Rps on B 5 1 6 0 270 W 7 2W Equation 18 1 2 PMOSFETIswitching fow ft Vout link 2 Coss Vout Now for the STW23NM6ON Eguation 19 Coss 140 pF Equation 20 t 15ns Equation 21 Pu
55. y other jumpers refer to the default settings of the STEVAL IHM022V1 as described in UM0688 7 4 Downloading the firmware The firmware package is a workspace written for IAR EWARM version 5 20 and must be downloaded into the STM32 program memory before using the digital PFC The firmware is ready to be used at first power ON or immediately after a board reset event after the system s hardware configuration has been completed If a different parameter needs to be modified before the demo board is run you should refer to the PFC h file Once the modifications have been applied the firmware must be re built and downloaded into the STM32 microcontroller using your own development tool In any case you can change the parameters of two Pls while the firmware is running Connect the components as shown in Figure 31 to download the firmware into the STM32 Figure 31 Hardware connections for firmware downloading Control Board 5 PC with IAR Embedded J Link ARM KS i e ins Workbench USB cable upply 20 pin flat cable on JTAG AMO05875v1 ky Doc ID 16854 Rev 1 41 62 Starting the PFC application UM0877 42 62 With the IAR embedded workbench IDE open the workspace file STM32_DIGITAL_PFC EWARM STM32_DIGITAL_PFC eww Figure 32 Opening the workspace file IAR Embedded Workbench DE ASAS os Fina maita prc 3 Ce Wakapace Fies even Cres Ready AMO5876v1

Download Pdf Manuals

image

Related Search

Related Contents

"user manual"  Phonix S9300USF mobile phone case  Please click here for the NU-FRD1 Instruction Manual  

Copyright © All rights reserved.
Failed to retrieve file