Driving BLDC using IPM driver and esp32 wroom

Hi there, :waving_hand:

I need help on coding the ESP32 wroom to drive 310VDC IPM with a motor attached to it has 3phase coil and 16 poles. Current i added hall sensors 3 total, i struggle to make it run, changing direction and varying Speed…

My project is about ventilation system that can pull air in or out according to the AC control in the hall…

Help getting started!!

2 Answers

2

Do you have any information about the IPM driver? Is it 3PWM or 6PWM, do you know the dead time, if it’s 6PWM.

Is it 3.3V compatible or do you need a 5V or even 15V level shifter?

I guess you want to use the MCPWM module of the ESP32 and know how to config?

Hi! First confirm whether your IPM driver supports 3PWM or 6PWM, and check if a level shifter is needed since ESP32 outputs 3.3V but IPM may need 15V. In SimpleFOC use 8 pole pairs (16 poles / 2) and connect all 3 hall sensors to interrupt-capable pins. Share your IPM driver model for more specific help!