Skip to content
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

Perform FOC offsets calibration when running FOC detection #635

Merged
merged 3 commits into from
Sep 26, 2023

Conversation

TechAUmNu
Copy link
Contributor

Undriven offsets are not measured on startup as the motor might be spinning (reboot from crash, etc) So the only time undriven was measured was manually in VESC Tool.
This runs the full offset calibration before detecting the motor to improve detection and make sure the undriven offsets are measured.

Undriven offsets are not measured on startup as the motor might be spinning (reboot from crash, etc) So the only time undriven was measured was manually in VESC Tool.
This runs the full offset calibration before detecting the motor to improve detection and make sure the undriven offsets are measured.
@vedderb
Copy link
Owner

vedderb commented Sep 26, 2023

Sorry for the delay on this one. We can add it, but I think it is best without including the undriven offsets as I have seen them make things worse on some setups.

@TechAUmNu TechAUmNu changed the title Perform full offset calibration when running FOC detection Perform FOC offsets calibration when running FOC detection Sep 26, 2023
@TechAUmNu
Copy link
Contributor Author

Removed the undriven calibration, as it may mask a HW issue if automatically calibrated.

@vedderb vedderb merged commit 40e6f0b into vedderb:master Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants