STMicroelectronics STSPIN32G0601 3 Phase Inverter Based User Manual

June 1, 2024
STMicroelectronics

STMicroelectronics STSPIN32G0601 3 Phase Inverter Based

STMicroelectroni-s-STSPIN32G0601-3-Phase-Inverter-Based-
product

Specifications

  • Input Voltage : 35 VAC (50 VDC) to 280 VAC (400 VDC)
  • Power Output: ~250 W
  • Phase Current: 1 ARMS
  • IGBTs Power Stage: STGD6M65DF2
  • Overcurrent Threshold: 3.5 Apeak (configurable)
  • Current Sensing: Three-shunt
  • Supply Voltages: 15 V VCC, 3.3 V VDD
  • External Connection: STLINK-V3SET or ST-LINK/V2
  • User Interface: Buttons and trimmer
  • Compliance: RoHS

Product Usage Instructions

Safety and Operating Instructions
Before operating the evaluation board, please ensure you follow the safety guidelines provided in the user manual.

Installing the Evaluation Board

  1. Ensure installation is done as per the specifications and target application.
  2. Protect motor drive converters against excessive strain.
  3. Avoid contact with other electronic components and contacts to prevent damage.

Operating the Evaluation Board
Follow the safety rules provided in the manual for the work area, electrical safety, and personal safety.

Hardware and Software Requirements

  1. You will need a Windows PC with one of the supported operating systems to install the software package.
  2. Connect the EVSPIN32G06Q1S3 board using an STLINK-V3SET or ST-LINK/V2 debugger/programmer.

Introduction

The EVSPIN32G06Q1S3 board is a three-phase complete inverter based on the STSPIN32G0601Q controller, which embeds a three-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 8×8 HV package. The board has a three-shunt sensing topology, and both sensored or sensorless FOC algorithms can be implemented. This allows driving permanent magnet synchronous motors (PMSMs) with fast and accurate current sensing. It provides an easy-to-use solution for the evaluation of the device in different applications such as refrigerator compressors, dishwasher pumps, fans, and industrial appliances. The evaluation board is compatible with a wide range of input voltages 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 the FW can be performed with standard STM32 tools through the STLINK-V3SET or ST-LINK/V2 debugger/programmer. SWD and UART TX/RX connectors are also available.
STMicroelectroni-s-STSPIN32G0601-3-Phase-Inverter-Based-fig-
\(1\)

Main features

The EVSPIN32G06Q1S3 has the following features:

  • Input voltage from 35 VAC (50 VDC) to 280 VAC (400 VDC)
  • Suitable for ~250 W applications, 1 ARMS phase current
  • STGD6M65DF2 IGBTs power stage featuring:
    • V(BR)CES = 650 V
    • VCE(sat) = 1.55 V @ IC = 6 A
  • The overcurrent threshold is set to 3.5 Apeak (value configurable by the user)
  • Dual footprint for IGBT/MOSFET packages
    • DPAK or PowerFLAT 8×8 HV
  • • Three-shunt current sensing, suitable for:
    • Sensored or sensorless single-shunt vector (FOC) algorithm
  • Smart shutdown overcurrent protection
  • Digital Hall sensors and encoder input
  • Bus voltage sensing
  • 15 V VCC and 3.3 V VDD supplies
  • External connection through STLINK-V3SET or ST-LINK/V2
  • Easy user interface with buttons and trimmer
  • RoHS compliant

Target applications

  • Residential and industrial refrigerator compressors
  • Industrial drives, pumps, and fans
  • Air conditioning compressors and fans
  • Corded power tools, garden tools
  • Home appliances
  • Industrial automation

Safety and operating instructions

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 a 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.

Attention: 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.

Important: 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 nor should isolating distances be 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 properly operate the board, follow these safety rules:

  1. Work area safety:

    • 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 the power supply from the board and electrical loads before taking any electrical measurements.
    • 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 the 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, an insulating box with interlocks, if necessary.

Hardware and software requirements

Using the EVSPIN32G06Q1S3 evaluation board requires the following software and hardware:

  • A Windows PC (XP, Vista, Win 7, Win 8, Win 10, or Win 11) to install the software package.
  • A STLINK-V3SET or ST-LINK/V2 debugger/programmer to connect the EVSPIN32G06Q1S3 board to the PC.
  • The STM32 Motor Control Software Development Kit (available on www.st.com).
  • A 3-phase brushless PMSM 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 the 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.

Getting started

The maximum ratings of the board are as follows:

  • Power stage supply voltage between 35 VAC (50 VDC) and 280 VAC (400 VDC).
  • Overcurrent protection set to 3.5 Apeak (value configurable by the user).

To start your project with the board:

  1. Check the jumper position according to the target configuration (see Section 5).
  2. Connect the motor on the connector J2 keeping in mind the motor phase sequence.
  3. Supply the board through AC mains connector J3. The LD1 LED (green) turns on. Develop the application using the code examples provided or the STM32 FOC MC library. Refer to the relevant user manual for details.

Hardware description and configuration

The following figure shows the position of the main circuitry blocks of the board.

