STEVAL-ISF002V1 STMicroelectronics, STEVAL-ISF002V1 Datasheet
![BOARD EVALUATION](/photos/9/6/90649/steval-isf002v1_sml.jpg)
STEVAL-ISF002V1
Specifications of STEVAL-ISF002V1
Available stocks
Related parts for STEVAL-ISF002V1
STEVAL-ISF002V1 Summary of contents
Page 1
... 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-IHM022V1) based on the STM32F103ZE microcontroller ...
Page 2
... Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.4.1 3.4.2 3.4.3 3.4.4 3.4.5 3.5 STEVAL-ISF002V1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.5.1 3.5.2 3.5.3 3.5.4 2/62 Preliminary definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Rectifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Input capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Boost inductor for CCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Output capacitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Power MOSFET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Boost diode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Vin connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Vout connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . connector ...
Page 3
... UM0877 3.5.5 3.5.6 3.5.7 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 6.3.2 6.4 Digital PFC firmware execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 7 Starting the PFC application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 7 ...
Page 4
... List of tables Table 1. Peripherals and pins of the STM32F103ZE used for the digital PFC . . . . . . . . . . . . . . . . . 32 Table 2. Used interrupts and their priority Table 3. PFC power board STEVAL-ISF002V1 jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Table 4. Control demonstration board STEVAL-IHM022V1 jumper settings . . . . . . . . . . . . . . . . . . 41 Table 5. LED description for digital PFC Table 6. Default values of PI regulators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Table 7 ...
Page 5
... Vout connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Figure 10 PFC connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Figure 11. MC connector only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Figure 12. STEVAL-ISF001V1 block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Figure 13. STEVAL-ISF002V1 - power supply section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Figure 14. STEVAL-ISF002V1 - input voltage sensing section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Figure 15. STEVAL-IHM022V1 - input voltage sensing section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Figure 16. STEVAL-ISF002V1 - output voltage sensing section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Figure 17. STEVAL-IHM022V1 - output voltage sensing section . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Figure 18 ...
Page 6
... Warning: 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. 1.2 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 ...
Page 7
UM0877 1.4 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 requirements (for ...
Page 8
PFC basics and operating principles 2 PFC basics and operating principles 2.1 Introduction Most of the power conversion applications consist conversion stage immediately following the AC source. The DC output obtained after rectification is subsequently ...
Page 9
UM0877 Figure 2. Scheme boost converter topology Figure boost converter signals with CCM PFC - output VDC, input Vac and inductor current (time scale = 5 ms) 2.2 PFC with digital approach ...
Page 10
... PFC basics and operating principles Figure 5. Digital PFC implementation scheme Note: 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). Figure 6. Block diagram of the voltage and current PI regulator By means of a "voltage error compensator" 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 " ...
Page 11
... UM0877 3 STEVAL-ISF002V1 hardware description 3.1 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 ● ...
Page 12
... STEVAL-ISF002V1 hardware description 3.3 Dimensioning the power components This section describes how to dimension the power components relating to the power section shown in 3.3.1 Preliminary definition Based on the electrical characteristics listed in are calculated. Equation 1 Equation 2 Equation 3 3.3.2 Rectifier The following equation is a calculation of the power rate for the bridge rectifier. ...
Page 13
... Section A.2 ≤ 5%, the value of the output capacitor is calculated. I out(max) ≥ out ⋅ π ⋅ ⋅ mains out(ripple ) Doc ID 16854 Rev 1 STEVAL-ISF002V1 hardware description ⎞ ⎟ A 12.52 A ⎠ 2 ≅ − − ⎛ ⎜ ...
Page 14
... STEVAL-ISF002V1 hardware description 3.3.6 Power MOSFET The maximum current that can pass into the power MOSFET is given by Equation 15 I MOSFET(rms Equation 16 The selected power MOSFET is the STW23NM60N. Its R 25°C. Considering a factor of 1.5 due to the temperature of 80°C, R power rate is calculated as follows. ...
Page 15
... 415 Diode(swit ching) ⎝ Diode(cond uction) Diode(swit ≅ Bridge(tot ) MOSFET(tot ) Diode(tot) Doc ID 16854 Rev 1 STEVAL-ISF002V1 hardware description ⎛ ⎞ ⋅ ⋅ ⎜ ⎟ 1400 16 185 2 = ⋅ A ⎜ ⎟ ⋅ ⋅ π ⋅ 3 415 185 2 ⎝ ⎠ ⋅ ...
Page 16
... Vin connector 3.4.2 Vout connector Refer Figure 44 Figure 9. Vout connector 3.4 connector Refer to J10 of Figure 44 This connector can be used to provide the STEVAL-ISF002V1 if the VIPER12 is bypassed. For correct polarity, follow the board’s serigraphy. 3.4 PFC connector Refer to J15 of Figure 44 16/62 Section A ...
Page 17
... UM0877 Figure 10 PFC connector 3.4.5 MC connector only Refer to J16 of Figure 44 Figure 11. MC connector only STEVAL-ISF002V1 hardware description . Doc ID 16854 Rev 1 17/62 ...
Page 18
... STEVAL-ISF002V1 hardware description 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 18/62 Doc ID 16854 Rev 1 UM0877 ...
Page 19
... UM0877 3.5.1 Power supply Figure 13. STEVAL-ISF002V1 - power supply section 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 ...
Page 20
... STEVAL-ISF002V1 hardware description 3.5.2 Signal conditioning for input voltage Figure 14. STEVAL-ISF002V1 - input voltage sensing section Figure 15. STEVAL-IHM022V1 - input voltage sensing section The conversion ratio is given by Equation 33 The input voltage scaled by this conversion ratio will be read by the MCU’s ADC. 20/62 Equation 33 ...
Page 21
... UM0877 3.5.3 Signal conditioning for output voltage Figure 16. STEVAL-ISF002V1 - output voltage sensing section Figure 17. STEVAL-IHM022V1 - output voltage sensing section The conversion ratio is given by: Equation 34 STEVAL-ISF002V1 hardware description ⋅ ⋅ Doc ID 16854 Rev 1 21/62 ...
Page 22
... STEVAL-ISF002V1 hardware description That is: Equation 35 The output voltage scaled by this conversion ratio will be read by the MCU’s ADC. 3.5.4 Signal conditioning for PFC current Figure 18. STEVAL-ISF002V1 - PFC current sensing section Figure 19. STEVAL-IHM022V1 - PFC current sensing section 22/62 ⋅ ⋅ ⋅ 100 ...
Page 23
... UM0877 Equation 36 Equation 37 Conversion ratio: Equation 38 The PFC current scaled by this conversion ratio will be read by the MCU’s ADC. STEVAL-ISF002V1 hardware description R14 = ⋅ ⋅ = PFC_Iac I R12 RSense R13 = PFC_Iac I RSense . 0 212121 Doc ID 16854 Rev 1 ⋅ ⋅ ⋅ RSense ⋅ ⋅ ...
Page 24
... STEVAL-ISF002V1 hardware description 3.5.5 Driving the PFC power MOSFET Figure 20. STEVAL-ISF002V1 - PFC power MOSFET driving section The PFC_PWM provided by the MCU is inverted and sent to the MOSFET driver TD352. 24/62 Doc ID 16854 Rev 1 UM0877 ...
Page 25
... UM0877 3.5.6 Overcurrent protection Figure 21. STEVAL-ISF002V1 - overcurrent protection section 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. ...
Page 26
... Furthermore, out2 of the TSV992 is connected to the MCU that can have information about the PCF overcurrent occurrence (see 3.5.7 Zero crossing detection of input voltage Figure 22. STEVAL-ISF002V1 - vin zero crossing detection section From PFC_SYNC, information can be obtained on the zero crossing of the input voltage as shown in Figure 23 ...
Page 27
... Figure 23. Vin zero crossing detection (without load) Figure 24. Vin zero crossing detection (with load) 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 V STEVAL-ISF002V1 hardware description Doc ID 16854 Rev 27/62 ...
Page 28
Current and voltage protections 4 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 ...
Page 29
... STM32F103ZE microcontroller. Figure 25. STEVAL-IHM022V1 For more information refer to the user manual of the STEVAL-IHM022V1 a. UM0688: Quick reference guide for the STEVAL-IHM022V1 STM32™ dual motor drive demonstration board and software application, available for download from www.st.com. STEVAL-IHM022V1 demonstration board Doc ID 16854 Rev 1 (a) ...
Page 30
Digital PFC firmware 6 Digital PFC firmware This chapter describes and explains how to implement the digital PFC software. 6.1 Firmware architecture The execution of the PFC firmware is based on the implementation of a state machine basically ...
Page 31
UM0877 Figure 26. Output voltage soft-start methodology ● 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 ...
Page 32
Digital PFC firmware Figure 27. PFC states 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 ADC1 Ch.3 (regular ...
Page 33
UM0877 Table 2. Used interrupts and their priority Peripheral EXTI Line1 Overcurrent protection (PE.01) EXTI Line2 Mains frequency detection (PD.02) DMA1 channel1 PFC routine System timer (SYSTICK) Timer for delays Figure 28. Use of peripherals for digital PFC 6.3 Main ...
Page 34
Digital PFC firmware 6.3.1 PFC.c file The "PFC.c" file contains the following functions. ● PFC_ CONFIGURATION – Sets the PFC status to PFC_WAITING. – Performs I/O configuration for ADCs, timer, PFC synchronization, PFC overcurrent protection and relay driving against in-rush ...
Page 35
UM0877 ● PFC_ROUTINE – This routine is called by the IRQ of DMA1_CH_1 that is generated after two completed ADC conversions (see – Calculates mean of Vdc. – Performs a soft-start if the PFC status is PFC_STARTING or a software ...
Page 36
Digital PFC firmware #define CONV_RATIO_VAC #define CONV_RATIO_VDC #define CONV_RATIO_IL ● Thresholds for software protections and limitations (see /* Thresholds for SW Protections and Limiters ******************************* */ #define PFC_REFERENCE_VDC #define PFC_MAX_VDC #define PFC_MAX_HYS_VDC #define PFC_MAX_THRESHOLD_VDC #define PFC_MIN_THRESHOLD_VDC #define PFC_MAX_IL #define PFC_MAX_HYS_IL ...
Page 37
UM0877 /* CYCLES is increase by 1 every 25us that is at 40kHz */ /* example for CYCLE_MAX = CYCLE_MAX_STARTUP = 1600 */ /* then N will be increased after 1600 x 25us = 40ms */ /* ************************************************************* ...
Page 38
Digital PFC firmware 6.4 Digital PFC firmware execution Figure 29 shows the sequence of events for the digital PFC firmware. Figure 29. PFC firmware flowchart The timing of the PFC is explained in 38/62 PFC Configuration wait for charging of ...
Page 39
UM0877 Figure 30. Digital PFC timing The frequency of TIM3 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 ...
Page 40
... PFC; all other jumper settings must be left as default. Table 3. PFC power board STEVAL-ISF002V1 jumper settings Name JP9 40/62 show the jumper settings for the STEVAL-ISF002V1 power board and Selection VIPER12 is enabled. J10 connector must be open VIPER12 is disabled must be provided by J10 connector ...
Page 41
... UM0877 Table 3. PFC power board STEVAL-ISF002V1 jumper settings (continued) Name J18 Table 4. Control demonstration board STEVAL-IHM022V1 jumper settings Name JMP6 JP13 Note: MC_Main_Bus_Voltage is connected directly to PA3. For any 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 ...
Page 42
Starting the PFC application With the IAR "embedded workbench IDE" open the workspace file STM32_DIGITAL_PFC\EWARM\STM32_DIGITAL_PFC.eww . Figure 32. Opening the workspace file Download the code into the STM32 as shown. Figure 33. Downloading and debugging the firmware As soon as ...
Page 43
... 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-IHM022V1 with either power supply or by ...
Page 44
Running the demonstrator 8 Running the demonstrator 8.1 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) ...
Page 45
UM0877 Table 6. Default values of PI regulators Voltage PI Current PI 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 ...
Page 46
Running the demonstrator If any errors occur, the MCU will stop the digital PFC and the LCD will display the following. Figure 38. LCD after an overcurrent 46/62 Doc ID 16854 Rev 1 UM0877 ...
Page 47
UM0877 9 Performance of the digital PFC The following connections have been used to test the system. Figure 39. Test setup block diagram 9.1 Steady state The following figures show the behavior of the digital PFC when it is supplying ...
Page 48
Performance of the digital PFC Figure 41. 230 Vrms input - 1400 W as output load Figure 42. 265 Vrms input - 1400 W as output load 9.2 Efficiency measurement The following ...
Page 49
UM0877 Table 8. Efficiency with 230 Vrms Percentage Nominal Input of target output voltage power power [W] 25.00% 350 50.00% 700 230 Vrms at 75.00% 1050 50 Hz 100.00% 1400 105.00% 1470 Table 9. Efficiency with 265 ...
Page 50
... Schematic and bill of materials Appendix A Schematic and bill of materials Figure 43. STEVAL-ISF00V1 schematic 50/62 Doc ID 16854 Rev 1 UM0877 ...
Page 51
... UM0877 A.1 Layout Figure 44. STEVAL-ISF002V1 layout ● 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 Hz) ● J8: DC output voltage connector (400 Vdc) ● ...
Page 52
... Table 10. STEVAL-ISF00V1 BOM Voltage/ Ref. Part/value Toll.% current C1 +/-20% 400 V C2 0.22 µF +/-20% 300 V C3 0.47 µF +/-10% 300 V C5 0.68 µF +/-10% 630 V C6, C7 330 µF +/-20% 450 V C8 0.22 µF +/-10% 630 V C9 2.2 µF +/-20% 450 V C10 2.2 µF +/-20 C11 10 µF +/-20% ...
Page 53
... Table 10. STEVAL-ISF00V1 BOM (continued) Voltage/ Ref. Part/value Toll.% current C17 220 pF +/-10 C18 100 µF +/-20 C20 1 µF +/-20 C23 3.3 nF +/-10 C24 470 pF +/-10 not Do not C26 Do not fit fit fit 8 A/400 V Ac 400 V/ D1 diode bridge 8 A Heat- sink for Heatsink for D1 ...
Page 54
... Table 10. STEVAL-ISF00V1 BOM (continued) Voltage/ Ref. Part/value Toll.% current D8 BZX84C15 15 V D9, 1N4001 50 V/1 A D15 D12 D13 LED-red 250 V/ F1 Fuse 10 A Socket Socket for F1 for F1 IC1 VIPER12A-E J7 220AC/16 A OUT/400 3.5 A VIPER12 J9 ON/OFF Technology Watt Package Manufacturer information Zener diode SOT-23 Rectifier diode DO204AL 0 ...
Page 55
... Table 10. STEVAL-ISF00V1 BOM (continued) Voltage/ Ref. Part/value Toll.% current J10 External J11 TSV992 J12 TD352 J13 L7805C J14 74VHCU04 MC_connector_P J15 FC_1 MC_connector_P J16 FC_2 J18 CON3 Technology Watt Package Manufacturer information 2-way single row strip line connector Vertical (male through hole connector) 2 ...
Page 56
... Table 10. STEVAL-ISF00V1 BOM (continued) Voltage/ Ref. Part/value Toll.% current L1 B82725A2802N1 L2 900 µH-10 Apk +/-10% 290 mA Q1 STW23NM60N Heat- sink for Heatsink for Q1 Q1 and and D4 D4 Q2,Q3 BC847 12 V/ RL1 Small relay 330 kΩ +/-1% R2,R6, 220 kΩ +/- kΩ +/-1% R4, 4.7 kΩ +/-1% R10 R5, 470 kΩ ...
Page 57
... Table 10. STEVAL-ISF00V1 BOM (continued) Voltage/ Ref. Part/value Toll.% current 6.8 Ω R11 +/-5% 0.07 Ω R12 +/-3% R13, 3.3 kΩ +/-5% R31 R14, R30, 10 kΩ +/-5% R33 R15, 1.5 kΩ +/-5% R22 R16 220 kΩ +/-5% R17 6.8 kΩ +/-5% R18, 33 kΩ +/-5% R24 R19, 22 kΩ ...
Page 58
... Table 10. STEVAL-ISF00V1 BOM (continued) Voltage/ Ref. Part/value Toll.% current TP1 TP2 Vdc power stage TP3 TP Metal Metal spacer spacer Metal Metal screw screw Metal Metal screw screw Metal Metal washer washer Metal shake- Metal shakeproof proof washer washer Technology Watt Package ...
Page 59
UM0877 A.2 Customized inductor by MAGNETICA Figure 45. Technical sheet of PFC inductor - page Schematic and bill of materials Doc ID 16854 Rev 1 59/62 ...
Page 60
Schematic and bill of materials Figure 46. Technical sheet of PFC inductor - page 60/62 Doc ID 16854 Rev 1 UM0877 ...
Page 61
UM0877 Revision history Table 11. Document revision history Date 23-Apr-2010 Revision 1 Initial release. Doc ID 16854 Rev 1 Revision history Changes 61/62 ...
Page 62
... 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. ...