<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>equals zero &#187; Project RazEr</title>
	<atom:link href="http://www.etotheipiplusone.net/?feed=rss2&#038;cat=28" rel="self" type="application/rss+xml" />
	<link>http://www.etotheipiplusone.net</link>
	<description>A repository of my creations, projects, ponderings, memories, and nonspecific brainspew.</description>
	<lastBuildDate>Mon, 30 Aug 2010 11:15:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>RazEr: The MITburgring Ostschleife</title>
		<link>http://www.etotheipiplusone.net/?p=594</link>
		<comments>http://www.etotheipiplusone.net/?p=594#comments</comments>
		<pubDate>Thu, 01 Apr 2010 16:59:39 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=594</guid>
		<description><![CDATA[It&#8217;s legit. Yet again! Of course the first thing I did after making sure the motor worked was throwing it on RazEr. Then, over the past week, I have been beating the crap out of it by commuting everywhere &#8211; when I could. The weather has been abhorrent over the weekend. I&#8217;m proud to say [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s legit. Yet again!</p>
<p>Of course the first thing I did after making sure the motor worked was throwing it on RazEr. Then, over the past week, I have been beating the crap out of it by commuting everywhere &#8211; when I could. The weather has been abhorrent over the weekend.</p>
<p>I&#8217;m proud to say that everything has been working flawlessly. The scooter is almost excessively stealthy due to its low profile nature. When fully loaded, the motor makes a very attenuated &#8220;brushless whistle&#8221; that&#8217;s just enough to cause people in front of me to move out of the way instinctively, but they&#8217;re not really sure what on earth it is.</p>
<p>Well, until I fly by.</p>
<p>So let&#8217;s backtrack and see what happened.</p>
<p><a href="/pics/sc3/sc3_48.jpg"><img class="aligncenter" src="/pics/sc3/sc3_48-mid.jpg" alt="" width="384" height="512" /></a></p>
<p>Once again, I start with the finished product. Remounting the motor into the scooter was not a difficult affair, since the center hub and shaft was the same. Otherwise, it just involved hooking up a few wires again. It was nice to see something working after it had been sitting idly on a hook for a year.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_49.jpg"><img class="aligncenter" src="/pics/sc3/sc3_49-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Here&#8217;s a shot of the business end. Those side rails which form the wheelie bar have been around since the very first wheelmotor iteration!</p>
<p>It turns out that having the motor oriented towards the right side was not exactly a good design choice. I should have installed the can the other way &#8211; when torque is applied externally to this orientation, the wheel tries to <em>unscrew </em>the locking ring. This happened a few times in testing, so I ended up Loctiting the ring to the can threads.</p>
<p>Such a reversible process.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_50.jpg"><img class="aligncenter" src="/pics/sc3/sc3_50-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Here&#8217;s the important parts of the vehicle. If you have never seen this before, there are two 5AH LiPoly packs which form most of the belly volume. The remaining volume up front holds a big model airplane motor controller and a servo tester to convert an analog throttle voltage to R/C signal PWM.</p>
<p>Also, a <a href="http://www.etotheipiplusone.net/pics/sc3/sc3_27.jpg" target="_blank">bunch of LEDs</a>.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_51.jpg"><img class="aligncenter" src="/pics/sc3/sc3_51-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Here&#8217;s a closeup of the flip side of the motor, the removable faceplate. Technically this should have been on the wire exit side, but it was 5 in the morning when I installed everything and I don&#8217;t feel like pulling it apart again.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_52.jpg"><img class="aligncenter" src="/pics/sc3/sc3_52-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>This was actually the most fun part of the rebuild. I didn&#8217;t have another resistive throttle available, because they had all began malfunctioning. The cheapo servo tester I used actually doesn&#8217;t take a <em>voltage </em>and turn it into a pulse; it performs a timed discharge of a capacitor through a resistance. This was fine and all when the servo tester was used with the knob it came with, but it meant that I could only use a resistive method of interfacing the throttle. A standard cheap Hall Effect throttle puts out a <em>voltage</em> and won&#8217;t let a cap discharge through it.</p>
<p>So I did what any desperate engineer would do &#8211; I whipped up a slumthrottle out of some aluminum bits, a potentiometer, and a long extension spring used in torsion. It works better than it should. Using this, I recalibrated the throttle endpoints of the controller and also changed a few settings such as timing and startup.</p>
<p>With this, I went rocketing down the hallway a few times. Because I&#8217;m here writing this, you know it worked.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_53.jpg"><img class="aligncenter" src="/pics/sc3/sc3_53-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>And boy did it work. Here&#8217;s the high score of the day, about 1,200 watts on a good launch. I&#8217;ve since pulled almost 1,400 by bringing my &#8216;kick start&#8217; speed closer and closer to the controller&#8217;s minimum pickup speed.</p>
<p>The controller, being sensorless and aircraft-optimized, has a minimum speed below which it thinks the motor is stalled and will refuse to start. The &#8220;base speed&#8221; for Razer is about 5 miles per hour, below which the motor will not actually produce torque when commanded.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_54.jpg"><img class="aligncenter" src="/pics/sc3/sc3_54-mid.jpg" alt="" width="384" height="512" /></a></p>
<p>And here is RazEr after the &#8220;maiden IRL voyage&#8221; back at East Campus.</p>
<p>I&#8217;ve been using the scooter to commute every change I&#8217;ve gotten, just to put as many miles on it as possible. Nothing has yet broken, nor started shaking apart. I&#8217;ve been purposefully using sidewalks and cobblestone paved pathways whenever possible just to see what WOULD shake apart first, but the motor and other systems have remained steadfast.</p>
<p>The total mileage on this motor is probably 3 or 4 by now. A single cross campus trip consumes about 0.25 amp hours, and the longest trip so far has consumed 1.3 amp hours.</p>
<p>Here&#8217;s a <a href="http://maps.google.com/maps/ms?ie=UTF8&amp;hl=en&amp;msa=0&amp;ll=42.360098,-71.091124&amp;spn=0.005708,0.009645&amp;z=17&amp;msid=114334737145049145488.0004832f43320d37fbe00&amp;iwloc=0004832f4ac4fff510de7" target="_blank">Google map</a> of the most recent &#8220;long haul&#8221;. I began with a cross campus round trip, then quickly followed with an continuous loop around the eastern half (third?) of campus. The distance was 1.89 miles, so given the 1.3 AH consumption, we can figure that RazEr has a &#8220;mileage&#8221; of about 25 watt hours per mile.</p>
<p>I&#8217;ll try to time a &#8220;campus loop&#8221; now that the weather is nicer. I&#8217;ve monikered the continuous strip of sidewalk and bike path bounded by Massachusetts Avenue, Vassar Street, Main Street, and Ames Street as the &#8220;MITburgring Ostschleife&#8221;, after the <a href="http://en.wikipedia.org/wiki/Nurburgring" target="_blank">Nurburgring</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=594</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RazEr: The Aftermath and Beyond</title>
		<link>http://www.etotheipiplusone.net/?p=583</link>
		<comments>http://www.etotheipiplusone.net/?p=583#comments</comments>
		<pubDate>Sat, 27 Mar 2010 15:10:35 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Reference Posts]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=583</guid>
		<description><![CDATA[Some time last year, I said this about 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. [...]]]></description>
			<content:encoded><![CDATA[<p>Some time last year, I said this about RazEr:</p>
<blockquote><p>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).</p></blockquote>
<p>Well, it&#8217;s STILL hanging on a hook &#8211; almost a whole year now.</p>
<p>I can&#8217;t really remember when the &#8220;last voyage&#8221; of RazEr was, except that the hub motor was already on its way out. By that time, it wouldn&#8217;t even start from standstill and made ugly grinding noises when the controller finally did start it. The bearings were trashed, and I had filled the cavity between the wheel and motor can with hot glue so things would stay together.</p>
<p>After the motor just totally locked up one day, I put RazEr back on the hook and pretty much forgot about it. But since then, I had been slowly revising the motor design as a background process &#8211; when nothing else is on deck, I&#8217;d open up the model files and mess around with things.</p>
<p>I was specifically targeting a few shortcomings of the existing motor in the redesigns.</p>
<ul>
<li>The tire should be removable without taking the whole motor apart. The existing version only had two solid end plates securing everything, and if I ever wanted to change the wheel, I would actually have to disassemble the motor down to the wound stator.</li>
<li>I should not have to modify the tire itself past just cutting the center out. The fact that the side plates were attached with through-bolts meant that I had to cut bits out of the rigid plastic rim of the scooter wheel. This made the wheel very floppy and nonstructural.</li>
<li>No more protrusions outside the can! Combined with the nonstructural wheel, it meant that the through bolts were used in heavy cyclic bending &#8211; this lead to them backing out, fracturing, stripping&#8230; everything.</li>
<li>The 6802 type bearings were wimpy and very underrated for the loads that the motor had to bear.</li>
</ul>
<p>The last problem had to be held off until a complete blank-slate redesign because I could not otherwise recycle the core, including the stator, which had been designed around 5mm wide bearings and was well-epoxied in place.</p>
<p>The theme of the redesigns drifted towards some form of removable rings around the perimeter of the motor which retained the wheel between them.  I bounced around between two means of &#8220;removable&#8221; &#8211; either giant threaded rings:</p>
<p style="text-align: center;"><a href="/pics/sc3/beta5_so_much_fail.jpg"><img class="aligncenter" src="/pics/sc3/beta5_so_much_fail.jpg" alt="" width="512" height="400" /></a></p>
<p style="text-align: left;">&#8230; or radial screws, in the same manner that I would later <a href="http://www.etotheipiplusone.net/pics/cold/ca_43.jpg" target="_blank">execute on Deathrunner</a>:</p>
<p style="text-align: center;"><a href="/pics/sc3/wheelmotor_beta_6_yay_less_fail.jpg"><img class="aligncenter" src="/pics/sc3/wheelmotor_beta_6_yay_less_fail.jpg" alt="" width="512" /></a></p>
<p>Threaded collars offer a way to actually tighten to the wheel &#8211; retaining it by compressive friction, but I consider threading a nontrivial operation. Additionally, there would still be a need to assemble the motor&#8217;s bearing endcaps that was nonpermanent, a difficult affair unless I either wanted to thread over crossdrilled holes or make the endcaps themselves an additional threaded mount. Either way, lots of threads, and lots of chance to bum it up.</p>
<p>On the other hand, some radially bolted collars are simpler to make, but don&#8217;t allow setting the &#8216;grip&#8217; on the wheel &#8211; if i&#8217;m a millimeter short, then the wheel wouldn&#8217;t be actually retained under torque, and so on. They also allow easier installation or removal of the endcaps, as I saw on Deathrunner.</p>
<p>So what&#8217;s the decision here, then?</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_36.jpg"><img class="aligncenter" src="/pics/sc3/sc3_36-mid.jpg" alt="" width="512" height="400" /></a></p>
<p>Well, an exact 50/50 compromise. On one side, radial case screws drilled into the magnet can (which is now much thicker and structural, and features a solid integrated collar) retain a bearing endcap. This is the &#8220;service entrance&#8221; since these parts are not permanently joined.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_37.jpg"><img class="aligncenter" src="/pics/sc3/sc3_37-mid.jpg" alt="" width="512" height="400" /></a></p>
<p>The other side features a removable threaded collar that mates with fine threads cut into the steel can. I included some spanner wrench holes to aid in tightening and removing. The bearing cap on <em>this </em>side is &#8220;permanent&#8221; &#8211; it will be aluminum, but slam-fitted into the can.</p>
<p>This was the design I settled on. It achieves a good balance of manufacturing convenience with serviceability.  Now I needed the stator out of the now retired motor. I disassembled RazEr to have a look at the motor insides after the failure.</p>
<p>Nothing prepared me for the utter horror that was the motor internals.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_29.jpg"><img class="aligncenter" src="/pics/sc3/sc3_29-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>It&#8217;s already looking bad. Bent bolts, stripped threads and heads, and clumps of torn up urethane and hot glue debris.</p>
<p>Where&#8217;s the tire?</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_30.jpg"><img class="aligncenter" src="/pics/sc3/sc3_30-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Oh, yeah. I had to cut that off because the screws were too broken to be extracted from the endcap, and the whole thing was probably friction welded together by now.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_31.jpg"><img class="aligncenter" src="/pics/sc3/sc3_31-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>I finally knock one endcap off with a large screwdriver and mallet and</p>
<h1>AAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHH</h1>
<p style="text-align: center;"><a href="/pics/sc3/sc3_32.jpg"><img class="aligncenter" src="/pics/sc3/sc3_32-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>What HAPPENED?</p>
<p>The entire interior surface of the motor was completely caked in some black powdery mess. It looks like something either got inside, or otherwise managed to interfere with the stator-rotor airgap, and subsequently got ground to bits.</p>
<p>This probably explained the inability of the motor to start from standstill because of the massive friction.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_33.jpg"><img class="aligncenter" src="/pics/sc3/sc3_33-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Through some investigation of the surface conformity of the magnets, I discovered these two loose and displaced magnets which bear clear scraping marks. The black powder is probably corroded magnet bits &#8211; both dust from their ceramic bulk and the nickel-copper plating. There&#8217;s probably stator steel particles involves also. Rust on the interior tells me that water got into the motor, probably from riding around all winter.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_34.jpg"><img class="aligncenter" src="/pics/sc3/sc3_34-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>The motor casing, after separation.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_35.jpg"><img class="aligncenter" src="/pics/sc3/sc3_35-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>I feared for the stator&#8217;s integrity, but it was electrically sound  &#8211; no burns or broken wires. The loose magnet had carved a very impressive gouge across half its thickness. The uniformity of this gouge tells me that the magnet has been dragging like this for a <em>very long time</em>.</p>
<p>Seriously &#8211; that&#8217;s a wear pattern you usually see on DC motor commutators.</p>
<p>The damage isn&#8217;t permanent or serious, so the stator will be reused.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_38.jpg"><img class="aligncenter" src="/pics/sc3/sc3_38-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Alright, so usually this is where I make about 4 build reports detaining every minor machining step in the process of making this thing. But I think we&#8217;ve heard enough about day to day machine technique, so I&#8217;ll start saving some words and just show the interesting steps.</p>
<p>I got up one day and decided to just blitz everything in one shop spree. I got most of the way there, too.  The components above are &#8220;protoforms&#8221; &#8211; they don&#8217;t have holes drilled and tapped yet, but the basic shape of the motor is done and the threads have even been cut into the motor can!</p>
<p>Making the can&#8217;s  3 1/4&#8243;-24 GYF (Girl You Fine) thread went quicker and was less disasterous than I had anticipated. Fortunately, my toy indexable cutter set came with a carbide tipped threading tool. Regardless, the finish left alot to be desired. I ended up running a needle file through the threads to clean them up &#8211; otherwise, the steel appeared more liable to tearing and smearing than.. <em>cutting</em>.</p>
<p>I suspect it&#8217;s just a matter of technique, though. That and tool quality &#8211; something mitr0nz lacks a bit.</p>
<p>Hurrr. A bit.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_39.jpg"><img class="aligncenter" src="/pics/sc3/sc3_39-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Making the threaded external collar, though, was a adventure in a first. I had to make <em>internal </em>threads that had to mate with an external one.</p>
<p>A long time ago, I anticipated eventually having to deal with this problem (or was just tool shopping) and picked up some internal threading tools, both left hand and right handed. I finally was able to whip one out and use it on the aluminum threaded collar.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_40.jpg"><img class="aligncenter" src="/pics/sc3/sc3_40-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Here they are, the most hideous threads known to man.</p>
<p>Actually, they are not <em>that</em> bad. Aluminum machines like a blaze with carbide, and most of the gunk in the threads is just particles mixed in cutting oil.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_41.jpg"><img class="aligncenter" src="/pics/sc3/sc3_41-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>And the motor can screws on!</p>
<p>I decided to leave the inner diameter a little loose. This made the  collar wobble slightly on the motor can, but I figured that while  removing metal is always easier than putting it back, trying to line up  the lathe&#8217;s leadscrew and threading feed with something it already made  is not so easy.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_42.jpg"><img class="aligncenter" src="/pics/sc3/sc3_42-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>A bit of shaping and parting later, there was a threaded collar.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_43.jpg"><img class="aligncenter" src="/pics/sc3/sc3_43-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>And the collar threaded onto the can&#8230;</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_44.jpg"><img class="aligncenter" src="/pics/sc3/sc3_44-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>And everything test-fitted together.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_45.jpg"><img class="aligncenter" src="/pics/sc3/sc3_45-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>After making sure the fits were correct, I put in the new motor magnets. They are <a href="http://www.supermagnetman.net" target="_blank">SuperdupermagnetGeorge</a>&#8216;s M2515. For all your stock and custom magnet needs, see Supermagnet George. He&#8217;s supplied the mags for literally <strong>ALL</strong> the motors I have ever built, including the customs for Deathrunner!</p>
<p>There are very few magnet arrangements that yield an almost 100% fill with flat magnets, but somehow, during the builds of this motor, I managed to hit two already. 28 magnets complete a circle in this redesigned can with a gap the size of a few stacked sheets of paper left over!</p>
<p>It could have been totally closed if I had machined the can just 0.005&#8243; smaller.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_46.jpg"><img class="aligncenter" src="/pics/sc3/sc3_46-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>With the motor assembled, I cored out my last 125mm scooter wheel.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_47.jpg"><img class="aligncenter" src="/pics/sc3/sc3_47-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>And here is the motor in the test fixture, ready for a whirl. I ended up being too lazy to actually put fastening features on the ring, and ended up just cranking it with a set of vise grips.</p>
<p>I can&#8217;t say that I&#8217;m satisfied with the machining tolerances (there&#8217;s a very small amount of wobble and the bearing fits are suboptimal), but that&#8217;s what I get for blitzing everything.</p>
<p><span id="more-583"></span></p>
<p>Oh, by the way, here is a picture of this motor&#8217;s back-EMF profile.</p>
<p style="text-align: center;"><a href="/pics/sc3/razer_bemf.jpg"><img class="aligncenter" src="/pics/sc3/razer_bemf-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>For the Mechanical Engineering Department&#8217;s <a href="http://web.mit.edu/2.671/www/" target="_blank">Measurement and Instrumentation</a> course that I&#8217;m taking this Spring, I&#8217;m messing around with a few ways of predicting the torque a motor will make, without actually&#8230; you know, measuring the torque.</p>
<p>Analyzing the BEMF profile (the voltage profile put out by a motor when driven by an external velocity source is one way to estimate the torque constant of the motor. The short story is that in SI units, a motor&#8217;s BEMF constant (Volts / (rad/s), or just volt*seconds) is equal to its torque constant (Newton-meters / amp). Given volts out and speed, you have the kernel of the motor characterized.</p>
<p>So how do you extract this info from a neato wave thing? The &#8220;volts&#8221; part is easy.</p>
<ul>
<li>It&#8217;s just what the oscilloscope says on the cursors! Actually, there&#8217;s a catch. I am measuring the motor line to line (<em>i.e. </em>ground clip to one phase wire, signal input to another, and the third one left loose). The oscilloscope references all its grounds to earth ground, whether or not the ground clip is actually connected to &#8220;zero volts&#8221;. Therefore, instead of getting the voltage out referenced to 0 volts, I&#8217;m essentially getting the voltage referenced to the opposite of itself because I am measuring an AC voltage source (the spinning motor) via two terminals. Result: It&#8217;s not 20.5 v I&#8217;m observing, it&#8217;s actually <strong>10.25v</strong>.</li>
<li>The Tek 2445 scope can&#8217;t compensate for 10x input probes. I found that using 1x inputs, the scope was overwhelmed when I spun the motor quickly (<strong>using an R/C car wheel attached to a frackin&#8217; pneumatic die grinder</strong> &#8211; it goes FAST). So, I used 10x attenuation on the probe without changing any scope settings. The voltage you are seeing on is <strong>102.5 volts</strong></li>
</ul>
<p>One hundred and two volts.  Yeah, this thing was being spun FAST. How fast? The frequency of the sine wave will reveal the motor speed.Reading the timebase and lining the sine wave up peak-to-next-peak,</p>
<ul>
<li>We know that every time the wave comes back around, the motor completes one electrical cycle. This is approximately 4.4  divisions of 500 microseconds each, or 2.2 milliseconds per electrical cycle.</li>
<li>LRK motors take 7 electrical cycles to complete one mechanical cycle. That&#8217;s .0154 seconds per mechanical cycle.</li>
<li>We need to convert (s / 2pi radians) to rad/s. So divide by 2pi to get rid of the factor, then invert the whole thing.  The motor speed is <strong>407 rad/s.<br />
</strong></li>
</ul>
<p>That&#8217;s it. Razer&#8217;s motor has a Km (motor BEMF constant) of 102.5v / 407 rad/s = <strong>0.251 Vs</strong></p>
<p>By direct conservation of power, the torque constant is <strong>0.251 Nm/A</strong>. Or damn close to it &#8211; nonidealities always decrease the motor constants, resulting in a faster, less torquey, less efficient motor.</p>
<p>I can&#8217;t quite sanity check this yet, but given that Razer runs a 28v electrical system, the motor should run approximately (1 / 0.251) rad/s / V , times 28V = 111.5 rad/s or about 1000 RPM unloaded. RazEr has 5 inch wheels, and ran about 10-12MPH on a good day, which is about 800 RPM. Not unreasonable for a light loaded cruise, so I would unscientifically say <strong>Km = 0.251</strong> is a reasonable estimate.</p>
<p>The real test would be a dynamometer&#8230;</p>
<p>So, the motor&#8217;s done. But where&#8217;s RazEr? I still need to actually put the thing back together and check everything for running order&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=583</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Fall 2009 Roundup: Überclocker Updates, RazEr Redux, Analog Antics, and the End of the Tragedy of the LOLrioKart</title>
		<link>http://www.etotheipiplusone.net/?p=417</link>
		<comments>http://www.etotheipiplusone.net/?p=417#comments</comments>
		<pubDate>Mon, 05 Oct 2009 22:29:58 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[Bots]]></category>
		<category><![CDATA[LOLrio Kart]]></category>
		<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[SEGFAULT]]></category>
		<category><![CDATA[Überclocker Remix]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=417</guid>
		<description><![CDATA[&#8230;wins for the longest post title EVER on this site. That&#8217;s because it addresses quite a few topics. I can finally characterize the academic term so far as having entered a steady state, which just means I know which nights I can bumble away safely, so it&#8217;s time to step up work on the projects. [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;wins for the longest post title EVER on this site. That&#8217;s because it addresses quite a few topics. I can finally characterize the academic term so far as having entered a steady state, which just means I know which nights I can bumble away safely, so it&#8217;s time to step up work on the projects. I&#8217;ve devised a list of theoretically attainable goals for the next few months, stretching into the coming winter months.</p>
<h3>Überclocker Remix</h3>
<p>Let&#8217;s start with some pictures of epic motor ownage. I cracked open the toasted HTI gumball machine motors out of curiosity after removing them from the bot. What awaited me inside was a scene of utter devastation.</p>
<p><a href="/pics/cb2/cb2_131.jpg"><img class="aligncenter" src="/pics/cb2/cb2_131-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>That doesn&#8217;t look very healthy. It appears the commutator decided to just melt off the backing material. This motor actually still ran, just throwing blazing white sparks everywhere. The discoloration of the copper next to the crater attests to the extreme heating that occured.</p>
<p style="text-align: center;"><a href="/pics/cb2/cb2_132.jpg"><img class="aligncenter" src="/pics/cb2/cb2_132-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>The brush cap from the left side, which simply failed open circuit at the event. Well, now the reason is clear why it failed open. Half of the brush conductor spring just sort of flew off and <em>melted itself into the other side of the plastic brush holder</em>.</p>
<p>The carbon brush itself was bouncing around inside the motor.</p>
<p style="text-align: center;"><a href="/pics/cb2/cb2_133.jpg"><img class="aligncenter" src="/pics/cb2/cb2_133-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Another view. That bit of spring must have been pretty hot to instantly melt itself into the plastic.</p>
<p style="text-align: center;"><a href="/pics/cb2/cb2_134.jpg"><img class="aligncenter" src="/pics/cb2/cb2_134-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>And another view of the copper droplet that is the commutator. Oddly enough, the windings themselves seemed for the most part to be just fine.</p>
<p style="text-align: center;"><a href="/pics/cb2/cb2_135.jpg"><img class="aligncenter" src="/pics/cb2/cb2_135-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Here&#8217;s Überclocker looking decrepit on a table. Since a robot with no motors is akin to a dog with no legs, or a fish with no fins, I began the quest to search for a&#8230; well, more legitimate motor. That&#8217;s when I remember that I found <a href="http://www.etotheipiplusone.net/pics/cb/dewalt2.jpg" target="_self">these</a>, from Way Back.</p>
<p>DeWalt drills are classic musclebot motors. Sadly enough, these were of different voltages (!?), which not only surprised me as to how on earth their previous user expected their creation to move in a straight line, but saddened me because I&#8230; well, want mine to.</p>
<p>It was enough to perform a fit test and draw up plans to modify the gearbox to accept these motors while UPS channels their Brownian Motion to get a matched set of motors to me. They are the &#8220;new&#8221; DeWalt motors, where &#8220;new&#8221; is relative to 2003 or so. These drills have 3 speeds and are infinitely more of a bitch to mount. So I will only be using the motors in my custom frakenb0xen.</p>
<p style="text-align: center;"><a href="/pics/cb2/cb2_136.jpg"><img class="aligncenter" src="/pics/cb2/cb2_136-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Fit test. The good news is that these motors are roughly the same length as the 700-size HTI motors, but a little fatter. No issue, considering the gearboxes have plenty of wiggle room.</p>
<p style="text-align: center;"><a href="/pics/cb2/cb2_137.jpg"><img class="aligncenter" src="/pics/cb2/cb2_137-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>The gearbox modified to accept a DeWalt motor, with its Alien Technology Motor Pinion of neither metric nor Imperial tooth pitch. Needless to say, this will be removed and the HF motor pinion crammed on in place.</p>
<p>So am I over-motoring the HF drill gearbox parts by putting a <em>real</em> motor on them? Perhaps. However, I think it&#8217;s a legitimate move in a 30 pound robot, because the laws of physics dictate that I can only put so much power to the ground. I&#8217;m mostly after the &#8220;real motor&#8221; bit, not so much increased drivetrain power, because the robot doesn&#8217;t have the traction to use it.</p>
<p>With motors now on the way, this conversion ought to go quickly since I&#8217;ve already drilled the new mounting holes to accommodate them. Überclocker should then be able to attend more events.</p>
<h3>The (Possibly?) Final Chapter in the Tragedy of the LOLrioKart</h3>
<p>So by now all ya&#8217;ll have probably heard of this.</p>
<p style="text-align: center;"><a href="http://www.etotheipiplusone.net/pics/kart/lolriokart.png"><img class="aligncenter" src="http://www.etotheipiplusone.net/pics/kart/lolriokart.png" alt="" width="512" height="384" /></a></p>
<p>While the details surrounding the citation were <em>totally illegitimate</em> and imply a degree of recklessness that was not present at all, the bottom line is that the kart is not going on any more open road adventures until it&#8217;s <em>legit</em>. And by legit, I mean registered and insured and fully street legal.</p>
<p>Whatever measure this takes, it will happen. It will simultaneously the most confusing and most glorious thing on the planet.</p>
<p>But the good news is that through two weeks of intense demos and driving during Orientation, the kart <em>didn&#8217;t explode</em>. The motor controller, version 6, is more or less stable. That&#8217;s <em>huge</em>. That&#8217;s like, me doing something right in electronics for once.</p>
<p>Of course, if I actually run the numbers on the electrical characteristics of the power converter, it would probably make real EEs run away to vomit. But the kart has survived more than twenty power cycles without misbehaving, save for the flakey DC-DC converter that caused the initial failure of version 6. A replacement module with better-designed (read: existent) filtering solved the problem.</p>
<p>So I&#8217;m satisfied. There will be little active work on LOLrioKart this term, with most of the fleeting effort concentrating on the battery system. After said weeks of operation, two cells in the battery pack are now just resistors. I regularly saw the voltage dipping under 45 volts on acceleration, which is concerning to say the least. Battery management solutions are condensing around me, so I may make the jump to lithium iron phosphate cells.</p>
<h3>Now let&#8217;s move onto the new shiat.</h3>
<p>This is a Xootr Street push scooter.</p>
<p style="text-align: center;"><a href="/pics/sc4/sc4_1.jpg"><img class="aligncenter" src="/pics/sc4/sc4_1-mid.jpg" alt="" width="384" height="512" /></a></p>
<p>Gee, that looks kind of like every other push scooter on the planet. You know, like a Razor scooter. I thought you already had one of those? With like&#8230; a motor on it, right? That you built? I heard you built a motor. Can you show me how that works? Can you build me one?</p>
<p>&#8230; &lt;/average_miters_visitor&gt;</p>
<p style="text-align: center;"><a href="/pics/sc4/sc4_2.jpg"><img class="aligncenter" src="/pics/sc4/sc4_2-mid.jpg" alt="" width="384" height="512" /></a></p>
<p>Oh, <em>that&#8217;s</em> the difference.</p>
<p>As much as I love RazEr when it works, it&#8217;s time for me to realize that it&#8217;s <em>too freakin&#8217; small</em>. I&#8217;ve managed to hit the tiny-but-functional goal, and at the same time the maximum recommended rider weight a few times. With some more scrupulous design, I could <em>probably</em> fit more batteries in there, but otherwise all the useful space is essentially occupied. And while 5 inch wheels are great for shoving your average copier motor core into, they are not great for shoving into your average pothole.</p>
<p>I need something bigger. More legit™. So thanks to MITERS for coming up with an engineering sample of the Xootr Street. I won&#8217;t actually be making any mods to this one, since it&#8217;s &#8230; not mine, and stuff.</p>
<p style="text-align: center;"><a href="/pics/sc4/sc4_3.jpg"><img class="aligncenter" src="/pics/sc4/sc4_3-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>This thing measures a bit over 3 feet long when fully deployed. The wheels are 7 inches in diameter and cast aluminum. It&#8217;s the smoothest thing ever on the ground because of the large wheel-to-bearing diameter, which minimized rolling friction. And the deck is absolutely <em>enormous</em>&#8230;.</p>
<p style="text-align: center;"><a href="/pics/sc4/sc4_4.jpg"><img class="aligncenter" src="/pics/sc4/sc4_4-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>&#8230; and HOLY MAGNESIUM JESUS ON A STICK. It is in fact CNC machined from billet aluminum. These guys are just like me, except with infinitely more style. A scooter? Made from <em>real</em> metal?</p>
<p>And the 10 center-side pockets are just big enough to comfortable seat two A123 26650 cells apiece! How about that. 20 cells yields almost 150 watthours of battery pack energy.</p>
<p style="text-align: center;"><a href="/pics/sc4/sc4_5.jpg"><img class="aligncenter" src="/pics/sc4/sc4_5-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Ground clearance check. The deck height, oddly enough, is almost the same height of the Razor A3 frame. The wheel line is just an inch and a half or so higher to fit the 7&#8243; wheels. Overall, as can be seen, there is about 1.25&#8243; of &#8220;fiddle space&#8221; from the bottom of the deck (not including the pockets) to the top of the 1.5&#8243; parallel.</p>
<p>This is good, because hiding all the goodies under the vehicle frame contributes to vehicle aesthetics and the illusion that something which is not supposed to be motorized is moving under the directive of an unknown force.</p>
<p>There are no motor drawings or plans for this yet, but the profile of the wheels and their spacious internal diameter make them amenable to stuffing <a href="http://images.google.com/images?hl=en&amp;client=firefox-a&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;um=1&amp;sa=1&amp;q=axial+flux+motor&amp;aq=f&amp;oq=&amp;aqi=&amp;start=0" target="_blank">axial flux coreless motors</a> inside, maybe even one per wheel. I&#8217;ve been itching to build a real surface-wound (no iron core) pancake motor for a while, but have been put off by their complexity in manufacturing.</p>
<p>As more details condense from the bot-aether, I&#8217;ll give this project its own page, category, and possibly a snappy and witty name. This is not a high priority project, as I don&#8217;t even have the vehicle yet, and it might spill over into Spring term.</p>
<p>Spring is a better time to blaze around anyway.</p>
<h3>Now Announcing Project SEGFAULT</h3>
<p>Segways.</p>
<p>A bad pun on the word <em>segue</em>. A fundamentally unstable faceplant-waiting-to-happen of an <a href="http://en.wikipedia.org/wiki/Inverted_pendulum" target="_blank">inverted pendulum</a>. A cool exercise and great demonstration of basic control theory.</p>
<p>DIY balancing personal transporters have been attempted <a href="http://www.engadget.com/2007/03/09/meet-the-one-wheel-balancing-scooter-suck-it-segway/" target="_blank">and</a> <a href="http://scooterlabs.org/" target="_blank">perfected</a> <a href="http://rotordesign.com/clone/scooter.html" target="_blank">many</a> <a href="http://www.tlb.org/scooter.html" target="_blank">times</a> <a href="http://web.mit.edu/first/segway/" target="_blank">before</a>. It&#8217;s almost passè. There&#8217;s even instructions on how to do it and code for your choice of microprocessor. All you need is two fat motors, a rate gyroscope, an accelerometer, and determination.</p>
<p>The whole thing about &#8220;microprocessors&#8221; is what has been putting me off. I like to think I&#8217;m familiar with mechanical engineering principles. I&#8217;m shake on electronics and EE. But I&#8217;m the last person you want to ask about anything software related. I hate software. With a passion. Even though I use it ALL day, I shudder to see what goes on under the glitzy Web 2.0 interface, or under the ultrasonically-welded sealed cap of an Atmel chip.</p>
<p><img class="aligncenter" title="an op amp!" src="http://ocw.mit.edu/ans7870/SP/SP.764/imagegallery/lab7/images/4.jpg" alt="" width="500" height="375" /></p>
<p>&#8230;so that&#8217;s why I want to do it all in ANALOG ELECTRONICS.</p>
<p>That&#8217;s correct. Op amps, comparators, linear components, passives&#8230; it&#8217;s a <a href="http://stellar.mit.edu/S/course/6/fa09/6.002/index.html" target="_blank">6.002</a> (or <a href="http://web.mit.edu/6.101/www/" target="_blank">6.101</a>) paradise. I stochastically arrived upon this idea near the beginning of the term, but it took a few weeks before I took it upon myself to do some research on gyros and accelerometers, and sketch out a rudimentary control network composed primarily of rail-to-rail op amps.</p>
<p>Then I remembered that <a href="http://www.wa4dsy.net/robot/balancing-robot/analog-balancing-bot" target="_blank">Dale had built an analog balancing robot</a>, so naturally I read the site and discovered I was doing it totally wrong.</p>
<p>I have a sneaking suspicion that a relatively non-chaotic differential equation like the one that governs inverted pendulums can be pretty easily translated to a <a href="http://en.wikipedia.org/wiki/Continuous_signal" target="_blank">continuous time control system</a> (analog, as opposed to a <em>discrete time</em> digital control system). The idea as a whole is to have a purely analog, continuous-time front end controlling a Class D amplifier, also known as a <a href="http://en.wikipedia.org/wiki/Switching_amplifier" target="_blank"><em>switching amplifier</em></a> or if the output is bidirectional a <em>locked antiphase</em> amplifier. Basically this just means your transducer wiggles back and forth really quickly&#8230; but some times more in one direction than another, so the summation of the movements is a velocity.</p>
<p>But Charles, isn&#8217;t a <em>switching amplifier</em> a <em>digital </em>thing?!</p>
<p>Yeah, if I implemented a real linear motor driver, I would have a battery life of 30 seconds and require heat sinks the size of Hannah Montana. Sssshh&#8230;. don&#8217;t tell anybody.</p>
<p>With the plan now more grounded (HURRRRRRRRRR PUN) than before, I&#8217;m moving forward with the mechanical details, as I always tend to do first. Once I have a rolling frame, I could conceivably roll analog or digital, or mixed-signal. As always, this entails a trip to <a href="http://miters.mit.edu" target="_blank">MITERS</a> and a few hours of mining for parts.</p>
<p><a href="/pics/seg/seg_1.jpg"><img class="aligncenter" src="/pics/seg/seg_1-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>&#8230;</p>
<p>Yeah, so it&#8217;s nothing much yet. I grunged these 9&#8243; pneumatic tires for the project as they were the only two matching wheels in MITERS that weren&#8217;t already on something.</p>
<p>9 inches? Isn&#8217;t that a bit small (&amp;thats_what_she_said;) ? It is, but there&#8217;s nothing fundamentally wrong with having smaller wheels on such a machine. It just makes obstacle negoatiation tougher. If anything, I can get away with having less torquey motors because of the increased mechanical advantage.</p>
<p>The design work continues! After I get my control theory a bit more in line, I&#8217;ll sketch up a schematic of what I think should work. There are endless supplies of linear circuit components at MITERS and kicking around the EE labs for experimentation. I have accelerometers and gyros on the way from <a href="http://www.sparkfun.com">Sparkfun</a> for experimentation.</p>
<p>&#8230;Oh, that&#8217;s the other cheat here. Real, modern MEMS sensors. I&#8217;m going for the analogginess here, not period-realism.</p>
<p>SEGFAULT will get its own page and category as it develops. This is my number one goal for the end of the term, and I&#8217;m actually going to try to <a href="http://web.mit.edu/6.131/www/" target="_blank">get the controller graded</a>. Here goes&#8230; something!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=417</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It exists.</title>
		<link>http://www.etotheipiplusone.net/?p=359</link>
		<comments>http://www.etotheipiplusone.net/?p=359#comments</comments>
		<pubDate>Sat, 13 Jun 2009 01:32:32 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=359</guid>
		<description><![CDATA[Happy now? Video below, build reports, project page.]]></description>
			<content:encoded><![CDATA[<p>Happy now?</p>
<p>Video below, <a href="http://www.etotheipiplusone.net/?cat=28" target="_blank">build reports</a>, <a href="http://www.etotheipiplusone.net/?page_id=133" target="_blank">project page</a>.</p>
<p><object width="425" height="344" data="http://www.youtube.com/v/h5e-ad1cz90&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/h5e-ad1cz90&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" /><param name="allowfullscreen" value="true" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=359</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Summer Build Season 2009</title>
		<link>http://www.etotheipiplusone.net/?p=353</link>
		<comments>http://www.etotheipiplusone.net/?p=353#comments</comments>
		<pubDate>Wed, 03 Jun 2009 04:52:50 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[LOLrio Kart]]></category>
		<category><![CDATA[Nuclear Kitten 5]]></category>
		<category><![CDATA[Pop Quiz 2]]></category>
		<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Stuff]]></category>
		<category><![CDATA[Überclocker Remix]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=353</guid>
		<description><![CDATA[It has begun. While I seem to be in &#8220;build season&#8221; 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. &#8230; which sort [...]]]></description>
			<content:encoded><![CDATA[<p>It has begun.</p>
<p>While I seem to be in &#8220;build season&#8221; 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<a href="http://www.etotheipiplusone.net/?page_id=197" target="_self"> LOLrioKart</a> and built <a href="http://www.etotheipiplusone.net/?page_id=196" target="_self">Überclocker</a>, <a href="http://www.etotheipiplusone.net/?page_id=10" target="_self">Pop Quiz 2</a>, and <a href="http://www.etotheipiplusone.net/?page_id=6" target="_blank">Nuclear Kitten</a> for <a href="http://www.dragoncon.org" target="_blank">Dragon*Con</a>.</p>
<p>&#8230; which sort of <a href="http://www.etotheipiplusone.net/?cat=55" target="_self">sucked horribly for everything</a>. Except NK, but only by about *this* much.</p>
<p>So what&#8217;s coming down the projectubes this summer?</p>
<p>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&#8217;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.</p>
<h3>Übercløcker RЭmiχ</h3>
<p style="text-align: center;"><a href="/pics/cb2/cb2_14.jpg"><img class="aligncenter" src="/pics/cb2/cb2_14-mid.jpg" alt="" width="512" height="363" /></a></p>
<p>I started <a href="http://www.etotheipiplusone.net/?p=216" target="_self">redesigning Uberclocker</a> 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&#8217;t happen. But what that presented me with was the chance to <em>put it away and not look at it for several months</em>.</p>
<p>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 &#8220;impossible objects&#8221; that I might have included, or Really Bad Ideas. Such design flaws plagued the real life Uberclocker 1.0 at D*C last year.</p>
<p>Planned upgrades from 1.0? Well, besides <strong><em>EVERYTHING</em></strong>, the primary focus is on drivetrain reliability, center of gravity, and the upper clamp arm.</p>
<p>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&#8230; wasn&#8217;t.</p>
<p>The robot also suffered from &#8220;centrally located center of gravity&#8221; syndrome at the event. While a CoG near the geometric centroid of the robot is good in practically <em>every other case</em>, the fact that the bot&#8217;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.</p>
<p>Oh, that&#8217;s right, Uberclocker 1.0 weighed in at an incredible <em>22.5</em> pounds out of 30 at the event. I&#8217;ll fix that too.</p>
<p>What I didn&#8217;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 &#8220;unsound&#8221;, I still have my doubts as to the clamp mechanism&#8217;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 &#8220;holding power&#8221;, 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&#8217;t.</p>
<p>But robot-heaven forbid that I make Überclocker even <strong>more</strong> complicated by incorporating a pneumatics system for the one actuator that might need it. Thus, I&#8217;m still partial to a (spring-coupled) leadscrew-type mechanism, over the current design candidate&#8217;s motor-on-a-weird-gear. Except this time it won&#8217;t be driven by a beetleweight motor.</p>
<p>I intend to keep the &#8220;Chinese puzzle&#8221; frame, and will be refining it for ease of assembly. I devoted a few weeks to just fabricating the frame parts last time &#8211; no, never again. That&#8217;s what computer-controlled machine tools are for.</p>
<h3>Pop Quiz 2√2</h3>
<p>Incidentally, 2√2 is about 3. Not quite there, which also describes this planned <em>rebuild</em> of Pop Quiz 2. It&#8217;s not quite a complete conceptual revision, but there will be significant upgrades all around.</p>
<p>PQ2 is one of the (if not the) flattest 1lb class robots around that has an active weapon. It hits lower than some <em>undercutters</em>. The problem is that going the extra 1/8&#8243; down in this current design meant that I had to ditch practically all the well-known, battle-proven parts &#8211; Sanyo gearmotors, SPEKTRUM 2.4ghz receivers, etc.</p>
<p>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.</p>
<p>Not cool. For &#8217;09, I am <strong>INCREASING</strong> the height of the bot. Me, making a robot <em>taller</em>. How many times does THAT happen?</p>
<p>The robot height will be increased to about .400&#8243;, enough to cram in a set of <em>real</em> Sanyo micro gearmotors. The rest of the robot&#8217;s electrical system is sound, and so is the weapon motor. I&#8217;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.</p>
<p>There&#8217;s no current virtual model for PQ2.8284171, but just imagine the current bot 0.025&#8243; thicker.</p>
<h3>Nuclear Kitten 5.1 Digital Surround Sound Edition</h3>
<p>I&#8217;m actually satisfied with the performance of one of my combat &#8216;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.</p>
<p>The only point of concern with NK is the drivetrain. Despite having a mechanically isolated weapon, I&#8217;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.</p>
<p>No frame changes are necessary, since the bot escaped D*C rather unscathed.</p>
<h3>LOLrioKart</h3>
<p>Since I discovered that the main battery pack was leaking voltage all over the place (<em>somehow</em>, 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&#8217;m fairly certain should never be the case. While it&#8217;s fairly common for the battery negative terminal to also be the casing, the errant voltages are always somewhere <em>between</em> 0 and 1 volts.</p>
<p>This case voltage doesn&#8217;t seem to have negatively affected the cells, but I&#8217;m fairly certain it&#8217;s the culprit behind stray frame voltages. Somehow.</p>
<p>The focus for LOLrioKart work will be the electrical system. I intend to complete and test the ginormoFET controller and <em>possibly</em> implement dynamic (or regenerative!) braking using the upper leg of the half-bridge. Mechanically, the kart is fine.</p>
<p>Well, except for the brakes, but they&#8217;ve <em>always</em> been undersized and insufficient.</p>
<p>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&#8217;m heavily considering crating up LOLrioKart and shipping it down when Dragon*Con comes around, so I can drive it in the <a href="http://dragoncon.org/events.php#Parade" target="_blank">parade</a>. This could possibly be the worst idea I have ever thought of.</p>
<h3>Project RazEr</h3>
<p>It&#8217;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 &#8220;works&#8221;, I don&#8217;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).</p>
<p>Time to get crackin&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=353</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I accidentally</title>
		<link>http://www.etotheipiplusone.net/?p=279</link>
		<comments>http://www.etotheipiplusone.net/?p=279#comments</comments>
		<pubDate>Tue, 24 Mar 2009 09:28:06 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=279</guid>
		<description><![CDATA[everything. I am now thoroughly convinced beyond any doubt that power electronics just plain hate me and want to see me suffer. Last week, the 5v switching regulator on RazEr went out with no explanation. Fortunately, it just stopped switching, and didn&#8217;t jam 35 volts through all my control logic like last time. Today, still [...]]]></description>
			<content:encoded><![CDATA[<p>everything.</p>
<p><strong>I am now thoroughly convinced beyond any doubt that power electronics just plain hate me and want to see me suffer. </strong></p>
<p>Last week, the 5v switching regulator on <a href="http://www.etotheipiplusone.net/?cat=28" target="_blank">RazEr</a> went out with no explanation. Fortunately, it just stopped switching, and didn&#8217;t jam 35 volts through all my control logic like last time.</p>
<p>Today, still depressed from the failure of LOLrioKart and wanting at least one working vehicle, I cracked it open and found out that the (poorly) reflow-soldered output capacitor fell off. After soldering it back on, and still have it be dysfunctional, I made a 30-to-5-volt linear regulator from a 78T05 chained to a 78T12.  One 7805 cannot handle the drop from 30 volts to 5, so the 7812 is an intermediate stage. This is an arrangement that&#8217;s worked for me before.</p>
<p>After installation, the headlight, servo driver, and ESC fire right up. I was able to reset my throttle endpoints as usual. Then I pushed on the handlebar throttle, and</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_28.jpg"><img class="aligncenter" src="/pics/sc3/sc3_28-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>FML.</p>
<p>(Oddly enough, the headlight and servo driver  stayed on through the entire ball of fire. That means my regulator works.)</p>
<p>Back to DC motors and relays&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=279</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>While you were away&#8230;</title>
		<link>http://www.etotheipiplusone.net/?p=264</link>
		<comments>http://www.etotheipiplusone.net/?p=264#comments</comments>
		<pubDate>Wed, 04 Mar 2009 09:32:56 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=264</guid>
		<description><![CDATA[I finished the rebuild of Project RazEr. Because the site has been down, I never wrote up any day-by-day build reports, but still took pictures accordingly. So, here&#8217;s an epicly long build report all the way from start to finish. The whole process wasn&#8217;t long and drawn out this time, mostly because the fabricated components [...]]]></description>
			<content:encoded><![CDATA[<p>I finished the rebuild of Project RazEr. Because the site has been down, I never wrote up any day-by-day build reports, but still took pictures accordingly.</p>
<p>So, here&#8217;s an epicly long build report all the way from start to finish. The whole process wasn&#8217;t long and drawn out this time, mostly because the fabricated components were conceptually simple. The majority of work was done in a few evenings at <a href="http://miters.mit.edu" target="_blank">MITERS</a> (as usual.)</p>
<p><span id="more-264"></span></p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_0.jpg"><img class="aligncenter" src="/pics/sc3/sc3_0-mid.jpg" alt="" width="512" height="414" /></a></p>
<p>Here&#8217;s the plan. Unlike version 1 of RazEr, the module is one-piece, not a weird jumble shoved into the tube frame of the scooter and an add-on pack underneath. This time, I intended to cut out the entire bottom of the scooter in order to fit everything in.</p>
<p>Benefit: A vast increase in usable, <em>contiguous</em> space. That&#8217;s the biggest difference. While I only gain maybe 2 cubic inches from version 1 (in the form of the aluminum bottom of the scooter), that 2 cubic inches of metal divided the battery pack, electronics, and everything else from eachother. Losing this barrier meant I could use bigger battery packs for <strong>MOAR P0WAR!</strong>. Not only that, but I could use <em>stock</em> R/C hobby lithium polymer batteries.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_1.jpg"><img class="aligncenter" src="/pics/sc3/sc3_1-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Like this 5AH, 4S1P battery from <a href="http://www.hobbycity.com">UnitedKingoftheHobbyCity</a> (or whatever the hell they call themselves now). I got two and intend to run them in series for 5AH, 29.6v nominal &#8211; or almost <em>150 watt hours</em> of battery power, quite substantial for something this small.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_2.jpg"><img class="aligncenter" src="/pics/sc3/sc3_2-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>One pain with using Li chemistry batteries is that they require balancing. Unlike Nickel chemistry batteries, you can&#8217;t just let a Li cell bake off an overcharge while weak cells in the pack catch up. Usually, that involves catching fire.</p>
<p>Having more contiguous cubic inches in the design meant that I could use more real electronics, such as this 5S balancer module. The plan is to mount two inside, each balancing a single 4S pack. There was no danger of ground-looping a pack because these balancers have no other physical connection to the world.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_3.jpg"><img class="aligncenter" src="/pics/sc3/sc3_3-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Alright, so let&#8217;s see how everything fits. So far, so good. It&#8217;s hard to get a sense of physical size on a 2D computer screen. When am I going to get fully-immersive 3D holographic CAD programs?!</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_4.jpg"><img class="aligncenter" src="/pics/sc3/sc3_4-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>This is &#8220;The Stack&#8221; of electronics. Of course, the end result will be more organized, and use actual mounting screws, standoffs, and the like.</p>
<p>The 100A 42V brushless controller is on the bottom &#8211; the intention is to strap the MOSFET side directly to the thick aluminum for heatsinking. On top of that go the balancer cards. On top of that still is the 5V switching regulator that will power all the logic (no more linear regulator dropping 35 volts to 5!). Barely visible, between the balancer cards, is a <a href="http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=8373" target="_blank">servo tester</a>. I decided to just buy one since they make them smaller, better, and more durable than I ever can &#8211; come on, it fits *between* the two balancer cards.</p>
<p>Alright, enough visualizing. Let&#8217;s begin.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_5.jpg"><img class="aligncenter" src="/pics/sc3/sc3_5-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>What happens when you need 18 inches of a 3&#8243; square aluminum tube? You buy 6 feet, because McMaster-Carr says so. I had to split the enormous 6 foot stick into two three foot sticks, then cut the 18 inches I needed off <em>that. </em></p>
<p>So I lied &#8211; I only needed half of that 18 inches.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_6.jpg"><img class="aligncenter" src="/pics/sc3/sc3_6-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Except it&#8217;s half in that other way. With  the new <strong>SLITTING SAW!!!!!</strong> I was able to take a clean cut down the longitudinal plane to separate the tube into 2 U-channels.Two little clamp fingers set into the T-slot and dialed in provided a flat stop to clamp the tubing against.</p>
<p>18 inches is a long way to crank a mill manually &#8211; this and many other operations were facilitated by the mill power feed.</p>
<p>Wait, what power feed? Charles, the <a href="http://www.etotheipiplusone.net/pics/mill.jpg" target="_blank">MITERS Bridgeport</a> doesn&#8217;t have an X-axis table feed.</p>
<p>No, but I have a cordless drill with a socket wrench that fits the handle nut. Worked beautifully.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_7.jpg"><img class="aligncenter" src="/pics/sc3/sc3_7-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Finishing the U-channel sides to proper height. I dug up all the random clampy things we had for these operations &#8211; I think we need more.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_8.jpg"><img class="aligncenter" src="/pics/sc3/sc3_8-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>After making a bunch more profile-shaping cuts and drilling holes, it&#8217;s time to throw it on the body as a test!</p>
<p>Note that the wheelmotor is missing at this point. I still needed some form of transportation &#8211; walking just seems so inefficient after putzing around on wheels &#8211; and the hub motor, while smooth, still added massive drag compared to a plain skate wheel. So I dismounted the drive motor and threw in a scooter wheel while construction was going on.</p>
<p>As can be plainly observed, I have a few pebbles worth of ground clearance. Surprisingly, it&#8217;s still <em>more</em> than the average 90/100mm-wheeled Razor scooter.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_9.jpg"><img class="aligncenter" src="/pics/sc3/sc3_9-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Here&#8217;s one result of planning ahead and designing things before building them. This is the front endcap of the module (the rear is similar, just without the holes). Eventually, when everything is mounted, I&#8217;ll go around the edges with silicone sealant and make this sucker splash-resistant.</p>
<p>The &#8220;window&#8221; is laser-cut acrylic, done on the Media Lab&#8217;s <strong>GIANT LAZER</strong>.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_10.jpg"><img class="aligncenter" src="/pics/sc3/sc3_10-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Throwing everything into the unfinished module. Hmm, space is a little tighter than I had imagined up int he front.</p>
<p>Well, the important bits fit, so it&#8217;s time to commit the changes to the scooter body.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_11.jpg"><img class="aligncenter" src="/pics/sc3/sc3_11-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>I set the aluminum extrusion frame of the Razor scooter up in the mill and carved out the entire bottom. After this, the frame is <em>no longer structural</em>, and the module itself has to be attached with more security since it has to take a load. That was my concern with switching to the current design. We&#8217;ll see how it goes, I suppose.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_12.jpg"><img class="aligncenter" src="/pics/sc3/sc3_12-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>The no-longer-tube frame cleaned up. I guess now it&#8217;s more of a double-T shape, or a U-channel with a fat bottom end.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_13.jpg"><img class="aligncenter" src="/pics/sc3/sc3_13-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Let&#8217;s see how the back end fits. Verdict: Pretty well. I was afraid of misjudging the height of the interior as well as that radius at the interior top of the frame, but it seems to be correct.</p>
<p>Nothing a giant bead of sealant can&#8217;t remedy.</p>
<p>So, the bounding dimensions are correct. Time to add the details!</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_14.jpg"><img class="aligncenter" src="/pics/sc3/sc3_14-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Milling the angle at the front. I could have left it square and gotten a little more space, but the angle complements the existing angle on the scooter frame, and doesn&#8217;t make the whole thing look like a box.</p>
<p>Also, I drilled/milled holes and slots for the eventual battery plugs.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_15.jpg"><img class="aligncenter" src="/pics/sc3/sc3_15-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Test fitting after milling the angle.</p>
<p>So what are those five little holes in the front for?  Well, I figured as long as I was making a cap for the module, I might as well add some spiffiness to the whole thing. So, the five holes are for superbright white LEDs, which cast a low-angle light in front of the vehicle to act as a sort of headlight.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_16.jpg"><img class="aligncenter" src="/pics/sc3/sc3_16-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>The entire physically finished frame. Essentially, this module is an extension of the internal cavity of the scooter. If it weren&#8217;t for my obnoxios bad-setup-induced chatter marks, it would almost look like it came this way.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_17.jpg"><img class="aligncenter" src="/pics/sc3/sc3_17-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Now that I was mounting a bunch of electronics right under the folding joint, the large conductive cylindrical protrusions (otherwise known as screws) had to go. Simple &#8211; attach the joint, then cut off the screws flush with the mounting plate so they don&#8217;t stick out any further from the bottom.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_18.jpg"><img class="aligncenter" src="/pics/sc3/sc3_18-mid.jpg" alt="" width="384" height="512" /></a></p>
<p>Making a precisely (okay, semi-precisely) engineered frame extension module for a scooter may be easy enough, but now how am I going to <em>securely</em> attach it to the original frame? The plan called for simple set screw pressure (the six holes in the sides), but I pretty much knew from the start this wasn&#8217;t going to hold anything.</p>
<p>Set screws by themselves exert strong point pressures, but this can easily exceed the yield strength of the metal and cause epic joint strength fail because the connection point simple deforms away from the screw.</p>
<p>This is why removing anything from a shaft that has a slipped-set-screw ring cut into it is horrible and usually involves a giant press or grinding wheel.</p>
<p>How to overcome this? While reading about how to adjust the cross-slide gibs on the MITERS lathe, I realized that if I slipped a soft piece of into the gap (between my module sidewall and the original scooter frame), and then applied the set screw pressure to <em>that</em>, the pressure gets distributed by the soft metal into a friction force that covers a wide area, binding the module to the frame.</p>
<p>This is the same mechanism that some small hobby lathes and mills <a href="http://www.mini-lathe.com/Mini_lathe/Tuning/tuning.htm#adjust_gibs" target="_blank">adjust their slide gibs </a>with, except, of course, you don&#8217;t want to go as far as to bind the sliding surfaces together.</p>
<p>So notice the strip of aluminum crammed into the gap. When all six set screws are tightened against it, the whole assembly is rock solid.</p>
<p>I christen this the &#8220;<a href="http://en.wikipedia.org/wiki/Rise_of_the_Triad#.22Gibs.22" target="_blank">Ludicrous Gibs</a>&#8221; mounting method for attaching two channel-shaped objects together. ROTT was a great game, by the way.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_19.jpg"><img class="aligncenter" src="/pics/sc3/sc3_19-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Wiring work begins. Note the neat laser-cut Deans connector mounts. Each one snugly holds a Deans female plug, aided by a drop of thin CA glue. In turn, they are screwed into the side of the channel.</p>
<p>The left plug is the battery, and the right plug leads to the controller and other electronics. This will be bridged by a removable power link, like how I make most of my robots&#8217; main power switches.</p>
<p>It&#8217;s kind of silly to try and aim a plug into a socket as an EV switch, but I couldn&#8217;t find a switch of the proper rating (or form factor) and invented this idea in a few minutes. However, the benefit is that I have easy access to <em>both</em> sides &#8211; battery OR vehicle, should I want to run experiments or fit a <a href="/pics/sc/sc_29.jpg" target="_self">power meter between them to take runtime data</a>.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_20.jpg"><img class="aligncenter" src="/pics/sc3/sc3_20-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Dropping the components in&#8230; There&#8217;s no turning back now.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_21.jpg"><img class="aligncenter" src="/pics/sc3/sc3_21-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Looking pretty good so far. After mounting the batteries (read: tacking them down with foamy double-sided tape), I performed a quick fit check.</p>
<p>Again, pretend the cruddy chatter marks don&#8217;t exist. That was the result of &#8220;Hmm, I think clamping on a 1/8&#8243; thick section of material and then face-cutting 2 inches away is a good idea&#8221;.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_22.jpg"><img class="aligncenter" src="/pics/sc3/sc3_22-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>In a moment of disappointment, I discover that plugs do indeed have a real volume &#8211; not complex, nor purely imaginary.</p>
<p>Instead of re-engineering everything to fit in the balancer cards, I decided to go dig up a 9-pin connector of some sort to let me access the cells individually from the outside.</p>
<p>It ended up that the battery balancer cards weren&#8217;t going to work anyway. They begin working whenever they are connected to a battery, and are <em>always on</em>, even if not balancing. Therein lay the problem &#8211; I couldn&#8217;t just reach in and turn them off. That means once connected, they will always be draining the battery with the minuscule current needed to run themselves.</p>
<p>It isn&#8217;t much, but is enough to discourage me.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_23.jpg"><img class="aligncenter" src="/pics/sc3/sc3_23-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>I found this neat 9-in single-row header in a box of cables. A .1&#8243; male header row fits it, so I was in luck if I need to make a cable.</p>
<p>I did have to make a slot to mount it, however. So I threw the module onto the mill <em>with giant, live lithium batteries strapped in</em> and cut the slot.</p>
<p>As to not cause heart palpitations in safety freaks, I&#8217;ll refrain from posting the picture.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_24.jpg"><img class="aligncenter" src="/pics/sc3/sc3_24-mid.jpg" alt="" width="384" height="512" /></a></p>
<p>Anyways, magic happens and it works. Here&#8217;s the finished shot! <em>No external electronics</em> this time &#8211; the box mounted on the steering column is empty. And I even have a real thumb throttle.</p>
<p>The front is covered in electrical tape because I didn&#8217;t want wheel grunge fouling up the shiny new acrylic window. Since this picture, it&#8217;s been pretty well dirtied up.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_25.jpg"><img class="aligncenter" src="/pics/sc3/sc3_25-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>Weigh gain over version 1 is approximately 1.5 pounds, mostly in form of <strong>SERIOUS FUCKING \M/ETAL</strong> from the aluminum module frame, and slightly larger batteries.</p>
<p>Still light, however. The lightest around, as far as I know.</p>
<p>The question that everybody asks after &#8220;What the hell is THAT?&#8221; is &#8220;How fast does it go?&#8221;. I&#8217;ll need camerafolk to answer this, but the answer is &#8220;At least 15MPH on flat ground and fresh batteries&#8221;. It&#8217;s hard to gauge speed when you&#8217;re on it, just like 60mph  seems much slower in a car than standing on the side of the road.</p>
<p>However with a <em>properly calibrated</em> controller (such that it recognized me not as a stuck motor), I metered 1.2kW on good launches. The wheelmotor actually has substantial torque &#8211; just from the feel, I would rate it around half that of Snuffles the First, i.e. &#8220;it will fly out from under you if you&#8217;re not paying attention&#8221;, which is what happened to me the first time after calibrating the ESC.</p>
<p>I need to actually to &#8220;back-run&#8221; the numbers here to see if they match up with my initial predictions before building the motor.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_26.jpg"><img class="aligncenter" src="/pics/sc3/sc3_26-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>So that wraps it up. Now that the power electronics side of the project is done, I need to rebuild the wheelmotor, which is falling apart day-by-day and is only running at the moment because I pumped all the empty space between the tire and rim with hot glue.</p>
<p>Yeah, I hot glued my motor together.</p>
<p>And here&#8217;s a shot of the headlight working.</p>
<p style="text-align: center;"><a href="/pics/sc3/sc3_27.jpg"><img class="aligncenter" src="/pics/sc3/sc3_27-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>i can haz 5-minute cross-campus commutez back plz?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=264</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project RazEr is grounded for maintenance.</title>
		<link>http://www.etotheipiplusone.net/?p=257</link>
		<comments>http://www.etotheipiplusone.net/?p=257#comments</comments>
		<pubDate>Thu, 05 Feb 2009 04:49:25 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=257</guid>
		<description><![CDATA[We apologize for the inconvenience. To me. Because I have to walk now. Partial electrical system meltdown combined with salty winter slush means that the electrical system has gone haywire.Â  As in, something is bridging my battery V+ connection, the frame, and the BEC. That&#8217;s pretty intense right there &#8211; flipping the power switch to [...]]]></description>
			<content:encoded><![CDATA[<p>We apologize for the inconvenience. To me. Because I have to walk now.</p>
<p>Partial electrical system meltdown combined with salty winter slush means that the electrical system has gone haywire.Â  As in, something is bridging my battery V+ connection, the frame, and the BEC. That&#8217;s pretty intense right there &#8211; flipping the power switch to OFF does not actually turn the BEC off. Additionally, I ran down my partial charge, and now have no safe means to recharge the cells.</p>
<p>The underside, and part of the inside by the rear wheel, is also pretty well caked in grunge.</p>
<p>So I&#8217;m taking the scooter offline for now, and will be going on a fast rebuilding process. The list of updates include</p>
<ul>
<li>One-piece underside attachment that mounts all the batteries and control electronics. On the inside. This means cutting out the bottom of the scooter and using that new underside attachment as a stressed structural element.</li>
<li>Waterproof.</li>
<li>Minimize custom electronics. Easier on me, more idiot(me)proof. Plus, you can get a servo tester for 5 bucks now..</li>
<li>Waterproof.</li>
<li>Internal battery balancing. Little dedicated balancers are only a few square inches in area and cost 15 dollars. Well worth the extra cost, in my opinion.</li>
<li>Waterproof.</li>
<li>All main battery wiring will be heavy gauge, and there will be one charge port.</li>
<li>Waterproof.</li>
<li>No-through-bolt wheelmotor design. Can actually change tires!</li>
<li>Waterproof.</li>
<li>Stock LiPoly or LiFePO4 packs, not custom assembled jobbles.</li>
<li>Waterproof.</li>
<li>External routing of motor wiring. for easier service.</li>
<li>Waterproof.</li>
<li>Did I mention waterproof?</li>
<li>Waterproof.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=257</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lithium battery near-disasters and LOLrioKart shenanigans</title>
		<link>http://www.etotheipiplusone.net/?p=255</link>
		<comments>http://www.etotheipiplusone.net/?p=255#comments</comments>
		<pubDate>Mon, 02 Feb 2009 10:21:10 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[LOLrio Kart]]></category>
		<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=255</guid>
		<description><![CDATA[Lesson for everyone! 1. When you charge your 120 watt-hour lithium ion polymer battery at 6 amps, please make sure your internal charge-balance wiring is not made of 24 gauge wire. 2. If they are, and you should choose to run 6 amps through them, please make sure they are not tensioned against a rough [...]]]></description>
			<content:encoded><![CDATA[<p>Lesson for everyone!</p>
<p>1. When you charge your 120 watt-hour lithium ion polymer battery at 6 amps, please make sure your internal charge-balance wiring is not made of 24 gauge wire.</p>
<p>2. If they are, and you should choose to run 6 amps through them, please make sure they are not tensioned against a rough edge in your vehicle&#8217;s all-aluminum frame.</p>
<p>3. Should they be so situated, please at least make sure the impending insulation meltdown and dead-shorting of the lithium batteries occurs more than half an inch away from the aforementioned batteries.</p>
<p>If all of these failed to be true, then welcome to my life.</p>
<p><a href="/pics/sc2/sc2_148.jpg"><img class="aligncenter" src="/pics/sc2/sc2_148-mid.jpg" alt="" width="512" height="384" /></a></p>
<p>I&#8217;m glad that said 24 gauge wire burned through its plastic connector housing before Bad happened.</p>
<p style="text-align: center;"><a href="/pics/sc2/sc2_149.jpg"><img class="aligncenter" src="/pics/sc2/sc2_149-mid.jpg" alt="" width="384" height="512" /></a></p>
<p>A few minutes after setting up the charge, I heard my charger beep furiously, indicating a premature charge termination (<em>that&#8217;s what she said?</em>).</p>
<p>I turn around and an enormous white smoke cloud is hovering above the scooter back end. Fearing the worst, I grab the thing, bust through the nearest non-emergency door and pitch the whole vehicle into a snow pile.</p>
<p>The heat was intense enough to melt the acrylic connector mountsÂ  and <strong>completely vaporize</strong> the smaller balancing connectors. The large Deans connectors were fine, because the short occurred through the small wire.Â  Very fortunately I got it out of there before the ass end of the lithium cells overheated, because angry Li cells are not to be dealt with lightly.</p>
<p>Combine with the very close packing of the cells in the scooter chassis and it could have been.. well, more interesting.</p>
<p>Anyone know what the plastic is that most R/C hobby stuff and electronic casings are made of? Whatever it is, it burns leaving a <strong>hideous, acrid, obnoxious</strong> smell that can only be described as<em> one part</em> <em>lifelong chain-smoker, one part wet decomposing grass clippings, and one part burnt garlic toast</em>. It also covers the surrounding area in a sticky black oil-like substance.</p>
<p>And it does not ever come out of things. It&#8217;s the same stuff which they make power MOSFETs out of, apparently, since those smell just as bad.</p>
<p>The batteries seem to be fine, but the back two cells in the belly pack may have localized thermal damage. Since I don&#8217;t like playing lithium polymer games, I might replace those two cells. This is also an opportunity to rethink my battery strategy. The electricals of RazEr are a complete pitch-together hack made of double-sided tape, Goop, zip ties, and heatshrink.</p>
<p>tl;dr use thicker wire 4 batts</p>
<h3>LOLrioKart</h3>
<p>Over the weekend, I was using my charger to recondition some found SLAs in the great MITERS lead-acid battery pile, before the really dead ones (including 10 car batteries) were sent for disposal.</p>
<p>I remembered I had one of <a href="http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=4691&amp;Product_Name=TURNIGY_Sentilon100A_HV_5-12S_BESC_(Ver4)" target="_blank">these</a>. And <a href="http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=8373" target="_blank">this</a>. Thus, on a whim, we haphazardly taped together a rudimentary electrical system for LOLriokart out of some of those found batteries.</p>
<p>It was just like the <a href="http://etotheipiplusone.net/pics/sc2/sc2_142.jpg" target="_self">first RazEr test run</a> &#8211; a knob with no spring return in an awkward position requiring a delicate balance of dexterity and madness to operate. Fortunately, with a 4 wheeled vehicle, no balance was required.</p>
<p style="text-align: center;"><a href="/pics/kart/kart122.jpg"><img class="aligncenter" src="/pics/kart/kart122-mid.jpg" alt="Large model airplane controller and servo tester strapped to the kart for testing..." width="512" height="384" /></a></p>
<p>To my surprise, the sensorless ESC was able to get the kart moving pretty adeptly. I guess that &#8220;12mhz CPU&#8221; is good for something. (Also, there&#8217;s much backlash in the chain drive, so the motor can probably move enough for the ESC to pick up the switching sequence before it hits a load.)</p>
<p>A test video is <a href="http://www.youtube.com/watch?v=cQEV8JW1RIE" target="_blank">here</a>.Â  The 24 volts of SLAs were sagging to under 18 volts loaded.Â  I estimate the speed at maybe 10MPH, +/- some. Still, in close quarters like the N52 hallway, it was mildly exciting. Obstacles included night janitors, that fire extinguisher, several polished wood and glass art display cabinets, and the MIT Outing Club championship canoe.</p>
<p>And the very well-placed panel of plywood at the end.</p>
<p>See? I promised I&#8217;d get the kart moving before February! I just didn&#8217;t say <strong>how</strong> moving!</p>
<p>When the waterjet opens again, and I get a larger sheet of aluminum to finish the battery basket, then the *REAL* fun can begin.</p>
<p>Speaking of the battery basket, here&#8217;s the concept.</p>
<p style="text-align: center;"><a href="/pics/kart/kart121.jpg"><img class="aligncenter" src="/pics/kart/kart121-mid.jpg" alt="3D model of the battery basket." width="512" height="439" /></a></p>
<p>Made of 1/8&#8243; and 1/4&#8243; thick aluminum, it will support the batteries (bounding-box outlines in clear gray) with room to add some shock-absorbing rubber or foam padding. The mounts will clip onto the chassis (bottom halves of the clamp mounts not shown), and be on adjustable-width sliding mounts. The adjustableness compensates for the fact that I don&#8217;t actually know how wide the kart, and these compliant mounts allow me to move the batteries slightly if something turns out to be in the way.</p>
<p>I decided to go for the 4-across mounting style just because it leaves more usable (continguous) volume under the basket.</p>
<p>The top plate will be made of whatever nonmetal I find when I cut everything else out. I have it spec&#8217;d out as wood, but it could be fiberglass, MDF, Lexan&#8230; etc. It will be spring-loaded to the top of the batteries by the corner mounting holes. It will also double as the electronics mount.</p>
<p>Combining the topic of electronics mounting and Conveniently-placed Plywood Planels of Kart-stopping (+1), and continuing my everlasting quest to engineer my way around simple and reliable solutions, I have thinking about giving LOLrioKart <strong>power brakes</strong>.</p>
<p>Using a <a href="http://www.modelflight.com.au/buy_models/images/tt_ds1013_servo_a.jpg" target="_blank">beefy servo</a> mounted on the <a href="http://www.etotheipiplusone.net/pics/kart/kart52.jpg" target="_self">brake mount</a> on each front wheel,Â  and some interfacing with a foot pedal (you know, like a <a href="http://www.hobbycity.com/hobbycity/store/uh_viewItem.asp?idProduct=8373" target="_blank">servo tester</a>, or a microcontroller interface that also handles other vehicle auxilary functions), just use the servos to yank on the levers. With such an interface, I could actually adjust brake balance, timing, bias, and that stuff.</p>
<p>Wait, can&#8217;t you just <em>run some cables</em>? <a href="http://miters.mit.edu">MITERS</a> has bins full of bike brake parts I could just pull.</p>
<p>Yeah, but I&#8217;m lazy. I would much rather rebuild the brake mounts to include mounting provisions for a servo, then interface with the brake pedal using a clumsily-built and possibly unreliable electronic interface. It&#8217;s all the rage these days, like aluminum billet where a simple clamp-and-weld would have sufficed. Besides, since this is an incredibly bad idea to begin with, I might as well add another layer of bad-idea.</p>
<p>(It is indeed easier, faster, and better to route two <a href="http://en.wikipedia.org/wiki/Bowden_cable" target="_blank">Bowden cables</a> &#8211; don&#8217;t get me wrong.)</p>
<p>Work on LOLrioKart will probably taper off a bit as the semester begins.</p>
<p>Speaking of semester, today is Registration day (as well as <a href="http://www.mittechfair.org/" target="_blank">Techfair</a>), and I need to wake up before sunset.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=255</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One week report!</title>
		<link>http://www.etotheipiplusone.net/?p=219</link>
		<comments>http://www.etotheipiplusone.net/?p=219#comments</comments>
		<pubDate>Tue, 09 Dec 2008 09:52:27 +0000</pubDate>
		<dc:creator>the chuxxor</dc:creator>
				<category><![CDATA[Project RazEr]]></category>
		<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.etotheipiplusone.net/?p=219</guid>
		<description><![CDATA[So this project has pretty much moved past the &#8220;it works&#8221; stage onto the &#8220;it&#8217;s useful&#8221; stage. I think that might make it my first ever constructive build project&#8230; as opposed to, you know, destructive. Or just absurd. Over the past week, I&#8217;ve been riding the scooter around to get to class and run errands. [...]]]></description>
			<content:encoded><![CDATA[<p>So this project has pretty much moved past the &#8220;it works&#8221; stage onto the &#8220;it&#8217;s useful&#8221; stage. I think that might make it my first ever <em>constructive</em> build project&#8230; as opposed to, you know, destructive. Or just <a href="http://www.etotheipiplusone.net/?cat=56" target="_self">absurd</a>.</p>
<p>Over the past week, I&#8217;ve been riding the scooter around to get to class and run errands. It attracts a fair share of stares and questions, since nobody really expects to see a Razor scooter cruising at 10mph. Yes, I mounted the real e-bike throttle onto the handlebars, so it&#8217;s actually controllable. No, I have not went back and fixed that terrifically beautiful hack of a signal interface.</p>
<p>I have also been pretty good at &#8220;path look-ahead&#8221; to avoid potentially lethal potholes, but have yet to attempt a flying leap over the railroad tracks.</p>
<p>The range from a full change has been confirmed to be over 3.5 miles. This is quite in line with the ~4 mile calculation, and seems to include all of the inefficiencies that I did not include in the approximation (rolling resistance, terrain variation, wind resistance, etc). This is <em>perfect</em>. Why? Because it lets me make several cross-campus trips per day &#8211; e.g. to get to class and back, to get food, and to get to <a href="http://miters.mit.edu" target="_blank">MITERS</a> and bumble for hours on end. Here&#8217;s an example.</p>
<p style="text-align: center;"><a href="/pics/sc2/routeone.jpg"><img class="aligncenter" src="/pics/sc2/routeone-mid.jpg" alt="" /></a></p>
<p>Yeah, all the blue lines are on top of eachother. This consists of the following trips from today:</p>
<ol>
<li>To class in the morning (Ames St. @ Amherst to Mass Ave. @ Memorial Drive)</li>
<li>From class to the Media Lab (Mass Ave @ Mem Drive to Ames St.)</li>
<li>From the Media Lab to more class (Ames St to Mass Ave @ Mem Drive</li>
<li>Class back to dorm, through the north building cluster (Mass Ave. to Ames St. via Stata Center)</li>
<li>Dorm to Student Center for some dinner (Ames St. to Mass Ave)</li>
<li>And back.</li>
<li>Dorm to 7-Eleven (Ames St. to Main @ Portland)</li>
<li>And back again.</li>
</ol>
<p>That about covers my needs, really. 3.5 miles and back is also enough to make it to area hardware stores, which is of course a priority.</p>
<p>However, I have also been constantly maintaining the motor to keep it running. There&#8217;s nothing <em>electrically </em>wrong with it, but the design of the motor and wheel interface is that</p>
<p>1) it tends to force the motor apart, since the inside of the wheel has a chamfer on both sides and I have a matching outward chamfer on the motor endcaps, and</p>
<p>2) the wheel itself tries to torque the endcap tie screws out. How the hell does that happen? I had to cut indents into the tire&#8217;s plastic rim to pass those tie screws. They are circular in profile, and my guess is that with every compression cycle of the tire as it rolls on the ground, the indent sort of cams up against the screw and torques out a bit.What then happens is the screw sticks out far enough to bang against the aluminum frame, making a very audible click that tells me to stop immediately and ride unpowered the rest of the way.</p>
<p>This phenomenon has even defeated red Loctite.</p>
<p>I&#8217;m working on a design revision of the outer can that doesn&#8217;t rely on those screws to keep everything together. Either they will be routed internally, or the can itself will have some other method of fastening things while still allowing the tire to be changed. For now, the stator won&#8217;t change, since I can&#8217;t find another giant copier to rip another stator out of.</p>
<p>Oh, and I have also let all the Li cells go horribly out of balance. I haven&#8217;t made a charge plug for the DB9Â  charge/balance port &#8211; rather I have just been attaching alligator clips from my charger to wire leads shoved into the main + and &#8211; pins. Safe, eh?But now I have discovered that the cells have up to a quarter volt disparity, which is too much to let the whole pack charge at once. I&#8217;ll get around to making the balancer plug and cycling the cells appropriately.</p>
<p>The bottom line is that <strong>IT WORKS</strong> and <strong>IT&#8217;S AWESOME</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.etotheipiplusone.net/?feed=rss2&amp;p=219</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
