RazEr rEVolution: End Menial Labor

When we last left rEVolution, I was halfway through the process of turning my hands into bloody, tattered stumps. It’s a ritual that occurs with the construction of every hub motor (which means I went through it four times to make the RazErBlades).

And by all that I mean winding the motor. Here’s the end result, terminated for presentation.

I ended up keeping the “split dLRK” winding style – making 6 teeth wound AabBCc and the other 6 aABbcC.  They’re terminated in separate non-connected star points on the underside. The leads are grouped by their respective phases – motor 1 is the classic white-red-black, and motor 2 gets yellow-green-brown.

My patience deterioration is very clearly shown in the picture. I wound this motor starting from the Aa side and proceeded counterclockwise. You can see a decay in the quality of windings and the neatness of layers right after the aA phase on the left. Then by the last one, it’s all gone to hell.

To maintain engineering rigor, I took measurements of the DC resistance of each phase. This will pretty much determine how much current the motor can ever pull.

I proceeded to defenestrate engineering rigor (MITERS has very large ceiling-height windows, so this was easy) by scribbling the resistances hastily on the workbench. In dry-erase.

From the picture, you can deduce that the C phase of motor #2 is about 10% short of turns. Yeah, I think I pretty much stopped caring by that point. The other phases should have 39 to 42 TPT, but I’m guessing 35 or less made it onto the last C phase if I’m lucky.

Fit test!

I tried giving the motor a test spin using a sensorless controller (essentially by bootstrapping off Melon-scooter), but neither half-motor exited the “starting” regime. This was concerning. Did I terminate them wrong? Wind something backwards just a little bit?

A few minutes of diagnosis revealed that the motor was technically running smoothly, but the controller just didn’t increase throttle. Applying voltage to each half-motor in each combination of the 3 leads (i.e. A to B, A to C, B to C…) produced 6 identically spaced angular positions each time – which is indicative of correct winding, since that’s pretty much what your controller does anyway, just alot faster and without colliding alligator clips.

I pretty much just declared it to be a fault of shitty sensorless aircraft controllers being unable to deal with inertial loads or high friction systems.

Without a supply of hall sensors, I put the frame and motor away and started thinking about the other parts of the electrical system.

EVs generally have 3 big components – motor, controller, and battery. With the latter two, you can shoehorn anything in as a motor. With motor and battery, you can be a dumbass like me and control the vehicle with a mildly more civilized form of touching 2 wires together. But without a battery, what am I to do – run the whole thing from a bag of lemons?

Luckily for me, people have figured out how to stuff the equivalent of tanker-loads of lemons into lithium nanophosphate cells. Above is the 12S2P A123 DeWalt 36v Lithium pack during mid-assembly.

I managed to find some terrifyingly wide copper braid this time, and I think the cells just look so much better with them instead of the \m/etalpaxxx‘ quadruple braid. The massive interconnects just scream this pack will dump enough amps to destroy you and everything you ever loved.

Another serving of giga-braid later and the pack structure is complete. I decided to split the pack into 2 6S packs again for balancing purposes, but this time the pack isn’t two separate entities. Shane supplied me with Real Legit JST-XH Connectors of Battery Balancing (+14, for pin count), or otherwise I would have probably resorted to 7 pin-header again.

Bottleshrink returns once again, but this pack is so long that I needed the midsections of 3 bottles to completely enclose it. Luckily, it fit 2 liter bottles fine, and I just pulled a few out of the recycling bin.

A quick check of the cell levels revealed that these cells are in fact still quite healthy despite sitting for an unknown period of time.

Of course, that all went to hell on the first charge, and I had to spend an hour manually bringing each cell group up to full.

back to motters

Given that the motor itself seems to be correctly wound, I surmised that all my problems would go away as soon as I added the requisite hall sensors to the slots.

And here they are, temporarily CA’d in place as a soldering fixture. LRK-style motors need a physical 120 degree sensor arrangement, but I’ve always found cross-stator wiring work to be awkward. Therefore, like on the skatemotors, I take the B sensor and flip it around for a 60 degree, every-two-slots layout.

I secured a chunk of 6 pin cable to the access slot in the shaft using epoxy. At the same time, I elected to secure the phase leads to the other side of the motor. The whole epoxy-globbed mess was then introduced to my epoxy curing oven fixture implement hair dryer hanging by its power cord from the ceiling.

After the first round of epoxy set, I finished connecting the sensor wires. Unfortunately, I managed to break off the output pin of the B sensor… and so ended up having to install the opposite one anyway.

Luckily, this design left plenty of space near the edge of the stator, so running the wiring all the way around the motor wasn’t as difficult.

The sensors got their own layer of goop. I kept finding buckets of different epoxy fillers around MITERS – this is “cellulose” filler, which probably just means paper dust.

It claimed to be less cancer-inducing than either the silica or phenolic microspheres, so I gave it a shot.

After another hour or two of watching glue dry, I put the motor together. Here it is – Dual (Non-)Interleaved RazErMotor!

But does it work?

That’s a gooooooooood question.

Using the Kelly KBS which sort of miserably failed at running Melon-scooter, I was able to briefly power up and spin the DNIR to full speed. Qualitative observation tells me that at least I didn’t get it that wrong. The fact that it moved at all meant that I got the sensor arrangement correct for the “split dLRK”. Now, for this test, I just paralleled the equivalent phases of each half-motor. Once I put together the RazerDEC board, each motor will be powered by its own controller, but triggered from the same sensors.

The speed was visually in the “correct” range and it started and ran smoothly with no signs of improper winding or termination.

that is, until it started sounding like a moped.

Oscilloscope diagnosis of the sensor outputs showed that every mechanical revolution, all 3 sensors were blanking. This caused confusion for the controller for a split second until the sensors outputted a valid signal again.

Well, this is disappointing. The sensors – which, mind you, I had JUST encased permanently in a cellulose-epoxy matrix – seem to be having power issues once per mechanical revolution. I’m fairly certain it’s power, anyway, because there is no physical way for all 3 sensors to read the same field orientation the way they are set up.

This actually means it shouldn’t be hard to fix – my guess is that somewhere, a bare solder joint is nicking the metal can once per revolution and causing a short between sensor 5 volts and ground. A further test to confirm (or dispel) this would be to look for dips in the 5 volt line during each revolution.

In the mean time, there’s no pics of it running, therefore it didn’t happen.

RazEr rEVolution: Dual Non-Interleaved RazErMotor

Spoiler time!

No, you can’t ride it yet. Yes, I know it has ground clearance issues. Those will be resolved.

And yes, I know my laptop screen is cracked. That’s like a whole new set of motor controllers for Clocker right there.

After finishing most of the framework, I turned my attention back to the motor. I finished the can and magnet ring before forgetting about the project’s existence for a while. Left to do at the time were both endcaps and the centerpiece of the whole assembly (literally), the stator mount & shaft.

Oh, and the random auxiliary features on the can.

I’m going to hand-wave the endcap construction a bit, since I just randomly came into MITERS one day and did it. Its construction is identical, dimensions notwithstanding, to the RazErBlades motors.

The cross holes for both piece were made on my haute usinage indexing fixture. It turns out that all my designs which use features in multiples of 3 are actually less time-efficient to make since I can’t use integer turns of the handle. But if it divides evenly into 40, then I just have to count full revolutions. Yet another serendipitous laziness-increasing discovery!

After finishing the last machined features, I shoved the magnet ring into the can and pressed in the other endcap (not visible above)

I normally don’t do this much hand-waving, but again, this center shaft was done while I randomly showed up to MITERS on a whim without my camera. The stock material is 1.25″ aluminum turned down to 28mm to press in the stator, 25mm to seat the bearings, and 0.75″ for the spacer nub. The center is tapped 5/16″-18.

Right now, those 3 stators are just lined up on the shaft. For space efficiency, I need to remove the epoxy insulation coating from one side of the outside stators and both sides of the center one.

Fortunately, that’s why these things are laminated. A flick with a knife (and some plier work) later, the stators are ready for installation.

(Okay, so the real reason they’re laminated is for reduction of eddy currents, but I like to think they work like Pringles potato chips or those funky layered biscuit things!)

As usual, these stators were yanked from copier motors. Specifically, the Xerox Phaser 4400, with Xerox P/N 127K35701.

This isn’t a picture of the shaft being pressed through the stators. Nope – I’m actually just gluing them together at the moment. I spread a layer of thin CA glue between each, then threw the whole thing under a 20 ton hydraulic press (not using the whole 20 tons, I mean) and let it sit for a few minutes to cure.

For your lack of viewing pleasure, here’s a few layers of the skin on my thumb. It turns out that spamming something with CA means the excess CA will just sit, uncured, waiting for something to come in contact with it.

Now that the stator is ready, I put the wire access features into the shaft with the indexer.

I’m trying something a bit different on this design. Normally, I just shove the stator onto the shaft with Loctite and call it good. This time, I actually machined a 1/8″ round groove into the aluminum shaft. A 1/8″ roll pin locks the stator (using its own round half groove) with the shaft. This retainment method has the benefit of being reversible. If I ever wanted to take the motor fully apart, change out stators, or something else, I can actually do it without destroying everything!

The fully assembled core.

This thing is a 48mm long and 68mm in diameter. For reference, that’s a whole Turnigy Short Melon. I might as well have just yanked the stator from that thing.

Hey, if you want to build your own DIR, that’s a good place to start.

A test fit confirms that no, I didn’t machine everything wrong. This thing cogs like a beast, even with the 12/14 magnet layout.

Like on the skates, the wheel is retained using a little locking ring. So I had to make another one for this motor.

Problem: My right-hand internal threading tool was lost in a terrific tip crash a few weeks ago.

Solution: Use the left hand tool while the machine is running backwards and feed from the inside out.

It took a few tries for me to get the multiple chirality changes right, but…

One 3.5″-24 threaded wheel locking ring!

Now that’s a nonstandard thread if I ever saw one…

Test fitting the wheel. Did I ever mention how ridiculously wide this thing is?

On a whim, I tossed the ring back on the mill and machined in these two little spanner wrench grooves. One of the things which I had neglected to do (out of ambivalence and laziness, probably) for both RazErMotor V3 and all the skate motors was actually make tightening tools (or fixtures) for the wheels.

One day, I’ll actually make a little spanner wrench or something so I can actually use these grooves.

Now doesn’t that look epic?

The eventual wires will exit the motor and lie within the little indentation under the (temporary) shaft bolt.

structural editing

I went back and countersunk the structural top plate’s holes so I could use my flathead 4-40 screws.

But much more importantly, I added these additional 1″ long 10-24 screws to the folding joint attachment area. They are actually legitimately threaded into the aluminum below. Imagine that – me, legitimately drilling and tapping a hole.

After reviewing the results of my 5AM engineering on the frame, I realized that while the M6 x 1 machine screws will definitely support my weight and survive the impulses of things such as, say, landing a curbhop, the tiny 4-40 T-nut slots will not. Not even come close. It amounts to trying to jump start cars with 22 gauge breadboarding wire.

Just to check if I had any manual fab skills left at all, I freehanded the hole on the drill press like I used to. I’m proud to say that I can still use a drill press.

begin menial labor

I began winding the motor Friday evening (before leaving for Maker Faire early Saturday).  Now, I had said before that I would be winding the motor fully interleaved, that is:

  • A-b-C-a-B-c
  • -a-B-c-A-b-C

But that causes a mess of wire terminations interleaved with each other too. I’m electing to do it instead as

  • AabBCc——
  • ——aABbcC

That’s right – just splitting the dLRK down the middle. So really what this is is the Dual Non-Interleaved RazErMotor, but DNIR just doesn’t have the same ring to it.

Above is the first finished motor-half, with 40 (+/- like 5?) turns per tooth. I have yet to terminate or wind the second motor-half, so I should probably get on that soon…