-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
current sensing and measurement #118
Comments
Why do you assume this repo does FOC control? |
when referring to function blockPWM and blockPhaseCurrent in bldc.c, it isn't talking about FOC control of Hexagon of SVPWM? the block commutation control does not need these at all. is it a simplified FOC control without current loop? |
I am not familiar with this repo but I believe this one is the only one with foc control |
thanks Candas1, the repo you mentioned is referring to Original firmware: https://github.com/NiklasFauth/hoverboard-firmware-hack, there is a video of original repo talking about FOC control. so the original repo does a simple FOC control considering only 6 rotation position, and without current loop - means the author treat DQ voltage as control target instead of current. by this way I assume there will be unavoidable torque ripple and less efficiency. a true FOC as the repo you mentioned is claimed to "reduced noise and vibrations smooth torque output and improved motor efficiency. Thus, lower energy consumption". |
I go through the codes but seems there is no phase current measurement codes implemented. the hoverboard applies mosfet on resistance current sensing, the algorithm is kind of complicated to separate the phase current from bus current. without phase current sensing, how to ensure the typical foc control?
The text was updated successfully, but these errors were encountered: