Deathblades: Tik tok.

No, this has absolutely nothing to do with Ke(§, Š, Σ, ∫…)ha, but it’s been more than a month since the last Deathblades update. Charles, where are my Deathblades?! Aren’t they supposed to be done by, like, last year?

I went through a flurry of work before the De Florez award judging in order to have one skate power unit on display. As we all know, that didn’t go too well, and I spent a short period of time afterward wallowing in self-pity, loathing all that Mechanical Engineering stood for, and recklessly experimenting with Course VI (you know, a harder substance). About the same time was when virtually all my carbide indexable lathe cutters were chipped or broken and the shop had exhausted its consumables, such as bandsaw blades and most importantly, sanding belts. So overall, there was very little incentive or motivation to work on the ‘blades during most of May, especially with LOLrioKart finally working well enough to hoon, and the Media Lab’s spring Sponsor Week in full swing.

Here’s some of the progress from the week of May 4th.

This is a Deathblade axle. You may revel in the disgusting surface finish.

It’s dimensionally acceptable, but I had to machine most of the diameters with chipped carbide indexable bits. I leave my set out for the populace of MITERS to use, but unfortunately not everyone knows the handling differences between HSS and carbide.  About this time, I placed an order for new tips, but because of the whole transcontinental shipping issue, they would not arrive until the middle of May – so I pressed onwards.

The terrific finish is more apparent from this angle.

Those end threads were single-point cut with a threading tool. I’ve gotten decently fast at threading from making the motor cans, but I still need some technique improvement (and a non-dull threading bit, but that was coming in the order). I got into the habit of reversing the whole machine (disengaging the threading nut) such that by the time I’m back at the start of the thread and had finished making dimensional adjustments (returning the cross feed to my set zero and advancing the compount), it was nearly time to re-engage it and throw the machine back in forward.

A plan view of the Negative Volume of Wire Accessing. I’m using a slightly different technique than the scooter motors in that all the wires will come out the center of the shaft – not through a keyway or flat. This time, the axially drilled hole meets a radially-milled slot within the confines of the motor. It leaves plenty of room for termination and is a fast setup and operation.

The center hole is 3/8″ in diameter, and the slot width is also 3/8″.

Stator test fit!

One side effect of the material removed by the drill and slot is that the axle is somewhat springy at the center. When I press a stator on, that portion of the axle deforms slightly and preloads the fit.

Motors quasi-assembled and installed for a test fit. I ended up pressing the stator back off for the display item because that would have made assembly and disassembly more difficult with the magnets already installed.

The future electrical harness would exit the motor and immediately curve back towards the center cavity. For experimental purposes, I’ll probably just drill holes, run the wiring inside, and leave things permanently joined – but I could see a frame-mounted connector for any Legit™ versions.

Read more “Deathblades: Tik tok.”

The Maxon DEC 50/5

Hey Maxon Motors, I’m the #1 Google hit for “Maxon DEC Module”. How many sales have I been responsible for?

What if you told me there exists a brushless DC motor controller about the size of a large postage stamp that was sensor commutated, took an analog 0-5v input, functioned up to 50 volts at a maximum of 10 amps, had built-in current limiting and its own internal logic power supply, and can be easily hacked for more power?

I’d be all like

wants one wants one wants one wants one wants one where can has nao?

Well, that was pretty much my reaction when I was told about the Maxon Motor DEC 50/5 module.

And here it is, in color and real life. A collaboration between Big Shane’s Fresh & Salty Motor Controls and Charles Z. Guan Experimental Vigorous Propulsion Industries Co. Ltd.

It’s everything I just described, and is my new favorite vegetable.

I really despise model airplane controllers. They’re great for their application – spinning a modest, largely invariant and predictable load. This is completely incorrect for an electric vehicle, which has a much more demanding and dynamic load profile. Sensorless commutation is fine for a propeller, where the motor can twitch at will, but it leads to a real chicken and egg problem for a high inertia load like a vehicle. If the motor can’t lightly move to generate a back EMF profile, then it doesn’t know which direction to apply torque in. And low speed performance is often chaotic and jittery.

So for a while, I’ve been praying to Robot Jesus and Co. for something the size of a model airplane controller that had sensored commutation. I was willing to give up significant power handling for sensors, since it takes much less brute motor strength to start a vehicle moving if the motor is actually utilized to its full potential.  Maxon seems to have answered the call with these DEC modules. The 50/5 appears to be the latest in a line of very small and low powered controllers.

Maxon provides a very helpful and thorough datasheet with the DECs, so naturally we had to set up the included basic test circuit.  The module requires minimal support to function – power, ground, three Hall Effect sensor inputs, 3 phase outputs, an analog throttle input, and two configurable digital inputs for setting closed-loop speed control. It provides logic and Hall sensor power internally, and can take an additional analog input for current limiting if your desired current is not “ALL OF IT“.

The form factor is not exactly helpful for breadboard use. It spans more than 1 breadboard’s worth of rails, so it got straddled across two. Next, the dual header had different pin functions on adjacent rows, which means that had to be split between two sides of one breadboard.

Now, how did that happen?

Somewhere in Switzerland, a Maxon engineer is probably crying over this picture.

Yeah. Those are wire-wrap IC sockets cut in half, sanded down, and bent over.

The BWD Scooter’s drive motors are about the most normal BLDC motors you can imagine, so they were selected for testing. It took a few tries to get the 3-sensor-and-3-power wire combinations correct, but here’s some observations about the DEC:

  • It has a built-in throttle and braking ramp that’s noticeable when the motor is freewheeling, but probably immaterial if mechanical inertia is considered. The ramp time seems to be speed difference dependent and is always <1 to 2 seconds.
  • If you try to switch directions while the motor is under power, the DEC will disable itself and then it requires either a power cycle or a toggle of the ENABLE pin to restart.
  • It will stop trying to run the motor after a few seconds if you hooked it up wrong. Or backwards.

I guess the datasheet spells all that out, but I’m just saying that it doesn’t appear to be lying :>

Through some part number trickery, Shane found that the small SMT FETs used are Infineon chips that have an on-state resistance of just under 6 milliohms. They don’t really have the thermal mass (nor the board any real thermally optimal properties) to be pushed significantly harder, but I think they can realistically handle 15 or so amps continuously, with no additional cooling. This is assuming a 100 degree Celsius device temperature, a 7 milliohm resistance at that temperature, and that the stated 50 Kelvins per Watt thermal impedance is accurate.

With additional heatsinking, which ought to be effective due to the thinness of the package, these modules can probably be pushed to 20+ amps. Past that, there’s always the Cheap Shady Chinese Small ESC Manufacturer Hackaround of soldering surface mount FETs on top of eachother. I think the effectiveness of this method just exponentially approaches some asymptotic amp limit.

Either way, to do this, the onboard current sense resistor (which sets the 10 amp built-in limit) needs to be bypassed. It’s a 10 milliohm, 1% tolerance SMT resistor. I normally just neuter my controllers of current sensing completely, but I’ve found that this some times gives unpredictable and fiery operation, so perhaps it’s just better to trick it into thinking it’s putting out 1/n the amps instead, where n is the number of times you parallel the CSR.

Anyways, here’s your daily exercise in absurdism.

Yeah, so I said something about crying engineers… Video of the brushless Etek.

Of course, there are disclaimers. It’s running off a power supply which stops at 5 amps. If I actually tried this with a battery, the DEC would probably have grenaded before it noticed what was going on.

Here’s a video of  That Other Thing We Should Try.  The DEC module sensor inputs are hooked up to the scooter rear wheel, but the drive outputs are connected to the Etek.

I see absolutely no practical purpose for this arrangement. It was late at night.

What’s Next

Deathblades. Deathblades deathblades deathblades deathblades.

This was the controls breakthrough I was seeking for the skates project. They’re small, sensored, and not very high power. They even directly interface with an analog input, so I can skip having an onboard microcontroller – XBEE radios have an “I/O” mode that lets the units be used in simple wireless sensing applications.

With my newly attained Mad Skillz, I’ll craft up a carrier board which has support equipment for two DECs and an xbee. I’ve already made a footprint for the DEC modules, but haven’t actually tried laying a board with them – still getting used to the pin and footprint naming convention of Eagle, so I might modify it for more legitimacy.

is can has bldc motter tiem