i understand the sequence but Im not getting your point. lets confirm and simplify so that I can follow you. I havent put it on paper so its possible im missing something in my laziness.
You understand my point about 60 degrees of adjustment right?
Your telling me the sensor sequence is more complicated.true but its more complicated than what you describe. All 3 sensors are providing rotor position data.off is a state just like on. 3 sensors is 3 bits of data. Least to most significant values. 1,2,4. That’s 7 but you never have all 3 on so a max value of 6. Think of it like this. Direction is determined by the order. 2 on and 1 off is a discrete value. The beginning and the end of the phase. The center of the phase is different than the rising or falling edge. 3 phases with 3 different centerpoints is easy to follow. You need to start a timer when you see the rising edge to trigger and a timer to drop the trigger when you see the centerpoint.
lets just say the sequence is just abc and uvw for clockwise. so u=a, v=b, and w=c.
to reverse direction you want uwv but the sequence still needs to come in abc cuz your esc is dumb.
why cant you reorder the sensors to come in abc with uwv? An energized coil doesnt fire the hall sensor the passing rotor does. As long as it comes in ABC the transitions will be right (for the little thought ive given it) and the timers will process and act on the timing. The phase check logic will see a before b and be before c and everything in between. You just have the problem of the manual adjustment that 0 would now be 60.
It feels like im restating myself and im not trying to. I appreciate you thinking about this and potentially providing some clarity. Im just thinking maybe i wasnt communicating well. It is a little complicated.
Last edited by Bry195; 12-09-2019 at 07:49 PM.