Motor Controllers Autopsy And Analysis

 

Before I begin, be warned. A picture is worth a thousand words, and I dont have any pictures today, so this post is going to be a pretty big wall o text. If youre willing to brave my rambles, read on.

Im currently finishing up my latest revision of ChibiTroller (v2.0), and since I first began controlling larger-scale bruushless things Ive gone through many different controllers. Most of which Ive blown up. This is a reflection and analysis of what Ive gone through so far, and what Ive learned.

My first large-scale brushless project was my Power Racing Series car last year, the bluesmobile. The power train was almost entirely made of RC plane parts, the core of which was a 2800W outrunner. There are a couple of problems with controlling a motor of that size. First of all, its just kind of massive, and so an appropriate controller is difficult to find. But a bigger problem is the commutation. Brushless motors require some kind of position feedback going to the controller in order for the controller to switch the phases to make the rotate. Usually, in the RC world the motors use sensorless commutation. Power will be flowing through any two phases at a given moment, and the controller reads the back EMF coming out of the third, unused phase in order to figure out the motors position. The problem with this is that in order to be able to get that back EMF, the motor has to be spinning at some minimum velocity. If the motor isnt under any load, it can jolt to a start from a standstill, but under load or at low speed (such as starting an electric vehicle), sensorless commutation just doesnt work. Its easy enough to get around the slow speed bit by putting a big gear reduction on the motor, but the vehicle must already be moving in order to start the motor. Thats problematic, to say the least. That being said, its often worth the inconvenience because the controllers are easy.

The easiest way to control a RC motor is with a RC speed controller. Theyre cheap, powerful, and tuned to work with the relatively high-kV, low-inductance motors. Theyre also sensorless. I started off using a turnigy dLux 80A HV controller. Id heard that theyre good, reliable controllers. And the one I had sort of worked. The problem  ran into was that the ESC itself was a small, mostly plastic box less than two inches in the largest dimension. And since the motor was at peak current draw most of the time, the controller got pretty hot. I tried attaching a massive server heat sink to it, which despite looking pretty comical worked fairly well. Until it blew the main power bus caps. I replaced the controller, but the new one suffered the same fate. Clearly, the dLux was just not up to the task. So I moved on up to a turnigy sentilon 100A ESC. Also sensorless, also with a reputation for being bulletproof. This one actually was. I raced the majority of the season on it, only finally killing it in the endurance final in New York. Turns out running close to 3kW through an exposed system in the rain doesnt end well.

So what were the successes and the failures of this particular batch of controllers? They were all cheap, and they had a high current capacity. They were fairly durable (especially the sentilon, which died of a short circuit rather than detonating), and they were able to operate the motor to its limit. But their biggest shortcoming is the commutation. The sensorless commutation is fine for spinning a propeller. And its fine for vehicles like bicycles or scooters where giving a gentle kick-start is easy. But when sitting in a small electric car, thats just plain unacceptable. Because of that controller, I blew more starts than Mark Webber, and I stalled and overheated my motors more times that I care to count. In order to do better, I need sensored commutation.

This year, I endeavored to build a chibikart of sorts. Like the original, I used a brushless motor for power. But unlike last year, I decided to learn from my mistakes and go for proper sensored control. After some discussion with Charles, I ended up with a nice set of sensors for my motors. Hall effect sensors are mounted to the motor in such a fashion so that they pick up the magnets in the can as they spin by. That way, the controller doesnt have to rely on back EMF to have position feedback, and so the motor can commutate properly at stall and low-speed conditions. The problem then is finding a controller that supports sensored commutation. This isnt difficult if you have a lot of money to throw at the problem, but really can be on a budget. Once again, Charles saved the day with the Jasontroller. These are shady no-name motor controllers from China. They support both sensored and sensorless motors, and have effective current limiting so that they dont overheat and self-destruct. Which all sounds very nice, and is very nice. I ran them successfully fir quite some time, until I decided that the 10 phase amps they could provide just wasnt enough. I found the current sensing shunt, shorted it out to lower the resistance and raise the current limit, and nothing. They had some kind of interlock in place and bricked themselves. I did all sorts of experiments on them, and ended up bricking six of them before moving on. The verdict: Jasontrollers are awesome, but not powerful or easily hackable.

My next pick was even shadier (as anything ordered from alibaba is). They turned out to almost be Jasontrollers. They were about half the size, but had what appeared to be very similar circuitry inside. I ran a race on them, and found them to not be terribly useful for my purposes. As with all of the shady Chinese motor controllers, the mini-Jasontrollers (µtrollers) have a fairly low switching frequency, and therefore cant run the motors very fast. Because of the difference in commutation algorithms, the normal Jasontrollers would be able to go faster in sensorless mode. So once the motors were out of the conditions conditions where sensors were necessary, they would switch to sensorless. The µtrollers didnt do that, and as a result didnt go nearly as fast when using the motor sensors. During the race, I found that when in sensored mode, I would be going a good 3mph slower than in sensorless mode. Again, no good. The current output of the µtrollers is also limited to 10A, and they also bricked when I tried to up that.

