<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>MyOwnHybrid</title>
	<atom:link href="http://myownhybrid.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://myownhybrid.wordpress.com</link>
	<description>My quest for a perfect hybrid vehicle</description>
	<lastBuildDate>Fri, 06 Jan 2012 10:55:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='myownhybrid.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>MyOwnHybrid</title>
		<link>http://myownhybrid.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://myownhybrid.wordpress.com/osd.xml" title="MyOwnHybrid" />
	<atom:link rel='hub' href='http://myownhybrid.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Agile Lean development &#8211; learning from the best</title>
		<link>http://myownhybrid.wordpress.com/2011/12/11/agile-lean-development-learning-from-the-best/</link>
		<comments>http://myownhybrid.wordpress.com/2011/12/11/agile-lean-development-learning-from-the-best/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 00:22:16 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[DiffTrike]]></category>
		<category><![CDATA[Motivation]]></category>
		<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=687</guid>
		<description><![CDATA[I&#8217;ve just discovered what is possibly the most important world-class successful case study in terms of distributed voluntary cooperative engineering: Wikispeed. Joe Justice and his friends put together an extremely ambitious engineering project: build a +100mpg commuter car that was really fast, safe, and affordable. Basically, they built it from scratch in 3 months, just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=687&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just discovered what is possibly the most important world-class successful case study in terms of distributed voluntary cooperative engineering: Wikispeed.</p>
<div class="wp-caption aligncenter" style="width: 468px"><a href="http://www.wikispeed.com"><img src="http://www.wikispeed.com/Sites/5/SiteImages/angled2.jpg" alt="" width="458" height="275" /></a><p class="wp-caption-text">Wikispeed collaborative 100mpg+ car</p></div>
<p>Joe Justice and his friends put together an extremely ambitious engineering project: build a +100mpg commuter car that was really fast, safe, and affordable. Basically, they built it from scratch in 3 months, just in time to participate in the Progressive Automotive X-prize.</p>
<span style="text-align:center; display: block;"><a href="http://myownhybrid.wordpress.com/2011/12/11/agile-lean-development-learning-from-the-best/"><img src="http://img.youtube.com/vi/9c_XWlVwdTc/2.jpg" alt="" /></a></span>
<p>They didn&#8217;t get 1st place, but they got 10th and got noticed and respected worldwide &#8212; and they placed better than Tesla and MIT, which were very well funded! They proved that there is no such thing as &#8220;conflicting requirements&#8221; or &#8220;technical impossibilities&#8221; when people are passionate about their work.</p>
<span style="text-align:center; display: block;"><a href="http://myownhybrid.wordpress.com/2011/12/11/agile-lean-development-learning-from-the-best/"><img src="http://img.youtube.com/vi/lzOhTOznksM/2.jpg" alt="" /></a></span>
<p>And how did they start? quite humbly, by bolting some recycled parts together with a square chassis in Joe&#8217;s garage, and using second-hand tools. Oh, and by simulating everything they could inside the virtual world of software. Does this ring a bell?</p>
<span style="text-align:center; display: block;"><a href="http://myownhybrid.wordpress.com/2011/12/11/agile-lean-development-learning-from-the-best/"><img src="http://img.youtube.com/vi/9Jdy0q-ucmw/2.jpg" alt="" /></a></span>
<p>These videos blow my mind. In fact, they confirm my suspicions: R&amp;D is a lot easier and cheaper to do once you leave the heavy traditional framework (and mindset!) of mass-production companies. And most importantly, <strong>a lot more fun</strong>!! I&#8217;m well aware of how medium and large sized R&amp;D companies operate, but I never knew exactly how completely informal and self-organized groups faired in the field of R&amp;D.</p>
<span style="text-align:center; display: block;"><a href="http://myownhybrid.wordpress.com/2011/12/11/agile-lean-development-learning-from-the-best/"><img src="http://img.youtube.com/vi/SM54QinfZ_Y/2.jpg" alt="" /></a></span>
<p>It all has to do with a fundamental change in attitude: embracing change (risk and uncertainty) as a natural part of life and especially innovation, letting go of <em>a priori</em> control measures, and just be light and quick enough to adapt and respond. However, Agile and Lean methodology is definitely not a chaotic mess where people just get together around some tools and do whatever they fancy; it&#8217;s <em>almost</em> like that, but everyone has a very precise notion of how they and the others are contributing to the final goal of the team.</p>
<span style="text-align:center; display: block;"><a href="http://myownhybrid.wordpress.com/2011/12/11/agile-lean-development-learning-from-the-best/"><img src="http://img.youtube.com/vi/kc89hNQExgk/2.jpg" alt="" /></a></span>
<p>The Lean and Agile methodology they follow is a <a href="http://www.wikispeed.com/p/agile,-lean,-and-scrum" target="_blank">mix of several methods</a>, taking the best parts of each to solve the real life problems as soon as they come up. I already knew about Agile&#8217;s power to deliver results soon and adapt fast, but I hadn&#8217;t thought it could be used in volunteer or even distributed teams. And I certainly didn&#8217;t expect newbies to become productive so fast and everyone to have so much fun while doing world-class competition and development. This is a case-study to inspect and remember with great care.</p>
<p><strong>So what do we take away for our project?</strong></p>
<p>Since we are not in the position of wikispeed (having an external and very demanding client wanting results yesterday), we don&#8217;t yet need to accelerate the development so radically. And since the team is quite small and steady, we also don&#8217;t have a clear need for extreme modularization (although we have been using it). But we do have to cope with changing requirements, since our clients (ourselves) keep changing their minds about what they want. Basically, we grow more ambitious the more we learn. And we do have to produce results with a shoestring budget, so the Lean aspect also comes into play.</p>
<p>It really does look like a good idea to implement Agile and Lean at MyOwnHybrid.</p>
<p>In some ways, we are already doing it; we always try to get together face-to-face to work on the project; we try to work in pairs or in threesomes in order to have implicit on-the-job learning and fast cross-correction and problem unblocking; and I&#8217;ve tried to at least maintain an electronic version of lightweight project management in a private server that all team members can access (but usually don&#8217;t <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Also, the publication of results in this blog is a kind of &#8220;Sprint Review&#8221; (the Show-And-Tell session that the Scrum method does of results to the customers).</p>
<p>So, using Scrum terminology, we&#8217;ve been operating as a &#8220;Feature Development Team&#8221; that tries to implement the &#8220;Product Backlog&#8221; created by the &#8220;Product Owner&#8221; (me), only without the benefit of a &#8220;Scrum Master&#8221; to help people cooperate and grow their skills.</p>
<p>This is clearly not enough &#8212; motivation and commitment could be a lot higher. I think it&#8217;s time to put up an old-style &#8220;Sprint Task Board&#8221; in our workshop, complete with sticky notes and all, and run a weekly <a href="http://agilesoftwaredevelopment.com/blog/peterstev/how-hold-daily-scrum" target="_blank">Scrum meeting</a> at the beginning of every encounter. This alone should be able to pick up the pace of development and give a sense of cohesion to the team that is now a bit lacking.</p>
<p>It is very important, from a psychological and emotional point of view, to be aware of what it is the whole team is building, how much it has already achieved, and how much work remains to be done. Another fundamental point is to avoid over-specialization and promote task swapping and collaboration: we are here to learn and have fun. So a weekly Scrum should give us more opportunities to do just that.</p>
<p>And when this present sprint/iteration ends, it is also a very good idea to hold the &#8220;Sprint Retrospective&#8221; (a &#8220;Lessons learned&#8221; gathering) and do a full-blown &#8220;Sprint Planning&#8221; meeting to determine exactly <strong>What</strong> we want to build next and <strong>How</strong> we want to build it.</p>
<p>None of this had been an issue until now due to the simple fact that I had been working alone; but from the moment other people started contributing to the project at many levels, the simple process that went on in my head is no longer valid. I had been struggling with this reality without knowing exactly how to transition from one-man-band into team mode; but the Agile methodology came to our rescue.</p>
<p>All this does not come by chance; I&#8217;ve just completed a Scrum Master course in the context of Software Project Management, and after seeing how Wikispeed has done it for a manufacturing process I believe that all innovation projects are a natural fit for Agile/Lean methodology.</p>
<p>I do have a problem though; I shouldn&#8217;t be Scrum Master (the guy that coaches others into the Agile process) and Product Owner (the guy that decides what effectively should be built for the product) at the same time. I need to offload one of the roles onto someone else. But I clearly have stakes in both of them. Hmmm&#8230; any volunteers?</p>
<p>Another lesson I learned from the Wikispeed example is that I should be more transparent about the problems we have. This blog doesn&#8217;t have a whole lot of followers, but the few that hang around will probably feel more engaged and interested if they can help us solve our problems. So I&#8217;ll start doing that more.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/687/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/687/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/687/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=687&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/12/11/agile-lean-development-learning-from-the-best/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://www.wikispeed.com/Sites/5/SiteImages/angled2.jpg" medium="image" />
	</item>
		<item>
		<title>SoapBox MkII system bring-up</title>
		<link>http://myownhybrid.wordpress.com/2011/12/07/soapbox-mkii-system-bring-up/</link>
		<comments>http://myownhybrid.wordpress.com/2011/12/07/soapbox-mkii-system-bring-up/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 19:15:09 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Controllers]]></category>
		<category><![CDATA[DiffTrike]]></category>
		<category><![CDATA[Firmware]]></category>
		<category><![CDATA[Motors]]></category>
		<category><![CDATA[Testing]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=671</guid>
		<description><![CDATA[Last weekend we had loads of fun. We got to join most of the parts that comprise the SoapBox&#8217;s control and power system and we fired it up. No smoke (this time)!  As usual, there&#8217;s a lot of video for you to watch. NJay brought the prototype of the power electronics H-bridge he so lovingly [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=671&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last weekend we had loads of fun. We got to join most of the parts that comprise the SoapBox&#8217;s control and power system and we fired it up. No smoke (this time)!  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  As usual, there&#8217;s a lot of video for you to watch.<span id="more-671"></span></p>
<p>NJay brought the prototype of the power electronics H-bridge he so lovingly hand-crafted for us, and he tested it on site with a small DC motor from a Meccano set. We didn&#8217;t want to push too much current so we avoided the 250W trike motor in the beginning. He used his own homebrewed I²C Master console to verify that the bridge was working properly, which Manuel was more than happy to explore.</p>
<object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmsjwe"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmsjwe" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object>
<p>Then it was time to connect the Freerunner board as the I²C Master and we did a simple up-and-down power cycle with that small motor. Now, the motor is rated for 6V and the battery is supplying over 24V, so we kept this test to around 20% of PWM duty cycle to avoid burning the motor.</p>
<object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmsk33"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmsk33" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object>
<p>Ok, everything seems to be working. It was time to launch the full control program and play with the trike&#8217;s joystick. Here the PWM duty cycle limitation was not present, but I figured it was safe to risk it because the motor was not loaded and the joystick would allow us to reduce power if we wanted to. In principle&#8230;</p>
<object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmsk50"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmsk50" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object>
<p>By this time is was very apparent that something was wrong; the motor was responding in a very jittery way, and the software got completely locked up. I found some accidental floating point truncation errors in the code, and we repeated the test.</p>
<object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmskfj"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmskfj" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object>
<p>Nope, that won&#8217;t fly either. Although the software was behaving a lot more linearly, it still got stuck in a bad place when we pushed the motor to the maximum speed. After some mental review of the situation I decided that the problems where due to electric spiking or induced noise on the I²C bus introduced by the motor. After all, this was a DC brushed motor and it was being driven far beyond it&#8217;s specifications; it is only natural to assume it was sparking like crazy on the inside.</p>
<p>We tried the test again after attaching a 100nF capacitor to the motor&#8217;s terminals, and yes, it improved a lot, but it was still a bit glitchy. As this point I ignored the looks on their silent faces which screamed &#8220;your software is still buggy!&#8221; and decided to test with the Trike&#8217;s 250W motor. And I&#8217;m glad that I did.</p>
<object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmsl44"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmsl44" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object>
<p>See? No more interference, no more I²C bus lost packets and retries, no more software lock-ups or exceptions. It&#8217;s this kind of multi-disciplinary problem that makes embedded systems development such a great domain to work in. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Obviously, the software must be made more robust in order to resist I²C losses and errors. But we were quite happy to see the wheel spin at the command of the joystick.</p>
<p>Not bad for a single day&#8217;s work (plus ten months of R&amp;D)! <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Now we have to build the 2 new power bridges that NJay has redesigned from this initial one, and we&#8217;ll be ready to test the full 2-wheel system. Can&#8217;t wait for that one!</p>
<p>Oh, and there&#8217;s also that minor detail of the motor running backwards, but that&#8217;ll be all sorted out when we have the 2 bridges. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Happy hacking, and see you on the next development sprint!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/671/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/671/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/671/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=671&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/12/07/soapbox-mkii-system-bring-up/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>Difftrike Design &#8211; Enter the artist</title>
		<link>http://myownhybrid.wordpress.com/2011/12/04/difftrike-design-enter-the-artist/</link>
		<comments>http://myownhybrid.wordpress.com/2011/12/04/difftrike-design-enter-the-artist/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 12:59:23 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[DiffTrike]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=640</guid>
		<description><![CDATA[So, I had a real-scale SoapBox proof-of-concept, a toy-sized folding trike concept, and a bunch of difficult ideas to glue together. As usual it looked like I had bitten more than I could chew. Fortunately, another out-of-the-box thinker and professional tinkerer came to my rescue. Manuel Furtado dos Santos is a Fine artist with quite [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=640&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So, I had a real-scale <a title="The Soapbox PoC takes its first spins" href="http://myownhybrid.wordpress.com/2009/11/11/the-soapbox-poc-takes-its-first-spins/">SoapBox</a> proof-of-concept, a toy-sized <a title="Difftrike Design – How it all began" href="http://myownhybrid.wordpress.com/2011/11/22/difftrike-design-how-it-all-began/">folding trike</a> concept, and a bunch of difficult ideas to glue together. As usual it looked like I had bitten more than I could chew. Fortunately, another out-of-the-box thinker and professional tinkerer came to my rescue.<span id="more-640"></span></p>
<p><a href="http://furtadosantos.wordpress.com/" target="_blank">Manuel Furtado dos Santos</a> is a Fine artist with quite an experience in handling materials and expressing complex ideas and concepts with them. Like me, he has a tendency towards technology, but he far exceeds my culture in such areas as biology, history, and philosophy. I do like generalists. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  And we are both interested in practical sustainability and in contributing with something useful to the future.</p>
<p>So he jumped at the chance to take my ideas and turn them into a real integrated design. The first hurdle was to get him to absorb whatever was swimming around in my head to serve as a starting point; this was no easy task, mainly because we hardly knew each other, and our vocabularies where literally worlds apart. It took a few months to get aligned, but today we pretty much understand each other well. And when we don&#8217;t, that&#8217;s usually where new value is being created &#8211; our discussions are frequently intellectually exhausting (for me at least, because he never stops!) and whenever we drift apart that usually means he&#8217;s on to something new and possibly exciting.</p>
<p>He immediately conducted an exhaustive study of <a href="http://www.recumbentjournal.com/" target="_blank">recumbent</a> trikes and <a href="http://www.recumbent-gallery.eu/category/velomobiles/" target="_blank">velomobiles</a> on the Web and proceeded to model with his own hands what he had understood the project was about. Here is Manuel&#8217;s handy wire work:</p>
<div id="attachment_641" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112500.jpg"><img class="size-medium wp-image-641" title="2011-01-29_112500" src="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112500.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a><p class="wp-caption-text">Wireframe model of a foldable trike chassis.</p></div>
<div id="attachment_643" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112524.jpg"><img class="size-medium wp-image-643" title="2011-01-29_112524" src="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112524.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a><p class="wp-caption-text">Wireframe model of the whole &quot;velomobile-like&quot; trike.</p></div>
<div id="attachment_644" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112537.jpg"><img class="size-medium wp-image-644" title="2011-01-29_112537" src="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112537.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a><p class="wp-caption-text">...and the door swings open!</p></div>
<p>Now, if I was looking to make a conventional trike or velomobile, he would be quite close to the finish line. It was merely a question of styling and detailing it down to specifics, and it would be almost ready for production. Unfortunately these models follow the conventional form which, as I explained in the previous post&#8217;s video about &#8220;dynamics&#8221;, simply cannot survive my differential-traction-with-a-freewheel platform.</p>
<p>So, a couple of physics lessons and dinners out later, he totally understood my madness. The issue that I created with the centre of gravity is so central to the stability of the vehicle, that it has to be incorporated in the design from the very beginning. The usual proportions of traditional Trikes are useless for us.</p>
<p>Another aspect we started working on was the specifics of the folding frame. He played with a few materials in order to get a feeling of what it is that we really want to build&#8230;</p>
<div id="attachment_648" class="wp-caption aligncenter" style="width: 235px"><a href="http://myownhybrid.files.wordpress.com/2011/11/2011-02-09_0039011.jpg"><img class="size-medium wp-image-648" title="2011-02-09_003901" src="http://myownhybrid.files.wordpress.com/2011/11/2011-02-09_0039011.jpg?w=225&#038;h=300" alt="" width="225" height="300" /></a><p class="wp-caption-text">Meccano model of the folding chassis (reproduction of my naive Lego version).</p></div>
<div id="attachment_651" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/11/2011-05-14_1911291.jpg"><img class="size-medium wp-image-651" title="2011-05-14_191129" src="http://myownhybrid.files.wordpress.com/2011/11/2011-05-14_1911291-e1322092853806.jpg?w=300&#038;h=189" alt="" width="300" height="189" /></a><p class="wp-caption-text">We also spent a little time playing with more Lego...</p></div>
<div id="attachment_652" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/11/2011-05-14_211035.jpg"><img class="size-medium wp-image-652" title="2011-05-14_211035" src="http://myownhybrid.files.wordpress.com/2011/11/2011-05-14_211035-e1322092979325.jpg?w=300&#038;h=280" alt="" width="300" height="280" /></a><p class="wp-caption-text">But ultimately what he enjoys working with the most is wood.</p></div>
<p>When the full weight of the problem was transferred into his head, things really started to pick up the pace and get interesting&#8230;</p>
<div id="attachment_656" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/11/2011-05-06_201838.jpg"><img class="size-medium wp-image-656" title="2011-05-06_201838" src="http://myownhybrid.files.wordpress.com/2011/11/2011-05-06_201838.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a><p class="wp-caption-text">Then he finally kicked it into high gear and brainstormed with transparent paper. These are &quot;some horrible sketches&quot; that I find absolutely fantastic.</p></div>
<p>At this point I thought that the design process was going too slow because he was limited by his tools. He had doubts about whether the parts would all fit and slide together, and I wanted to see what he could create inside a virtual world without the limitations of the physical world. We could have gone full-power and put him on Solidworks, but I wanted to keep within Freeware and, if possible, Open Source software. Besides, the last thing I&#8217;d want is to kill the creative spark of a designer with the heaviness of a full-blown finite element engineering tool.</p>
<p>We set up with Google Sketchup because it was easy enough to use and it looked like it could do some pretty amazing stuff. And it promised a little bit of Physics simulation with plugins like SketchyPhysics too.</p>
<p>And Manuel started to really create&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/640/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/640/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/640/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=640&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/12/04/difftrike-design-enter-the-artist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112500.jpg?w=300" medium="image">
			<media:title type="html">2011-01-29_112500</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112524.jpg?w=300" medium="image">
			<media:title type="html">2011-01-29_112524</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/11/2011-01-29_112537.jpg?w=300" medium="image">
			<media:title type="html">2011-01-29_112537</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/11/2011-02-09_0039011.jpg?w=225" medium="image">
			<media:title type="html">2011-02-09_003901</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/11/2011-05-14_1911291-e1322092853806.jpg?w=300" medium="image">
			<media:title type="html">2011-05-14_191129</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/11/2011-05-14_211035-e1322092979325.jpg?w=300" medium="image">
			<media:title type="html">2011-05-14_211035</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/11/2011-05-06_201838.jpg?w=300" medium="image">
			<media:title type="html">2011-05-06_201838</media:title>
		</media:content>
	</item>
		<item>
		<title>Difftrike Design &#8211; How it all began</title>
		<link>http://myownhybrid.wordpress.com/2011/11/22/difftrike-design-how-it-all-began/</link>
		<comments>http://myownhybrid.wordpress.com/2011/11/22/difftrike-design-how-it-all-began/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 15:51:40 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Design]]></category>
		<category><![CDATA[DiffTrike]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=626</guid>
		<description><![CDATA[One of the things I have been too lazy to do is tell you the story of all the brainstorming and creativity that has been going on for a long time behind our virtual doors. Well, enough procrastination, let&#8217;s publish it. As some of you may remember, it all began with a simple enough drawing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=626&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the things I have been too lazy to do is tell you the story of all the brainstorming and creativity that has been going on for a long time behind our virtual doors.</p>
<p>Well, enough procrastination, let&#8217;s publish it. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-626"></span></p>
<p>As some of you may remember, it all began with a simple enough drawing on a piece of paper back in August 2009:</p>
<div id="attachment_627" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/11/initial_difftrike_concept.jpg"><img class="size-medium wp-image-627" title="initial_difftrike_concept" src="http://myownhybrid.files.wordpress.com/2011/11/initial_difftrike_concept.jpg?w=300&#038;h=204" alt="" width="300" height="204" /></a><p class="wp-caption-text">Initial &quot;paper napkin&quot; concept for the Difftrike Project.</p></div>
<p style="text-align:left;">There are many things wrong with this drawing, but at least it was a concrete starting point. You can see how I was influenced by Jake Loniak&#8217;s excellent <a href="http://www.coroflot.com/jakeloniak/Silhouette/11" target="_blank">Silhouette</a>, but I put in my own set of demanding requirements. It had to be foldable and fit in a small elevator along with the passenger, and also under an office desk or dining table without too much clutter. It had to fit well inside a normal bicycle lane and occupy as little space on the road as a common bicycle or motorcycle.</p>
<p style="text-align:left;">It had to have such a simple mechanical design that it would be at the same time cheap to manufacture and elegant (I know, the drawing is not exactly gorgeous, but then again I&#8217;m not a designer, it&#8217;s just an idea). And, of course, it had to have some other distinctive trait like the third wheel being an omni-directional sphere&#8230; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:left;">6 days after this I built a Lego concept because it was getting difficult to explain all the features in just words or pictures. So here is the result of about 9 hours of fighting against the random intricacies of Lego parts:</p>
<p style="text-align:left;"><object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmhyek"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmhyek" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object></p>
<p style="text-align:left;">This looked more or less cool, but it was still just a &#8220;tadpole&#8221; trike with a crazy wheel at the back. I had to show the folding system as well&#8230;</p>
<p style="text-align:left;"><object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmhyh3"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmhyh3" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object></p>
<p style="text-align:left;">And for some extra dose of awesomeness, it had to be super-easy to fold/unfold, in fact it had to be completely automatic&#8230;</p>
<p style="text-align:left;"><object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmhyid"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmhyid" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object></p>
<p style="text-align:left;">But every idea has its problems, and the initial concept sure had a few. Right out of the bat I knew that the mechanical choices I had made were very troublesome and that this design would have to be morphed into something different in order to be safe to ride&#8230;</p>
<object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xmhyj3"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xmhyj3" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object>
<p>And this was the starting point. From here on, the cute little lego thingy got people excited about the idea. But mostly they said &#8220;it can&#8217;t be done, you&#8217;re cramming too many features into it&#8221;. Or worse, they would start making the design so complex, with robotics actuators and whatnot, that I would just give up on the whole thing.</p>
<p>And to make matters worse, I&#8217;ve always insisted that I&#8217;d like the whole thing to be as &#8220;<a href="http://en.wikipedia.org/wiki/Cradle-to-cradle_design" target="_blank">cradle-to-cradle</a>&#8221; as possible, with a preference towards the &#8220;natural nutrient&#8221; side instead of the &#8220;technical nutrient&#8221; side. Which means to me: 80% bio-degradable materials, 20% recycled (and recyclable) materials.</p>
<p>My mantra was, and still is to a point: &#8220;it has to be as elegantly neat as the iPhone&#8221;. Go on, roll your eyes at Yet Another Apple Plug. But that&#8217;s the truth; I&#8217;m not going to compromise on this point. It has to have a really simple and elegant frame and design, regardless of how many features it actually has. It&#8217;s like <a href="http://www.fastcompany.com/1791039/amory-lovins-on-how-to-run-a-prosperous-oil-coal-and-nuclear-free-economy" target="_blank">Amory Lovins</a> says: If every component doesn&#8217;t have at least 3 different functions, your design is wrong.</p>
<p>We just have to keep working on it until it does what we want it to do. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/626/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/626/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/626/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=626&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/11/22/difftrike-design-how-it-all-began/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/11/initial_difftrike_concept.jpg?w=300" medium="image">
			<media:title type="html">initial_difftrike_concept</media:title>
		</media:content>
	</item>
		<item>
		<title>Some house cleaning</title>
		<link>http://myownhybrid.wordpress.com/2011/08/18/some-house-cleaning/</link>
		<comments>http://myownhybrid.wordpress.com/2011/08/18/some-house-cleaning/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 00:21:15 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=617</guid>
		<description><![CDATA[I&#8217;ve gone back and took a look at all the posts in the blog to re-categorize them. I did this because I realised this blog encompasses not one but three projects: The &#8220;Add-on-HEV&#8221; project (2007 ~ 2009), where I wanted to convert my car to a Hybrid Electric Vehicle by adding on some electric gear; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=617&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve gone back and took a look at all the posts in the blog to re-categorize them. I did this because I realised this blog encompasses not one but three projects:</p>
<ul>
<li>The &#8220;<a href="http://myownhybrid.wordpress.com/category/add-on-hev/">Add-on-HEV</a>&#8221; project (2007 ~ 2009), where I wanted to convert my car to a Hybrid Electric Vehicle by adding on some electric gear;</li>
<li>The &#8220;<a href="http://myownhybrid.wordpress.com/category/motorfemmulator/">MotorFemmulator</a>&#8221; project (2007 ~ 2009), where I built a software framework to automate the design, simulation, and optimization of electric motors;</li>
<li>The &#8220;<a href="http://myownhybrid.wordpress.com/category/difftrike/">DiffTrike</a>&#8221; project (2009 ~ ongoing), where I and a few friends are developing a new incarnation of Hybrid vehicle.</li>
</ul>
<p>I also added a &#8220;<a href="http://myownhybrid.wordpress.com/category/dimensioning/">Dimensioning</a>&#8221; category. I could have just gone ahead and ignored all this, but I like to keep things tidy so I created new categories for the posts and re-tagged them as appropriate. So now, for historical interest, we can click on the category cloud and get just the posts for each project. I also added a &#8220;monthly archive&#8221; drop-down to allow access to older posts.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/617/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/617/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/617/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/617/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/617/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/617/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/617/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/617/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/617/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/617/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/617/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/617/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/617/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/617/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=617&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/08/18/some-house-cleaning/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>Turning the Openmoko into a robot</title>
		<link>http://myownhybrid.wordpress.com/2011/07/14/turning-the-openmoko-into-a-robot/</link>
		<comments>http://myownhybrid.wordpress.com/2011/07/14/turning-the-openmoko-into-a-robot/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 00:06:07 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Controllers]]></category>
		<category><![CDATA[DiffTrike]]></category>
		<category><![CDATA[Firmware]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=554</guid>
		<description><![CDATA[This will be mostly about software. I&#8217;ll try and describe the process I followed to turn a smartphone into a soft-real-time vehicle controller. So, how do you turn this: Into this? First I removed all the plastic covers and internal accessories that I didn&#8217;t need. It&#8217;s going to have its own box and a few [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=554&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This will be mostly about software. I&#8217;ll try and describe the process I followed to turn a smartphone into a soft-real-time vehicle controller.<span id="more-554"></span></p>
<p>So, how do you turn this:</p>
<div id="attachment_556" class="wp-caption aligncenter" style="width: 235px"><a href="http://www.openmoko.com"><img class="size-full wp-image-556 " title="Openmoko Neo Freerunner smartphone (a.k.a. GTA02)" src="http://myownhybrid.files.wordpress.com/2011/07/openmoko-asu.jpeg?w=594" alt=""   /></a><p class="wp-caption-text">Photo copyright: Tom Yates, teaparty.net</p></div>
<p>Into this?</p>
<div id="attachment_541" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-541" title="DiffTrike Proof of Concept &quot;SoapBox Mk II&quot;" src="http://myownhybrid.files.wordpress.com/2011/07/final-1.jpg?w=300&#038;h=225" alt="" width="300" height="225" /><p class="wp-caption-text">DiffTrike Proof of Concept &quot;SoapBox Mk II&quot;</p></div>
<p>First I removed all the plastic covers and internal accessories that I didn&#8217;t need. It&#8217;s going to have its own box and a few new wires anyway. The phone battery is unnecessary because it will be fed via USB from the main vehicle battery through a DC-DC 5 Volt &#8220;buck&#8221; converter. Then I added an RS-232 to USB converter from Sparkfun; it&#8217;s cheap and converts the 3.3V RS-232 debug serial port of the GTA02 into a USB virtual serial port that any decent computer can talk to. Both boot loaders of the GTA02 (&#8220;<a href="http://wiki.openmoko.org/wiki/Qi" target="_blank">Qi</a>&#8221; and &#8220;<a href="http://wiki.openmoko.org/wiki/U-boot" target="_blank">U-boot</a>&#8220;) have serial console support, and U-Boot even lets you test the hardware. This is probably the most important accessory you can have attached to a processor board: without it you won&#8217;t be able to find out why the heck it doesn&#8217;t boot when it doesn&#8217;t boot. It&#8217;s also a good ally when you realise you&#8217;ve just knocked out all the network interfaces and you can no longer SSH into the device. Glue it onto the GTA02 board and solder the Ground, Rx, and Tx lines. Power comes from the USB plug. No, it can&#8217;t power the GTA02 too. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_558" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.sparkfun.com/products/718"><img class="size-medium wp-image-558" title="ft232r" src="http://myownhybrid.files.wordpress.com/2011/07/ft232r.png?w=300&#038;h=247" alt="" width="300" height="247" /></a><p class="wp-caption-text">FT232R breakout board from Sparkfun</p></div>
<p>My main preoccupation was to set up a development platform that was very fast and easy to develop upon, and yet still allowed for near real-time performance &#8211; I&#8217;d like to be able to do at least 10 input/computing/output cycles per second. Nowadays the interpreted languages (Perl, Python, Java, etc.) run quite easily on a 400MHz processor like the GTA02 has, so that was my general intention. Interpreted languages do not require compile time or installation, and so I can develop the code directly on the target system without the need for a cross-compilation environment on a workstation.</p>
<p>At the time I started the project, the most complete and flexible Linux distribution for the GTA02 was <a href="http://shr-project.org/trac/wiki" target="_blank">SHR-Unstable</a> (in my opinion). It&#8217;s actively being developed and it&#8217;s got a bunch of pre-compiled software packages that we can download and install directly into the target device with a simple &#8220;opkg install &#8230;&#8221; command, as long as it&#8217;s connected to the internet. Connecting to the internet is also easy to do, whether by <a href="http://wiki.openmoko.org/wiki/USB_Networking" target="_blank">USB</a> or Wifi.</p>
<p>Of course, the SHR-U distro has all kinds of bells and whistles that make it appropriate for everyday usage as a telephone. I picked a few significant targets and &#8220;opkg remove &#8230;&#8221; all the graphical, PIM, and telephone applications. No worries there, Linux package managers are far superior to that other popular operating system on which the uninstallers always leave a trail of bread crumbs the size of elephants. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The SHR and <a href="http://wiki.freesmartphone.org/index.php/Main_Page" target="_blank">FSO</a> daemons, as much as I admire them, had to go too; I need all the CPU to myself. And I also don&#8217;t need power management software creating &#8220;funny&#8221; behaviours in my target system. So, after all this, I got a clean system just waiting for my commands. In idle state, &#8220;htop&#8221; consumes around 10% of the CPU time.</p>
<div id="attachment_561" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/07/htop1.png"><img class="size-medium wp-image-561" title="htop" src="http://myownhybrid.files.wordpress.com/2011/07/htop1.png?w=300&#038;h=147" alt="" width="300" height="147" /></a><p class="wp-caption-text">HTOP view of the bare-bones system.</p></div>
<p>It&#8217;s time to install the software packages I need. I settled on developing with the <a href="http://docs.python.org/release/2.6.6/" target="_blank">Python</a> language because it is easy, fast, powerful, and the native interpreter is already part of the distro. It&#8217;s got a large bundle of extra modules that can be installed, namely the all-important &#8220;<a href="http://www.pygame.org/" target="_blank">PyGame</a>&#8221; module that greatly simplifies the building of near-real-time applications (like games). It saved me the work of writing a USB Joystick device library in Python. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>You can get the full customization script for the SHR-U image from my project&#8217;s <a href="https://github.com/vnevoa/DiffTrike" target="_blank">repository</a>.</p>
<p>After setting up the GTA02, I developed my project&#8217;s applications right there on the target. It&#8217;s quite practical; I connect to the GTA02 via Wifi ad-hoc and just use SSH to send console commands or edit files remotely (Debian systems using the Gnome graphical system have direct integration of SFTP in the Nautilus file explorer). Couldn&#8217;t be simpler. No compilations, flashings, downloads, or installations. Just open the file remotely on your laptop, change it, save it, and restart the application on the target: voilà, you can see the new version running. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here you can see the process list in &#8220;htop&#8221; with the current version of my software running.</p>
<div id="attachment_565" class="wp-caption aligncenter" style="width: 310px"><a href="http://myownhybrid.files.wordpress.com/2011/07/htop_sb2.png"><img class="size-medium wp-image-565" title="htop_sb2" src="http://myownhybrid.files.wordpress.com/2011/07/htop_sb2.png?w=300&#038;h=159" alt="" width="300" height="159" /></a><p class="wp-caption-text">HTOP view with the SoapBox2 application running.</p></div>
<p>You can see there are 6 processing threads in this Python application called &#8220;sb2.py&#8221;. They are: the main thread (which runs the endless computing cycle), the LED blinking thread, the GPS input thread, the Accelerometer input thread, the Telemetry server thread, and the PyGame event pump thread. The motor power controller communications don&#8217;t need a thread because they are polled from the main thread. You can also see that the entire application currently only uses about 6% of the CPU time, although that doesn&#8217;t account for the kernel time that is used because of it. And that the &#8220;niceness&#8221; number (the relative processing priority) has been set to -10 to confer a higher priority of this application over everything else running in the system.</p>
<p>The whole software chain is composed of:</p>
<ul>
<li>An &#8220;/etc/init.d/&#8221; service daemon (written in <a href="http://www.gnu.org/s/bash/" target="_blank">Bash</a>) that tweaks the system and then launches the main application on boot-up;</li>
<li>The main Python application;</li>
<li>Several Python modules that help deal with devices and such.</li>
</ul>
<p>The first tests I did with NJay&#8217;s micro-controllers connected to the GTA02 revealed that each I²C read/write system call was taking more than 20ms. Since I needed to make at least a dozen of them per cycle, it would be impossible to have 10 cycles per second. After much measuring and researching, I found that the linux kernel was to blame, and that the patch for this problem had already been submitted over a year ago. So I upgraded to the latest experimental kernel in SHR-U and problem solved: each I²C access is actually faster than 1ms. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Or not. Sometimes an access gets delayed by about 20ms again. The I²C bus is shared between 2 other things on the GTA02: the &#8220;Wolfson Codec&#8221; (a.k.a. the sound card) and the PCF50633 (a.k.a. PMU &#8211; Power Management Unit). And the PMU issues one interrupt per second which is serviced by the Linux kernel because that chip is where the RTC (Real Time Clock) of the system is. So once a second, there is a train of large data bursts between the kernel and the PMU, and it was spoiling my average and made my application&#8217;s math more difficult.</p>
<p>So to shut up the unnecessary chatter on the bus, I removed all the kernel modules that had anything to do with sound, and reprogrammed the PMU&#8217;s interrupt controller to stop issuing the &#8220;every second interrupt&#8221;. At last, I²C silence! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This configuration has to be done after every boot up. It soon became obvious that a custom made boot-up script was necessary to configure the GTA02 just right: from network interfaces to accelerometers and USB, passing through PMU and GPS, all the start-up configurations are done there. One of the things I do is to send a bunch of configuration files written in binary format to the GPS device; this makes it less NMEA-verbose and cranks up the speed to 4 samples per second. I may even use file storage for &#8220;Assisted-GPS&#8221; fast start one of these days. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Well, that&#8217;s it, folks. Use and abuse at your own discretion and responsibility, all the code (including set-up scripts) is in the <a href="https://github.com/vnevoa/DiffTrike" target="_blank">repository</a>. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Enjoy!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/554/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/554/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/554/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=554&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/07/14/turning-the-openmoko-into-a-robot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/openmoko-asu.jpeg" medium="image">
			<media:title type="html">Openmoko Neo Freerunner smartphone (a.k.a. GTA02)</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/final-1.jpg?w=300" medium="image">
			<media:title type="html">DiffTrike Proof of Concept &#34;SoapBox Mk II&#34;</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/ft232r.png?w=300" medium="image">
			<media:title type="html">ft232r</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/htop1.png?w=300" medium="image">
			<media:title type="html">htop</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/htop_sb2.png?w=300" medium="image">
			<media:title type="html">htop_sb2</media:title>
		</media:content>
	</item>
		<item>
		<title>Photos!</title>
		<link>http://myownhybrid.wordpress.com/2011/07/10/photos/</link>
		<comments>http://myownhybrid.wordpress.com/2011/07/10/photos/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 19:30:46 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[BatteryPacks]]></category>
		<category><![CDATA[Controllers]]></category>
		<category><![CDATA[DiffTrike]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=540</guid>
		<description><![CDATA[It&#8217;s time to show you guys what we&#8217;re working on. We&#8217;ve changed the DiffTrike a little bit, put a new seat back that is more comfortable and robust. And it even has the feminine touch of macramé ropes.    (click to view original size) The seat back is a freecycled automotive child seat. The back [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=540&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s time to show you guys what we&#8217;re working on. We&#8217;ve changed the DiffTrike a little bit, put a new seat back that is more comfortable and robust. <span id="more-540"></span>And it even has the feminine touch of <a href="http://en.wikipedia.org/wiki/Macram%C3%A9" target="_blank">macramé</a> ropes. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />    (click to view original size)</p>
<p><a href="http://myownhybrid.files.wordpress.com/2011/07/final-1.jpg"><img class="aligncenter size-full wp-image-541" title="final 1" src="http://myownhybrid.files.wordpress.com/2011/07/final-1.jpg?w=594" alt=""   /></a>The seat back is a freecycled automotive child seat. The back is attached to the structure of the Trike by a couple of hinges, so that the angle of leaning can be adjusted by adjusting the length of rope. This helps us manage not just the comfort of the rider but also the mass centre placement in relationship to the main axle. We&#8217;ve also integrated the joystick into the right hand side of the Trike after a few ergonomic tests. It&#8217;s actually quite comfortable! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You can also see the battery pack box (long black thing in the middle), the main controller box (dark gray thing with an antenna sticking out, right in front of the seat), and the GPS antenna  at the front end of the Trike.</p>
<p>Now a close-up of the battery pack insides. We&#8217;re using the lithium-ion battery pack from an electric bicycle. The pack died a somewhat sudden death after about 8 months of normal usage, it just refused to let me use its charge. It turns out that  the charger that was supplied with the bicycle has a charging voltage of 42V, but the cell chemistry (NCM) only allows a maximum of 4.1V per cell. And since there are 10 cells in this pack, each got 4.2V at the end of each charging. Talk about planned obsolescence!! I don&#8217;t know who screwed up, the Chinese supplier or the Portuguese integrator. Of course, the guarantee for lithium packs nowadays ends at 6 months (and now you know why). <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><a href="http://myownhybrid.files.wordpress.com/2011/07/final-6.jpg"><img class="aligncenter size-full wp-image-543" title="final 6" src="http://myownhybrid.files.wordpress.com/2011/07/final-6.jpg?w=594" alt=""   /></a>Anyway, you can see the 3 first cells on the left side are slightly bloated; these no longer hold any useful charge (I <a href="http://myownhybrid.files.wordpress.com/2011/07/teste-da-bateria-de-litio.xls">tested</a> them). So, I&#8217;ve wired the pack to be charged through 10 cells just the way it was, but to be discharged from only 7 cells, yielding full power at 25.2V (3.6&#215;7) instead of no power at 36V (3.6&#215;10). Which is close enough to the rated 24V of the motors (lucky bastard). I removed the part of the BMS circuit that cuts the power supply when some trouble criteria is met, and I left in the voltage-balancing part to help during charging. One of these days we&#8217;ll have to hack the charger down to 28.7V (4.1&#215;7) too. The over-current protection will be implemented in software &#8211; which is just fine in this early stage proof of concept.</p>
<p>So now, on to the main dish: the controller. We freecycled a cable modem case and glued and screwed-in the following items:  one Neo Freerunner GTA02 motherboard, one 5V DC-DC switched converter made by NJay, one Wifi antenna freecycled from a wifi router, one USB female plug, one big-ass retro-style power switch, and a handful of spaghetti wiring. Oh, and an external GPS antenna.</p>
<p><a href="http://myownhybrid.files.wordpress.com/2011/07/final-3.jpg"><img class="aligncenter size-full wp-image-542" title="final 3" src="http://myownhybrid.files.wordpress.com/2011/07/final-3.jpg?w=594" alt=""   /></a>Here&#8217;s a close-up for you. It looks messy, but that&#8217;s just looks. It&#8217;s actually very well organised. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  The external wifi antenna improves wifi remote monitoring from the laptop by several orders of magnitude, so it is a very cool addition.</p>
<p><a href="http://myownhybrid.files.wordpress.com/2011/07/final-4.jpg"><img class="aligncenter size-full wp-image-544" title="final 4" src="http://myownhybrid.files.wordpress.com/2011/07/final-4.jpg?w=594" alt=""   /></a> On the top left corner is the DC-DC 5V converter; on the lower right corner is the GTA02 board with 2 cables coming in at the top edge: a USB power supply / connection to the joystick, and a coaxial from the GPS antenna; On the top right you can barely see the butt of the wifi antenna and its thin cable; and at the top centre, hidden behind the GPS cable, you can see a few solderings that hold a couple of pull-down resistors on the USB data lines, as well as the 5V power distribution from the DC-DC board to the GTA02 and to the Joystick. The GTA02 has also a few wires sticking out (brown, brown/white, red), which are the current implementation of the I²C bus connection to NJay&#8217;s power controllers (not in picture).</p>
<p>And now, a sneak peak into the much anticipated power controllers NJay is building for the motors:</p>
<p><a href="http://myownhybrid.files.wordpress.com/2011/07/bridge-top-2.jpg"><img class="aligncenter size-full wp-image-547" title="bridge-top-2" src="http://myownhybrid.files.wordpress.com/2011/07/bridge-top-2.jpg?w=594" alt=""   /></a>This baby has been in labour for almost 5 months and over 38 hours of development and testing have been logged to this task. Why buy something simple when you can build something complicated?! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Anyway, we&#8217;re all sitting at the edge of our seats while waiting for NJay to finish preliminary fire-up tests so that we can get to real-life testing with all the gear on the Trike.</p>
<p>And then, it&#8217;ll be like the other guy said: &#8220;I feel the need&#8230; the need for speed!!!&#8221; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/540/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/540/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/540/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=540&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/07/10/photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/final-1.jpg" medium="image">
			<media:title type="html">final 1</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/final-6.jpg" medium="image">
			<media:title type="html">final 6</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/final-3.jpg" medium="image">
			<media:title type="html">final 3</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/final-4.jpg" medium="image">
			<media:title type="html">final 4</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/07/bridge-top-2.jpg" medium="image">
			<media:title type="html">bridge-top-2</media:title>
		</media:content>
	</item>
		<item>
		<title>Ping!</title>
		<link>http://myownhybrid.wordpress.com/2011/06/28/ping/</link>
		<comments>http://myownhybrid.wordpress.com/2011/06/28/ping/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 10:34:58 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[DiffTrike]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=537</guid>
		<description><![CDATA[Yes, the project is still very much alive. I haven&#8217;t had much to say publicly, because development has been going on behind closed doors with a team of volunteer enthusiasts and I&#8217;m still seeing where this is going. Current status is: - the SoapBox MkII is nearly finished and most of the materials are there, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=537&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yes, the project is still very much alive. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I haven&#8217;t had much to say publicly, because development has been going on behind closed doors with a team of volunteer enthusiasts and I&#8217;m still seeing where this is going.</p>
<p>Current status is:</p>
<p>- the SoapBox MkII is nearly finished and most of the materials are there, it just needs a few hammer and screw touches to assemble;</p>
<p>- the power controllers for the motors are rapidly taking shape on NJay&#8217;s workbench, they will be smoking pretty soon; <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>- the basic control software and firmware is mainly done, we just need to iron out the bugs with a bit of integration testing.</p>
<p>- the remote monitoring software is taking shape and getting fancy, it may need some rearranging one of these days so that people other than me can understand it&#8230; <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>That&#8217;s all folks! Keep tuned in.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/537/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/537/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/537/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=537&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/06/28/ping/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>Small victories</title>
		<link>http://myownhybrid.wordpress.com/2011/02/17/small-victories/</link>
		<comments>http://myownhybrid.wordpress.com/2011/02/17/small-victories/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 22:46:20 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Controllers]]></category>
		<category><![CDATA[DiffTrike]]></category>
		<category><![CDATA[Firmware]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=513</guid>
		<description><![CDATA[If you are an R&#38;D hobbyist like me, you know how difficult it is to maintain your motivation in the absence of practical results. So the trick is to build something often, and no matter how small, celebrate it loudly. This is the account of my current status.I&#8217;ve also updated the Resources page with links [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=513&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you are an <a href="http://www.youtube.com/watch?v=pbtbGcKiLiM" target="_blank">R&amp;D</a> hobbyist like me, you know how difficult it is to maintain your motivation in the absence of practical results. So the trick is to build something often, and no matter how small, celebrate it loudly. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  This is the account of my current status.<span id="more-513"></span>I&#8217;ve also updated the <a title="Resources" href="http://myownhybrid.wordpress.com/resources/" target="_blank">Resources</a> page with links to my code repositories as well as a few other goodies about Sustainable Design, check it out! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>First, due to some brainstorming done with my growing team of highly motivated consultants (you know who you are!) I&#8217;ve switched the third wheel from the back to the front, effectively transforming the SoapBox from a &#8220;tadpole&#8221; into a &#8220;delta&#8221; type of trike. This helps making it more stable during hard braking, and it won&#8217;t hurt much in the remaining situations. <a href="http://jetrike.com/tadpole-or-delta.html" target="_blank">A typical tricycle is more stable in curve if it is a &#8220;tadpole&#8221; type</a>, but this is not a typical tricycle&#8230; <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  I&#8217;ve also made another back for the seat which is now lighter, stronger, and more comfortable, and I&#8217;ve put the mass centre much closer to the main axle. Of course, the mass centre can only be determined definitively with all the components installed, including the batteries &#8211; but the driver&#8217;s butt should be close to the main axle, that&#8217;s for sure.</p>
<p><a href="http://myownhybrid.files.wordpress.com/2011/02/soapboxmkii_3rd_wheel_in_front.jpg"><img class="aligncenter size-full wp-image-524" title="SoapBoxMkII_3rd_wheel_in_front" src="http://myownhybrid.files.wordpress.com/2011/02/soapboxmkii_3rd_wheel_in_front.jpg?w=594" alt=""   /></a></p>
<p>You will notice that all the electronics have been stripped off the SoapBox, and even one motor is missing. This is done while waiting for the new electronics, and the missing motor is being used to test that in the lab bench.</p>
<p>Now for the lengthy and boringly uninteresting video descriptions. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Here&#8217;s the DiffTrike control system I&#8217;ve been building in the last few weeks. There&#8217;s the video description of the system components&#8230;</p>
<object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xh2yqb"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xh2yqb" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object>
<p>The DC-DC converter was custom built by my electronics wizard friend <a href="http://troniquices.wordpress.com/" target="_blank">NJay</a> (of <a href="http://embeddeddreams.com/" target="_blank">embeddeddreams.com</a> fame), who is also developing the H-Bridge power boards with which I will control the electric motors. But while he doesn&#8217;t get me something to play with, I have to stick with blinking LEDs. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And now a demonstration of the small but significant results&#8230;</p>
<object width="425" height="334"><param name="movie" value="http://www.dailymotion.com/swf/xh2yh0"></param><param name="allowfullscreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.dailymotion.com/swf/xh2yh0" width="425" height="334" allowfullscreen="true" wmode="opaque"></embed></object>
<p>The source code of my software (currently implemented in Python) is, as usual, <a href="https://github.com/vnevoa/DiffTrike" target="_blank">available in a public repository</a> with an Open Source license (GPLv3). You can download the <a href="https://github.com/vnevoa/DiffTrike/zipball/master" target="_blank">latest zip</a> or <a href="https://github.com/vnevoa/DiffTrike/tarball/master" target="_blank">tarball</a> or <a href="http://gitref.org/creating/#clone" target="_blank">clone the project</a> and contribute some changes through <a href="http://gitref.org/" target="_blank">Git</a>.</p>
<p>Well, that&#8217;s all, folks! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Keep hacking!!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/513/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/513/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/513/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=513&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2011/02/17/small-victories/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2011/02/soapboxmkii_3rd_wheel_in_front.jpg" medium="image">
			<media:title type="html">SoapBoxMkII_3rd_wheel_in_front</media:title>
		</media:content>
	</item>
		<item>
		<title>Electric disappointment</title>
		<link>http://myownhybrid.wordpress.com/2010/12/27/electric-disappointment/</link>
		<comments>http://myownhybrid.wordpress.com/2010/12/27/electric-disappointment/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 12:40:26 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Opinion]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=498</guid>
		<description><![CDATA[Disclaimer: this is a heated ventilation of a personal opinion. Proceed with obvious caution. I can&#8217;t get over the fact that GM has killed the electric car once more. The first time they built it just right and then removed the car forcibly from the hands of their happy everyday drivers, and this time they [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=498&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Disclaimer: this is a heated ventilation of a personal opinion. Proceed with obvious caution.</p>
<p>I can&#8217;t get over the fact that GM has killed the electric car once more. The first time they built it just right and then <a href="http://en.wikipedia.org/wiki/General_Motors_EV1" target="_blank">removed the car forcibly</a> from the hands of their happy everyday drivers, and this time they engineered it all wrong to please the massively ignorant public. The whole story is a mishmash of terrible details. How can the right idea go so wrong in just a handful of project years? It started out beautifully as a series-hybrid concept, and now it comes out to the dealers as a Prius &#8220;me too&#8221;, with just a plug and a larger battery to speak of.<span id="more-498"></span></p>
<p>In my view, <a href="http://www.plugincars.com/exclusive-chevrolet-volt-chief-engineer-explains-volt-drivetrain-says-volt-electric-vehicle-90758.ht" target="_blank">GM&#8217;s &#8220;Voltec&#8221; drive train</a> is fundamentally equal to Toyota&#8217;s &#8220;HSD&#8221; drive train. I bet they made quite an investment in patent lawyers to avoid being sued by Toyota for such a similar system. I can&#8217;t find any fundamental mechanical difference between the two. Well, maybe it is a little more flexible in its available modes because it&#8217;s got more clutches. But in the end, it all comes down to software; as long as the promise of a &#8220;pure&#8221; EV with range-extending ICE is kept by the system controller, the gamble will stick.</p>
<p>In truth, a series-hybrid DOES NOT NEED a planetary gear at all. It is only there in these two hybrid power trains because it is a clever way to maximize energy efficiency when you have 3 motors with different efficiency curves in the same place. Yes, I admire the depth of engineering that both Toyota and GM have gone through to brings us energy-efficient cars, but they are still missing the point altogether!!! More complexity and more engineering does not make the results better, just different! GM fell exactly into the same trap that Toyota did; they gave in to the temptation of reusing parts and systems already present in their production chain, instead of being bold and engineering the correct solution from scratch. They did the right thing in the battery project, but then threw it all away by designing the drive train around the combustion engine!! Damn!&#8230; I feel betrayed! I&#8217;m taking the &#8220;Chevy Volt&#8221; link off my blog!</p>
<p>I think I&#8217;m going to cry now&#8230; there are no series drive train electric vehicles on the market after all. The promise of a highly tuned and optimized serial system remains to be fulfilled. booh hooh hoo&#8230;. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Which brings me to the Nissan Leaf. Given my disappointment with the current market of electric hybrids, you&#8217;d think I&#8217;d be happy to see the <em>real</em> pure electrics arriving, right? <strong>Wrong!!</strong> Even at the risk of sounding like someone who is always against the tide, I just can&#8217;t swallow an EV that weighs 3 times and costs 2 times what it should!! Never mind the fact that it is a four-seater that just prolongs the problems of lack of parking space and traffic congestion in our cities; let&#8217;s just focus on the product engineering problem.</p>
<p>Just like all the other big brands, Nissan have missed the target completely by taking a standard car platform and (I can&#8217;t believe this) reinforcing it!!! &#8220;Why of course, the battery adds a lot of weight to the car, so we had to make it sturdier to withstand the same crash-proof tests&#8221;, I hear the Nissan engineers say. Well, how about <a title="Mobility engineering, done right" href="http://myownhybrid.wordpress.com/2010/04/04/mobility-engineering-done-right/">re-engineering the whole car</a> to be lighter in the first place, so the battery weight wouldn&#8217;t be an issue?!! Picking stronger materials, reducing and redesigning the structure altogether, picking new lighter materials for the interior (make them biodegradable in the meantime), none of that passed through their minds?? It didn&#8217;t even dawn on them that a lighter car would need a lighter and cheaper motor/electronics/battery, which would significantly reduce the final price of the whole vehicle!!??</p>
<p>Of course not; maintaining the current production chain at work is, after all, the main objective. Ahh, crap, I&#8217;m getting more and more demanding in my old days. <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/myownhybrid.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/myownhybrid.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/myownhybrid.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/myownhybrid.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/498/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/498/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/498/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&amp;blog=2257968&amp;post=498&amp;subd=myownhybrid&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2010/12/27/electric-disappointment/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
	</channel>
</rss>
