<?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: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>Yes, I'm building my own hybrid car.</description>
	<lastBuildDate>Thu, 09 Jul 2009 11:31:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<image>
		<url>http://www.gravatar.com/blavatar/857fdca9ecd2d68c23822e775dfc5b03?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>MyOwnHybrid</title>
		<link>http://myownhybrid.wordpress.com</link>
	</image>
			<item>
		<title>Genetic mangling of electric motors</title>
		<link>http://myownhybrid.wordpress.com/2009/07/09/genetic-mangling-of-electric-motors/</link>
		<comments>http://myownhybrid.wordpress.com/2009/07/09/genetic-mangling-of-electric-motors/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 11:12:53 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Motors]]></category>
		<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=340</guid>
		<description><![CDATA[As has been said before, we&#8217;ve taken an Intelligent Algorithm approach to our motor design framework.
We started by adding a Genetic Algorithm to the MotorFemmulator project code, and left it running on a 7 computer improvised cluster. It has yielded some results, namely the optimization of a motor from 44Nm (5kW) to 200Nm (23kW) at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=340&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As has been said before, we&#8217;ve taken an Intelligent Algorithm approach to our motor design framework.</p>
<p>We started by adding a Genetic Algorithm to the MotorFemmulator project code, and left it running on a 7 computer improvised cluster. It has yielded some results, namely the optimization of a motor from 44Nm (5kW) to 200Nm (23kW) at 90% efficiency, but the whole process of optimization is out of our control &#8211; we define the initial parameters (population size, mutation rate, reproduction rate) and then hope for the best. The best, in this case, we defined as 20 generations without improvement.</p>
<p>This takes a hell of a long time to produce results, is very wasteful of computer time, and does not guarantee a global optimal solution. So, also in the context of another course subject group work, we decided to add a Fuzzy Logic control over the Genetic Algorithm, so that we didn&#8217;t have to define those parameters and they would adjust on-the-fly to the current state of each generation. What looked like a neat idea quickly snowballed into a veritable Ph.D investigation&#8230; there are many more papers on the subject of fuzzy-genetic algorithms than the ones I care to read. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p>But eventually I found a couple of papers that promise to make it better for us. One shows how to control Mutation Rate and Crossover Rate via Fuzzy Logic to achieve a good balance between diversity (breadth of search) and convergence speed, and another one shows how to design the Genetic Algorithm with adaptive Population Size (which helps save computing cycles by eliminating the least interesting individuals, but also explodes the population size when stuck on a local maximum). This last one doesn&#8217;t have Fuzzy in it, but I&#8217;m sure I can turn one of those parameters into a Fuzzy-controlled feedback. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
<p>Man, I need that vacation&#8230; but it&#8217;s still 2 weeks and 3 group works away&#8230;  <img src='http://s.wordpress.com/wp-includes/images/smilies/face-sad.png' alt=':(' class='wp-smiley' /> </p>
<p>If it weren&#8217;t for the real benefit that we are seing as an outcome in this project (automated optimization of electric motors), I think I&#8217;d have given up by now.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/340/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/340/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/340/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=340&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2009/07/09/genetic-mangling-of-electric-motors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>Overcoming FEMM limitations</title>
		<link>http://myownhybrid.wordpress.com/2009/05/29/overcoming-femm-limitations/</link>
		<comments>http://myownhybrid.wordpress.com/2009/05/29/overcoming-femm-limitations/#comments</comments>
		<pubDate>Fri, 29 May 2009 15:27:55 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Motors]]></category>
		<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=327</guid>
		<description><![CDATA[Just like any other software, FEMM has its limitations.
I&#8217;ve been talking a lot to David Meeker, the author, who has been extremely kind and thoughtful in guiding me not only in the program&#8217;s usage but also in general electromagnetic modeling, while trying to sort out the modeling mess I&#8217;ve put myself and my colleague into [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=327&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Just like any other software, FEMM has its limitations.</p>
<p>I&#8217;ve been talking a lot to David Meeker, the author, who has been extremely kind and thoughtful in guiding me not only in the program&#8217;s usage but also in general electromagnetic modeling, while trying to sort out the modeling mess I&#8217;ve put myself and my colleague into with this project. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p>As it stands, we have a problem: <em>FEMM only works with a single frequency at a time</em>. This means that permanent magnets (freq=0Hz) and electromagnets (freq&gt;0Hz) cannot simulate together. That&#8217;s a big downer. It means we can&#8217;t draw the magnets and the coils and set a current frequency and get the corresponding torque &#8211; FEMM will ignore the permanent magnet&#8217;s fields and give us the torque from only the AC-induced field.</p>
<p>But perhaps this is a good thing. This &#8220;problem&#8221; is just an aspect of a greater, deeper problem: time modeling in the finite element method (f.e.m). You see, time is usually only present in f.e.m. in the shape of the sinusoidal E.M. waves: current, field, and all their related partners. There is no way to describe (let alone simulate) mechanical movement between parts of the design. I don&#8217;t know if other programs have this solved, but I can guess how difficult it would be to program it into FEMM. Anyway, it would be incorrect to expect good results even if FEMM did do the math with the DC and AC components, because a static PM is not the same as a moving PM.</p>
<p>So we are left without a way to simulate the magnet&#8217;s rotation around the stator, which means the machine is always static and we can&#8217;t evaluate all the other points of operation that involve speed. If we turn on the frequency, we lose the magnets and so the major source of torque; we turn it off, and we lose the core losses and the counter-electromotive force. And combining the two simulations is not correct, because there are always saturated areas where the flux cannot be summed linearly. So it looks like we can&#8217;t simulate in FEMM a brushless DC motor like this one:</p>
<p><a href="http://myownhybrid.files.wordpress.com/2009/05/pmsm-realmagnets.png"><img class="aligncenter size-medium wp-image-328" title="pmsm-realmagnets" src="http://myownhybrid.files.wordpress.com/2009/05/pmsm-realmagnets.png?w=300&#038;h=296" alt="pmsm-realmagnets" width="300" height="296" /></a></p>
<p>Or can we? David was kind enough to show me how.</p>
<p>We basically replace the original design of the permanent magnets in the rotor with an &#8220;equivalent alternating field source&#8221; that emulates the moving field of the magnets at the desired speed. If things are done properly, this &#8220;current sheet&#8221; in the rotor will generate the same field as the PMs (with the same amplitude and frequency) when they are rotating. The distance between 2  opposite magnetic poles corresponds to half a wave&#8217;s period. The amplitude of the current must be reverse-engineered; David suggests to run a few simulations to find out which current density in the &#8220;equivalent rotor sheet&#8221; generates the same field strength in a distant point of the machine as the magnets would. Then it&#8217;s just a question of dividing the sheet into a lot of small(ish) segments and insert the current density vector into each one. It sounds complicated, but it&#8217;s not. Take a look at the very same motor as above, modified according to this technique:</p>
<p><a href="http://myownhybrid.files.wordpress.com/2009/05/pmsm-movingmagnets.png"><img class="aligncenter size-medium wp-image-329" title="pmsm-movingmagnets" src="http://myownhybrid.files.wordpress.com/2009/05/pmsm-movingmagnets.png?w=300&#038;h=293" alt="pmsm-movingmagnets" width="300" height="293" /></a></p>
<p>Each one of those new little segments in the rotor has a different material property, which just defines a current density vector with the same amplitude but different orientation. The values are inserted as complex coordinates:</p>
<p><a href="http://myownhybrid.files.wordpress.com/2009/05/pmsm-current-sheet-properties.png"><img class="aligncenter size-medium wp-image-330" title="pmsm-current-sheet-properties" src="http://myownhybrid.files.wordpress.com/2009/05/pmsm-current-sheet-properties.png?w=240&#038;h=300" alt="pmsm-current-sheet-properties" width="240" height="300" /></a></p>
<p>The resulting field is a sinusoidal one which matches the permanent magnet&#8217;s field, as you can expect:</p>
<p><a href="http://myownhybrid.files.wordpress.com/2009/05/pmsm-current-sheet-field.png"><img class="aligncenter size-medium wp-image-338" title="pmsm-current-sheet-field" src="http://myownhybrid.files.wordpress.com/2009/05/pmsm-current-sheet-field.png?w=300&#038;h=154" alt="pmsm-current-sheet-field" width="300" height="154" /></a></p>
<p>This in fact simulates magnet movement. To define the rolling speed of the motor, you set the frequency of the problem. So what&#8217;s the catch?</p>
<p>Well, David pointed out one: this only gets you the base sinusoidal frequency. To get the contribution of the harmonics, further simulations are necessary &#8211; and you have to know which harmonics to simulate. And our motor model has loads of harmonics because of the squarish shape of the poles, which renders this technique somewhat erroneous.</p>
<p>And me, I&#8217;ve always liked the fact that our models are reality-accurate. Replacing real parts with &#8220;movement-equivalent&#8221; constructs gives me the chills. What if we get it wrong? Double-checking it would take a lot of effort, and we&#8217;d still need the magnets version to find out which harmonics we should look at.</p>
<p>Incidentally, this can be done by doing a &#8220;generator&#8221; simulation: snapshot (at zero frequency) the flux linkage of the phases in each position of the rotor, and draw up a chart with it&#8217;s time derivative (the EMF voltage):</p>
<p><a href="http://myownhybrid.files.wordpress.com/2009/05/pmsm-generator-0hz-induced-voltages-plot.png"><img class="aligncenter size-medium wp-image-334" title="pmsm-generator-0hz-induced-voltages-plot" src="http://myownhybrid.files.wordpress.com/2009/05/pmsm-generator-0hz-induced-voltages-plot.png?w=300&#038;h=225" alt="pmsm-generator-0hz-induced-voltages-plot" width="300" height="225" /></a></p>
<p>Pretty far from sine waves, right?</p>
<p>So, third option: back to basics. Ignore the fact that FEMM can calculate AC problems in the frequency domain, and use it only for DC static &#8220;snapshots&#8221; of several rotor positions (with the real magnets), effectively calculating in the time domain outside FEMM. Put enough of these snapshots together, and you can get electromotive forces and powers and even calculate core losses by <a href="http://people.clarkson.edu/~pillayp/c28.pdf" target="_blank">analytical methods</a> (as suggested by David).</p>
<p>Hmm&#8230; decisions, decisions&#8230; We&#8217;re taking the last approach, because time is not on our side. We will build up the script system to look for the highest Torque/Current factor, and save the core losses for a later attempt.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/327/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/327/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/327/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=327&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2009/05/29/overcoming-femm-limitations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2009/05/pmsm-realmagnets.png?w=300" medium="image">
			<media:title type="html">pmsm-realmagnets</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2009/05/pmsm-movingmagnets.png?w=300" medium="image">
			<media:title type="html">pmsm-movingmagnets</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2009/05/pmsm-current-sheet-properties.png?w=240" medium="image">
			<media:title type="html">pmsm-current-sheet-properties</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2009/05/pmsm-current-sheet-field.png?w=300" medium="image">
			<media:title type="html">pmsm-current-sheet-field</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2009/05/pmsm-generator-0hz-induced-voltages-plot.png?w=300" medium="image">
			<media:title type="html">pmsm-generator-0hz-induced-voltages-plot</media:title>
		</media:content>
	</item>
		<item>
		<title>Problem reduction</title>
		<link>http://myownhybrid.wordpress.com/2009/05/29/problem-reduction/</link>
		<comments>http://myownhybrid.wordpress.com/2009/05/29/problem-reduction/#comments</comments>
		<pubDate>Fri, 29 May 2009 13:10:18 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Motors]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=323</guid>
		<description><![CDATA[So, we&#8217;re still hammering the motor model in school. You can always take a peek here.
We&#8217;ve decided early on to drop the Opti-Y optimization suite in favor of good old fashioned homegrown Octave scripts. On one hand, Opti-Y didn&#8217;t look friendly to Linux at all, and on the other hand we wanted to leverage our [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=323&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So, we&#8217;re still hammering the motor model in school. You can always take a peek <a href="http://motorfemmulator.svn.sourceforge.net/viewvc/motorfemmulator/Magnetic/M-Models.tar.gz?view=tar">here</a>.</p>
<p>We&#8217;ve decided early on to drop the Opti-Y optimization suite in favor of good old fashioned homegrown <a href="http://www.gnu.org/software/octave/" target="_blank">Octave</a> scripts. On one hand, Opti-Y didn&#8217;t look friendly to Linux at all, and on the other hand we wanted to leverage our own knowledge of Intelligent Algorithms. So Octave+FEMM it is.</p>
<p>We&#8217;re getting a <a href="http://www.obitko.com/tutorials/genetic-algorithms/ga-basic-description.php" target="_blank">Genetic Algorithm</a> (&#8221;GA&#8221;) toolbox ready for action with our FEMM scripts, and at the same time improving those model scripts. The modeling is becoming more complicated each week, as we go along and add variable parameters to the machine model; in our classes people come up with pertinent observations, like for example &#8220;what happens to torque if the rotor magnets are embedded instead of salient?&#8221;, or &#8220;what happens to performance and efficiency if the stator teeth are not ferromagnetic?&#8221;; usually the correct answer is &#8220;it depends!&#8221;. So we add these options into the design as parameters, instead of choosing anything beforehand. But that shouldn&#8217;t be a problem, since the GA really doesn&#8217;t mind &#8211; in fact, the more parameters we have, the more pertinent it is to use GA instead of a simpler exploration approach.</p>
<p>The intention of the project is not to cover traditionally known ground and emulate the &#8220;typical&#8221; decisions; it is in fact to throw as large as possible a universe of options into the evolutionary cauldron and see which &#8220;genetic&#8221; traits emerge victorious. I expect we are only going to confirm the already known industrial tricks (if we do it right), but the approach lends itself to the appearance of surprises (which is something I would enjoy very much).</p>
<p>Anyway, not all are roses. There is the tiny problem of CPU workload. The GA itself is really light, but for each iteration and each &#8220;individual&#8221; in the &#8220;population&#8221; of options there must be at least one execution of machine simulation in FEMM. This means we are possibly looking at many thousands, possibly millions, of simulations necessary to make the GA converge to a good enough solution. And since the original version of the model takes around 6 minutes to solve on my most powerful computer&#8230; you do the math. I&#8217;d be an old man when we got the results.</p>
<p>So, the computational problem must be reduced. Two approaches are being taken to achieve this:</p>
<p>1 &#8211; <em>Reduce the node count</em>. I used to have somewhat &#8220;generic&#8221; sizes for the finite mesh in each part of the machine; I had 3 sizes (fine, medium, coarse) and used them more or less arbitrarily. Now that node count has become important, I&#8217;ve taken to define each zone&#8217;s mesh size as a fraction of the zone&#8217;s own dimensions. If I&#8217;m very interested on what is going on in a zone, I may pick a mesh size of &#8220;dimension/5&#8243;; if the zone is of little importance, I may pick as low as &#8220;dimension/2&#8243; (although it is theoretically advised to stay over &#8220;dimension/3&#8243;). Anyway, the node count got reduced last night by around 20% as a consequence of this effort. The subdivision of the air gap into 2 areas (inter-pole gap and stator-rotor gap) also helped a lot, allowing to specify different mesh sizes in these two.</p>
<p>2 &#8211; <em>Reduce the overall size of the problem.</em> It is a well-known fact that electric machines are projected with a lot of symmetry. It is correct to do a finite element simulation of a single &#8220;tooth&#8221; of certain types of machine and then extrapolate for the whole machine. This cuts down tremendously in CPU time, and allows us greater precision (with finer meshing if we like) with the same resources. Unfortunately, our machine has a lot less symmetry than others&#8230; The typical 12 pole LRK windings force us to simulate a minimum of half the machine (6 stator poles). Well&#8230; half is better than full. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' />  And when we increase the pole count to twice as much, we can reduce the simulation to one quarter of the machine (the same 6 stator poles). So, it&#8217;s not perfect, but it&#8217;ll do nicely. I&#8217;ve gotten the stator to &#8220;reduce&#8221; cleanly upon request, but the rotor is a much more delicate problem because it can be drawn in any position, and so the magnets may end up cut in any proportion. I need to change a lot of code in the framework to achieve this. Oh, and then there&#8217;s the debugging&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
<p>So, in a nutshell, that&#8217;s what&#8217;s going on. Time is running out, so we must focus on the important.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/323/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/323/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/323/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=323&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2009/05/29/problem-reduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>The wheelmotor goes to school</title>
		<link>http://myownhybrid.wordpress.com/2009/04/08/the-wheelmotor-goes-to-school/</link>
		<comments>http://myownhybrid.wordpress.com/2009/04/08/the-wheelmotor-goes-to-school/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 14:14:18 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Motors]]></category>
		<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=315</guid>
		<description><![CDATA[I finally got the chance to officially push my wheelmotor project into my master&#8217;s.
By an incredible strike of luck, I teamed up with a class mate that is also extremely interested in sustainable energy and electric propulsion; not only that but he also has experience in Octave development and is keen in applying that to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=315&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I finally got the chance to officially push my wheelmotor project into my master&#8217;s.</p>
<p>By an incredible strike of luck, I teamed up with a class mate that is also extremely interested in sustainable energy and electric propulsion; not only that but he also has experience in Octave development and is keen in applying that to my motor project.</p>
<p>So now it&#8217;s <em>our</em> project. Don&#8217;t worry, everything will be <a href="http://motorfemmulator.svn.sourceforge.net/viewvc/motorfemmulator/Magnetic/M-Models/" target="_blank">kept open-source</a> as usual. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p>André and I will be working together at least for the semester, and our plan is to use Intelligent Algorithms to generate highly optimized versions of my basic models. We are keeping FEMM as the magnetic solution calculator, and we&#8217;re planning on exploring the &#8220;<a href="http://www.optiy.de/DownloadEng.html" target="_blank">Opti-Y</a>&#8221; optimization suite &#8211; which we <a href="http://www.optiyummy.net/index.php/Magnetostatics" target="_blank">are told</a> can talk to FEMM directly (but he is still evaluating that). For the motor model description itself, I am porting the framework and a single rotor radial model (with Halbach option) from Lua to Octave language. There is much more flexibility and potential in the Octave suite than in the Lua interpreter, for a realistic machine project.</p>
<p>We originally wanted to develop our own Octave toolbox with Genetic Algorithms (and anything else we felt like) for this project, but the teacher advised us to keep it small and simple, and to reuse the professional tools. It was a hard decision, but we finally went with Opti-Y. I hope it doesn&#8217;t fail us in the meantime&#8230; but if it does, the model and framework are already written in Octave, just in case! <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
<p>However, the theoretical modelling is not the only thing we are working on&#8230; already great ideas about fast prototype fabrication are springing up, and with cool resources like 3D printers and fast curing polymers at hand, things are gearing up for a possibly surprising fast appearance of a real prototype. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile-big.png' alt=':D' class='wp-smiley' />  Of course, it might all be a pipe dream&#8230; time will tell. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/315/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/315/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/315/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=315&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2009/04/08/the-wheelmotor-goes-to-school/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>Rethinking the project</title>
		<link>http://myownhybrid.wordpress.com/2009/01/23/rethinking-the-project/</link>
		<comments>http://myownhybrid.wordpress.com/2009/01/23/rethinking-the-project/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 16:41:14 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=306</guid>
		<description><![CDATA[After 1 year and 2 months, I have very little to show for results.
There is this software framework that produces sketchy models of wheel-motors which have no guarantee of real-world performance. And a web site full of interesting bits of information, a few intelligent discussions, and a handful of very nice and techie web friends. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=306&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>After 1 year and 2 months, I have very little to show for results.</p>
<p>There is this software framework that produces sketchy models of wheel-motors which have no guarantee of real-world performance. And a web site full of interesting bits of information, a few intelligent discussions, and a handful of very nice and techie web friends. But the car still burns around 9 Litres per 100km, and there are no electric traction motors aboard. And I ride it every day to a job that consumes my time and strength.</p>
<p>I talked to investors, but they were too small and frightened for me and my project. I&#8217;d talk to bigger investors, but I&#8217;m too small and frightened for them <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> .</p>
<p>The first semester of my M.Sc. in E.E is over. I learned a lot about electric machines, but still not enough to actually build a high-efficiency and high-performance one with minimum confidence. For that, at least another semester must go by. Meanwhile, I&#8217;m all over the place in my Uni, and talks about a large and interesting project (which may allow me to work full-time on these areas &#8211; but not in my personal project) have begun.</p>
<p>So, anyway I cut it, it doesn&#8217;t look like I will be able to convert my gas-guzzling car into a HEV or EV anytime soon. I need another approach.</p>
<ul>
<li><span style="text-decoration:underline;">Resolution one:  Get an electric car <em>now</em></span>. This way I start saving the planet (and my wallet) today, instead of tomorrow. Put my actions where my mouth is. It also has the advantage of leaving the big fossil-burning hunk of metal parked somewhere where I can actually disassemble it and start some hardcore tinkering. I&#8217;d gladly settle for an electric motorbike, but my wife would divorce me if I got one (if you know the traffic and the road conditions here in Lisbon, you understand her fear of being left a widow with a small child if I rode one to work every day). And an electric bicycle is even more prone to manslaughter than a motorbike. So a car it must be. And the occasional uphill bicycle ride to work, when my strength allows it.</li>
<li><span style="text-decoration:underline;">Resolution two: Subcontract the HEV project as much as possible</span>. When time permits, get some suppliers in line for the main systems, leaving me as the system engineer or integrator. Saves time, and should increase the probability of actually getting things done. John already offered to make me a pair of custom in-wheel motors (or at least the core of them) and the reason he hasn&#8217;t already is because I&#8217;m lacking the time to honor the commitment.</li>
<li><span style="text-decoration:underline;">Resolution three: maintain the framework as a separate project</span>. I like the way the &#8220;motorfemmulator&#8221; scripts are going, and if I do get the big break I&#8217;m going after through the Uni, I may just get the time to bring this framework to a whole new level of feature richness and usability. But it cannot stand in the critical path of my HEV project anymore. I&#8217;ll be glad if someone else takes advantage of it (as Pierre has done).</li>
</ul>
<p>Maybe I&#8217;m being too ambitious in wanting to redesign my career, save the environment, and contribute to open source technology all at the same time, but that&#8217;s just the way I am&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
<p>EDIT: Oh yeah, I almost forgot &#8211; AND HAVING FUN AT THE SAME TIME!!!!  <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile-big.png' alt=':D' class='wp-smiley' /> </p>
<p>No pain, no gain.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/306/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/306/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/306/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=306&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2009/01/23/rethinking-the-project/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>Hybrid Electric Motors?!</title>
		<link>http://myownhybrid.wordpress.com/2008/12/31/hybrid-electric-motors/</link>
		<comments>http://myownhybrid.wordpress.com/2008/12/31/hybrid-electric-motors/#comments</comments>
		<pubDate>Wed, 31 Dec 2008 22:28:17 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Motors]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=288</guid>
		<description><![CDATA[Well, what do you know, there actually exist hybrid motors!  
Basically, when an electric motor has a stator with both electromagnets and permanent magnets, that&#8217;s a hybrid motor. It&#8217;s called hybrid because it is a cross-breed between a Permanent Magnet Motor and a Variable Reluctance Motor (which has a purely ferromagnetic rotor with salient [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=288&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well, what do you know, there actually exist hybrid motors! <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p>Basically, when an electric motor has a stator with both electromagnets <em>and</em> permanent magnets, that&#8217;s a hybrid motor. It&#8217;s called hybrid because it is a cross-breed between a Permanent Magnet Motor and a Variable Reluctance Motor (which has a purely ferromagnetic rotor with salient teeth and without magnets or coils).</p>
<p>This type of motor is very important to me because it is said to have much better efficiency than a regular PM motor &#8211; and efficiency is becoming an obsession of mine&#8230; battery weight and size will be largely dictated by the efficiency of the system, and the motor plays a large influential part in this. And because of regenerative braking, the total losses are multiplied by 2: we lose energy when accelerating, then we lose some more when braking. So, a motor/generator with 90% efficiency actually has an effective efficiency of 90% × 90% = 81% when we consider the energy&#8217;s complete round-trip. Furthermore, it is also said to have better torque/weight ratio and, most importantly for a wheel-motor, a wider range of flat torque response (up to higher speeds).<span id="more-288"></span></p>
<p>The main differential aspect I was able to grasp from the papers and patents about this type of motor was that, because the main part of the air gap&#8217;s magnetic flux is actually generated by the permanent magnets, the inductance (or &#8220;electrical inertia&#8221;) of the stator coils is very low, which in turn allows the electronic drive to cut or establish the phase current a lot faster than in the other systems. This promotes better torque control and higher efficiency. In addition, the generated back-emf is lower than the usual, which allows for higher speeds with the same voltage sources.</p>
<p>Another positive aspect of this motor compared to my current PM model is that it uses a lot less magnets, and so it promises to be cheaper. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p>And the thermal management is also easier, because all the temperature-sensitive components (magnets &amp; coils) are placed in the stator, where it is much easier to implement liquid cooling (if necessary).</p>
<p>So, here go some examples of this marvelous technology.</p>
<ul>
<li>Yuefeng Liao &amp; Tom Lipo&#8217;s &#8220;Doubly Salient Permanent Magnet&#8221; motor (<a href="http://myownhybrid.files.wordpress.com/2008/12/1992-liao-lipo-hybrid-dspm-with-rotor-magnets.pdf">introduction</a> and <a href="http://myownhybrid.files.wordpress.com/2008/12/1993-liao-lipo-optimization-of-dspm-motors.pdf">optimization strategy</a>).</li>
<li>Ming &amp; Zhou&#8217;s &#8220;Split Winding DSPM&#8221; motor (<a href="http://myownhybrid.files.wordpress.com/2008/12/2000-ming-zhou-split-winding-hybrid-dspm.pdf">analysis</a>).</li>
<li>Sawyer linear motor (<a href="http://dspace.mit.edu/bitstream/handle/1721.1/12642/28467437.pdf?sequence=1" target="_blank"></a><a href="http://myownhybrid.files.wordpress.com/2008/12/1993-abreu-sawyer-linear-stepper-motor.pdf">concept</a> and <a href="http://www.msl.ri.cmu.edu/projects/cordless/" target="_blank">cool application</a>).</li>
<li>Flynn&#8217;s &#8220;Parallel Path Magnetic Technology&#8221; motor (<a href="http://www.flynnresearch.net/technology/PPMT%20Technology.htm" target="_blank">concept</a> and <a href="http://myownhybrid.files.wordpress.com/2008/12/2006-flynn-parallel-path-magnetic-technology1.pdf">motor</a>).</li>
</ul>
<p>Thanks to <a href="http://femm.foster-miller.net/wiki/DavidMeeker" target="_blank">David Meeker</a> (of <a href="http://femm.foster-miller.net/wiki/HomePage" target="_blank">FEMM</a> fame) for showing me the Lipo and Sawyer motors, and to JPC for showing me the Flynn motor.</p>
<p>I&#8217;m definitely considering starting a new motor design based on this approach&#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=288&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2008/12/31/hybrid-electric-motors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>A new (contributed) hub motor</title>
		<link>http://myownhybrid.wordpress.com/2008/12/06/a-new-contributed-hub-motor/</link>
		<comments>http://myownhybrid.wordpress.com/2008/12/06/a-new-contributed-hub-motor/#comments</comments>
		<pubDate>Sat, 06 Dec 2008 16:44:35 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Fabrication]]></category>
		<category><![CDATA[Motors]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=270</guid>
		<description><![CDATA[After a 3 week intensive sprint and with a little help from me, Pierre has finalized his own motor model and it is now available in the repository. He also contributed a couple of small tweaks to my common Lua &#8220;libraries&#8221;. The GPL wins again.  
I helped out as much as I could (with [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=270&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p style="text-align:justify;">After a 3 week intensive sprint and with a little help from me, <a href="http://myownhybrid.wordpress.com/2008/07/06/the-motor-in-ascii-art/#comment-352" target="_self">Pierre</a> has finalized his own motor model and it is now available in the <a href="http://motorfemmulator.svn.sourceforge.net/viewvc/motorfemmulator/Magnetic/model_radial_single_rotor/" target="_blank">repository</a>. He also contributed a couple of small tweaks to my common Lua &#8220;libraries&#8221;. The GPL wins again. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
<p style="text-align:justify;">I helped out as much as I could (with just a few hints in magnetic design) in between my school exams and assignments, and after just a week he had my Lua/FEMM framework running with his new model. After two weeks he had a consistent motor and was running optimization scripts. Not bad at all, considering his haste and the sometimes flaky communication between two non-native English speakers! After 3 weeks he had the basic mechanic and cooling design too. So if anyone asks, you can tell them it is possible to completely design an electric wheel in under one month (I&#8217;m not so sure about the output quality, though). Anyway, hats off for a man who knows what he wants and works hard to get it. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:justify;">I haven&#8217;t checked-in his optimization scripts yet, they are very redundant (extensive &#8220;copy-paste-modify&#8221; done in a hurry), but I intend to merge that feature into some &#8220;M-files&#8221; that I want to create for the project (FEMM has a nice integration level with Matlab &amp; Octave). I did however spend some time cleaning up his model code and also refactoring some of mine to better allow multiple models in the framework. It&#8217;s all looking pretty usable now.</p>
<p style="text-align:justify;"><span id="more-270"></span></p>
<p style="text-align:justify;">The new model  is also 3-phase fed, but otherwise it is quite different from what I had been experimenting with. He followed &#8220;industrial practice&#8221; and designed a single outer rotor version with a more standard slot/pole topology. He chose a base model of 9 slots &amp; 8 poles (all multiplied by a factor of 8, yielding 72 coils &amp; 64 magnets), and all the stator teeth are wound. Additionally, the rotor is very thin and the permanent magnets are embedded into the rotor shell (instead of just glued to its surface).</p>
<p style="text-align:center;"><a href="http://myownhybrid.files.wordpress.com/2008/12/psabatier_flux.png"><img class="aligncenter size-medium wp-image-272" title="psabatier_flux" src="http://myownhybrid.files.wordpress.com/2008/12/psabatier_flux.png?w=300&#038;h=291" alt="psabatier_flux" width="300" height="291" /></a>Fig.1 &#8211; Pierre&#8217;s FEMM motor model with flux distribution and two active phases.</p>
<p style="text-align:center;"><a href="http://myownhybrid.files.wordpress.com/2008/12/psabatier_flux_closeup.png"><img class="aligncenter size-medium wp-image-273" title="psabatier_flux_closeup" src="http://myownhybrid.files.wordpress.com/2008/12/psabatier_flux_closeup.png?w=300&#038;h=152" alt="psabatier_flux_closeup" width="300" height="152" /></a>Fig.2 &#8211; A close-up of the air gap and rotor, showing the &#8220;hammerheads&#8221; he developed.</p>
<p style="text-align:justify;">The magnets he chose are custom-designed from <a href="http://www.supermagnete.de" target="_blank">supermagnete.de</a> for his dimensions. He picked a high-temperature grade (N40UH) capable of withstanding 180 degrees Celsius, which makes perfect sense in a high-power motor. Unfortunately, higher-temperature Neodymium magnets are a bit weaker in the magnetic field aspect. He chose a path of engineering I am not especially interested in: high-power / high-torque. As a consequence, his motor is to be forcefully cooled (and he did a fine job with that arrangement). Personally, I&#8217;d like to build a motor that is so efficient that it needs not be cooled.</p>
<p style="text-align:justify;">Pierre was kind enough to share his initial mechanical design with me, although under a &#8220;verbal&#8221; non-disclosure agreement because he is seeking patents on this design. So, with his permission, I&#8217;m only showing here a large scale overview, which in fact contains nothing more than just common industry knowledge and common sense. His specific insight and choices on thermal management and mechanical assembly are purposely hidden (so don&#8217;t ask me for more details).</p>
<p style="text-align:center;"><a href="http://myownhybrid.files.wordpress.com/2008/12/psabatier_assembly.png"><img class="aligncenter size-medium wp-image-271" title="psabatier_assembly" src="http://myownhybrid.files.wordpress.com/2008/12/psabatier_assembly.png?w=300&#038;h=300" alt="psabatier_assembly" width="300" height="300" /></a>Fig.3 &#8211; Pierre&#8217;s basic mechanical assembly: the stator structure and the rotor &#8220;cap&#8221;.</p>
<p style="text-align:justify;">This mechanical assembly does not show any magnetic parts; the stator is empty and ready to receive the ferromagnetic sheet and teeth and copper coils. The same is true about the rotor, it has no magnets or iron sheet in it, it&#8217;s just the outer shell.</p>
<p style="text-align:justify;">Unfortunately, I didn&#8217;t have much time to follow his work up close, and he was really in a hurry to finish the magnetic and mechanical modeling and deliver the plans for a prototype. That&#8217;s right, this baby is going to be manufactured any day now. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
<p style="text-align:justify;">According to Pierre&#8217;s simulations, his model shows a higher cogging torque (around 10Nm) than my LRK-based topologies (close to zero). But it gets a full 1000Nm for just 50A per phase, which is actually better than my double rotor model &#8211; almost twice the &#8220;bang for buck&#8221;! I have to investigate the reasons for this.</p>
<p style="text-align:justify;">Speaking of phases, here is the snapshot of his motor (Pmult=8) with one phase active (in pink), so we can see the winding sequence:</p>
<p style="text-align:center;"><a href="http://myownhybrid.files.wordpress.com/2008/12/psabatier_one_phase_8_spots.png"><img class="aligncenter size-medium wp-image-283" title="psabatier_one_phase_8_spots" src="http://myownhybrid.files.wordpress.com/2008/12/psabatier_one_phase_8_spots.png?w=300&#038;h=300" alt="psabatier_one_phase_8_spots" width="300" height="300" /></a>Fig.4 &#8211; One phase active at 8 different spots.</p>
<p style="text-align:justify;">And here is a close-up so we can count the teeth.</p>
<p style="text-align:center;"><a href="http://myownhybrid.files.wordpress.com/2008/12/psabatier_phase_close_up.png"><img class="aligncenter size-medium wp-image-282" title="psabatier_phase_close_up" src="http://myownhybrid.files.wordpress.com/2008/12/psabatier_phase_close_up.png?w=300&#038;h=138" alt="psabatier_phase_close_up" width="300" height="138" /></a>Fig.5 -Three teeth per phase pole.</p>
<p style="text-align:left;">This is a very curious arrangement to me&#8230;In fact, if we reduce Pmult to 1, we can see that the phases are not arranged in pairs unless Pmult is even&#8230;</p>
<p style="text-align:center;"><a href="http://myownhybrid.files.wordpress.com/2008/12/psabatier_asymm_3coils_per_phase.png"><img class="aligncenter size-medium wp-image-286" title="psabatier_asymm_3coils_per_phase" src="http://myownhybrid.files.wordpress.com/2008/12/psabatier_asymm_3coils_per_phase.png?w=300&#038;h=298" alt="psabatier_asymm_3coils_per_phase" width="300" height="298" /></a>Fig.6 &#8211; Base, Pmult=1.</p>
<p style="text-align:left;">I have to find some time to run a few experiments on it&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=270&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2008/12/06/a-new-contributed-hub-motor/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

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

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

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

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

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

		<media:content url="http://myownhybrid.files.wordpress.com/2008/12/psabatier_asymm_3coils_per_phase.png?w=300" medium="image">
			<media:title type="html">psabatier_asymm_3coils_per_phase</media:title>
		</media:content>
	</item>
		<item>
		<title>A map for my code</title>
		<link>http://myownhybrid.wordpress.com/2008/11/06/a-map-for-my-code/</link>
		<comments>http://myownhybrid.wordpress.com/2008/11/06/a-map-for-my-code/#comments</comments>
		<pubDate>Thu, 06 Nov 2008 14:50:30 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Motors]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=259</guid>
		<description><![CDATA[Pierre has told me it is difficult to understand my Lua scripts without a better explanation of what each variable means. He expressed a wish for a drawing that maps the variables to the geometry. I agree this is necessary, it just hadn&#8217;t been until now because nobody else dared to go into my code! [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=259&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Pierre has told me it is difficult to understand <a href="http://myownhybrid.wordpress.com/resources/">my Lua scripts</a> without a better explanation of what each variable means. He expressed a wish for a drawing that maps the variables to the geometry. I agree this is necessary, it just hadn&#8217;t been until now because nobody else dared to go into my code! <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> <span id="more-259"></span></p>
<p>Graphically (click to enlarge):</p>
<p><a href="http://myownhybrid.files.wordpress.com/2008/11/dimensions-map-radial.png" target="_blank"><img class="aligncenter size-medium wp-image-261" title="dimensions-map-radial" src="http://myownhybrid.files.wordpress.com/2008/11/dimensions-map-radial.png?w=300&#038;h=235" alt="dimensions-map-radial" width="300" height="235" /></a></p>
<p>I will explain the variables present in each file.</p>
<ul>
<li><span style="text-decoration:underline;"><em>START_HERE_model_loader.lua</em></span>: this is the only file you load directly into FEMM. It will load all the others needed do build a model and execute the desired simulations. It is also where the main variables are defined, so you should edit it before using it. This file defines the following important variables (which define the main dimensions of the motor):
<ul>
<li><strong>Ri</strong> = minimum inner radius of the motor (absolute limit); In my case, it is just above the radius of the brake drum. Of course, my scripts assume the motor is doughnut-shaped. If you put a zero in here, things will probably break here and there. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </li>
<li><strong>Ro</strong> = maximum outer radius of the motor (absolute limit); In any case, this should be the safe value of the space available inside the wheel rims.</li>
<li><strong>Zmax</strong> = the maximum depth along the axis of the wheel; typically also a safe maximum value of distance between the interior of the wheel rim and the suspension arm.</li>
<li><strong>Hag</strong> = Height of air gap between rotor and stator.</li>
<li><strong>Occ</strong> = Occupation of stator with teeth. I have to find a better name for this one&#8230; it means the ratio between the perimeter occupied by stator teeth and the total perimeter of the stator. In other words, (1 &#8211; Occ) gives the free space for wire slots.</li>
<li><strong>Dpm, Wpm, Hpm</strong> = the 3 dimensions of the currently used magnet. My models only use one kind of magnet at a time, and these 3 variables define it&#8217;s geometry. D is for Depth (along axis of motor, or perpendicular to the &#8220;paper&#8221; axis), W is for Width (along the tangent to the motor perimeter), and H is for Height (along the motor radius). These variables are merely initialized in this file, but then changed by a call to &#8220;<em>mfl_pick_magnet_material()</em>&#8221; which loads the characteristics of a specific magnet from a library (<em>my_femm_lib.lua</em>).</li>
</ul>
</li>
</ul>
<ul>
<li><span style="text-decoration:underline;"><em>model_*_*.lua</em></span>: these are my motor models. Internally, they combine a <span style="text-decoration:underline;"><em>stator_*.lua</em></span> and a <span style="text-decoration:underline;"><em>rotor_*.lua</em></span> files to build a complete motor. The model starts out by defining a few variables of its own. These are usually the ones that we play with to define the model.
<ul>
<li><strong>Tst</strong> = Thickness of the (non-magnetic) structural plate. The rotors and stator both are composed of two materials: a ferromagnetic core material, and a structural material. The inner rotor has the structural plate on the inside face; the outer rotor has it on the outside; the stator has it right accross the middle of the coils.</li>
<li><strong>Nmp_b</strong> = Basic number of magnetic poles in rotor (may correspond to 1 or more magnets each). This variable, along with the next one, allow us to express the minimum number of rotor poles and stator teeth and the relationship between them.</li>
<li><strong>Nst_b</strong> = Basic number of stator teeth.</li>
<li><strong>Pmult</strong> = Pole multiplier factor. This allows us to scale up the number of poles and teeth in proportion. It is better for efficiency and torque to have as many poles as possible, so you can for example use a factor of 3 to get a 42-pole / 36-teeth motor from a basic model of 14-poles / 12-teeth.</li>
<li><strong>Hg</strong> = Height (thickness) of glue under magnets. This is a bit of a hack. While it is justifiable as a real project variable, it was born out of my need to compensate for small accumulated errors in magnet placement &#8211; which make the corners/faces of the magnets sometimes cross the rotor circles in an almost indetectable infinitesimal amount&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/face-sad.png' alt=':(' class='wp-smiley' />  Some models use this, some don&#8217;t.</li>
<li><strong>Hst</strong> = Total height of a stator tooth.</li>
</ul>
</li>
<li>At some point I started playing around with &#8220;hammerheads&#8221;: little extensions of the stator teeth at the air gap to help directing the flux. But I&#8217;m not sure it helps at all&#8230; anyway, some models may use this.
<ul>
<li><strong>Hsf</strong> = Height of the stator tooth inner/outer hammerhead.</li>
<li><strong>Whh</strong> = Stator pole Hammerhead width, expressed in coefficient relative to pole width.</li>
</ul>
</li>
</ul>
<ul>
<li>The model file knows how to combine the stator and rotor and create their respective dimensions (and enforce dimension sanity towards the limits defined by the user), and this is all done inside the function &#8220;<em>model_refresh_geometric_data()</em>&#8220;. This is the most critical function I have in there; if it fails, the model fails to be built. The variables calculated here are dependent upon the other globals already defined by the user, and are supposed to be safely recalculated everytime the user changes those globals.
<ul>
<li><strong>Nmp, Nst</strong> = Effective number of magnetic poles and stator teeth (remember the Pmult?);</li>
<li><strong>Rs</strong> = Stator radius. This is the distance from the centre at which the stator will be placed. It marks the place of the structural plate of the stator, which is where the coil cores are fixed at their middle.</li>
<li><strong>Npmpp</strong> = Number of permanent magnets per pole. Since we are trying to use several magnet options, it is possible that one magnetic pole is made of more than one magnet.</li>
<li><strong>Npm</strong>= Total number of used magnets. For financial estimate only. Don&#8217;t confuse this variable with Nmp! <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </li>
<li><strong>Wmp</strong> = Width (in tangent direction) of a magnetic pole (constructed with one or more magnets).</li>
</ul>
</li>
<li>And here comes the really confusing part. As you may have noticed, I&#8217;m using magnets with simple block (parallelipiped) shapes, which yield a rectangular cross-section, and attaching them to a curved surface on the rotors. Obviously, this is not a perfect match. On the outside rotor, the magnets only touch the rotor at the corners; on the inside rotor, the magnets only touch the rotor at the middle of their face. To deal with this fact, I created a &#8220;bulge&#8221; quantity. I normally do the calculations as if the magnets would fit perfectly to the curved surface, and then move them out or in a little (the &#8220;bulge&#8221; dimension) to get them to touch the rotor face in the right spot. Unfortunately, this math is not perfect yet, and sometimes the model will not simulate (depending on magnet and motor dimensions).
<ul>
<li><strong>Bipm</strong>= Inner rotor magnet bulge. The radius at which each magnet centre is placed has to be extended a little bit to account for inner rotor curvature. This is the amount of radius delta that is used to do that.<strong><br />
</strong></li>
<li><strong>Ripm</strong> = Radius at which the magnet centres are placed, for the inner rotor.</li>
<li><strong>Rir </strong>= Radius at which the inner rotor magnetic core ends (and the magnets start).</li>
<li><strong>Ropm = </strong>Radius at which the magnet centres are placed, for the outer rotor.</li>
<li><strong>Bopm =</strong> Outer rotor magnet bulge. Same logic as before, but this time the delta is used to retract the magnets towards the inside, so that the corners touch the rotor face.</li>
<li><strong>Ror </strong>= Radius at which the outer rotor magnetic core ends (and the magnets start).</li>
</ul>
</li>
</ul>
<p>There. It isn&#8217;t everything, but it is enough for anyone to get started. Now hack it up! <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/259/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/259/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/259/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=259&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2008/11/06/a-map-for-my-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2008/11/dimensions-map-radial.png?w=300" medium="image">
			<media:title type="html">dimensions-map-radial</media:title>
		</media:content>
	</item>
		<item>
		<title>The braking problem &#8211; energy analysis</title>
		<link>http://myownhybrid.wordpress.com/2008/09/26/the-braking-problem-energy-analysis/</link>
		<comments>http://myownhybrid.wordpress.com/2008/09/26/the-braking-problem-energy-analysis/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 17:09:41 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[BatteryPacks]]></category>
		<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=202</guid>
		<description><![CDATA[I&#8217;ve been just talking about regenerative braking for too long. It&#8217;s time to define the requirements.
When trying to dimension ultracapacitors or batteries for regen braking, we have to take into account the energy and power of the braking in it&#8217;s worst case: from top speed down to zero, and in the shortest time possible. Let&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=202&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I&#8217;ve been just talking about regenerative braking for too long. It&#8217;s time to define the requirements.</p>
<p>When trying to dimension ultracapacitors or batteries for regen braking, we have to take into account the energy and power of the braking in it&#8217;s worst case: from top speed down to zero, and in the shortest time possible. Let&#8217;s start with the energy (I will post again later about the power).</p>
<p>So, I already set the top speed at 120 km/h, and that makes it easy to calculate the total energy generated by a full-stop braking: it is equal to the total accumulated <a href="http://en.wikipedia.org/wiki/Kinetic_energy#Kinetic_energy_of_rigid_bodies" target="_blank">kinetic energy</a> of the car (well, not really, the aerodynamic drag helps the braking a little &#8211; but I&#8217;ll go for the worst case for now).</p>
<p>So the total energy of my car at 120 km/h is:</p>
<ul>
<li><strong>E</strong> <strong>= 1/2 . m . V^2 [J]<br />
</strong></li>
<li>E @120 = 0,5 x 1230 kg x 33^2 m/s</li>
<li>E @120 = 669.735,00 J = 670 kJ = 670 kWs</li>
<li><strong>E @120 =</strong> 669.735,00 Ws / 3600 s = <strong>186,04 Wh<br />
</strong></li>
</ul>
<p><strong>186 Wh</strong> is easily managed into a small battery pack, whether for acceleration or braking.<span id="more-202"></span></p>
<p>Now, for the first phase of my project, I&#8217;m only considering rear-wheel motors; this means that the full braking energy will be divided by the two axles, and unevenly so, as usual. A &#8220;typical&#8221; stock car distribution of braking forces between front and rear axles is 65% / 35%, so:</p>
<ul>
<li><strong>E br@120 (rear) =</strong> 0,35 x 186,04 = <strong>65,11 Wh</strong></li>
</ul>
<p>However, we know that the electromechanical system is not perfect; in fact, there are people that say regenerative braking is almost useless because of all the losses. Assuming a generator + converter loss of 15%, we get:</p>
<ul>
<li><strong>E br@120(rear)(effective) =</strong> 0,85 x 65,11 = <strong>55,35 Wh</strong></li>
</ul>
<p>Hmm&#8230; we spent 186 Wh to accelerate the car up to 120km/h and all we get back from braking is 55 Wh. So, the regenerating efficiency is:</p>
<ul>
<li><strong>Eff br@120 =</strong> 55,35 Wh / 186,04 Wh = 0,2975 <strong>= 30%</strong></li>
</ul>
<p>But we still have to factor in the losses of the battery itself, and consider that the energy spent on speed maintenance (air drag and rolling resistance at constant speed) is never recovered. So, I&#8217;m looking at a 30% <span style="text-decoration:underline;">maximum potential autonomy increase</span>, but I know it will be less. It all depends on the driving circuit and habits.</p>
<p>Ok, <strong>55 Wh</strong> is pretty ridiculous for an EV battery. But if we are talking about a &#8220;panic stop&#8221;, it is delivered at a very high rate. How high? I don&#8217;t know, so I&#8217;m taking a guess and estimating that my car could stop from 120 km/h in 10 seconds. Just for the sake of argument. This means the <span style="text-decoration:underline;">average braking power</span> would be:</p>
<ul>
<li><strong>P br@120(rear)(avg) =</strong> 55 Wh x 3600 s / 10 s = 19.926,00 W = <strong>20 kW</strong></li>
</ul>
<p>Although 20 kW is a perfectly acceptable power level for an EV battery discharge, it may be excessive as a charging rate. And a &#8220;panic stop&#8221; involves a much higher power at the beginning of braking than at the end, so <span style="text-decoration:underline;">the real maximum braking power may be several times larger than 20 kW</span>. This means I will probably need a few ultracapacitors to take the power hit.</p>
<p>So, how many ultracaps are we talking about? Here I have to extrapolate even further. Luckily, my new friend <a href="http://myownhybrid.wordpress.com/2007/12/10/motor-design/#comment-279" target="_blank">Guy</a> gave me a hand here and picked out a <a href="http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail?name=P11349-ND" target="_blank">70 F / 2,1 V capacitor</a> from Digikey as an example.</p>
<p>I have no idea what voltage the capacitor bank finishes its charge after the braking. But that is irrelevant; let&#8217;s assume we put all the caps in parallel, forcing the voltage down to a maximum of 2.1 V &#8211; then the corresponding <a href="http://en.wikipedia.org/wiki/Capacitance#Energy" target="_blank">capacitance</a> would have to be:</p>
<ul>
<li>E = 55,35 Wh x 3600 s = 143.910,00 J</li>
<li><strong>E = 1/2 . C . sqr(U)</strong> &lt;=&gt;  <strong>C = 2 . E / sqr(U)</strong></li>
<li><strong>C total@2,1V =</strong> 2 x 143.910,00 J  / sqr(2,1 V) = <strong>65,2 kF</strong></li>
</ul>
<p>And the necessary number of capacitors would be:<strong><br />
</strong></p>
<ul>
<li><strong>N @2,1V = 65.265,31 F / 70 F = 933 capacitors<br />
</strong></li>
</ul>
<p>Ordering 1000 caps, the price would be 6,912 USD per unit, or:</p>
<ul>
<li><strong>Total Cap Cost @2,1V =</strong> 1000 x 6,912 USD = <strong>6.912,00 USD</strong></li>
</ul>
<p>Yes, 7000 USD is expensive, but still realistically achievable.</p>
<p>Now, something tells me I shouldn&#8217;t be getting away with putting all those caps in parallel&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
<p>The way I see it, I&#8217;ll always need some controller in between the motor and the capacitor bank to regulate the motor braking current and the battery charging current; why can&#8217;t it work at such a low voltage as 2,1V? The only disadvantage I see is having a bidirectional &#8220;buck/boost&#8221; converter there, which would be expensive to build and complicated to manage, and probably inefficient. Another disadvantage would be the very large currents that circulate between capacitor bank and motor, and even between capacitors &#8211; also not good for efficiency.</p>
<p>So let&#8217;s try another approach. Let&#8217;s put enough caps in series to make them withstand 100 V and call that a module.</p>
<ul>
<li><strong>N caps / module @100V =</strong> 100 V / 2,1 V = <strong>48 capacitors / module<br />
</strong></li>
<li><strong>C / module </strong><strong>@100V = </strong>70 F / 48<strong> = 1,458 F / module<br />
</strong></li>
<li><strong>C total@100V =</strong> 2 x 143.910,00 J  / sqr(100 V) = <strong>28,782 F</strong></li>
<li><strong>N modules @100V = </strong>28,782 / 1,458<strong> = 20 modules</strong></li>
<li><strong>N @100V = </strong>20 * 48<strong> = 960 caps</strong></li>
<li><strong>Total Cap Cost @100V =</strong> 1000 x 6,912 USD = <strong>6.912,00 USD</strong></li>
</ul>
<p>So, here we are at the same place again. 6.912 USD or <strong>4.713 EUR</strong> at today&#8217;s rate.</p>
<p>When it comes to Energy, it doesn&#8217;t really matter how you wire the capacitors, they store the same. The small difference between the two options is due to rounding imprecision. Parallel or series is only a question of how much Voltage and Current you need for your circuit.</p>
<p>The fundamental question is: is 15% ~ 25% increase in autonomy worth $7.000 (€5.000) to you?</p>
<p>I bet most DIY builders will answer NO.</p>
<p>So, another new friend (<a href="http://myownhybrid.wordpress.com/2008/07/06/the-motor-in-ascii-art/#comment-211" target="_blank">John</a>) suggested <span style="text-decoration:underline;">a composite solution</span>: tie an Ultracap bank to a Lithium Phosphate bank and then to a Lead Acid bank&#8230; like this:</p>
<ol>
<li><strong>High energy / Low Power store:</strong> The Lead-Acid bank will provide a large and cheap(er) energy store, but will not be able to accept very high (dis)charging power;</li>
<li><strong>High Power / Low Energy store:</strong> The Ultracap bank will provide an expensive but very high power energy store, but it&#8217;s limited capacity will not handle the larger energy bursts;</li>
<li><strong>Medium Energy / Medium Power store:</strong> The Lithium-Phosphate bank will provide a compromise between the two, allowing the energy from the Ultracaps to flow to the Lead-Acid bank only after crossing the Lithium-Phosphate.</li>
</ol>
<p>It&#8217;s much like a large electronic circuit: you have your big power supply feeding a group of circuits, then each bus has it&#8217;s own big capacitor, then each consumer device has it&#8217;s own small capacitor. Distributed energy system. Divide and conquer. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' />  This way we reduce the system cost by reducing the amount of High Power components, without lowering the requirements.</p>
<p>As with any composite system, the problem here is the correct dimensioning. Where is the sweet spot? How large must each of the banks be, in order to make the overall solution financially acceptable?</p>
<p>That will be the subject of another study&#8230;.</p>
<p style="text-align:center;"><strong>&#8212;&#8212;- Addendum &#8212;&#8212;-</strong></p>
<p>At the request of John, here goes the math for the full <span style="text-decoration:underline;">4-wheel-drive system</span> with industrial-grade efficiency (95%).</p>
<ul>
<li>E k@120 <strong>=</strong> 669.735,00 J</li>
<li><strong>E br@120(4&#215;4,effective) =</strong> 0,95 x 669.735,00 = <strong>636,3</strong> <strong>kJ</strong></li>
</ul>
<p>The example capacitor implementation would cost:<strong><br />
</strong></p>
<ul>
<li>C total@2,1V = 2 x 636.248,25 J  / 2,1^2 V = <strong>288,5 kF<br />
</strong></li>
<li>N @2,1V = 288.547,96 F / 70 F = <strong>4.123 capacitors!!!<br />
</strong></li>
<li><span style="color:#ff6600;"><strong>Total Cap Cost @2,1V =</strong></span> 4.122 x 6,912 USD = <span style="color:#ff6600;"><strong>28.492,5 USD</strong></span></li>
<li>&#8230;which constitutes a mere fantasy at any level.</li>
</ul>
<p>Now, replace the caps with the <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;item=280271237139" target="_blank">LiFePo4 batteries</a> that John suggested (3,2V/40Ah/<span class="ebay"><span class="sectiontitle">87,99</span></span>USD):</p>
<ul>
<li>E k@120 = 669.735,00 Ws / 3600 s = 186,04 Wh</li>
<li><strong>E br@120(4&#215;4,effective)</strong><strong> = 0,95 x 186,04 = 176,74 Wh</strong></li>
<li>Q total@3,2V = 176,738 Wh / 3,2V = 55,23 Ah</li>
<li>N @3,2V =  55,23 Ah / 40 Ah = 2 batteries (with 27,5% spare charge!)</li>
<li>Total battery cost @ 3,2V = 2 * <span class="ebay"><span class="sectiontitle">87,99</span></span>USD = <span style="color:#000000;">175,98 USD</span></li>
<li>&#8230;which is 2 orders of magnitude below the cost of the caps.</li>
</ul>
<p>But these calculations do not account for the charging current limit of the batteries. If we take the average power for a 10 second braking and the continuous charging current limit of these batteries (3C=120A), we get:</p>
<ul>
<li><strong>P br@120(4&#215;4,effective,avg) =</strong> 176,738 Wh x 3600 s / 10 s = 63.625,68 W = <strong>64 kW</strong></li>
<li><strong>U</strong><strong> br@120(4&#215;4,effective,avg) = </strong>63.625,68 W / 120 A<strong> = 530,21</strong><strong> V</strong></li>
<li><strong>N @530,21V </strong>= 530,21 V / 3,2 V <strong>= 166 batteries!!!</strong></li>
<li><strong>Or</strong></li>
<li><strong>I</strong><strong> br@120(4&#215;4,effective,avg) = </strong>63.625,68 W / 3,2 V<strong> = 19,9 kA</strong></li>
<li><strong>N @3,2V</strong> = 19.883,025 A / 120 A = <strong>166 batteries all the same.</strong></li>
<li><span style="color:#ff6600;"><strong>Total LiFePo4 cost = </strong>166 * 87,99 USD <strong>= </strong></span><strong><span style="color:#ff6600;">14.606,34 USD</span></strong></li>
<li>&#8230;which just means that the chosen batteries are too big: they support too little power and too much energy, and the usual (H)EV manufacturer approach of many small cells is the only way to support higher power.</li>
</ul>
<p>It remains to do a recalculation with a smaller LiFePo4 cell size (like A123&#8217;s cells that can charge at 4,5C)&#8230; but I bet a composite solution with ultra caps and batteries must be devised&#8230;</p>
<p>Meanwhile, I&#8217;ve come across a new type of Lithium chemistry battery that is (almost) commercially available and promises even better performance than LiFePO4: <strong>Lithium-Titanate (LiTO)</strong>. <a href="http://www.greencarcongress.com/2008/09/toshiba-scib-li.html" target="_blank">Toshiba&#8217;s &#8220;SCiB&#8221; 24V/4.2Ah</a> pack apparently delivers the same performance as a capacitor; they state charging currents in the order of <strong>12C</strong>, which is far better than the available LiFePO4&#8217;s <strong>3~5C</strong>.</p>
<p>So, redoing the <strong>power</strong> math with these SCiBs (24V/4,2Ah/50A):</p>
<ul>
<li><strong>P br@120(4&#215;4,effective,avg) =</strong> <strong>64kW</strong></li>
<li><strong>U</strong><strong> br@120(4&#215;4,effective,avg) = </strong>63.625,68W / 50A<strong> = 1,3 k</strong><strong>V</strong></li>
<li><strong>N @1272,51V </strong>= 1.272,51V / 24V<strong>= 53 batteries</strong></li>
<li>Since the price has not been published yet, I&#8217;m going to extrapolate the total cost. I&#8217;ll imagine these new batteries will cost 25% more than <a href="http://www.batteryspace.com/index.asp?PageAction=VIEWPROD&amp;ProdID=4125" target="_blank">an equivalent 25,9V/4Ah Lithium-Polymer pack</a>: 1,25 x 200 USD = 250 USD.</li>
<li><span style="color:#ff6600;"><strong>Total LiTO batt cost</strong> =</span> 53 * 250 USD = <span style="color:#ff6600;"><strong>13.250 USD</strong></span></li>
<li><span style="color:#ff6600;"><span style="color:#000000;">And they would pack a nice <strong>energy</strong> capacity of 53 x 4,2Ah x 24V = <strong>5,3kWh</strong></span></span>, which would be sufficient for 5.342,4Wh / 176,74 Wh = <strong>30 full-stops/accelerations 0~120 km/h!</strong></li>
</ul>
<p><span style="color:#ff6600;"><span style="color:#000000;">Well&#8230;</span><strong><span style="color:#000000;"> </span></strong><span style="color:#000000;"><strong>13.250 USD in batteries</strong> is better than <strong>28.500 USD in caps</strong>, right? Especially if the batteries have a life expectancy of 3000 cycles&#8230;</span><strong><br />
</strong></span></p>
<p>The conclusion to this article is that it is trivial to store the <span style="text-decoration:underline;">Energy</span> required for an acceleration from zero to top speed or resulting from a full-stop braking; however, even when contemplating very modest values of average braking power, it is quite challenging to harness the full regenerative braking <span style="text-decoration:underline;">Power</span>.</p>
<p>I will post again exclusively on this subject. Please keep your <span style="text-decoration:underline;">power</span> questions and suggestions in the box until then. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=202&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2008/09/26/the-braking-problem-energy-analysis/feed/</wfw:commentRss>
		<slash:comments>52</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>
	</item>
		<item>
		<title>Back to school</title>
		<link>http://myownhybrid.wordpress.com/2008/09/17/back-to-school/</link>
		<comments>http://myownhybrid.wordpress.com/2008/09/17/back-to-school/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 10:07:58 +0000</pubDate>
		<dc:creator>Vasco Névoa</dc:creator>
				<category><![CDATA[Controllers]]></category>
		<category><![CDATA[Motors]]></category>
		<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://myownhybrid.wordpress.com/?p=187</guid>
		<description><![CDATA[I realized it is almost impossible for a family man with a full-time job to pull this project together in useful time, especially when trying to develop a crucial and complex component such as the hub motor.
So I&#8217;m changing my life in order to accommodate the project.  
I&#8217;ve enrolled in a Master of Science [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=187&subd=myownhybrid&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I realized it is almost impossible for a family man with a full-time job to pull this project together in useful time, especially when trying to develop a crucial and complex component such as the hub motor.</p>
<p>So I&#8217;m changing my life in order to accommodate the project. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' /> <span id="more-187"></span></p>
<p>I&#8217;ve enrolled in a Master of Science degree in Electrotechnical Engineering with the goal of getting some dedicated time for the project, as well as the added benefits of having access to electro and mechanical workshops and rubbing elbows with the people who actually know something about electric motors. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
<p>To start off my education, I&#8217;ve bought a very nice book on the subject of permanent magnet motors. I had been scared off by it&#8217;s price (165 USD or 163 EUR &#8211; I guess the conversion rates don&#8217;t apply when it comes to foreign books in Europe), but after John Bass told me it was good, I went ahead and ordered it.</p>
<p><a href="http://www.amazon.com/Brushless-Permanent-Magnet-Motor-Design/dp/1932133631"><img class="aligncenter size-full wp-image-188" title="brushless_permanent_magnet_motor_design_2nd_ed" src="http://myownhybrid.files.wordpress.com/2008/09/brushless_permanent_magnet_motor_design_2nd_ed.jpg?w=240&#038;h=240" alt="" width="240" height="240" /></a></p>
<p>I&#8217;ve only had time to read half a chapter, but I&#8217;ve already found the answer to a long-standing question my web readings left me with: what the hell is the difference between a &#8220;Brushless DC&#8221; motor (BLDC) and a &#8220;Permanent Magnet Synchronous&#8221; AC motor (PMSM)? The answer, <a href="http://myownhybrid.wordpress.com/2008/01/20/motor-control-and-efficiency/" target="_self">just like I suspected</a> from my readings, is: almost none. The motor design itself does not have to have any fundamental differences. The differences reside almost entirely in the electronics that control the motor. But if you were fighting for extremely high efficiency, you might introduce some magnetic optimization tricks to take advantage of the higher harmonics content of the BLDC technique. So, ultimately, you can control the very same motor with BLDC (&#8221;six-step&#8221; or &#8220;trapezoidal&#8221; waves) or PMSM (&#8221;sine&#8221; waves) electronics &#8211; you&#8217;ll just get different efficiencies, maximum torque, and torque ripple. It&#8217;s a good reading, this book. Well balanced between the theoretical maths and the textual and graphic conceptual introduction.</p>
<p>Having said this, my next goal is to go back to work on my motor <a href="http://motorfemmulator.svn.sourceforge.net/viewvc/motorfemmulator/Magnetic/" target="_blank">simulation scripts</a> and make them a lot more realistic by introducing the missing constraints (such as back-EMF and AC/harmonics). Only after that I will have enough realistic info to decide on an actual prototype design. Oh, if only I had tons of money, the damn things would be built already&#8230; what the heck, I&#8217;ll just have more geek fun then. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-cool.png' alt='8)' class='wp-smiley' /> </p>
<p>Speaking of scripts, if <strong>you</strong> would like to experiment with them and change them to suit your needs, feel free to do so &#8211; that&#8217;s why they are open source. <img src='http://s.wordpress.com/wp-includes/images/smilies/face-smile.png' alt=':)' class='wp-smiley' />  My main focus is the <span style="text-decoration:underline;">radial flux design</span> and the framework itself, which means my <span style="text-decoration:underline;">axial flux design</span> is pretty much abandoned and in need of a maintainer. There is so much interest in axial flux these days, it would be nice if some one else picked it up and developed it. It would feel very good to develop a real extensible and flexible framework for motor simulation, and these two directions feel just right to start with. So if you&#8217;re up to the challenge, step up. I won&#8217;t bite.  <img src='http://s.wordpress.com/wp-includes/images/smilies/face-wink.png' alt=';)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/myownhybrid.wordpress.com/187/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/myownhybrid.wordpress.com/187/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/myownhybrid.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/myownhybrid.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/myownhybrid.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/myownhybrid.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/myownhybrid.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/myownhybrid.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/myownhybrid.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/myownhybrid.wordpress.com/187/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/myownhybrid.wordpress.com/187/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/myownhybrid.wordpress.com/187/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=myownhybrid.wordpress.com&blog=2257968&post=187&subd=myownhybrid&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://myownhybrid.wordpress.com/2008/09/17/back-to-school/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/706170762646dc4f5c3283c771bb31a1?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vnevoa</media:title>
		</media:content>

		<media:content url="http://myownhybrid.files.wordpress.com/2008/09/brushless_permanent_magnet_motor_design_2nd_ed.jpg" medium="image">
			<media:title type="html">brushless_permanent_magnet_motor_design_2nd_ed</media:title>
		</media:content>
	</item>
	</channel>
</rss>