And so that brings me to the most recent (and I hope the last) chapter of my search for a good motor controller. I bit the bullet, and purchased kelly KBS24101 controllers. These arent shady. They arent cheap. But they are programmable, and they support sensors. They have higher current limits. And they shouldnt self-destruct. In a few weeks (after the race in Kansas City), Ill be able to analyze their performance. But in the mean time, all I can do is run wire and hope.

Frames Revamped: Chibi vs. Chipi

POTW Procrastination Edition

I did it! I got rid of all the waterjet cut bits! Heres the bare chibikart frame.I was trying to keep too much of it the same. So I replaced everything.

 

And heres what I got. Its the same thing, just welded steel instead of aluminum extrusion. And its a bit heavier, but not by too much (thin wall tubing is nice like that). Even so, extra weight just sounds like an excuse to use bigger motors.

But anyways, heres a preview of whats coming (hint: its building the darn thing).

ChipiKart More Steering Redesigns!

Building The Darn Thing Part 4 of n

Ive had to stop building because Ive built everything Ive designed so far. And since Im trying to make this repeatable, I need to fully design everything and resist the urge to just start welding things together until a car comes out.

To that end, I need steering to happen. I have the rear wheels mounted to the frame, and if I can get the front wheels and steering done then I can do chipikart soap box derby edition. Ive trashed my previous designs for the steering. Since I changed my design to the weld-n-go version, I no longer have the original steering mounts to work with. So Im going with something simpler, and more importantly, cheaper.

So heres the new design. Its two blocks of my favorite nearly-indestructible not-so-mild steel, 4140. That, a bolt, and two bushings. The bushings are sintered bronze for smooth motion, and flanged so I can fake having some kind of thrust washer. This should let me have smooth, and close to slop-free motion.

And here it is installed. Im using a 3/8 shoulder bolt as the pin, and it also acts as the smooth bearing surface.

The bracket is more weldment. Im really bad at bending steel, much less 1/4 thick 4140. Its much easier (and more precise) for me to just cut three pieces and weld them together.

So now I have a (hopefully) final steering design. Now I just have to build them, but considering Ive done the design, that shouldnt be too hard. Finding time to build them in will be the hard part.

ChipiKart In which I Dont Play With Motors

 

So. Motors.
Chibikart uses two Turnigy SK3 5065 motors, driver sensorless by Jasontrollers. Its cheap and powerful, so I can dig it. But whats better than the grinding, powerful not-launch of a sensorless drive? The smooth, terrifying launch of a sensored one. Id been thinking about how to achieve this on a vehicle, especially after seeing TinyKart at NYC Maker Faire. And then I forgot.Charles recently posted about adding sensors to sensorless motors and driving them with Jasontrollers. And I realized that it was what I wanted to do, so I emailed him. And being the awesome guy he is (and a fellow lover of tiny brushless things), he emailed back, and I ended up with some sensors to put on a motor. I pulled the motor off TinyBike, popped the sensor ring on it, whipped up a quick mounting plate, and went off in search of a Jasontroller. Fortunately, I had one lying around. Unfortunately, I had cleaned up the wiring and modded the circuit board, meaning all the stuff I needed to hook up the sensors was gone. Dang. So I ordered another Jasontroller. And now I wait.

Which leaves me with two options. I can work on the frame and mechanics of ChipiKart, and have it ready to test come Jasontroller time, or I can daydream about designing my own controller. Knowing my project ADD, you can probably guess which one Im going to choose.

Hint: It might be this one. Then again, it might not.

Building The Darn Thing Part 6 of n

Building The Darn Thing Part 5 of n

Maker Faire San Mateo is quickly approaching, and with it the first event of the 2013 Power Racing Series. Which means that ChipiKart is going to have to be much more than a gravity-powered death trap, and fast. With this deadline in mind, Ive been plowing ahead, and am pleased to present this thing.

SONY DSC

Its most of a ChipiKart. With some changes. The original steering wheel was made of 3/8 thick acrylic, which is brittle enough as is, and really didnt last long in the sub-zero temperatures I tested it in. In the absence of a suitable replacement, I used two vise-grips as a replacement. It works, so stop judging me. It also has one drive motor hooked up, so it moves under power. Theres still no brakes.

SONY DSC

Heres my motor unit. Its the SK3 6364 motor from last time, but mounted to a bodged-up mount. Theres also a 3D printed bracket holding some sensors.

SONY DSC

The sensor board (courtesy of Big Chucks Robot Warehouse) is mounted to the motor with a 3D printed ring. The sensors provide a position reference for the controllers so that the motors can commutate properly in a zero-RPM condition. This means that I can start from a stop, or a stall. Handy.

SONY DSC

And heres the controller Im using. Its a generic shady Chinese controller, with some modifications. Ive replaced the no-name FETs with nice IR FETs that will dissipate less heat, and Ive upped the current limit from 10A to somewhere above 60A. Well see how that goes.

SONY DSC

Heres the inside of the controller, just for the curious. If you want a good tear-down, look no further that Charless excellent report.

SONY DSC

Moving on, putting motors on the Kart. I was planning on bolting the motor mount to the frame so I can adjust it, so I put on a few tacks with the MIG welder to hold it in place while I drilled it. I ended up liking the way it was aligned, so I ditched the bolts and just welded it.

SONY DSC

Because I dont want everything on ChipiKart to eb a complete hack, I decided to make the controllers look nice. I hacked off a hunk of aluminum box extrusion and made a nice enclosure which I will name ChibiTroller. It houses a 300A cutoff switch, proper anderson power connectors, two Jasontrollers, a cooling fan, and some arduino telemetry stuff that I dont really understand. The goal is to be able to report back to pit lane in real time various different sensor readings. I havent installed any sensors yet, nor have I decided what I want.

Building The Darn Thing Part 5 of n

The State Of The Chipi

Building The Darn Thing Part 5 of n

Well, I went through a quick blitz of making things, then kind of dead-ended. By which I mean I ran out of parts and had to stop work. But heres what I got done.

Steering:

I built the steering column! And made a steering wheel! And didnt take any pictures, but heres some video of what it looks like laser-cutting 3/8 acrylic on a 30W CO2 laser.

 

And then I had a rolling chassis, and wanted to drive but had no power. So I decided it was time to soap-box derby this thing.

 

No, I didnt crash at the end. But I did break the steering wheel in half. I dont know what I was expecting; it was about ten below zero outside.

It was at this point that I realized that I had nothing else to do but put motors and brakes on it. And I didnt have motors yet, so I stopped short.

Until today, when I got a box from Hong Kong.

SONY DSC

Motors and a battery charger! But lets focus on the fun bit of that.

SONY DSC

The motors are Turnigy SK3 6364. I love these things. Theyre actually well built. The magnets are glued in, the stators are pinned, the windings are tidy(ish), and they have can bearings! This one also has a fairly low kV (180), and 2400 Chinese watts of power. Oh yeah. Now that I have them, I can model them, put them in the ChipiKart CAD file, and design some motor mounts. Other projects can wait, Ive got motors to put on things.

Building The Darn Thing Part 1 Of n

ChipiKart In which I Dont Play With Motors

The title says it. Time to build.

A quick steel run and some time with the chop saw later, this happened.

Thats most of the base of the frame. When making a frame like this, the trick is to break it down into individual units of two pieces, weld the units square, and then weld the units together. That way, the whole frame stays strong and square. So! Welding!

Back frame reinforcements, cooling down.

Then the rest of the base gets welded up.

And the reinforcing brackets are welded into place.

I cut some more parts for the foot bar and the seat mounts, and welded them up.

They were then added to the frame. Since I dont have a seat yet, Im going to hold off on the seat mounts, as I need to measure whatever seat I end up using so that it will fit on the brackets.

And thats most of the frame done. Now I just need to do the drives, steering, brakes.. and pretty much everything except the bare frame.

A Digression: Batteries

 

Well, ChipiKart is done(ish). It raced at the San Mateo Maker Faire, but thats another story.

One thing Ive been meaning to do to ChipiKart is replace the lead-acid batteries with something better, like one of the more stable lithium technologies. Those are expensive, though. But at the maker faire, I was able to pick up some pretty neat surplus.

SONY DSC

This is a A123 module. Its 16.4v, 2.5 Ah. But thats not the fun bit. The fun bit (aside from the super-flat discharge curve) is the (reported) maximum discharge of 200A, which is rather a lot of amps. It will also take somewhere in the vicinity of 60A charge current, which is just silly. I cant find a datasheet to verify those numbers, but I wont be approaching them so I should be safe.

I was able to purchase four units, so I planned on making two quick-change packs. Making quick-change packs means I get to do one of my favorite things: make boxes. So I grabbed some sintra (expanded PVC foam), and headed off to the table saw.

SONY DSC

This was the first box. It holds one pack.

SONY DSC

An identical one gets stacked on top. Notice how the middle divider isnt solid. This will allow me to get some airflow over the batteries, and maybe insert a temperature probe. I doubt Ill need it, though.

SONY DSC

The packs slide in like this.

SONY DSC

I added some reinforcement, and hit it with a router to make it look presentable.

SONY DSC

I dont have any appropriate wire, so I made copper bus bars to connect the modules in the pack.

SONY DSC

The whole thing goes together like this. I still need to cut a keyway in one side and key the receiver so that its impossible to insert the batteries backwards. Lots of amps backwards is bad.

But now I have a scary-pack! It weighs 4.4 lbs, as compared to my lead-acid pack, which weighed 18.2 lbs. Now thats an improvement.

Coming up, a receiver, charger, and the rest of the battery system.

Modifying The Lathe Compound

An Aside Making Counterbores

 

Today, I wanted to do some single-point thread cutting on the lathe. But when I went to set the compound, I noticed this.

 

My tool post was butting up against the edge of the compound, and so I couldnt rotate it to set it straight. Actually, When I first got the tool post, it didnt fit at all. I had to mill a bit away so it would sit flat. I didnt think to mill away enough to be able to turn the post. Derp.

 

So I stripped off the compound, popped it in the mill, and began cutting. The section I cut is about 0.0005 low, so the tool post will sit flat.

 

Plenty of room now!