How to model hall sensor output into 180 degree commutation for BLDC motor control.

4 views (last 30 days)
Hi, I am doing simulation for Sensored BLDC motor control based on 180 commutation. Could you please let me know how to convert Hall sensor output (110, 010. 011.001,101,100) into 180 degree commutation logic (1 -1 -1,1 1 -1, -1 1 -1, -1 1 1,-1 -1 1,1 -1 1).
Thank you

Answers (1)

Joel Van Sickel
Joel Van Sickel on 1 Nov 2022
You can interpret the binary commands as integers, and use that for a case statement to select the appropriate vector.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!