EVSPIN32G06Q1S1: 3-phase inverter based on STSPIN32G0601

User Manual

Introduction

The EVSPIN32G06Q1S1 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 8x8 HV package. The board has a single-shunt sensing topology, and both sensored/sensorless FOC and 6-step control algorithms 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, 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 debugger/programmer. SWD and UART TX/RX connectors are also available.

A photograph of the EVSPIN32G06Q1S1 evaluation board, showing a populated printed circuit board with various electronic components, connectors, and labels.

Main features

Target applications

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

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.

  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 EVSPIN32G06Q1S1 evaluation board requires the following software and hardware:

[WARNING] The kit is not electrically isolated from the AC/DC input.

Getting started

The maximum ratings of the board are as follows:

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 J10 keeping in mind the motor phase sequence.
  3. Supply the board through AC mains connector J4. The LD4 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

A diagram illustrating the main functional blocks of the evaluation board, highlighting areas such as the Power Stage, AC Input Stage, Hall/Encoder Network, BEMF Network, STLINK-V3 connector, and Serial IF connectors.

A diagram showing the physical layout of key components and connectors on the EVSPIN32G06Q1S1 evaluation board, indicating the positions of jumpers, connectors (e.g., J1-J10), and test points.

Jumper settings

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

Connectors

Name Pin Label Description
J1 1 VDD Auxiliary connector for SWD mode debugging/programming
2 SWD CLK
3 GND
4 SWD IO
J2 1 GND SPI interface or customizable GPIOs
2 SPI1_MOSI
3 SPI1_MISO
4 SPI1_CLK
5 SPI1_NSS
J3 1 A+/H1 Hall/encoder sensors connector
2 B+/H2
3 Z+/H3
4 VDD
5 GND
J4 1-2 AC MAINS ~ AC mains power supply
3 VDD
4 SWD_IO
5-7-11 GND
J5 6 SWD_CLK ST-LINKV3SET connector
12 NRST
13 UART1_RX
14 UART1_TX
1 GND
2 RX
4 TX
J7 1 GND I2C1 / UART1
2 I2C1_SCL/UART1_TX
3 VDD
4 I2C1_SDA/UART1_RX
J8 1 E3V3 (onboard regulator output) VDD/VBAT/VREF+ power supply connector. Connect E3V3 to VDD with a jumper if no external supply is available.
2 VDD (digital power supply)
3 VBAT
4 VREF+
5 GND
J9 1 PD1 GPIO connector
2 PB10
3 PD2
4 PB11
5 PB8
6 PB2
7 PB9
8 EMUL_DAC
9 GND
10 OUT3
J10 1 OUT3 3-phase BLDC motor phase connector
2 OUT2
3 OUT1

Test points

Name Description
TP1 High side gate 3
TP2 OUT 3
TP3 Low side gate 3
TP4, TP8, TP18 SENSE
TP5 High side gate 2
TP6 OUT 2
TP7 Low side gate 2
TP10 GND - signal ground
TP12 EMUL_DAC (emulated DAC)
TP13 OD - SmartSD timing Open Drain output, unlatch, and restart input
TP14 High side gate 1
TP15 OUT 1
TP16 Current feedback
TP17 Low side gate 1
TP19 CIN - comparator positive input
TP20 Comparator output/ETR
TP21 Current reference
TP22 PA4 GPIO (SPEED)
TP23 PGND - power ground

Board description

Sensorless

By default the evaluation board is configured in sensorless mode. This enables the BEMF zero crossing detection network. Jumpers are set in the following way:

Hall/encoder motor speed sensor

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

Name Pin Description
Hall1/A+ 1 Hall sensor 1/encoder out A+
Hall2/B+ 2 Hall sensor 2/encoder out B+
Hall3/Z+ 3 Hall sensor 3/encoder Zero feedback
VDD_sensor 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 JP1 is closed.

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

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

Overcurrent detection and current sensing measurement

The EVSPIN32G06Q1S1 evaluation board implements overcurrent protection based on the STSPIN32G0601Q integrated comparator. The single-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.

A detailed schematic diagram illustrating the electrical circuitry for current sensing and output disable time control, showing components like resistors, capacitors, and integrated circuits such as the STSPIN32G0601Q.

By default, the evaluation board has an overcurrent threshold set to loc_typ= 2.8 A and a restart time after fault detection of ~590 μs.

