I'll explain why I'm studying wheels in my next post. But for now: I studied some wheels.
More precisely, I bought a whole bunch of small rubber-treaded wheels from McMaster so I could measure them (McMaster doesn't have CAD of their wheels, which is annoying). I needed to be able to core out ~73-75mm of the hub.
I bought these: 2337T35 , 2337T42 , 2337T37 , 2829T68, 2829T56 , 2439T42 , 2243T22
All 4in wheels of varying widths and materials. I got them in and measured their hubs and 5 had hubs that were large enough, and only 3 of those were reasonably priced or would work for me (2337T42,2337T35,2829T68). Interestingly, the wider the wheel got, the smaller the diameter of the hub...no idea why. I like the super soft tire (2243T22), but it was really rounded, and I'm planning on putting multiple tires on *ahem* something.
2 of the 3 wheels are mcmaster's "Rubber Wheel" series. They are black phenolic? hubs with black rubber tread. The other one is "Performance Rubber-Tread"...actually Colson Casters! Nylon or polypropylene? hub with grey tread.
The phenolic ones are easy to machine...not nice, but easy. Phenolic is probably the WORST smelling material I've ever tried to cut...mix of shit and rotting vegetation. In fact, I gave up after a few passes. Even though the wheels are a lot cheaper, it isn't worth dieing for...
So I tried the Colson. MUCH nicer. Super easy to cut, and NO smell. Found my wheel!
Search This Blog
Thursday, October 27, 2011
Saturday, October 1, 2011
More EHB stuff
While I really didn't have the time today, I decided to do a little work on EHB.
I finished designing the battery box:
I used SolidWorks' sheet metal tools to design it. It's contoured to fit my deck. I plan on waterjetting it out of 1/16" 6061 aluminum. The battery packs are 4s1p 5000mAh Zippys.
I also did a pretty detailed mass calculation. It comes out to about 35lbs...which is annoying because I was shooting for < 30lbs. The motors are ~13lbs, and the batteries and battery box are ~5lbs. Unfortunately, the four kelly controllers weigh in at ~7lbs. Add in the deck and the trucks, and I get ~32lbs. Grrr...
So at this point, I have 2 options: Keep the current heavy configuration, or give in and make it 2WD (soo not as cool...). 2WD will save me about 9lbs, which brings the total down to ~26lbs.
I guess another option would be to suspend work on EHB and start LiteBoard. Though that would mean my $500+ investment in EHB parts would just be sitting around until LiteBoard is done...
We'll see what happens. Heck knows, at the rate things are going (I'm swamped), neither may get done by the time I graduate.
I finished designing the battery box:
I used SolidWorks' sheet metal tools to design it. It's contoured to fit my deck. I plan on waterjetting it out of 1/16" 6061 aluminum. The battery packs are 4s1p 5000mAh Zippys.
I also did a pretty detailed mass calculation. It comes out to about 35lbs...which is annoying because I was shooting for < 30lbs. The motors are ~13lbs, and the batteries and battery box are ~5lbs. Unfortunately, the four kelly controllers weigh in at ~7lbs. Add in the deck and the trucks, and I get ~32lbs. Grrr...
So at this point, I have 2 options: Keep the current heavy configuration, or give in and make it 2WD (soo not as cool...). 2WD will save me about 9lbs, which brings the total down to ~26lbs.
I guess another option would be to suspend work on EHB and start LiteBoard. Though that would mean my $500+ investment in EHB parts would just be sitting around until LiteBoard is done...
We'll see what happens. Heck knows, at the rate things are going (I'm swamped), neither may get done by the time I graduate.
Saturday, September 24, 2011
Update
Well...not much has happened. I've been swamped (work, classes, DBF, etc...).
I got my hands on a pair of Ground Industries Bionic Spring trucks...arguably the best trucks out there (too bad GI seems to be going out of business).
I also bought a bunch of metal stock (for hub motors and battery box). EHB will happen eventually...just not as fast as I'd originally hoped...so no, you can't ride it yet.
I got my hands on a pair of Ground Industries Bionic Spring trucks...arguably the best trucks out there (too bad GI seems to be going out of business).
I also bought a bunch of metal stock (for hub motors and battery box). EHB will happen eventually...just not as fast as I'd originally hoped...so no, you can't ride it yet.
Tuesday, August 30, 2011
EHB updates
I shrunk the innerside bearing in the CAD. I decided that a 1x2x.5 inch bearing is a little lot ridiculous, so I downsized it to a 25x37x7mm bearing (which happens to have about the same load carrying capacity as the 12x28x8 stock bearings). This shrunk the size of the width of the motor by about 4mm, freed up some space around the coils inside, and shaved a few ounces off the estimated weight of the motors, which is hovering right around 1kg each...less than half the weight of ELB's motors (5lbs each!).
Another advantage of shrinking the motor by this much is that it allows me to use MBS Matrix trucks (in addition to the Bionic trucks I currently plan on using). They have the same size axles, except the 1/2" section on the Matrix trucks is 3mm shorter than on the Bionics. If I end up breaking the Bionics, and Ground Industries really does go out of business, then I'll have an alternative. I could also just buy Matrix Wides, which have an axle even longer than the Bionics, but smaller motors are more covert :) . There's actually another difference between the MBS and GI trucks... the GI axles are held to much tighter tolerances than the MBS ones. In fact, much of GI's machining seems to be of higher quality than MBS's. Too bad they seem to be going out of business.
Unlike ELB, I'm trying very hard with EHB to design for flexibility. ELB's motors were designed only to work with the MBS skate-style trucks, only to have polyurethane strip tires (I got lucky and found an alternative), designed never to be opened once they're closed, etc... I'm addressing all of these and other issues with EHB's motors.
Despite the cost, and previous conclusions, I'm leaning towards having the rotors waterjet cut by Big Blue Saw. It'll be about $260 for twelve 1/4" thick rotors, which seems absolutely insane to me. I re-ran the numbers, though, and if I was getting paid for the time I'd spend cutting (along with material and operating costs), it actually about evens out. In other words, waterjetting is expensive unless you have free access to one.
The other large expense will be the motor controllers. I really wish I had time to learn how to design brushless PM motor controllers, but there's no way in heck it'd be cost efficient for me to do so. I'm thinking 4 Kelly KBS controllers, which is ~ $320 with the water proofing option. OUCH.
As you can probably tell, I did a preliminary cost estimate. The total cost for EHB is looking to be about $1600 (not counting labor of course). That's a shit ton of money. I already have $345 invested in it (stators and board).
I had a realization: 2 motors will be a lot cheaper than 4. Probably not half, because the 2 motors will have to be larger, but at least 30% cheaper...I'll keep that in mind for V3. Of course, with two motors, I lose 4WD, which is necessary for the wintery conditions I hoped to drive ELB in and hope to drive EHB in.
Classes start in a week.
Another advantage of shrinking the motor by this much is that it allows me to use MBS Matrix trucks (in addition to the Bionic trucks I currently plan on using). They have the same size axles, except the 1/2" section on the Matrix trucks is 3mm shorter than on the Bionics. If I end up breaking the Bionics, and Ground Industries really does go out of business, then I'll have an alternative. I could also just buy Matrix Wides, which have an axle even longer than the Bionics, but smaller motors are more covert :) . There's actually another difference between the MBS and GI trucks... the GI axles are held to much tighter tolerances than the MBS ones. In fact, much of GI's machining seems to be of higher quality than MBS's. Too bad they seem to be going out of business.
Unlike ELB, I'm trying very hard with EHB to design for flexibility. ELB's motors were designed only to work with the MBS skate-style trucks, only to have polyurethane strip tires (I got lucky and found an alternative), designed never to be opened once they're closed, etc... I'm addressing all of these and other issues with EHB's motors.
Despite the cost, and previous conclusions, I'm leaning towards having the rotors waterjet cut by Big Blue Saw. It'll be about $260 for twelve 1/4" thick rotors, which seems absolutely insane to me. I re-ran the numbers, though, and if I was getting paid for the time I'd spend cutting (along with material and operating costs), it actually about evens out. In other words, waterjetting is expensive unless you have free access to one.
The other large expense will be the motor controllers. I really wish I had time to learn how to design brushless PM motor controllers, but there's no way in heck it'd be cost efficient for me to do so. I'm thinking 4 Kelly KBS controllers, which is ~ $320 with the water proofing option. OUCH.
As you can probably tell, I did a preliminary cost estimate. The total cost for EHB is looking to be about $1600 (not counting labor of course). That's a shit ton of money. I already have $345 invested in it (stators and board).
I had a realization: 2 motors will be a lot cheaper than 4. Probably not half, because the 2 motors will have to be larger, but at least 30% cheaper...I'll keep that in mind for V3. Of course, with two motors, I lose 4WD, which is necessary for the wintery conditions I hoped to drive ELB in and hope to drive EHB in.
Classes start in a week.
Saturday, August 20, 2011
Moving forward
Moving forward with EHB (as I've now decided to call HeavyBoard) will be a much delayed process. While much of the design is done, fabrication can't start until I have some time...ha...ha...hahhaa...hahahahahaha...time... that's a good one. I'm right on the edge of work week, orientation, rush, the start of classes, the start of clubs, and the restart of work (working at the same place I did this summer). So time will be VERY hard to come by...expect delays.
As for ELB, I've decided to fix the 2 major mechanical issues: axle-hub slippage and the risers. This should make it useable as a demonstrator. I might throw a fan or two and some heat-sinks inside the battery box, which might actually make it street ride-able if the steering problem is fixed by new risers. There's another issue though...one that I can't fix: weight. ELB weighs 40 pounds...ugh...lugging it around is a huge pain, so riding it to class is a non-starter. I'll probably just ride my current mountainboard around for now. At this point I should note that the new "HeavyBoard" will actually be lighter than ELB (The "heavy" stands for "heavy duty").
I determined for sure that the risers are the reason the turning sucks. I set the board upside down on a bench and torqued the trucks by hand and could see the rubber risers deflecting by 1/2" + . I bought some stiff plastic ones to replace them...I'll lose all of what vibration damping I had left, but at least I'll be able to steer.
2 more lessons learned:
As for ELB, I've decided to fix the 2 major mechanical issues: axle-hub slippage and the risers. This should make it useable as a demonstrator. I might throw a fan or two and some heat-sinks inside the battery box, which might actually make it street ride-able if the steering problem is fixed by new risers. There's another issue though...one that I can't fix: weight. ELB weighs 40 pounds...ugh...lugging it around is a huge pain, so riding it to class is a non-starter. I'll probably just ride my current mountainboard around for now. At this point I should note that the new "HeavyBoard" will actually be lighter than ELB (The "heavy" stands for "heavy duty").
I determined for sure that the risers are the reason the turning sucks. I set the board upside down on a bench and torqued the trucks by hand and could see the rubber risers deflecting by 1/2" + . I bought some stiff plastic ones to replace them...I'll lose all of what vibration damping I had left, but at least I'll be able to steer.
2 more lessons learned:
- Wire stretch: make sure that there's enough slack in the motor wires for the trucks to turn for V2. I got lucky this time and there is just barely enough slack for the trucks to turn all the way.
- Buy set screws that are harder than my axles. The axles are harder than the set screws...so big surprise they weren't working well. I'm going to flatten some spots on the shaft and get harder steel knurled cone set screws.
![]() |
| Sorry it's fuzzy. You can sorta see the flattened cup. |
![]() |
| Even flatter cups. |
![]() |
| Random picture of super sketchy charging. |
Hall Effect Sensor Placement for Permanent Magnet Brushless DC Motors
This is a very confusing topic.
I spent a few hours today re-teaching myself the theory for hall effect sensor locations, then even longer trying to come up with a clear way to present it. It was a combination of gathering information from forums and looking back at my old notes (which were derived from Shane's expertise). The goal of this post is to gather all of that information on one webpage and relay it in as clear a format as I can.
Disclaimer: I am not an electrical engineer, so some of this may not be accurate. That being said, I'm 90% confident that it is.
Legend:
We need to figure out where to place the 3 hall effect sensors. Let's start with some math:
The first thing you want to find is the number of mdeg per erot . In other words, the number of mechanical degrees the rotor spins to make one complete electrical rotation.
Now, let's say you want to use a motor controller that requires 120 edeg hall effect sensor placement. You need to find the number of mdeg per 120 edeg. So you just divide the above equation by 3.
This value, m, gives the minimum number of mdeg that you can space each of the hall effect sensors apart and still achieve 120 edeg spacing.
At this point, you need to choose whether you want to go with mounting the hall effect sensors on an internal board 1 2, outside of the motor (usually on some sort of jig / board (scroll down 2/3 page) positioned so that it can pick up the magnetic flux leaking out of the motor), or inside the stator slots 1 2 3 (note: if you mount them on the side of the coils like I did, make sure you make them as close to the magnets as possible) on the coils. The advantage of the former two options is that the board can be rotated to retard or advance the timing of the motor (adjustable timing). The only way to adjust the timing of the third option is in software.
NOTE: It is VERY important to place the hall effect sensors as precisely as possible. Being off by a few mechanical degrees can put you off by many tens of electrical degrees.
If you want to mount the hall sensors on some sort of jig/board (internal or external), then you're done with the math! The above value, m, gives you the number of mechanical degrees that you should space each hall effect sensors apart (for 3 hall effect sensors, that's a total arc of 2*m mdeg). If m is too small for your liking, you can multiply it by any integer value, e.g. 2, 3, 4 etc..., to get other spacings that will work with 120 edeg motor controllers. (While the hall effect sensors will no longer be exactly 120edeg apart, they will be a multiple of 120 edeg apart, which will work, too).
If you want to mount the hall sensors in the stator slots, then you need to find the number of mdeg per slot:
Notes on hooking up the controller to your motor. You will have spend some time testing to see which hall effect sensor corresponds to which phase. And unless you have the ability to modify the code in the motor controller, you will have to play with wire combinations in order to get the correct one. Having a 2 channel scope helps a lot. Since there are many topics on endless-spheres about doing this, and it's dependent on the type of motor you have, I will not go into detail.
I spent a few hours today re-teaching myself the theory for hall effect sensor locations, then even longer trying to come up with a clear way to present it. It was a combination of gathering information from forums and looking back at my old notes (which were derived from Shane's expertise). The goal of this post is to gather all of that information on one webpage and relay it in as clear a format as I can.
Disclaimer: I am not an electrical engineer, so some of this may not be accurate. That being said, I'm 90% confident that it is.
Legend:
- edeg : electrical degrees
- erot: electrical rotation. 1 erot = 360 edeg
- mdeg : mechanical degrees
- mrot: mechanical rotation. 1 mrot = 360 mdeg
- pp : number of magnet pole pairs . 1 pp = 2 magnets (1 north, 1 south)
- s : number of slots (in the stator)
We need to figure out where to place the 3 hall effect sensors. Let's start with some math:
The first thing you want to find is the number of mdeg per erot . In other words, the number of mechanical degrees the rotor spins to make one complete electrical rotation.
Equation 1: (360 mdeg / pp) = n mdeg per erot =n mdeg per 360 edeg
Note: don't confuse this with the equation mrpm * pp = erpm, which is useful for finding electrical rpm given the mechanical rpm of your motor.
Now, let's say you want to use a motor controller that requires 120 edeg hall effect sensor placement. You need to find the number of mdeg per 120 edeg. So you just divide the above equation by 3.
Equation 2: (360 mdeg / (3*pp)) = m mdeg per 120 edeg.
This value, m, gives the minimum number of mdeg that you can space each of the hall effect sensors apart and still achieve 120 edeg spacing.
At this point, you need to choose whether you want to go with mounting the hall effect sensors on an internal board 1 2, outside of the motor (usually on some sort of jig / board (scroll down 2/3 page) positioned so that it can pick up the magnetic flux leaking out of the motor), or inside the stator slots 1 2 3 (note: if you mount them on the side of the coils like I did, make sure you make them as close to the magnets as possible) on the coils. The advantage of the former two options is that the board can be rotated to retard or advance the timing of the motor (adjustable timing). The only way to adjust the timing of the third option is in software.
NOTE: It is VERY important to place the hall effect sensors as precisely as possible. Being off by a few mechanical degrees can put you off by many tens of electrical degrees.
If you want to mount the hall sensors on some sort of jig/board (internal or external), then you're done with the math! The above value, m, gives you the number of mechanical degrees that you should space each hall effect sensors apart (for 3 hall effect sensors, that's a total arc of 2*m mdeg). If m is too small for your liking, you can multiply it by any integer value, e.g. 2, 3, 4 etc..., to get other spacings that will work with 120 edeg motor controllers. (While the hall effect sensors will no longer be exactly 120edeg apart, they will be a multiple of 120 edeg apart, which will work, too).
If you want to mount the hall sensors in the stator slots, then you need to find the number of mdeg per slot:
Equation 3: (360 mdeg / s) = x mdeg per slot
Now you need to multiply m from Eq. 2 by integers until you find an integer, i , that gives you a number divisible by x . m*i gives you the number of mdeg you should space the hall effect sensors apart, and:
Equation 4: ((m*i) / x) = # of slots between hall effect sensors.
There are likely multiple choices for i , especially as the number of slots and poles in a motor increases. As long as the above equations are satisfied, then a motor controller that wants the hall effect sensors 120 edeg apart will work.
_______________________________________________
Now for motor controllers that requires 60 edeg hall effect sensor placement. Equation 1 still applies, but Equation 2 now becomes:
Equation 2': (360 mdeg / (6*pp)) = m mdeg per 60 edeg.
This value, m, gives the minimum number of mdeg that you can space each of the hall effect sensors apart and still achieve 60 edeg spacing. Following the logic from the 120 edeg spacing case above, you can multiply m by any integer and still maintain 60 edeg spacing. You can then directly transfer this number of mdeg to a board/jig for mounting the hall sensors to.
Or you can mount the hall sensors in the stator slots. Doing this is identical to the 120 edeg spacing case; Equations 3 and 4 stay the same for this case.
Note: It is interesting, and logical, that you will obtain all of the 120 edeg spacing multiples in the 60 edeg spacing case (120 is a multiple of 60).
***Note2: You have to be careful with your winding scheme. Winding schemes can affect which mdeg spacings work and which don't. Sometimes you'll have to flip a hall sensor over (see Ex 4 below). For simplicity, you should place the hall effect sensors in sensible locations (first one on or between teeth), despite the fact that it often doesn't matter as long as they're spaced correctly (I say "often" because if the sensors are rotated together, you can adjust the timing of the motor, and thus it's performance and characteristics). ***
__________________________________________________
Time for some EXAMPLES!
Ex 1: ELB's motors with internal hall effect sensors mounted on a rotatable "hall board" for 120 edeg controllers.
ELB's motor is a 18 slot, 20 pole brushless outrunner with winding scheme AaABbBCcCAaABbBCcC. At first, I wanted to have the sensors on a hall board that I could rotate about the axle in order to easily adjust the timing. So I did the math:
Equation 1: (360 mdeg / 10 pp) = 36 mdeg per erot =n mdeg per 360 edeg
Equation 2: (360 mdeg / 30) = 12 mdeg per 120 edeg.
So I spaced the hall effect sensors 12 degrees apart, for a total arc of 24 degrees, which made for a nice, small hall board. (I laser etched the degree lines on the hall boards I cut out, which proved to be super nice for aligning the sensors). This worked. Unfortunately, the little hall boards were very flimsy, and I really didn't have enough room for a hall board inside the motor (or outside), so I went to gluing the sensors into the stator slots...see next example.
Ex 2: ELB's motors with internal hall effect sensors glued into the stator slots for 120 edeg controllers.
Time for more math:
Equation 3: (360 mdeg / 18) = 20 mdeg per slot
Equation 4: ((m*i) / x) = ((12* 5 ) / 20) = 3 slots between hall effect sensors.
So the hall effect sensors needed to be spaced 60 mdeg apart (600 edeg), or one every 3 slots. Which is exactly what I did, and it works great. i = 10 also works, and places the hall sensors 120 mdeg apart, or evenly around the stator. In fact, 120 mdeg works for many common slot/pole combinations...so you could just skip all of this math and do it that way.
I will not be doing a 60 edeg spacing controller in-slot sensors example for the ELB. It turns out that the only mdeg hall spacings that work for 60 edeg controllers with a 18s, 20 pole motor are the same as the 120 edeg spacing mdeg multiples. In other words, the hall sensors end up in the same place as with the 120 edeg spacing case. But don't take my word for it, try the math!
Ex 3: EHB's motors with internal hall effect sensors glued into the stator slots for 120 edeg controllers.
EHB's motors will be 12 slot, 14 pole brushless outrunners with winding scheme AacCBbaACcbB.
Equation 1: (360 mdeg / 7 pp) = 51.4 mdeg per 360 edeg
Equation 2: (360 mdeg / 7*3) = 17.14 mdeg per 120 edeg.
Equation 3: (360 mdeg / 12) = 30 mdeg per slot
Equation 4: ((m*i) / x) = ((17.14* 7 ) / 30) = 4 slots between hall effect sensors.
The first multiple i that works is 7. It turns out that the only way to place the sensors in the stator slots when using a motor controller that expects 120 edeg spacing of the sensors, is to place the sensors 120 mdeg apart (spaced equally around the motor).
This is not to say that you couldn't mount the sensors on some sort of jig 17.14 mdeg apart...you can. But if you want the stators in the slots on this type of motor, you have to space them 120 mdeg apart.
![]() |
| Red dots indicate slots that the sensors should be placed in. |
Ex 4: EHB's motors with internal hall effect sensors glued into the stator slots for 60 edeg controllers.
Let's take the same motor as in Ex 3, but now the motor controller is expecting 60 edeg hall effect sensor spacing.
Equation 1: (360 mdeg / 7 pp) = 51.4 mdeg per 360 edeg
Equation 2: (360 mdeg / 6*7) = 8.57 mdeg per 60 edeg.
Equation 3: (360 mdeg / 12) = 30 mdeg per slot
Equation 4: ((m*i) / x) = ((8.57* 7 ) / 30) = 2 slots between hall effect sensors.
Now the hall effect sensors can be placed closer together. However, there is a catch. Since the hall sensors are placed like this: A(sensor)ac(sensor)CB(sensor)baACcbB , the second (C-phase) sensor needs to be flipped over because the magnetic field is reversed in that slot because that slot is wound the other direction compared to the first and third sensors' slots. This is why you have to be careful with winding schemes.
![]() |
| Blue dot indicates slot where hall sensor should be flipped over. |
________________________________________________
Notes on hooking up the controller to your motor. You will have spend some time testing to see which hall effect sensor corresponds to which phase. And unless you have the ability to modify the code in the motor controller, you will have to play with wire combinations in order to get the correct one. Having a 2 channel scope helps a lot. Since there are many topics on endless-spheres about doing this, and it's dependent on the type of motor you have, I will not go into detail.
Wednesday, August 17, 2011
Subscribe to:
Posts (Atom)





