This topic contains 3 replies, has 0 voices, and was last updated by seethu.christopher 3 years, 3 months ago.
Does somebody have figured out the commutation table used in the software? I can print the hall pin states when I am rotating the motor but how do I know the values of each sensors?
you can find the implementation of the sinusoidal commutation here. The electrical angle from any feedback sensor takes values from 0 to 4095, including HALL. Which are the values you are searching for?
I am trying to find the correct way to connect my motor to the DC300 board. I can find the commutation table for the motor from their website.
[caption id="" align="alignnone" width="223"] Commutation[/caption]
From this I can get the phase values to be provided to the motor for CW and CCW rotation.
|Hall Sensor 1||Hall Sensor 2||Hall Sensor 3||Winding V1-2||Winding V2-3||Winding V3-1||Phase 1||Phase 2||Phase 3|
But when I print the pin state for hall sensors (app_test_hall ) I get the order 3-2-6-4-5-1. So I was wondering whether its possible to find the values of Hall sensors each of these states correspond to so I connect the motor right way to DC300 board.
On DC300 board the three hall sensors are connected to a 4-bit port (P4E) in the following order:
P4E0 -> Hall3
P4E1 -> Hall2
P4E2 -> Hall1
P4E3 -> GND
So, when you read the pin state, you read the four bits simultaneously and print them as a decimal value.
3 = 0011 (Hall1 = 0, Hall2 = 1, Hall3 = 1)
2 = 0010 (Hall1 = 0, Hall2 = 1, Hall3 = 0)
6 = 0110 (Hall1 = 1, Hall2 = 1, Hall3 = 0)
4 = 0100 (Hall1 = 1, Hall2 = 0, Hall3 = 0)
5 = 0101 (Hall1 = 1, Hall2 = 0, Hall3 = 1)
1 = 0001 (Hall1 = 0, Hall2 = 0, Hall3 = 1)
Is that what you’ve been searching for?
You must be logged in to reply to this topic.