STMicroelectronics EVSPIN32F0601S3 User Manual
STMicroelectronics EVSPIN32F0601S3 is a 3-phase complete inverter based on the STSPIN32F0601 controller. It has a three-shunt sensing topology and can implement sensored or sensorless field-oriented control (FOC), which allows driving permanent magnet synchronous motors (PMSMs) and brushless DC (BLDC) motors.
The EVSPIN32F0601S3 has the following features:
- Input voltage from 35 VAC (50 VDC) to 280 VAC (400 VDC)
- High voltage rail up to 600 V
- Output current up to 4.5 Apeak
- STGD6M65DF2 IGBTs Power stage featuring:
- V(BR)CES = 650 V
- VCE(sat) = 1.55 V @ IC = 6 A
Advertisement
Advertisement
UM2596
User manual
EVSPIN32F0601S3: 3-phase 3 shunts inverter based on STSPIN32F0601
Introduction
The EVSPIN32F0601S3 board is a 3-phase complete inverter based on the STSPIN32F0601 controller, which embeds a
3 ‑ phase 600 V gate driver and a Cortex ® -M0 STM32 MCU. The power stage features STGD6M65DF2 IGBTs, but can be populated with any IGBT or Power MOSFET in DPAK or powerFLAT 8x8 HV package. The board has a three-shunt sensing topology, and the sensored or sensorless field-oriented control (FOC) can be implemented. This allows driving permanent magnet synchronous motors (PMSMs) and brushless DC (BLDC) motors.
It provides an easy-to-use solution for the evaluation of the device in different applications such as refrigerator compressors, pumps, fans and industrial appliances.
The evaluation board is compatible with a wide range of input voltage and includes a power supply stage with the VIPER06XS in flyback configuration to generate +15 V and +3.3 V supply voltages required by the application.
Debug and configuration of FW can be performed with standard STM32 tools through the detachable STLINK debugger. SWD and UART TX RX connectors are also available.
Figure 1. EVSPIN32F0601S3 - Evaluation board
UM2596 - Rev 1 - January 2020
For further information contact your local STMicroelectronics sales office.
www.st.com
1
1.1
Main features
•
•
•
•
•
•
•
•
•
•
•
•
•
•
•
The EVSPIN32F0601S3 has the following features:
• Input voltage from 35 V
AC
(50 V
DC
) to 280 V
AC
(400 V
DC
)
•
High voltage rail up to 600 V
Output current up to 4.5 A peak
STGD6M65DF2 IGBTs Power stage featuring:
•
•
– V
(BR)CES
= 650 V
– V
CE(sat)
= 1.55 V @ IC = 6 A
Dual footprint for IGBT/MOSFET packages
– DPAK
– PowerFlat 8x8
Three-shunt current sensing, suitable for:
– Triple or dual shunt vector (FOC) algorithm
Digital Hall sensors and encoder input
Smart shutdown overcurrent protection
Bus voltage sensing
15 V VCC and 3.3 V VDD supplies
Embedded ST-LINK/V2-1
Easy user interface with buttons and trimmer
RoHS compliant
Target applications
Home and Industrial refrigerators compressors
Industrial drives, pumps, fans
Air conditioning compressors & fans
Corded power tools, garden tools
Home appliances
Industrial automation
UM2596
Main features
UM2596 - Rev 1 page 2/19
2 Safety and operating instructions
UM2596
Safety and operating instructions
2.1
2.2
2.3
2.4
General terms
Warning:
During assembly, testing, and operation, the evaluation board poses several inherent hazards, including bare wires, moving or rotating parts and hot surfaces.
Danger:
There is danger of serious personal injury, property damage or death due to electrical shock and burn hazards if the kit or components are improperly used or installed incorrectly.
The kit is not electrically isolated from the high-voltage supply AC/DC input. The evaluation board is directly linked to the mains voltage. No insulation is ensured between the accessible parts and the high voltage. All measuring equipment must be isolated from the mains before powering the board. When using an oscilloscope with the demo, it must be isolated from the AC line. This prevents shock from occurring as a result of touching any single point in the circuit, but does NOT prevent shock when touching two or more points in the circuit.
All operations involving transportation, installation and use, and maintenance must be performed by skilled technical personnel able to understand and implement national accident prevention regulations. For the purposes of these basic safety instructions, “skilled technical personnel” are suitably qualified people who are familiar with the installation, use and maintenance of power electronic systems.
Intended use of evaluation board
The evaluation board is designed for demonstration purposes only, and must not be used for electrical installations or machinery. Technical data and information concerning the power supply conditions are detailed in the documentation and should be strictly observed.
Installing the evaluation board
•
•
•
•
The installation and cooling of the evaluation board must be in accordance with the specifications and target application.
The motor drive converters must be protected against excessive strain. In particular, components should not be bent or isolating distances altered during transportation or handling.
No contact must be made with other electronic components and contacts.
The board contains electrostatically-sensitive components that are prone to damage if used incorrectly. Do not mechanically damage or destroy the electrical components (potential health risks).
Operating the evaluation board
To operate properly the board, follow these safety rules.
1. Work Area Safety:
UM2596 - Rev 1 page 3/19
UM2596 - Rev 1
UM2596
Operating the evaluation board
•
•
•
•
The work area must be clean and tidy.
Do not work alone when boards are energized.
Protect against inadvertent access to the area where the board is energized using suitable barriers and signs.
A system architecture that supplies power to the evaluation board must be equipped with additional control and protective devices in accordance with the applicable safety requirements (i.e., compliance with technical equipment and accident prevention rules).
Use a non-conductive and stable work surface.
Use adequately insulated clamps and wires to attach measurement probes and instruments.
•
•
2. Electrical Safety:
• Remove power supply from the board and electrical loads before performing any electrical measurement.
•
•
Proceed with the arrangement of measurement setup, wiring or configuration paying attention to high voltage sections.
Once the setup is complete, energize the board.
Danger:
Do not touch the evaluation board when it is energized or immediately after it has been disconnected from the voltage supply as several parts and power terminals containing potentially energized capacitors need time to discharge.
Do not touch the boards after disconnection from the voltage supply as several parts like heat sinks and transformers may still be very hot.
The kit is not electrically isolated from the AC/DC input. The USB interface of the board does not insulate host computer from high voltage. When the board is supplied at a voltage outside the ELV range, a proper insulation method such as a USB isolator must be used to operate the board.
3. Personal Safety
• Always wear suitable personal protective equipment such as, for example, insulating gloves and safety glasses.
• Take adequate precautions and install the board in such a way to prevent accidental touch. Use protective shields such as, for example, insulating box with interlocks if necessary.
page 4/19
3
UM2596
Hardware and software requirements
Hardware and software requirements
•
•
•
•
Using the EVSPIN32F0601S3 evaluation board requires the following software and hardware:
• A windows PC (XP, Vista, Win 7 , Win 8, Win 10 ) to install the software package
A mini-B USB cable to connect the EVSPIN32F0601S3 board to the PC
The STM32 PMSM FOC Software Development Kit (available on www.st.com
)
A 3-phase brushless PMSM DC motor with compatible voltage and current ratings
AC Mains power supply or external DC power supply
Warning:
The kit is not electrically isolated from the AC/DC input. The USB interface of the board does not insulate host computer from high voltage. When the board is supplied at a voltage outside the ELV range, a proper insulation method such as a USB isolator must be used to operate the board.
UM2596 - Rev 1 page 5/19
4 Getting started
The maximum ratings of the board are the following:
• Power stage supply voltage between 35 V
AC
(50 V
DC
) and 280 V
AC
(400 V
DC
)
• Overcurrent protection set to 4.5 A peak
•
•
To start your project with the board:
• Check the jumper position according to the target configuration (see
).
Connect the motor on the connector J2 taking care of the motor phases’ sequence.
Supply the board through AC Mains connector J4. The LED2 ( LD2, green) will turn on.
Develop your application using code examples provided or the STM32 FOC MC Library.
Please refer to the respective user manual for details.
UM2596
Getting started
UM2596 - Rev 1 page 6/19
5
UM2596
Hardware description and configuration
Hardware description and configuration
shows the position of the main circuitry blocks of the board.
Figure 2. EVSPIN32F0601S3 - Board function description
STlink debugger detachable
Power STAGE
STSPIN32F0601
Power Supply
shows the position of the connectors and jumpers of the board.
Figure 3. EVSPIN32F0601S3 - Main components and connectors position
J5 Usb connector
JP7 Encoder sensor Power selector
J9 SWD connector
J3 Hall Encoder connector
JP3,JP4,JP5 hall sensor selector
JP2 Hall Power selector
JP11 Hall sensor supply selector
J2 Motor phases connector
J4 AC mains connector
J7 STLINK connector
J8 STLINK
Reset
UM2596 - Rev 1
JP1 Boot selector
JP8 VDD selector
J6 UART connector
J1 SPI/GPIO/debug port connector
JP9 VCC selector
JP6 Vbus partition
Jumper
JP1
Table 1. Hardware setting jumpers
Permitted configurations
Selection of boot from flash (2-3 closed) or System/SRAM (1-2 closed)
Default condition
2-3 closed page 7/19
UM2596 - Rev 1
UM2596
Hardware description and configuration
J7
J8
J9
Jumper
JP2
JP3
JP4
JP5
JP6
JP7
JP8
JP9
Permitted configurations
Selection hall Encoder power supply to VDD
Selection PA0 connected to Hall 1
Selection PA1 connected to Hall 2
Selection PA2 connected to Hall 3
Selection VBUS feedback partition
Selection Encoder sensor power to VDD (1-2 closed) , VCC (2-3 closed) or
+5V (2-4 closed)
Selection VDD connected to power supply (1-2 closed) or STLINK (2-3 closed)
Selection VCC connected to power supply (1-2 closed) or external supply (VCC=pin 2 GND=pin 3, jumper removed)
Name
J1
J2
J3
J4
J5
J6
Default condition closed closed closed closed closed
2-4 closed
1-2 closed
1-2 closed
Table 2. Connectors and test points description
Pin
1-2-3-4
Label
J1
Description
SPI interface, simulated DAC debug port
(pins 3,4) or customizable GPIOs
2
3
4
4
1-2
1
1
2
1
2
3
3
4
5
1 – 2
-
1
2
3
1
2
OUT3
OUT2
OUT1
A+/H1
B+/H2
Z+/H3
VDD
GND
J4 - AC MAINS ~
J5
RX
TX
J7
J8
VDD
SWD CLK
GND
SWD IO
Motor phases connections
Hall/encoder sensors connector
Hall sensors/encoder supply
AC mains power supply
USB input ST-link
UART
ST-link power supply
SWCLK of ST-link
GND
SWDIO of ST-link
ST-link reset
Auxiliary connector for SWD mode debugging/programming page 8/19
UM2596 - Rev 1
UM2596
Hardware description and configuration
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
TP1
TP2
TP3
TP4
TP5
TP6
TP7
TP8
TP12
TP14
TP15
Name
TP23
TP24
TP25
TP26
TP27
TP28
TP29
TP18
TP19
TP20
TP21
TP22
Pin
TP23
TP24
TP25
TP26
TP27
TP28
TP29
TP18
TP19
TP20
TP21
TP22
TP1
TP2
TP3
TP4
TP5
TP6
TP7
TP8
TP12
TP14
TP15
Label
Table 3. Test points description
Description
RES1
RES2
RES3
OUT 3
PB8 GPIO
PA4 GPIO, PA3 GPIO (SPEED)
OUT 2
GND – signal ground
OD – SmartSD timing open drain output
OUT 1
3V3 STLINK USB voltage
PGND – power ground
High side channel 3 gate
Low side channel 3 gate
High side channel 2 gate
Low side channel 2 gate
High side channel 1 gate
Low side channel 1 gate
SENSE channel 1
SENSE channel 2
SENSE channel 3
PA12 GPIO
CIN – comparator positive input page 9/19
6
6.1
6.2
6.3
UM2596
Board description
Board description
Sensorless
The evaluation board can be used in FOC sensorless mode without modifications, current signals are read through shunt resistors, amplified and brought to MCU ADC channels 5, 6 and 7.
Hall/Encoder motor speed sensor
The EVSPIN32F0601S3 evaluation board supports the digital Hall and quadrature encoder sensors for motor position feedback.
Sensors can be connected to the STSPIN32F0601 through the J3 connector as listed in the following table.
Name
Hall1/A+
Hall2/B+
Hall3/Z+
VDD_sensor
GND
Pin
1
2
3
4
5
Table 4. Hall/Encoder connector (J3)
Description
Hall sensor 1/Encoder out A+
Hall sensor 2/Encoder out B+
Hall sensor 3/Encoder Zero feedback
Sensor supply voltage
Ground
•
•
A protection resistor of 1.8 kΩ is mounted in series with sensor outputs.
For sensors requiring external pull-up, three 10 kΩ resistors are already mounted on the output lines and connected to VDD voltage when JP2 is closed.
The jumper JP7 selects the power supply for sensor supply voltage:
• JP7 pins 1-2 CLOSED : Hall sensors powered by VDD ( 3.3 V )
JP7 pins 2-3 CLOSED : Hall sensors powered by VCC ( 15 V )
JP7 pins 2-4 CLOSED : Hall sensors powered by V5_Hall (+5 V)
•
•
The MCU of STSPIN32F0601 can decode Hall/Encoder sensor outputs configuring jumpers as follows:
• JP3 CLOSED, PA0 connected to Hall1
JP4 CLOSED, PA1 connected to Hall2
JP5 CLOSED, PA2 connected to Hall3
Overcurrent detection and current sensing measurement
The EVSPIN32F0601S3 evaluation board implements overcurrent protection based on the STSPIN32F0601 integrated comparator. The shunt resistors measures the load current bringing the voltage signal associated to load current to the CIN pin (TP29). When the peak current in the phases exceeds the selected threshold, the integrated comparator is triggered and all the power switches are disabled. Power switches are enabled again when the current falls below the threshold and the output disable time expires, thus implementing a current limitation control.
UM2596 - Rev 1 page 10/19
Figure 4. EVSPIN32F0601S3 - Current sensing and disable time circuitry
Output disable time circuitry
UM2596
Bus voltage circuit
6.4
Current sensing circuitry
By default the evaluation board has an overcurrent threshold set to I
OC_typ detection of ~560us
= 4.5 A and a restart time after fault
Overcurrent threshold can be modified changing R49 bias resistor, R57, R50, R51 loop resistors and R33, R53,
R56 shunt resistors according to the following formulas:
V
REF_typ
=460mV, VDD=3.3V, R
SHUNT
= R33=R53=R56 = 220mΩ, R
PU
=R49=10kΩ
R
LOOP
=R57=R50=R51=1kΩ. If R
SHUNT
<< R
LOOP
I
OC_typ
≅ V
REF_typ
⋅
3RPU + RLOOP
RSHUNT ⋅ RPU
− VDD ⋅
RLOOP
RSHUNT ⋅ RPU
The output disable time can be monitored on the OD pin (TP12) and is determined mainly by the time required to recharge the C18 capacitor up to V
SSDh
threshold, according to the formula: t
V
SSDh
=3.8V, V
SSDl
=0.56V, V
OD
=VCC=15V
2
≅ C18 ⋅ R49 ⋅ ln
VSSDl − VOD
VSSDℎ − VOD
Bus voltage circuit
•
•
The EVSPIN32F0601S3 evaluation board provides the bus voltage sensing. This signal is set through a voltage divider from motor supply voltage (VBUS) (R67, R69 and R78, R80), and sent to PB1 GPIO (channel 9 of the
ADC) of the embedded MCU.
JP6 closed (by default) allows to set the bus voltage divider to 145
JP6 open allows to set the bus voltage divider to 126
UM2596 - Rev 1 page 11/19
6.5
6.6
6.7
UM2596
Hardware user interface
Hardware user interface
•
•
•
•
•
The board provides a hardware user interface as follows:
• a potentiometer R23 setting, for example, the target speed
• switch SW1 : reset STSPIN32F0601 MCU switch SW2 : user button 2 switch SW3 : user button 1
LED DL1: turned on when user 2 button is pressed
LED DL2: turned on when user 1 button is pressed
LED DL3: turned on when VDD is on (MCU stage powered )
LED LD2: turned on when VCC flyback is on (Gate Driver stage powered
Debug
•
•
The EVSPIN32F0601S3 evaluation board embeds an ST-LINK/V2-1 debugger/programmer. The features supported by ST-LINK are:
USB software re-enumeration
Virtual com port interface on USB connected to PB6/PB7 pins of the STSPIN32F0601 (UART1)
• Mass storage interface on USB
•
•
•
•
•
•
The power supply for ST-LINK is provided by the host PC through the USB cable connected to J5.
LED LD1 provides ST-LINK communication status information:
Red LED flashing slowly: at power-on before USB initialization
Red LED flashing quickly: following first correct communication between the PC and ST-LINK/V2-1
(enumeration)
Red LED ON: initialization between the PC and ST-LINK/V2-1 is complete
Green LED ON: successful target communication initialization
Red/Green LED flashing: during communication with target
Green ON: communication finished and successful.
The reset function is disconnected from ST-LINK by removing jumper J8.
ST-LINK detachable
Once the evaluation board is programmed, it is possible to detach the ST-LINK debugger, breaking the PCB along slot holes. The capability to program or debug STSPIN32F0601 is still allowed by connecting an external ST-LINK to J9 SWD connector.
UM2596 - Rev 1 page 12/19
UM2596
Using an external DC power supply
Figure 5. EVSPIN32F0601S3 - Detachable section
J9 SWD connector
Slot holes to detach ST-Link
Detachable section ST-Link debugger
6.8
Using an external DC power supply
•
•
The EVSPIN32F0601S3 evaluation board generates VDD=3.3 V and VCC=15 V through a flyback converter by default.
Optionally it can be configured to provide VDD and VCC through external power supply
VCC is provided removing JP9 and connecting pin2 to the external supply (e.g. 12 V) and pin3 to GND.
VDD can be provided by ST-LINK through JP8 (2-3 CLOSED) or connecting JP8 pin2 to 3.3 V and GND to
TP8
UM2596 - Rev 1 page 13/19
7
UM2596
References
References
•
•
•
This user manual provides information on the hardware features and use of the EVSPIN32F0601S3 evaluation board. For additional information refer to:
• EVSPIN32F0601S3 Databrief (schematics, bill of material, layout)
STSPIN32F0601 Datasheet
STGD6M65DF2 Datasheet
User manual ST-LINKV2 programmer
UM2596 - Rev 1 page 14/19
Revision history
Date
17-Jan-2020
Version
1
Table 5. Document revision history
Changes
Initial release.
UM2596
UM2596 - Rev 1 page 15/19
UM2596
Contents
Contents
UM2596 - Rev 1 page 16/19
UM2596
List of tables
List of tables
UM2596 - Rev 1 page 17/19
UM2596
List of figures
List of figures
UM2596 - Rev 1 page 18/19
UM2596
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of
Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks . All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2020 STMicroelectronics – All rights reserved
UM2596 - Rev 1 page 19/19
Download
Advertisement