The Summer Build Season 2009

It has begun.

While I seem to be in “build season” mode year-round, it is during long breaks with little in the way of academic or life obligations that I get the most done. Last summer, I began work on LOLrioKart and built Überclocker, Pop Quiz 2, and Nuclear Kitten for Dragon*Con.

… which sort of sucked horribly for everything. Except NK, but only by about *this* much.

So what’s coming down the projectubes this summer?

Mostly the same thing. D*C is my biggest bot-celebration of the year, so once again the combat robot fleet takes high priority. Since there’s really just one robot that needs rebuilding, I also have the usual pile of small electric vehicle projects, of which only one is actually urgent.

Übercløcker RЭmiχ

I started redesigning Uberclocker some time in the fall of last year, hoping to get it done by Motorama 2009. Of course, due to scheduling concerns and logistics, this didn’t happen. But what that presented me with was the chance to put it away and not look at it for several months.

This is pivotal. The basic design has already been hashed out, but now I get to return to it after not thinking about it for a while. I am now in the process of analyzing the 3d model for any “impossible objects” that I might have included, or Really Bad Ideas. Such design flaws plagued the real life Uberclocker 1.0 at D*C last year.

Planned upgrades from 1.0? Well, besides EVERYTHING, the primary focus is on drivetrain reliability, center of gravity, and the upper clamp arm.

As a member of the pushybot school of combat robotic thought, I value maneuverability and driving above jawesometacular weaponry. Uberclocker 1.0 had a strange serpentine timing belt setup that seemed like a really awesome idea at 5 in the morning, but… wasn’t.

The robot also suffered from “centrally located center of gravity” syndrome at the event. While a CoG near the geometric centroid of the robot is good in practically every other case, the fact that the bot’s sole purpose was to grab another opponent and lift it off the ground meant that it just sort of faceplanted every time I attempted a lift. Not a very impressive show. The redesign lengthened the wheelbase of the bot, and selective weight reduction moved the CoG back about 4 inches, without additional ballast.

Oh, that’s right, Uberclocker 1.0 weighed in at an incredible 22.5 pounds out of 30 at the event. I’ll fix that too.

What I didn’t really get to (properly, anyway) in the redesign was the upper clamp arm. The previous arm was both weak and structurally unsound. While I think I took care of the “unsound”, I still have my doubts as to the clamp mechanism’s effectiveness.  In the past, clampbots have used pneumatics to actuate the upper half of the clamp. This is advantageous because a pneumatic actuator requires no “holding power”, unlike an electric motor, which has to be continually powered to produce torque. Pneumatics also have a certain amount of spring-back ability that a solidly coupled electric actuator doesn’t.

But robot-heaven forbid that I make Überclocker even more complicated by incorporating a pneumatics system for the one actuator that might need it. Thus, I’m still partial to a (spring-coupled) leadscrew-type mechanism, over the current design candidate’s motor-on-a-weird-gear. Except this time it won’t be driven by a beetleweight motor.

I intend to keep the “Chinese puzzle” frame, and will be refining it for ease of assembly. I devoted a few weeks to just fabricating the frame parts last time – no, never again. That’s what computer-controlled machine tools are for.

Pop Quiz 2√2

Incidentally, 2√2 is about 3. Not quite there, which also describes this planned rebuild of Pop Quiz 2. It’s not quite a complete conceptual revision, but there will be significant upgrades all around.

PQ2 is one of the (if not the) flattest 1lb class robots around that has an active weapon. It hits lower than some undercutters. The problem is that going the extra 1/8″ down in this current design meant that I had to ditch practically all the well-known, battle-proven parts – Sanyo gearmotors, SPEKTRUM 2.4ghz receivers, etc.

It was a fun thought experiment come to life, but the robot had a horrific reliability record, almost no reception due to the FM ground-band receiver, and a 5 minute chopped hack of a master power switch that ended up disintegrating after exactly 1 hit at D*C 2008. Pop Quiz had about 15 seconds in the arena.

Not cool. For ’09, I am INCREASING the height of the bot. Me, making a robot taller. How many times does THAT happen?

The robot height will be increased to about .400″, enough to cram in a set of real Sanyo micro gearmotors. The rest of the robot’s electrical system is sound, and so is the weapon motor. I’ll most likely end up reusing the electronics anyway, minus the cheesy little FM park flyer receiver. Instead, it will be swapped out with the latest Spektrum DSM offering, and I will run one transmitter between all the robots.

There’s no current virtual model for PQ2.8284171, but just imagine the current bot 0.025″ thicker.

Nuclear Kitten 5.1 Digital Surround Sound Edition

I’m actually satisfied with the performance of one of my combat ‘bots for once. NK needs very minor rework to take another run at D*C. The weapon motor needs some magnet reglued, and the weapon pod pivot axle is slightly bent and needs to be made better anyway. Past that, I have a spare blade to replace the faceplant-into-steel-bumper bent blade.

The only point of concern with NK is the drivetrain. Despite having a mechanically isolated weapon, I’m still blowing drive gearboxes, just because the bot is that much more powerful. I might switch to something like the 50:1 Copal motors || redesign the motor mount || use softer wheels.

No frame changes are necessary, since the bot escaped D*C rather unscathed.

LOLrioKart

Since I discovered that the main battery pack was leaking voltage all over the place (somehow, through an eighth inch of rubber?), I stripped down the entire electrical system and tested all the batteries. It turns out that the steel casings of the cells are live, something which I’m fairly certain should never be the case. While it’s fairly common for the battery negative terminal to also be the casing, the errant voltages are always somewhere between 0 and 1 volts.

This case voltage doesn’t seem to have negatively affected the cells, but I’m fairly certain it’s the culprit behind stray frame voltages. Somehow.

The focus for LOLrioKart work will be the electrical system. I intend to complete and test the ginormoFET controller and possibly implement dynamic (or regenerative!) braking using the upper leg of the half-bridge. Mechanically, the kart is fine.

Well, except for the brakes, but they’ve always been undersized and insufficient.

Ultimately the goal is to run it for longer than 1 minute on all 54 volts, or the full pack voltage of whatever eventual power system I might come into. I’m heavily considering crating up LOLrioKart and shipping it down when Dragon*Con comes around, so I can drive it in the parade. This could possibly be the worst idea I have ever thought of.

Project RazEr

It’s been hanging on a utility hook since the last controller fire. Everything works and the batteries are still charged, so all I need is a BLDC motor controller. Since everything still technically “works”, I don’t intend to touch the scooter that much, if at all. Any work on it will be replacing the shell of the wheelmotor with something more substantial (and better engineered, and more reversably built).

Time to get crackin’.

The Continued Tragic Tale of the LOLrioKart

It’s been a while since I mentioned LOLrioKart. Not because I haven’t worked on it or anything, but because  I’ve been with slammed by everything else in life or just didn’t have the motivation or desire to ever  relate anything about it again. You’ll see why.

However, much has happened in terms of kart work in the past month or so. I made and exploded another custom electronic control hack, ran it off a contactor, crashed it, used it to store my mountain of cruft, then pulled it back out to install a new steering gearbox and IGBT half-bridge which has yet to function.

So let’s start at the beginning.

Remember back in the day when I said I would never, ever, ever build another hardware PWM driver?

…Yeah, anyway, let me tell you about this hardware PWM driver I built here.

After investigating a slew of small bike and scooter controllers and discovering that they are in fact very simple creatures, I decided to take a crack at building one myself.

The way most of these things work is through a comparator-based PWM generator circuit. Essentially, half of a dual comparator IC is used to generate a sawtooth or triangle wave. The other half of the comparator…well, compares this time-varying voltage to an input voltage. Whenever the input voltage is higher than this reference wave, the output of the comparator switches states (e.g. outputs +Vcc). When the voltage is lower, it will switch to its normal state.

This is called the intersective method of PWM generation. In this case, the input voltage is provided by the throttle, which is usually potentiometer or magnetic proximity sensor.

Oddly enough, such a circuit is very simple and reliable if all you want is a variable duty cycle PWM output. The difference between this and the last discrete hardware PWM generator I built for the electric scooter project is that the duration and spacing of the pulses didn’t matter as much – for driving a R/C standard input, the length of the pulse carries the information, not the duty cycle.

The output is a normal push-pull arrangement, good for driving power amplifiers.

