|Sexy red heat shrink|
Generally in a 3 phase sensored motor you'll have 3 sensors. Each hall effect sensors i will work with (ATS177) are effectively flip-flops with some hysteresis and can tell the direction of the magnetic flux through the sensor. Because there are 3 phases and 3 sensors we want each hall effect sensor to be 120 electrical degrees apart (not necessarily physical degrees). The difference between electrical and physical degrees for the magnets is Eelectrical.deg=Physical.deg*polepairs (start at 0 after each 360) note: there are 20 pole pairs in my small motor, because of this there are several theoretical positions to place the hall effect sensors; really though there aren't many practical places you'd want to put them. Below my crappy illustration attempts to show this (for a prettier illustration of almost exactly the same thing see Amy's blog where she pretty much did exactly what I'm about to do), Tm represents 1 magnetic period/pole pair/360 electrical degrees/ the smallest repeatable section to get the proper magnetic pattern. Each colored dot represents a theoretical place where a hall effect sensor could reside. The purple dots represent the closest theoretical placement of the sensors at 120 electrical degrees apart...give or take a bit in the picture.
|Motor diagram w/ magnets and hall effect placement|