The overcurrent threshold can be modified by changing the R33 bias resistor, R38 loop resistor, and R34 shunt resistor according to the following formulas:

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

Bus voltage circuit

The EVSPIN32G06Q1S1 evaluation board provides the bus voltage sensing. This signal is set through a voltage divider from the motor supply voltage (VBUS) (R67, R69 and R78, R80), and sent to PB0 GPIO (channel 8 of the ADC) of the embedded MCU.

Hardware user interface

The board provides a hardware user interface as follows:

Debug

The EVSPIN32G06Q1S1 evaluation board embeds an STLINK-V3SET debugger/programmer. Some of the features supported by STLINK are:

Just plug the provided flat cable on the J5 connector (STDC14 STM32 JTAG/SWD and VCP) 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 EVSPIN32G06Q1S1 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:

References

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

Revision history

Date Version Changes
17-Apr-2024 1 Initial release.
Models: UM3306, UM3306 3 Phase Based Inverter, 3 Phase Based Inverter, Based Inverter, Inverter

File Info : application/pdf, 19 Pages, 4.53MB

PDF preview unavailable. Download the PDF instead.

um3306-evspin32g06q1s1-3phase-inverter-based-on-stspin32g0601-stmicroelectronics

References

C2 v20.4.0000 build 240 - c2 rendition config : Techlit Active Antenna House PDF Output Library 7.2.1732; modified using iText 2.1.7 by 1T3XT

Related Documents

Preview STLINK-V3SET Debugger/Programmer User Manual for STM8 and STM32
The STLINK-V3SET is a stand-alone modular debugging and programming probe from STMicroelectronics, designed for STM8 and STM32 microcontrollers. It supports SWIM, JTAG, SWD, Virtual COM port, and various bridge interfaces for comprehensive development.
Preview STM32 Motor-Control Pack with FOC Algorithm: User Manual UM2538
User manual for the STMicroelectronics P-NUCLEO-IHM03 motor-control pack, detailing its features, ordering information, development environment, hardware settings, firmware upload, demonstration usage, FOC control algorithm, product history, and compliance statements.
Preview STLINK-V3SET Debugger/Programmer User Manual by STMicroelectronics
Explore the STLINK-V3SET, a versatile debugger and programmer from STMicroelectronics, designed for STM8 and STM32 microcontrollers. This user manual details its features, modular extensions, and connectivity options for embedded development.
Preview STSW-WBC2STUDIO User Guide - Software for Wireless Power Transfer
Comprehensive user guide for the STSW-WBC2STUDIO software, detailing installation, features, and hardware connections for STMicroelectronics wireless power transfer evaluation kits.
Preview STM32 Nucleo Pack P-NUCLEO-IHM001 User Manual: FOC and 6-Step Motor Control
User manual for the STM32 Nucleo Pack P-NUCLEO-IHM001, a motor control kit featuring FOC and 6-step algorithms for 3-phase low voltage DC brushless motors. Details features, system architecture, hardware setup, firmware upload, and electrical schematics.
Preview STMicroelectronics X-NUCLEO-IHM12A1 Evaluation Board: License Agreement and Schematic Overview
Details the STMicroelectronics X-NUCLEO-IHM12A1 expansion board, a low-voltage dual-brush DC motor driver based on STSPIN240 for STM32 Nucleo. Includes the evaluation board license agreement and a description of the schematic components and connections.
Preview STEVAL-SPIN3204 Evaluation Board User Manual: STSPIN3204 BLDC Motor Control
User manual for the STMicroelectronics STEVAL-SPIN3204 evaluation board, featuring the STSPIN3204 BLDC controller and STM32F031C6 MCU. This guide covers setup, hardware description, interface details, overcurrent protection, current limiting, sensor integration, programming, debugging, schematics, and a bill of materials for brushless DC motor applications.
Preview STEVAL-ESC001V1 Electronic Speed Controller for BLDC and PMSM Motors - User Manual
Explore the STEVAL-ESC001V1, a high-performance electronic speed controller (ESC) reference design from STMicroelectronics. This user manual details its sensorless Field Oriented Control (FOC) algorithm, suitability for BLDC and PMSM motors, and applications in drones, RC vehicles, electric cars, and boats. Learn about its features, hardware, and integration using the STM32 Motor Control Software Development Kit (X-CUBE-MCSDK).