STMicroelectroni-s-STSPIN32G0601-3-Phase-Inverter-Based-fig-
\(2\)STMicroelectroni-s-STSPIN32G0601-3-Phase-Inverter-Based-fig-
\(3\)

Table 1. Hardware jumper settings


Jumper

| ****

Permitted configurations

| Default

condition

---|---|---
JP1| Selection PA2 connected to Hall 3| CLOSED
JP2| Selection PA1 connected to Hall 2| CLOSED
JP3| Selection PA0 connected to Hall 1| CLOSED
JP4| Selection Hall encoder power supply to VDD| CLOSED
JP5| Selection Encoder sensor power to VDD (1-2 CLOSED), VCC (2-3 CLOSED) or +5 V (2-4 CLOSED)| 2-4 CLOSED
JP6| Auxiliary +5 V supply for Hall sensors| OPEN
JP7| Selection of Boot from Flash or System/SRAM if nBOOT_SEL = 0 (flash option bit, legacy mode)| OPEN
JP8| Selection VBUS feedback partition value| CLOSED
JP10| Selection VCC connected to internal power supply (1-2 CLOSED) or external supply (VCC = pin 2 GND = pin 3, jumper removed)| 1-2 CLOSED

Table 2. Connectors

Name Pin Label Description



J1

| 1| A+/H1| ****

Hall/encoder sensors connector

2| B+/H2
3| Z+/H3
4| VDD| ****

Hall sensors/encoder supply

5| GND


J2

| 1| OUT3| ****

3-phase BLDC motor phase connector

2| OUT2
3| OUT1
J3| 1 – 2| AC MAINS ~| AC mains power supply





J4

| 1 – 2| VDD| ****




ST-LINK/V2 connector

4 – 6 – 8 – 10 – 12

– 14 – 16 – 18 –

20

| ****

GND

7| SWD_IO
9| SWD_CLK
15| NRST






J5

| 3| VDD| ****





ST-LINKV3SET connector

4| SWD_IO
5 – 7 – 11| GND
6| SWD_CLK
12| NRST
13| UART1_RX
14| UART1_TX



J6

| 1| GND| ****


SPI interface or customizable GPIOs

2| SPI1_MOSI
3| SPI1_MISO
4| SPI1_CLK
Name| Pin| Label| Description
---|---|---|---
J6| 5| SPI1_NSS| SPI interface or customizable GPIOs








J7

| 1| PD1| ****







GPIO connector

2| PB10
3| PD2
4| PB11
5| PB8
6| PA12
7| PB9
8| EMUL_DAC
9| ****

GND

10



J8

| 1| VDD| ****


Auxiliary connector for SWD mode debugging/programming

2| SWD CLK
3| GND
4| SWD IO



J9

| 1| GND| ****


I2C1 / UART1

2| I2C1_SCL/UART1_TX
3| VDD
4| I2C1_SDA/UART1_RX



J10

| 1| GND| ****


UART2

2| UART2_RX
4| VDD
4| UART2_TX





JP9

| 1| E3V3 (onboard regulator output)| ****


VDD/VBAT/VREF+ power supply connector

Connect E3V3 to VDD with a jumper if no external supply is available

External supplies for VBAT (pin3) and VREF+ (pin4) after removal of R27 and R32 respectively.

2| VDD (digital power supply)
3| VBAT
4| VREF+
5| GND

Table 3. Test points

Name Description
TP1 NRST
TP2 PC13
TP3 High-side gate 3
TP4 OUT 3
TP5 High-side gate 2
TP6 OUT 2
TP7 High-side gate 1
TP8 OUT 1
TP9 PGND – power ground
Name Description
--- ---
TP10 EMUL_DAC (emulated DAC)
TP11 Low-side gate 3
TP12 SENSE3
TP13 Low-side gate 2
TP14 SENSE2
TP15 Low-side gate 1
TP16 SENSE1
TP17 OD – SmartSD timing Open Drain output, unlatch, and restart input
TP18 SGND – signal ground
TP19 CIN – comparator positive input

Board description

Sensorless
By default the evaluation board is configured in sensorless mode. The reading of amplified shunt currents is made through ADC channels available at PA5, PA6 and PA7 pins. No additional configuration is required.

Hall/encoder motor speed sensor
The EVSPIN32G06Q1S3 evaluation board supports the digital Hall and quadrature encoder sensors for motor position feedback. The sensors can be connected to the STSPIN32G0601Q through the J1 connector as listed in the following table.

Table 4. Hall/encoder connector (J1)

Name Pin Description
A+/H1 1 Hall sensor 1/encoder out A+
B+/H2 2 Hall sensor 2/encoder out B+
Z+/H3 3 Hall sensor 3/encoder Zero feedback
VDD 4 Sensor supply voltage
GND 5 Ground
  • A protection series 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 JP4 is closed.

The jumper JP5 selects the power supply for sensor supply voltage:

  • JP5 pins 1-2 closed: Hall sensors powered by VDD (3.3 V)
  • JP5 pins 2-3 closed: Hall sensors powered by VCC (15 V)
  • JP5 pins 2-4 closed: Hall sensors powered by +5 V supply

