Skip to content

Conversation

@runger1101001
Copy link
Member

In some cases, when PWM frequency is low and dead_zone is set to a high value the max dead-time is exceeded and the calculations result in a dead_time of 0.
This adds a check and sets the dead_time to max value (255) if it gets calculated as 0 but dead_zone is non-zero.

@runger1101001 runger1101001 merged commit 4c8ea20 into simplefoc:dev Mar 30, 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.

1 participant