About implementing Simple FOC using ESP32

duxingymj
Posts: 1
Joined: Wed Sep 23, 2020 1:32 am

About implementing Simple FOC using ESP32

Postby duxingymj » Wed Sep 23, 2020 1:52 am

I wanted to implement the BLDC's Simple FOC control using ESP32.I use THE MCPWM module to complete the synthesis of SVPWM.But I was unable to sample the BLDC three-phase current.I need to use the timer in the MCPWM module to trigger the ADC when the down-channel PWM is high.I can't find a way to do that in the official manual.Has anyone ever tried a similar job?

ffrige
Posts: 22
Joined: Thu Oct 15, 2020 3:44 am

Re: About implementing Simple FOC using ESP32

Postby ffrige » Thu Dec 15, 2022 6:53 am

Use in-phase current sensing and you can sample independently from the PWM state.

Who is online

Users browsing this forum: MicroController and 181 guests