Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.45 KB

README.md

File metadata and controls

39 lines (34 loc) · 1.45 KB

Phase-Shift PWM Waveform Generator using the ESP32 or ESP32-S3

Driver for the MCPWM hardware modules on the Espressif ESP32 or ESP32-S3 SoC for generating a Phase-Shift-PWM waveform between two pairs of hardware pins.

Application in power electronics, e.g.

  • Zero-Voltage-Switching (ZVS) Phase-Shift-PWM converters
  • Full-Bridge or Dual-Active-Bridge
  • Frequency-modulated LLC converters.

This depends on the ESP-IDF SDK source files.

  • Tested up to ESP-IDF version 4.3-beta3
  • Currently not working with IDF v4.4 master branch, which is under work
  • Not compatible with ESP32-S2 as that chip has no MCPWM hardware module

See example in examples subfolder

                            VDD
                     .---------------.
                     |               |
                  ||-+               +-||
      To  GPIO 26 ||<-               ->||To  GPIO 33
      ------------||-+               +-||-----------
                     |               |
                     |     LOAD      |
                     |      ___      |
  LEAD half-bridge   o-----|___|-----o   LAG half-bridge
                     |               |
                     |               |
                     |               |
                  ||-+               +-||
      To  GPIO 27 ||<-               ->||To  GPIO 25
      ------------||-+               +-||-----------
                     |               |
                     '---------------'
                            GND