raiden00pl commented on issue #8098: URL: https://github.com/apache/nuttx/issues/8098#issuecomment-1383151205
> raiden00pl ... FOC driver pick up physical state of motor as current or else, and BEMF not very strong different the current. I think, it right place to take the current and BEMF in one place. That's not entirely true. In fact, the FOC driver knows nothing about the powered motor. What the driver know is the state of 3-phase bridge that powers the motor (which is PWM duty and current on shunts). That's why the driver is completely separated from parameters like the motor phase angle, motor temperature or VBUS. This separation is very important for modular architecture, that is why I was slightly skeptical about measuring BEMF in the FOC driver. But after some thinking, I'm OK with this as long as everything will be hidden behind the Kconfig option. I'll look at this topic more in the week, especially how to implement BEMF sensing for STM32. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org