STMicroelectronics STSPIN32G4 Motor Controller with STM32G4 MCU

STMicroelectronics STSPIN32G4 Motor Controller with STM32G4 MCU is an extremely integrated and flexible motor controller for driving 3-phase brushless motors. This device helps designers choose the most suitable driving mode and reduce PCB area and the overall Bill Of Materials. The STSPIN32G4 embeds a triple half-bridge gate driver able to drive power MOSFETs with a current capability of 1A (sink and source). Three bootstrap diodes are embedded as well. The high and low-side switches of the same half-bridge cannot be simultaneously driven high, thanks to an integrated interlocking function. An additional protection feature is represented by hardware VDS monitoring circuitry that constantly monitors each of the six external MOSFETs. If an overvoltage is detected across one of them, it switches off all gate driver outputs. The overvoltage threshold is set through a dedicated SCREF pin.

The device is fully self-supplied thanks to an integrated flexible power management structure. It can generate all required supplies starting from the motor supply voltage, VM, the only one provided from outside. An embedded programmable buck regulator, with embedded power MOSFET, generates the supply voltage for the gate drivers starting from the motor supply voltage VM. Four different VCC output values can be selected through a dedicated configuration register (8V (default value), 10V, 12V, and 15V). An internal high precision low-drop linear regulator (LDO) is used to generate the 3.3V supply (VREG3V3) starting from the REGIN input voltage. The 3.3V output voltage supplies both the gate driver logic and the microcontroller. It is protected against short-circuit, overload, and undervoltage conditions. Both the buck and LDO regulators can be bypassed by providing external VCC and VREG3V3 supplies.

The integrated MCU (STM32G431VBx3) is based on the high-performance 32-bit ARM® Cortex®-M4 core, operating at a frequency up to 170MHz. It features a single-precision floating-point unit (FPU), a full set of DSP (Digital Signal Processing) instructions, and a memory protection unit (MPU), which enhances the application’s security. This microcontroller represents the mainstream choice for advanced motor control applications thanks to the very rich and specific set of features. These features include two fast 12-bit ADCs (4Msps), four comparators, three operational amplifiers, four DAC channels (two external and two internal), and an internal voltage reference buffer. It also includes one general-purpose 32-bit timer, two 16-bit PWM timers dedicated to motor control, seven general-purpose 16-bit timers, one 16-bit low-power timer.

The STMicroelectronics STSPIN32G4 also embeds high-speed memories (128kB of Flash memory and 32kB of SRAM) with several protection mechanisms and up to 40 available GPIOs. The device includes mathematical/arithmetic function acceleration peripherals (CORDIC for trigonometric functions and FMAC unit for filter functions) and main interfaces (I2C, SPI, UART, and CAN). It also has a comprehensive set of power-saving modes and an analog independent supply input for ADC, DAC, operational amplifiers, and comparators. Such a feature-rich microcontroller allows running very high-performance motor control algorithms offering unprecedented flexibility in choosing the best fitting control choice even for the most challenging motion control applications. Users can program the STSPIN32G4 to run sensorless or sensored Field Oriented Control (FOC) with one, two, or three shunts, more advanced position or torque control algorithms, or more traditional six-step control mode.

Features

  • Motor supply voltage from 5.5V to 75V
  • Three-phase gate drivers
    • 1A sink/source current capability
    • VDS monitoring of the power stage MOSFETs
    • Integrated bootstrap diodes
    • I2C accessible configuration and status registers for best application fit
    • Cross-conduction prevention
  • STM32G431 microcontroller with 32-bit ARM® Cortex®-M4 MCU+FPU core
    • Up to 170MHz clock frequency
    • CORDIC mathematical hardware accelerator for trigonometric functions
    • 128kB Flash memory with proprietary code readout protection (PCROP), securable memory area, 1kB OTP
    • 32kB SRAM memory with HW parity check
    • Two advanced timers for motor control, 16-bit with up to 6 x PWM channels
    • Eight general-purpose timers
    • Two ADCs 12-bit resolution (up to 19 channels) with 4Msps conversion rate
    • Four 12-bit DAC channels
    • Four ultra-fast rail-to-rail comparators
    • Three rail-to-rail operational amplifiers usable also in PGA mode
    • Internal high precision voltage reference
    • Up to 40 GPIOs
    • A full set of interfaces (I2C, SPI, UART, and CAN)
  • Self-supplied thanks to embedded flexible power management
    • VCC buck converter up to 200mA, with programmable output and embedded MOSFET
    • 3.3V LDO linear regulator up to 150mA
    • Low quiescent linear regulator for MCU supply during standby
    • Full set of protection features (thermal shutdown, short-circuit, overload, and UVLO)
  • Possibility to control two motors simultaneously from the same MCU
  • Standby mode for reduced power consumption
  • On-chip debug support via SWD or JTAG
  • -40 to +125°C extended temperature range

Applications

  • Industrial and home automation
  • Home appliances such as vacuum cleaners, dryers, and cleaning robots
  • Servo drives and e-bikes
  • Service and automation robots
  • Power and garden tools
  • Pumps and fans
  • Drones and aero modeling

Block Diagram

Block Diagram - STMicroelectronics STSPIN32G4 Motor Controller with STM32G4 MCU

Videos

STMicroelectronics STSPIN32G4 Motor Controller with STM32G4 MCU