illegalbike said:Disassembly of the QS165 motor, see what's inside
c.wagner said:Hey, very nice!
Iam currently trying to understand your calculation on hall sensor angle. Why did you choose 120° in the first place?
And why add exactly 360°?
Maybe you can point me in the right direction so I can look it up
illegalbike said:But if, for example, the rotor has 6 magnets, then it will be three pairs of poles and at the same time each sensor will see a pole. So we will not understand the position of the rotor.
larsb said:I’ve seen some calculations of the hall sensor angles before, from my mind the 120 deg position of the halls works for all the magnet counts except the variations of 6 magnets you show here.
larsb said:I think it’s easier for most people to just use this instead of a split angle like 17.14
illegalbike said:c.wagner said:Hey, very nice!
Iam currently trying to understand your calculation on hall sensor angle. Why did you choose 120° in the first place?
And why add exactly 360°?
Maybe you can point me in the right direction so I can look it up
The circle is 360° and I want to place 3 sensors evenly on it. So there will be 120° between the sensors
We need the sensors to see all the poles at the rotor. If the rotor has only two magnets (one pair of poles), it is enough to fix the sensors through 120 ° and at every moment at least one sensor will clearly see the pole.
[img=https://illegalbike.ru/uploads/for_web/1p120g.gif][/img]
But if, for example, the rotor has 6 magnets, then it will be three pairs of poles and at the same time each sensor will see a pole. So we will not understand the position of the rotor.
[img=https://illegalbike.ru/uploads/for_web/3p120g.gif][/img]
Need to move the sensor in multiples of the number of pairs of poles, for example 120° / 3 pairs of poles, we get 40° for a rotor with 6 magnets.
[img=https://illegalbike.ru/uploads/for_web/3p40g.gif][/img]
In my case, the rotor has 14 magnets, which means there are 7 pairs of poles in it. I just divide 120° by 7 pairs of poles and get an angle of about 17.14° between the sensors
But it's too close for a small rotor and the sensors won't fit
[img=https://illegalbike.ru/uploads/for_web/falsrotornogood.png ][/img]
Since physical phenomena are repeated on the entire circle, we can add a step of 360° / 7 pairs of poles to this angle. That is, every 51.43° everything repeats, just add it to our angle of 17.14° and get 68.57°
It's convenient for me
[img=https://illegalbike.ru/uploads/for_web/falsrotorgood.png ][/img]
PS: if desired, you can add a step of 51.43° again and get 120°. For 7 pairs of poles, the physical 120° can be used if it is convenient
illegalbike said:larsb said:I’ve seen some calculations of the hall sensor angles before, from my mind the 120 deg position of the halls works for all the magnet counts except the variations of 6 magnets you show here.
the same problem if the number of poles is a multiple of three
3, 6, 9, 12...
larsb said:I think it’s easier for most people to just use this instead of a split angle like 17.14
I think that knowledge of physics gives an advantage.
rarely will it be convenient to place sensors from different sides of the motor at 120°, a compact solution looks better, right?
bymannan said:What adventure does the encoder has over hall sensor?
larsb said:Poles will always be pairs so there’s never a 3 or a 9,
12 can be divided by 6, no 15, 18 divides by 6 etc. I agree that 120deg takes more space but it has the advantage of being (almost) foolproof.
larsb said:Encoders are far more accurate than hall sensors
owhite said:This is probably known by all concerned but I believe illegalbike's interest in going with halls is that they are compatible with his controller.
owhite said:I still wonder if there might be a "simple" solution to translating the output of the encoder to a signal that would be compatible with a controller that uses hall signals with a microcontroller.
rider119 said:Does anyone have a CAD model of this motor?
owhite said:rider119 said:Does anyone have a CAD model of this motor?
I have one that I created from the drawings -- and mine has arrived so I can confirm if it is accurate. What file format would you like?
rider119 said:sldprt or step would be great! Thanks
owhite said:It would be helpful if someone can confirm they can download and view in their CAD.