News for hackers. Stuff that matters.
Re:ESP32-S31 by topspin on Wednesday June 03, 2026 @02:06PM (#48387507)
Field-oriented Control schemes modulate phase currents at high frequency; the feedback loop must be much faster than the motor phases. Until fairly recently, this stuff was the exclusive province of dedicated ICs (Trinamic et al.) and FPGA. Today, FoC can be done in (mostly) software with MCUs.

Fast feedback loops are also necessary in SMPS, another area where precision, low latency MCU peripherals and software are actively displacing traditional approaches.

Re:ESP32-S31 by tomcam on Wednesday June 03, 2026 @05:26PM (#48390330)
I didn’t know that. Thanks for letting me… meet the FOCers

I’ll see myself out of the Internet now.

Re:ESP32-S31 by imtringued on Thursday June 04, 2026 @06:28AM (#48396608)
But even if you update your PWM signal on every PWM cycle, you won't go much beyond 30kHz. At some point you're running into high switching losses on your MOSFETs.
Re:ESP32-S31 by namibj on Thursday June 04, 2026 @06:15PM (#48405369)
There are solutions to those worries.... https://epc-co.com/epc/products/gan-fets-and-ics/epc23102