The MCU of STSPIN32G0601Q can decode Hall/encoder sensor outputs configuring jumpers as follows:

  • JP3 closed, PA0 connected to Hall 1
  • JP2 closed, PA1 connected to Hall 2
  • JP1 closed, PA2 connected to Hall 3

Overcurrent detection and current sensing measurement
The EVSPIN32G06Q1S3 evaluation board implements overcurrent protection based on the STSPIN32G0601Q integrated comparator. Each shunt resistor measures the load current bringing the voltage signal associated to the load current to the CIN pin (TP19). 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.

STMicroelectroni-s-STSPIN32G0601-3-Phase-Inverter-Based-fig-
\(4\)

By default, the evaluation board has an overcurrent threshold set to IOC_typ= 3.5 A and a restart time after fault detection of ~590 μs. The overcurrent threshold can be modified by changing the R79 bias resistor, R52, R58 and R81 loop resistors, and R85, R86 and R89 shunt resistors according to the following formulas:

  • VREF_typ = 460 mV
  • VDD = 3.3 V
  • RSHUNT = R85 = R86 = R89 = 220 mΩ
  • RPU = R79 = 10 kΩ
  • RLOOP = R52 = R58 = R81 = 2.2 kΩ

If RSHUNT << RLOOP:

STMicroelectroni-s-STSPIN32G0601-3-Phase-Inverter-Based-fig-
\(7\)

The output disable time can be monitored on the OD pin (TP17) and is determined mainly by the time required to recharge the C38 capacitor up to the VSSDh threshold, according to the following formulas:

  • VSSDh = 4 V
  • VSSDl = 0.56 V
  • VOD = VCC = 15 V

Taking into account also the contribution of the OD internal current source IOD (typical value 5 μA) the previous equation becomes:

Bus voltage circuit
The EVSPIN32G06Q1S3 evaluation board provides the bus voltage sensing. This signal is set through a voltage divider from the motor supply voltage (VBUS) (R22, R30 and R36, R43), and sent to PB1 GPIO (channel 9 of the ADC) of the embedded MCU.

  • JP8 closed (by default) allows the bus voltage divider to be set to 146.
  • JP8 open allows the bus voltage divider to be set to 126.

Hardware user interface
The board provides a hardware user interface as follows:

  • A potentiometer R74 setting, for example, the target speed
  • Switch SW1: reset STSPIN32G0601Q MCU
  • Switch SW2: user button 2
  • Switch SW3 : user button 1
  • LED DL1: turned on when user 1 button is pressed
  • LED DL3 : turned on when user 2 button is pressed
  • LED DL2 : turned on when VDD is on (MCU stage powered)
  • LED LD1: turned on when VCC supply from flyback is on (gate driver stage powered)

Debug
The EVSPIN32G06Q1S3 evaluation board embeds an STLINK-V3SET or STLINK/V2 debugger/programmer.

Some of the features supported by STLINK are:

  • USB 2.0 high-speed compatible interface
  • Direct firmware update support (DFU)
  • Virtual com port interface on USB connected to PB6/PB7 pins of the STSPIN32G0601Q (UART1)
  • SWD and serial wire viewer (SWV) communication support

Just plug the provided flat cable on the J5 connector (STDC14 STM32 JTAG/SWD and VCP) or J7 connector to start programming/debugging the board through the preferred IDE. The firmware can be generated using the STM32 Motor Control Software Development Kit.

Using an external DC power supply
The EVSPIN32G06Q1S3 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 an external power supply:

  • VCC is provided by removing the jumper JP10 between VCC & Vcc_F and connecting pin2 to a suitable supply (i.e. 15 V or 12 V) and pin3 to GND.
  • VDD can be provided by removing the jumper between E3V3 & VDD of connector JP9 and connecting pin2 to 3.3 V and pin5 to GND.

References
This user manual provides information on the hardware features and use of the EVSPIN32G06Q1S3 evaluation board. For additional information refer to:

  • EVSPIN32G06Q1S3 data brief (schematics, bill of materials, layouts)
  • STSPIN32G0601Q datasheet
  • STGD6M65DF2 datasheet
  • UM2448 STLINK-V3SET debugger/programmer for STM8 and STM32 user manual
  • STM32 Motor Control Software Development Kit (MCSDK)

Revision history

Table 5. Document revision history

Date Version Changes
18-Apr-2024 1 Initial release.

IMPORTANT NOTICE – 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 acknowledgment. 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, 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. © 2024 STMicroelectronics – All rights reserved

FAQ

Q: What are the target applications for the EVSPIN32G06Q1S3 board?
A: The target applications include residential and industrial refrigerator compressors, industrial drives, pumps, fans, air conditioning compressors, fans, corded power tools, garden tools, home appliances, and industrial automation.

Q: Can the overcurrent threshold be configured by the user?
A: Yes, the overcurrent threshold on the STGD6M65DF2 IGBT power stage can be configured by the user.

Q: How should I handle electrostatically sensitive components on the board?
A: Avoid mechanically damaging or destroying the electrical components to prevent potential health risks.

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

STMicroelectronics User Manuals

Related Manuals