Of course, if I was going to build my own controller, I couldn’t build a small one. That would be unlike me. I had to go big time.

Luckily, a half-scrapped golf kart controller existed at MITERS. It appears that someone had dismantled it ages ago, but left everything in a sort of Z-state. Some of the power transistors appeared to be fried, which was probably the reason behind the scrapping. Since I had a small bucket of MOSFETs, and the arrangement was very simple, I decided to pull everything off and replace them.

I replaced the existing IRF2807s with my own IRF540s. The current capacity of the 540s are lower, but the maximum voltage is higher. It also has more favorable gate drive characteristics.

Either way, there’s 12 of them. That’s more amps than I care to use.

There’s a TO-220 package dual rectifier every two FETs, acting as freewheeling diodes for electrically-rowdy motors.

Alright, let’s test. I wanted to see how my driver circuitry dealt with the gigantic meta-capacitor that is MOSFET gates. Since I couldn’t put the kart on the workbench, I yanked some equipment down with me.

That’s our smallest oscilloscope. MITERS tends to inherit, scrounge, or otherwise receive for less-than-new value most of it equipment. I swear our other one weighs more than the kart does.

Hmmm, that’s what I want to see, I suppose. PWMing at around 13,000hz (royally overkill) at a 50% duty cycle. The RC characteristic of the switching is pretty clearly visible here. I decided to put a bigger timing capacitor in, reducing the PWM frequency to around 1,500hz, then wrapped it all up and threw it onto the electrical deck.

Naturally, the first thing that happens when I flip the master power switch is a miniature Independence Day fireworks display under my ass. I found pieces of transistor on the ground a foot or two away.

What happened this time? It wasn’t even a bench-to-installation electrical gremlin issue! I literally tested it on the kart!

The best explanation that I and the collective Course 6 minds of several MITERers could come up with was that some of the FETs suffered from gate float as a result of me leaving out a gate resistor that would otherwise have kept them grounded when off. Therefore, if a FET was spuriously, but not fully switched on when I applied power, it would behave as a resistor. With the current dumping ability of the batteries, acting like a resistor isn’t a good thing.

What’s hilarious (and very tragic indeed) about this is that I had such a grounding resistor in the circuit while testing, but somehow it didn’t make it back in while finalizing the wiring.

Regardless, I had one very well baked pseudo-controller.

Sigh.

So what to do now? Simple, put the kart on a contactor.

But Charles, that’s a multipole line switching contactor! It’s not designed for switching high-powered DC motors backed by power sources with instantaneous current output in the hundreds of amps!

Besides, paralleling contactors doesn’t actually gain more switching capability due to the tendency of different contacts to be slightly varied mechanically such that they don’t all close at the same time.

Who cares? At this point, I was sort of convinced that electronics is all black magic. Maybe somehow all the contacts will switch in the same nanosecond.  At least if it welded and sent me off uncontrolled into the nearest approaching semi, it would be a glorious way to go.

There aren’t many pictures of what exactly went on, since it was at night and there were no cameras,  but to be brief…

That’s a sheared universal joint.

And that’s a competely bent-to-hell steering shaft support.

Long story short, I made the mistake of applying “throttle” in the middle of a turn – the kart wheelied and shot in a direction tangential to the radius of curvature. Remembering geometry class, a path tangement to a curve tends to be a straight line – into a hard curbside.

Luckily, it was at an angle steep enough to not quite roll me over, but enough to wreck almost the entire front end.  The force of the impact rammed the steering column upwards and bent the upper steering shaft support. Since I hit tire-first, there was also a torque impulse that exploded the U-joint connecting the two shaft halves.

Also, I twanged up that wheel slightly and bent the half inch bolt being used as a spindle.

Alright, so with no control left to speak of and epic work required to restore it I elected to give up the effort for a while and walk away. Other projects needed attending to, you know, for class. I took the opportunity to clean up the space a bit by piling my crap (which was formerly distributed all over the place) into the kart.

Sad day.

Two and a half weeks pass before a new opportunity arose. Yeah, you probably called it – I couldn’t leave it for long.

What on earth is THAT? It’s a 100 volt, 200 amp brickFET half-bridge, built by a \m/echanical engineering grad student and 2.007 UA. I’ve been eyeing large power FET/IGBT modules for a while now – always thought they would be better at switching electrically-gifted actuators than a row of TO-220s or cluster of surface mount parts, but I never ponied up the cash to buy a few and test them.

Besides, if I did, I probably would have blown them up before actually getting to the kart.

Now I need a kart to mount this thing to.

Taking everything off that needs to be unbent or remade.

Bevel gears, left over from another project.

I toiled for a little while over exactly what I should do for the new steering column. I did not want a horizontal steering wheel. The physical form factor of the kart  – it’s substantially taller than most go-karts  – precluded a direct link to the steering linkage while keeping the steering wheel at a reasonable angle.

Solution? Make the steering wheel axis horizontal. This much more closely approximates the layout of most passenger vehicles. The differerence is that I would still have a vertical shaft, but the wheel would be connected using a set of bevel gears.

The other upside to this is that I gain an actual steering ratio – no more 1:1 through a U-joint with a mile of backlash!

Stiffening up the whole show with another found giant aluminum trunion thing. The bevel gearbox will mount on top of the new topmost bearing block.

Gearbox mount holes drilled into the top bearing block.

But wait, there’s more. A giant steel standoff now connects both blocks. Retained on each end by a 3/8″ cap screw two inches deep, this assembly is going to be stiff. I intend to add shaft collars galore to this such that the front end of the basket has some semblance of structural integrity.

Next, to mod up the gears.

A problem.

While assuming Ghettopost in the boring position, the socket head cap screw that opens and closes the post clamp sheared off. I guess it didn’t like repetitive cycled loading.

I needed a fast workaround that didn’t involve remachining that part of the tool holder. What else can close a clamp around a shaft? Another clamp. It worked spelendidly.

(Reason #67,293 I’d get thrown out of a real machine shop)

Scribbling the part you want to make on the stock you’re making it from – a classic tactic of mine.

Carving out a hole that is big enough to pass the larger bevel gear into the gearbox stock, a 3″ square aluminum tube. The layout for the gearbox is slightly odd – the bevel gear is retained by the top bearing block, and the gearbox with pinion attaches to said bearing block. The two gears are not in an integral assembly.

I decided to make it this way since then I had some marginal ability to adjust the amount of backlash in the teeth – just shift the gearbox around.

Gears on their shafts. Like everything else on LOLrioKart, they are retained by ginormous set screws.

Set screws only work under two circumstances – if they have a pre-drilled hole to sit in, or if they’re enormous for the task at hand.

Endcaps for the gearbox. Again, I choose my usual tactic of on-the-fly manufacturying – carving things from giant blocks of aluminum by brute force.

Pinion gear on the steering input shaft. Since I hate retaining rings, I naturally chose to keep everything together axially with a large retaining ring.

The gearbox is installed. The steering wheel pops on and off of the hex shaft (It’s a quick-release, legitimate racing type).

Proper gear mesh is a good thing.

To finish things out, I needed to join the shaft that connects to the steering linkage itself with the one coming out of the gearbox. Since it was 2am and McMaster was closed, I whipped up a quick giant shaft coupler, two piece clamp type, out of some 1″ steel.

And the final product.

Hey, I have 180 degrees of steering travel now! And essentially no backlash to speak of. The only source of it now seems to be between the steering wheel itself and the hex bore – probably because the wheel is metric and the hex shaft is antimetric.

Uh oh, here we go….

All wired up, with my previous gate driver device (beefed up and properly grounded!)

This thing worked just fine on the bench with a smaller motor, so it ought to work now, right?

Besides experience having shown otherwise, I decided to run some continuity and voltage checks on the entire system using a meter.

This is when I discovered that the kart frame is live. It measured exactly 42 volts everywhere.

Bad?

Out of precaution and a desire to keep my own sanity, I elected to not hook up the battery and turn it on.

Ah, electrical engineering black magic. Last time I had frame continuity issues, it was grounded. Now, weeks later, without touching anything, it switches polarities?

Either way, this entails a full teardown of the electrical system. I should probably check the insulation on the batteries – while they have nitrile rubber sheets all around them, I might have missed a spot. A metal mounting screw may be sticking out too far. Something.

Stay tuned for moar!