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

<channel>
	<title>AcuteAero &#187; Battery Regulator</title>
	<atom:link href="http://acuteaero.com/category/projects/battreg/feed/" rel="self" type="application/rss+xml" />
	<link>http://acuteaero.com</link>
	<description></description>
	<lastBuildDate>Mon, 23 Aug 2010 05:49:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Back in Action</title>
		<link>http://acuteaero.com/2010/07/10/back-in-action/</link>
		<comments>http://acuteaero.com/2010/07/10/back-in-action/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 07:48:53 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[♥ EV Miata]]></category>
		<category><![CDATA[Battery Regulator]]></category>
		<category><![CDATA[Life and Times]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=893</guid>
		<description><![CDATA[After having the last couple weeks of my life stolen by first illness, then jury duty, I&#8217;m finally back in control and ready to get the stuff that needs to get done done to make the projects that need to happen happen- like the car and the kart. I didn&#8217;t shave until I was booted [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://acuteaero.com/wp-content/uploads/2010/07/Picture-1.png"><img class="aligncenter size-full wp-image-894" title="Picture 1" src="http://acuteaero.com/wp-content/uploads/2010/07/Picture-1.png" alt="" width="435" height="290" /></a></p>
<p>After having the last couple weeks of my life stolen by first illness, then jury duty, I&#8217;m finally back in control and ready to get the stuff that needs to get done done to make the projects that need to happen happen- like the car and the kart. I didn&#8217;t shave until I was booted from the jury selection- It&#8217;s probably just superstition but hey, it can&#8217;t hurt to cultivate a &#8220;you don&#8217;t want me on your jury&#8221; look. What a relief to get out- the trial presentation for those selected will likely stretch into August. A real messy attempted murder case.</p>
<p><a href="http://acuteaero.com/wp-content/uploads/2010/07/DSCN0529.jpg"><img class="aligncenter size-full wp-image-897" title="DSCN0529" src="http://acuteaero.com/wp-content/uploads/2010/07/DSCN0529.jpg" alt="" width="435" height="326" /></a></p>
<p>So, what&#8217;s up now? I&#8217;m making plans to get the electric MX-5 down to Monterey on Sunday for the <a href="http://www.refuelraces.com/">Refuel expo/trackday/event</a> at <a href="http://www.mazdaraceway.com/">Laguna Seca</a>. I&#8217;ve installed a set of <a href="http://www.manzanitamicro.com/index.php?page=shop.product_details&amp;flypage=flypage.tpl&amp;product_id=48&amp;category_id=17&amp;option=com_virtuemart&amp;Itemid=64">MK3 Rudman Regulators</a> to replace my home-built balancer setup as I discussed before. I&#8217;ve given the car a couple of test cycles to try to figure out what is really working and what&#8217;s not- the new regs look promising but need to be dialed in. There appears to be one really weak battery that is limiting the performance of the whole pack. And the <a href="http://acuteaero.com/2010/06/01/one-step-closer-new-dcdc/">brand new</a> <a href="http://www.belktronix.com/isodcdc.html">Belktronix DC/DC</a> has something going on that I need to figure out. It&#8217;s blown a couple of HV fuses now (<a href="http://acuteaero.com/2010/06/01/one-step-closer-new-dcdc/">where do I recognize this scenario from?</a>) If I can&#8217;t get it working it won&#8217;t ruin the weekend however, the aux. 12v battery seems to be up to the task of running the car. I got about 15 miles of driving today with heavy vacuum pump and headlight use before the aux battery ran hit the Zilla&#8217;s cutout point, and it wasn&#8217;t fully charged when I started.</p>
<p>It&#8217;s the little things that stack up and become seriously frustrating. The <a href="http://www.ebikes.ca/drainbrain.shtml">cycle analyst</a> reports wildly varying and totally wrong current readings while charging the car, while seeming about correct under discharge. Even my Fluke 337 current clamp meter is acting sketchy and not entirely trustworthy, particularly for voltage or resistance measurements. There&#8217;s definitely something wrong with it.</p>
<p>So, like usual with the practice of trying to get stuff to work there is the sweet and the sour- some things go right the first time, more often things need more attention. Patience and perseverance.</p>
<p>I&#8217;m really looking forward to the event on Sunday, I know some people I want to see will be there and I expect plenty of people I will enjoy seeing but haven&#8217;t thought of will show up as well. Hopefully the Miata performs OK. Looks like my friends and I will also have the electric recliner in tow. After reworking the battery box today it is even more solid, and stealthy than before. Good stuff. Sadly we didn&#8217;t get a chance to set up the remote-controlled auto-recline feature. Another day.</p>
<p><center><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/Z43N5U0JVrk&amp;hl=en_US&amp;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Z43N5U0JVrk&amp;hl=en_US&amp;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></center></p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2010/07/10/back-in-action/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2010/07/10/back-in-action/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Making progress on Loose Ends</title>
		<link>http://acuteaero.com/2009/08/28/making-progress-on-loose-ends/</link>
		<comments>http://acuteaero.com/2009/08/28/making-progress-on-loose-ends/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 06:39:45 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[♥ EV Miata]]></category>
		<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=385</guid>
		<description><![CDATA[I&#8217;ve got three big areas that need work on the car: Overloaded suspension Plug-n-Play chargability Amp-hour/range remaining instrumentation Starting with #1 I&#8217;ve been researching and pondering suspension options. I was thinking about sticking some off the shelf eibach springs and nice shocks on it, but there are no aftermarket off the shelf springs that I [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_388" class="wp-caption aligncenter" style="width: 445px"><img class="size-full wp-image-388" title="IMG_8680" src="http://acuteaero.com/wp-content/uploads/2009/08/IMG_8680.JPG" alt="Sunset in Southern Oregon" width="435" height="290" /><p class="wp-caption-text">Sunset in Southern Oregon (firefox kind of sucks the life out of this picture, unfortunately. Imagine it much more saturated...)</p></div>
<p>I&#8217;ve got three big areas that need work on the car:</p>
<ol>
<li>Overloaded suspension</li>
<li>Plug-n-Play chargability</li>
<li>Amp-hour/range remaining instrumentation<span id="more-385"></span></li>
</ol>
<p>Starting with #1</p>
<p>I&#8217;ve been researching and pondering suspension options. I was thinking about sticking some off the shelf eibach springs and nice shocks on it, but there are no aftermarket off the shelf springs that I have found for the Miata that have a higher spring rate but aren&#8217;t lowering springs. I don&#8217;t particularly want the car much lower than stock. I just think that option wouldn&#8217;t achieve what I&#8217;m trying to achieve. I thought about threaded coilovers, but was advised against the cheaper ones, the good ones are very expensive. So then, thinking about maybe combining custom heavy duty springs with OEM style shocks, I contacted Valley Spring Works and was quoted $328/pr for custom springs- nearly $700 just for springs all the way around. I also have been checking out air-shocks, and have found a <a href="http://www.airbagit.com/product-p/fbx-f-maz-70.htm">couple</a> <a href="http://www.focuztech.com/helix-aer-air-suspension-kit-airshock-custom-airshock-airsleeve-mazda-miata-1990-1997.html?printable=Y">packages</a>- which are ~1500 and up. Similar cost to high end threaded coilovers. I&#8217;m not sure about the performance characteristics of the air springs, it seems like their primary purpose is for easily adjustable ride height. Seeing the price of air springs make the custom steel springs seem cheap&#8230; which they are not really.</p>
<p>And it just today occurred to me to check the GVWR of the miata- 2770, if you recall, dry it weighs about 2700 now. So it&#8217;s definitely over. Damn. Oh well.</p>
<p>#2</p>
<p>I have been planning modifications to the BMS master to allow the landline cord to be attached, the system to start charging then stop when it&#8217;s finished- I&#8217;ve picked up a few parts for that purpose. I will house the master board in an aluminum box with an AC solid state relay to provide/cut power to the charger. By default the charger will be unpowered, so in the case of a system failure or problem it will just be disconnected. I think I will set it up so that the master board can detect if itself or any of the slaves has crashed on account of software failure or EMI, and reset. There will also be a built in 12v supply to power the BMS off the landline-power, and circuitry for switching the power from landline to car&#8217;s power to entirely off. I have decided what sort of connector the charge inlet will use, and will be used in the in-car wiring and on the out-of-car cords and adapters- Neutrik PowerCon 32 amp:</p>
<div id="attachment_386" class="wp-caption aligncenter" style="width: 445px"><img class="size-full wp-image-386" title="DSCN3256" src="http://acuteaero.com/wp-content/uploads/2009/08/DSCN3256.JPG" alt="Neutrik PowerCon 32" width="435" height="326" /><p class="wp-caption-text">Neutrik PowerCon 32</p></div>
<p>Power-in will use the chassis mount connector, Power-out will use the cable-mount. Unlike the PowerCon 20, there is no alternate style for power-in and power-out. So, on the long 10/3 cord I have to use with the car I will need to have both a cable mount and chassis mount connector on the ends of the cord- I think I will try making a round sleeve/strain relief on the lathe to mount the chassis mount connector on the cord instead of using a box- on the less prominent connectors inside the car trunk I will just use boxes. These connectors are expensive (best prices I found: <a href="http://www.sjmediasystem.com/nac3fc-hc.html">here</a> and <a href="http://www.sjmediasystem.com/nac3mp-hc.html">here</a>) and aren&#8217;t supposed to be used to break under load- but they are of very high quality and I feel better about using them than mis-using some NEMA twist lock that is actually supposed to be used with some particular H/N/G 120/240 circuit instead of this more flexible voltage input. These connectors also have a really high quality look and feel that I like. Note- if you screw the strain relief ring on a Neutrik connector down, then unscrew it again with great force, don&#8217;t expect the ratcheting action to be nearly as good subsequently- try to avoid taking these connectors apart after you&#8217;ve assembled them once!</p>
<p><img class="aligncenter size-full wp-image-387" title="DSCN3257" src="http://acuteaero.com/wp-content/uploads/2009/08/DSCN3257.JPG" alt="DSCN3257" width="435" height="326" /></p>
<p>#3</p>
<p>I ordered a 1000 amp shunt and an Albright SW-200 contactor to replace the Kilovac one on Otmar&#8217;s recommendation- in line with what I observed at UC Davis (four welded-shut kilovac contactors kicking around in the hybrid car lab), apparently the Kilovac contactors have an alarmingly high likelyhood of welding shut in break-under-load situations as compared to the Albright ones. Bonus with the Albright- you can inspect and clean the contacts if you&#8217;re worried about them. So, I&#8217;m going to rework the high-power wiring center in the front of the car to incorporate these new parts. I think I&#8217;m going to make interconnects out of copper busbar material instead of welding cable as well&#8230; Anyways, I&#8217;m working on figuring out how to amplify and detect the +/-50mv signal from that shunt in such a way that it can be used for peukert-corrected coulomb-counting. Which of course opens the door to some useful instrumentation. More on that as I get it working.</p>
<p>Oh, and the vacuum pump is getting to really annoy me. Every time I switch the car on it makes a huge noise, for a way long time. I think I might just get fed up with it- I&#8217;ve seen the <a href="http://www.yutai.tw/English/product.html">YT STABLE product</a> in person, I was pretty impressed- it&#8217;s powerful enough to replenish the vacuum fast and it&#8217;s not a diaphragm pump so you get much less vibration and noise. <a href="http://www.evsource.com/tls_braking_system.php">EV Source is carrying it now</a>. It&#8217;s a little expensive but jeez that diaphragm pump is getting on my nerves. I turn the key and invariably whoever is around says- what&#8217;s that NOISE- man!?</p>
<p>Much more in the works. Stay tuned.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/08/28/making-progress-on-loose-ends/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/08/28/making-progress-on-loose-ends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Massive update</title>
		<link>http://acuteaero.com/2009/07/02/massive-update/</link>
		<comments>http://acuteaero.com/2009/07/02/massive-update/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 08:11:56 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[♥ EV Miata]]></category>
		<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=270</guid>
		<description><![CDATA[A lot has happened since June 8th, when I wrote the last post- Let&#8217;s get all that out of the way and move move on to what&#8217;s new- I visited ohio and drove my great-uncle Cal&#8217;s tractor on the old family farm: The semester ended, I got good grades. As I have hinted, I drove [...]]]></description>
			<content:encoded><![CDATA[<p>A lot has happened since June 8th, when I wrote the last post- Let&#8217;s get all that out of the way and move move on to what&#8217;s new-</p>
<p>I visited ohio and drove my great-uncle Cal&#8217;s tractor on the old family farm:</p>
<p><img class="aligncenter size-full wp-image-271" title="DSCN0729" src="http://acuteaero.com/wp-content/uploads/2009/07/DSCN0729.JPG" alt="DSCN0729" width="326" height="435" />The semester ended, I got good grades.</p>
<p>As I have hinted, I drove the car- three times now. I still haven&#8217;t edited the video from the first drive, maybe I&#8217;ll do that tonight. The second time was to the DMV to get the car &#8220;verified&#8221; and registered, and the third time was just last Sunday, down to the autocross event at Golden Gate Fields. I have been working hard on the BMS/automatic charge balancing system, I think it&#8217;s almost working. In fact, that &#8216;s what I&#8217;m working on right now. I&#8217;m doing the first run of the charging system with a very basic charge profile set up, just getting a feel for how (if) it works. I&#8217;m babysitting it here in the car right now, I figured I might as well use this time to write about what has transpired&#8230; as you can imagine I&#8217;ve been putting it off.</p>
<p>So, what first-</p>
<p>I am feeling more and more confident about the powertrain of the car, now having driven it three times, I have not detected any issues with the clutch, adapter plate/hub, motor mount, batttery mounts, battery cables or other electrics. The DC/DC converter (IOTA DLS 55) works just fine and quite unobtrusively once I upped the HV fuse for it (it instantly blows 6a fuses, works fine with a 17a fuse) I have a class J fuseblock and fuses installed presently, that&#8217;s what EVSource.com was selling at the time I was buying- now they&#8217;re selling smaller circular fuses and blocks, I may need to change to this new type of fuse- it&#8217;s surprisingly hard to source DC rated class J fuses for reasonable prices. Of course that&#8217;s another good $100 bucks on the table, so I&#8217;ll hold off for now.</p>
<p>I drove the car to the DMV with my Dad following me with a tow rope, just in case. The drive there and back was mechanically straightforward, and pretty fun. The inspection went fine, they verified the VIN and the electric-ness of it then took the old title, gave us a new registration sticker and sent us on our way. Unfortunately, as is described on the <a href="http://en.wikipedia.org/wiki/Electric_vehicle_conversion">Wikipedia page on EV conversions</a>, I came away with a Q motive power code as opposed to the rightful E power code- apparently that&#8217;s the default behavior of the computer system. Q designates hybrid power- as of now hybrids are not subject to smog checks, so this problem is not an imminent issue for me, but it is kind of dumb. I have heard that this is generally a pain and that one way to tackle it is to complain to the governor&#8217;s office. I have higher priorities on my list now but this is something I may take on later.</p>
<p><img class="aligncenter size-full wp-image-273" title="IMG_7898" src="http://acuteaero.com/wp-content/uploads/2009/07/IMG_7898.JPG" alt="IMG_7898" width="435" height="290" /></p>
<p><img class="aligncenter size-full wp-image-274" title="IMG_7902krop" src="http://acuteaero.com/wp-content/uploads/2009/07/IMG_7902krop.jpg" alt="IMG_7902krop" width="435" height="332" /></p>
<p>On the way back from the DMV Dad and I stopped by our mechanic&#8217;s shop to show off the car, they&#8217;ve heard about it plenty of times over the last two years and have been interested in seeing it. I wasn&#8217;t expecting all the mechanics from Steve&#8217;s Auto Care and the neighboring Albany Tire to come out onto the street and check out my car, but it sure was neat.</p>
<p><img class="aligncenter size-full wp-image-272" title="IMG_7910" src="http://acuteaero.com/wp-content/uploads/2009/07/IMG_7910.JPG" alt="IMG_7910" width="435" height="290" /></p>
<p>Then last Sunday I took the car down to the autocross at Golden Gate Fields parking lot- (1.5 miles away) I had heard they would have scales there, I have been quite curious how much weight the car gained and how my gut-feel engineering worked out for the weight balance-</p>
<p><img class="aligncenter size-full wp-image-275" title="IMG_7925" src="http://acuteaero.com/wp-content/uploads/2009/07/IMG_7925.JPG" alt="IMG_7925" width="435" height="290" />2705 lbs, very evenly distributed- could be worse. I was hoping it wouldn&#8217;t weigh quite so much, but all in all it&#8217;s pretty good and I&#8217;m quite pleased about the weight balance. I definitely need to install stiffer suspension components- either OEM style shocks and custom heavy springs or fancy ground control coil-overs, depending on what sort of advice I get and what the budget is.</p>
<p>I gave one or two people rides through the parking lot although I didn&#8217;t attract that much attention as I was not officially part of the event- that&#8217;ll come another time. I think the car has potential to be a pretty competent autocrosser. When I arrived back home I tried the speedy launch technique with the clutch a couple times- it really is a rush to wind up the revs and then feather the clutch out. 0-40mph is stupid fast. Just for the heck of it I tried letting the clutch out a bit faster and did a tidy little burnout-</p>
<p><img class="aligncenter size-full wp-image-276" title="IMG_7926boosted" src="http://acuteaero.com/wp-content/uploads/2009/07/IMG_7926boosted.jpg" alt="IMG_7926boosted" width="435" height="290" /></p>
<p>I boosted the contrast a bit to enhance visibility, the super crummy tires on the car now don&#8217;t really leave much behind. The tracks are about 15ft long and pretty even, I think it confirms the car has an LSD. It was super loud and pretty fun. I&#8217;ll have to refrain from being so obnoxious on my street in the future&#8230;</p>
<p>As for the BMS system, I haven&#8217;t got a lot of photos, but it is coming along well. Like I said, I am as I type watching the character VFD (vacuum fluorescent display) I programmed to display battery related data from the BMS bus as the PFC 20 charger is cranking about 13 amps into the battery pack. The battery voltages are within about .6v of each other, the top one is about 14.2 right now. At 14.7 the shunt resistor is supposed to start kicking in and the master node is supposed to start slowing the charger down via the REGBUS port. Since we haven&#8217;t hit 14.7 yet I&#8217;m not sure if all that is going to work&#8230; but I&#8217;m hopeful. Some things are already looking good, despite the charger generating an insane amount of EMI- it destroyed the radio reception here in the garage- the BMS data bus does not seem to be having any issues- now the PakTrakr is also not having issues, and it consistantly has problems whenever the Zilla is powering the motor. I feel hopeful for the bus though, it uses the differential-signaled CAN transcievers and operates completely over twisted pair wire. I was able to get the system to crash by cycling power to my old school flourescent desk lamp, but I already knew that it generates some pretty nasty EMI pops- it&#8217;ll make loud pops in headphones attached to the computer. Hopefully the system will be able to take it OK, it would be neat to have the individual battery volt readouts while driving.</p>
<p>The first battery has hit 14.7 and the shunt resistor duty cycle is about 1/5 right now, drifting up and down, but successfully clamping the battery voltage to 14.7. The real test will be when the duty cycle hits 245/255 and the master node tries to slow the charger down&#8230; so far so good at least.</p>
<p>Good news- good good news- most of the batteries have hit 14.7 now and all the shunt resistors seem to be working perfectly. Even better, some of them have reached high enough duty cycle to make the master crank the charger down some, which seems to be working just fine. In fact, everything seems to be working exactly as it&#8217;s supposed to. I wish I had my camera out here&#8230; and I don&#8217;t want to leave this unattended.</p>
<p>Well I can use the iSight camera:</p>
<p><img class="aligncenter size-full wp-image-277" title="Photo 2" src="http://acuteaero.com/wp-content/uploads/2009/07/Photo-2.jpg" alt="Photo 2" width="435" height="326" />As you can see in that photo there are two batteries that seem to be lagging significantly. I&#8217;m not sure about them but I&#8217;m going to give it some more time.</p>
<p>Ah, well. So here&#8217;s the weird part- I noticed two batteries venting very slightly- number 10, which seemed to charge and act just like all the other batteries was hissing slightly from the (-) side vent. Number 6 which was the laggiest battery, its voltage would rise then fall then rise but I don&#8217;t think the shunt ever turned on for it was hissing more noticably from the seam where the top meets the casing. Pressing down on the seam would stop the hiss. I know for a fact that the datasheet figures were not exceeded, in addition to my BMS system which is reasonably consistantly accurate to .1v I checked all the batteries and these ones in particular several times with my fluke meter and found the voltages to be well within the expected range, 14.6-14.8v usually exactly 14.7v. I did not even attempt the Optima specified finish cycle (2 amps, constant current) where the battery voltage would certainly excede 14.8v. Hmmmmm. I&#8217;ll need to check these voltages tomorrow to get a good SOC approximation and call up the experts. During the previous two times I charged this pack, using the Husky brand 2/10/20 amp digital charger I never noticed these hissing noises, however the Husky charger fan is very noisy- although the hissing noises persist after removal of charge current and I never noticed it before.</p>
<p>I still count this test as a success, my BMS system performed exactly as I expected and intended. I have heard about how touchy these optima batteries can be, I hope I can figure out what exactly is going on here.</p>
<p>&#8230; so that&#8217;s the massvie update. I will attempt to keep more consistantly up to date in the future. It&#8217;s been a stressful and busy last few weeks though, believe me.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/07/02/massive-update/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/07/02/massive-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Charge Your EV&#8217;s AGM SLA Batteries</title>
		<link>http://acuteaero.com/2009/05/22/how-to-charge-your-evs-agm-sla-batteries/</link>
		<comments>http://acuteaero.com/2009/05/22/how-to-charge-your-evs-agm-sla-batteries/#comments</comments>
		<pubDate>Fri, 22 May 2009 09:14:26 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[♥ EV Miata]]></category>
		<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=257</guid>
		<description><![CDATA[This is a work in progress- I am working on planning how the battery regulators for the car are going to work. One key part of that process is deciding on the actual optimal charging procedure for the Optima-type AGM battery. One often-seen charging procedure is the &#8220;three-stage charging&#8221; process. It consists of three distinct [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-258" title="dscn1946" src="http://acuteaero.com/wp-content/uploads/2009/05/dscn1946.jpg" alt="dscn1946" width="435" height="326" /></p>
<p>This is a work in progress- I am working on planning how the battery regulators for the car are going to work. One key part of that process is deciding on the actual optimal charging procedure for the Optima-type AGM battery.</p>
<p>One often-seen charging procedure is the &#8220;three-stage charging&#8221; process. It consists of three distinct phases:</p>
<ol>
<li>Bulk, constant current. The charger puts out its maximum possible current until the battery voltage reaches a certain setpoint (usually 14-15v for 12v nom. batteries.</li>
<li>Absorption, constant voltage. The charger then holds the battery at that setpoint as the current declines, either for a certain amount of time or or until the current drops below a certain setpoint.</li>
<li>Float, constant voltage/current. The battery voltage is kept at a lower voltage (usually around 13.8v) where there is little change in the current.</li>
</ol>
<p>This process is recommended for its speed and efficiency. It would be reasonably possible to implement with the battery regulators.</p>
<p>The Optima documents specify a different regimen, however, for cyclic applications (applications like in the car where the batteries are cycled significantly, often- as opposed to starting or UPS use)</p>
<blockquote><p><strong>Cyclic Applications:</strong></p>
<ul>
<li>14.7 volts, no current limit as long as battery temperature remains below 125°F (51.7°C). When current falls below 1 amp, finish with 2 amp constant current for 1 hour.</li>
</ul>
</blockquote>
<p>This is a bit different, and a bit strange seeming. I found the Exide Orbital tech sheet a little more descriptive and useful to clarify and reinforce this different idea:</p>
<blockquote><p><strong>2. IUI or Constant Voltage/Constant Current/Constant Voltage Recharge: </strong>Appropriate for more continuous<br />
cyclic discharge/recharge applications<br />
o Step 1: Maximum current limit of 20% of nominal capacity (approx: 15 amps) and voltage limit of 14.4 volts (A)<br />
o Step 2: Hold at 14.4 volts until recharge current reaches 2% of nominal capacity (1.5 amps for most Orbital sizes)<br />
o Step 3: Hold current at 2% of nominal capacity (1.5 amps) for 2 hours<br />
o Discontinue charge if battery reaches 50oC (122oF)</p></blockquote>
<p><em>Taken from Exide Orbital Technical Information PDF </em></p>
<p>While the numbers Exide chose for the Orbital charging recommendations are a bit different, the concept is very much the same. It&#8217;s definitely useful to see this kind of consistancy.</p>
<p>So, how will this work?</p>
<ul>
<li>At first, all the regulators will not shunt, voltage will be under 14.7 volts at all batteries and current at all batteries will be the same, up to 20 amps (charger limit)</li>
<li>As some batteries start to approach 14.7v the regulators will start regulating, up to their maximum shunt current, at which point the master regulator will start scaling back the charger current. Batteries that have not reached 14.7v yet will continue to charge at the lesser amperage.  Charger current will continue to decrease to avoid pushing the strongest batteries over 14.7v.</li>
<li>The charger output will go as low as 3.5 amps, since the regulators sink about 2.5 amps at wide open, that will allow the strongest batteries to reach 1 amp at 14.7v while the weaker ones continue to charge at up to 3.5 amps</li>
<li>Once the strongest batteries have reached 1 amp at 14.7v the regulators can go into &#8220;extended absorbtion&#8221; phase for those batteries, with the charger still at 3.5 amp output can hold those batteries at 2 amp constant current for an hour, while the weaker batteries continue to do whatever they need to do.</li>
<li>Once the strongest batteries have been charging at 2 amps for an hour, the charger will reduce to 2.5 amps to allow those batteries to stop charging entirely or 2 amps if all the other batteries have reached &#8220;extended absorption&#8221; phase. The regulators on those batteries that have completed an hour will shunt all the charge current.</li>
<li>A low current float phase could be implemented after all batteries have completed an hour at 2 amps.</li>
</ul>
<p>The individual regulators can be aware of the voltage of the battery they&#8217;re regulating and the current they&#8217;re sinking in the shunt by way of ohm&#8217;s law and the duty cycle the shunt is running at. The regulators must be able to be aware of the current the charger is putting out for a constant current mode. Temperature compensation capability would be desirable. The master charger regulator must be aware of the duty cycle of the regulators and the voltage they&#8217;re sensing to decide how to scale back the charge current. Alternately the regulators could ask the master to reduce current, although the latter setup could be less versatile.</p>
<p>I think that accounts for all the provisions laid out by the Optima charging specs, and this hardware setup. I&#8217;m sure I will continue to think about it and how it&#8217;s going to work though&#8211; of course!</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/05/22/how-to-charge-your-evs-agm-sla-batteries/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/05/22/how-to-charge-your-evs-agm-sla-batteries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battery Regulator- the OTHER part of the project</title>
		<link>http://acuteaero.com/2009/03/30/battery-regulator-the-other-part-of-the-project/</link>
		<comments>http://acuteaero.com/2009/03/30/battery-regulator-the-other-part-of-the-project/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 05:11:50 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=107</guid>
		<description><![CDATA[I devised a workable fix for the circuit FAIL previously described and finished assembling a set of four battery regulator boards- their relatively small size belies that they have a LOT of parts on them! They are a pretty involved assembly project! I haven&#8217;t tested everything about every board, but as far as I can [...]]]></description>
			<content:encoded><![CDATA[<p>I devised a workable fix for the circuit FAIL previously described and finished assembling a set of four battery regulator boards- their relatively small size belies that they have a LOT of parts on them! They are a pretty involved assembly project!</p>
<p><img class="aligncenter size-full wp-image-120" title="dscn1910" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1910.jpg" alt="dscn1910" width="435" height="326" /></p>
<p>I haven&#8217;t tested everything about every board, but as far as I can tell, so far everything seems to be working as it should.</p>
<p><img class="aligncenter size-full wp-image-121" title="dscn1914" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1914.jpg" alt="dscn1914" width="435" height="326" /></p>
<p>What&#8217;s Next?</p>
<p>Let&#8217;s review the theory of operation of shunt regulators- The charger fast charges (constant voltage) the series string of batteries until a regulator detects that a single battery has reached a voltage setpoint, indicating that it is full. The regulator starts shunting the charging current off that battery. The charger then throttles down to an &#8220;absorbtion&#8221; rate charge (constant current), and as other batteries fill, their regulators shunt off them too, until every battery has reached the voltage setpoint as detected by the regulators. At that point, the charger enters a float charging mode until it is unplugged from &#8220;land&#8221; power.</p>
<p>I now have regulators that detect voltage, are able to shunt current and communicate with a master via one serial port of currently undefined protocol and two digital lines that can be pulled low or high by the µC pins. I need a way to instruct the charger to enter the second and third stages of charging. The charger (Manzinita Micro PFC20) has a 6 connector RJ12 port called REGBUS which is designed to allow the charger to work in sync with Manzinita Micro&#8217;s Rudman Regs. It&#8217;a an analog interface, electrically specified pretty well via the files on <a href="http://www.manzanitamicro.com/download.htm">this page</a>. There is no specific information or How-To on faking the interface with a microcontroller though- it&#8217;s a simple bus though, so I decided to figure it out myself. I have a current clamp meter to monitor the charger&#8217;s output, and some potentiometers and RJ12 plugs and wires to generate signals on the REGBUS, I&#8217;ll see what happens. I was thinking of picking up a pair of L16 batteries to test with, which I can then integrate into my long neglected solar-electric power system.</p>
<p>I can envision this working one of two ways. Either the charger current response is proportional to the analog signals on the REGBUS, or the current response is preset and the analog signals are used as triggers to move the charger into different preset modes. I hope it&#8217;s the latter, so that I can generate the analog signals with a few resistor networks and optocouplers- if it&#8217;s the former, I might have to look into digipots or DACs.</p>
<p>No use thinking too much about it before actually doing the testing and figuring out what I&#8217;ve actually got to work with here.</p>
<p>In order to make the charging system work without intervention, I need this master to monitor the &#8220;Reduce&#8221; and &#8220;Finish&#8221; digital signal lines on my &#8220;BatBuss&#8221; connector and generate the analog voltages needed by the PFC charger. In future versions, I&#8217;d also like to integrate&#8230;</p>
<ul>
<li>CAN Bus for reporting state and voltages, AH counts and SOC</li>
<li>battery current sensor, charging current sensor</li>
<li>Solid state relay switching of AC side of charger for protection or automatic time of day charger on/off switching</li>
<li>one RGB LED PWM channel for making a Tesla-style &#8220;fuel filler light ring&#8221;</li>
<li>data logging</li>
</ul>
<p>Sounds good, right? For now, I just want to get the batteries charging. Speaking of batteries, mine are on order! Should be arriving Apr. 8!</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/03/30/battery-regulator-the-other-part-of-the-project/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/03/30/battery-regulator-the-other-part-of-the-project/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Circuit FAIL</title>
		<link>http://acuteaero.com/2009/03/24/circuit-fail/</link>
		<comments>http://acuteaero.com/2009/03/24/circuit-fail/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 05:33:29 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=69</guid>
		<description><![CDATA[First- the good news. The circuit boards came in from Gold Phonenix, it really is very easy to order from them, and I am pretty happy with the quality. I first contacted them on March 13th (Friday), asking for quote confirmation for a 155 in^2 &#8220;Special Price&#8221; order, including the gerbers in a .zip file [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-70" title="picture-1-copy" src="http://acuteaero.com/wp-content/uploads/2009/03/picture-1-copy.png" alt="picture-1-copy" width="435" height="204" />First- the good news.</p>
<p>The circuit boards came in from Gold Phonenix, it really is very easy to order from them, and I am pretty happy with the quality. I first contacted them on March 13th (Friday), asking for quote confirmation for a 155 in^2 &#8220;Special Price&#8221; order, including the gerbers in a .zip file and my location (California). I was given a quote on the 15th (Sunday). I sent the money via PayPal, with my shipping address and the name of my .zip file. I was notified that the order was processed on the 16th (Monday). A shipping notice with tracking number was sent on the 23rd (the next Monday), and I recieved the boards this morning. That&#8217;s roughly 12 days.</p>
<p><img class="aligncenter size-full wp-image-71" title="dscn1900" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1900.jpg" alt="dscn1900" width="435" height="326" />The boards look quite good, all the traces and through plated holes stand up to visual inspection. The silkscreen is not very well alligned, and has minor smudging in a couple places.</p>
<p><img class="aligncenter size-full wp-image-72" title="dscn1901" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1901.jpg" alt="dscn1901" width="435" height="326" />I was quoted for 2 8&#8243;x8&#8243; panels, with 4 boards each, and recieved 3, for a total of 12 boards, 168.75 in^2. This is in line with other reports I have read of GoldPhonenix delivering more than you might expect. Fine with me! These boards ended up costing about $10 each, $.71 per square inch. Really good deal.</p>
<p>My order of parts from <a href="http://www.digikey.com">Digi-Key</a> arrived over the weekend. It has now taken the record of biggest Digi-Key box yet from the prototype parts shipment.</p>
<p><img class="aligncenter size-full wp-image-73" title="dscn1898" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1898.jpg" alt="dscn1898" width="435" height="326" />Better yet, I managed to order all the parts I need! Planning pays off.</p>
<p><img class="aligncenter size-full wp-image-74" title="dscn1902" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1902.jpg" alt="dscn1902" width="435" height="326" />So far so good, the power supply section of the board works just fine-</p>
<p><img class="aligncenter size-full wp-image-75" title="dscn1904" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1904.jpg" alt="dscn1904" width="435" height="326" />and the ICSP works just fine</p>
<p><img class="aligncenter size-full wp-image-76" title="dscn0503" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn0503.jpg" alt="dscn0503" width="435" height="326" />The power transistor footprints look good, I picked up some 3/8&#8243; long 4-40 machine screws and nuts- looks pro</p>
<p>So, where&#8217;s the dramatic tension? Why is this post named &#8220;FAIL&#8221;? Because I screwed up the circuit- take a good look at that first image, DUH, I swapped the connections to C and E. It&#8217;s so clear now. Oh well, I can live with a little re-work. Gives it character. Everything else seems to work well. I&#8217;ll fix that, and fix my minor screwup with the silkscreen labels of the faston terminals- CONN_1, CONN_1, CONN_1&#8230; is not very descriptive. I thought I had fixed that- KiCad un-fixed it when I reread the netlist. CONN_1 is the default value of that schematic element, and by default it is not printed in the schematic- so you have to double click on the schematic element, go to &#8220;Fields&#8221; then select &#8220;Value&#8221; to change it. You can change the text in pcbnew (be sure you change the value, not the reference), but it will revert to whatever Value is in the netlist if you read the netlist in.</p>
<p>I also replaced the current limit resistors on all the LEDs with 470ohm instead of 220ohm, except for the (blue) power LED.</p>
<p>I think we can make this work.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/03/24/circuit-fail/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/03/24/circuit-fail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battery Regulator- The Next Step</title>
		<link>http://acuteaero.com/2009/03/14/battery-regulator-the-next-step/</link>
		<comments>http://acuteaero.com/2009/03/14/battery-regulator-the-next-step/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 08:08:02 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=56</guid>
		<description><![CDATA[I finished the new board design a few days ago- I don&#8217;t think I&#8217;m an expert or anything, but definitely did a better job this time than I did on the prototype- Just to begin, I checked my schematics and footprints carefully. That in itself will make a big difference! I also got the overall [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-57" title="picture-2" src="http://acuteaero.com/wp-content/uploads/2009/03/picture-2.png" alt="picture-2" width="435" height="307" /></p>
<p>I finished the new board design a few days ago- I don&#8217;t think I&#8217;m an expert or anything, but definitely did a better job this time than I did on the prototype- Just to begin, I checked my schematics and footprints carefully. That in itself will make a big difference! I also got the overall size way down- from almost 24 in^2 to about 14 in^2. I spent some time refining and fixing up the silkscreen for usefulness and legibility, and ran DRC tests. I have at least 8 mil clearance throughout the board- It&#8217;d be nice to have more, but it is sufficient for the requirements of the board house. I ended up running a bunch of traces between pins of headers and DIP chips.</p>
<p>As with many projects, in order to move things along it&#8217;s now time to <strong>buy stuff</strong>.</p>
<ul>
<li>I contacted Gold Phoenix&#8217;s sales rep to arrange an order of the final circuit boards. I think I should be able to get 10 or 11 boards for $99- an excellent deal.</li>
<li>I recompiled my BOM and made a digi-key order for all the parts necessary for populating another 5 boards- $68 dollars worth of wirewound resistors! Over $250 total.</li>
<li>I purchased LEDs, fuses and heatshrink from MPJA, I still haven&#8217;t decided exactly what LEDs are going to be what colors, but I knew I needed a bunch of reds and greens.</li>
<li>I bought a buch of 1/16 aluminum sheet on eBay, I can use a shear at school to cut it to make base plates for the regulators- I&#8217;m planning a setup kind of like this:</li>
</ul>
<ul>
<li><img class="aligncenter size-full wp-image-58" title="dscn1876" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1876.jpg" alt="dscn1876" width="435" height="326" />I also ordered four 80mm fans on eBay to mount over the resistors. I decided it was totally worth it to get the blue LED versions.</li>
<li>And, I ordered a Fluke 377 current-clamp multimeter. Besides always wanting one, I will use it to monitor the charger when I figure out how to control it via the REGBUSS port. I considered cheaper clamp meters, but the conclusion I drew from reviews online was that the Fluke was really the way to go. Expensive, yes.</li>
<li>Oh, also I ordered a new FTDI board from sparkfun that will go right on the header I have on the reg board, as well as some little board with a RJ12 pigtail- meant for use with the PIC ICSP system, I will use for the REGBUS. And a Salae Logic analyzer. I think it will be useful.</li>
</ul>
<p>So, am I some kind of high roller here? Spending all this money? No, but I have to finish this project right, and I am very lucky that my parents are supportive of my ambitions.</p>
<p>I am looking forward to testing this regulator system on a real battery pack- I think that&#8217;ll be coming pretty soon.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/03/14/battery-regulator-the-next-step/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/03/14/battery-regulator-the-next-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battery Regulator- part 4</title>
		<link>http://acuteaero.com/2009/03/06/battery-regulator-part-4/</link>
		<comments>http://acuteaero.com/2009/03/06/battery-regulator-part-4/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 03:11:18 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=39</guid>
		<description><![CDATA[I finished testing the battery regulator board over the last two days, as I planned I did a full-current &#8220;burn&#8221; test and tested the MCP2551 (CAN transciever) based communications circuit. Things went mostly according to plan. I had planned to burn in the power circuit for ~2hrs, but I got all the information I needed [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/30L8HvUoz7U&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x006699&#038;color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/30L8HvUoz7U&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x006699&#038;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>I finished testing the battery regulator board over the last two days, as I planned I did a full-current &#8220;burn&#8221; test and tested the MCP2551 (CAN transciever) based communications circuit. Things went mostly according to plan.</p>
<p>I had planned to burn in the power circuit for ~2hrs, but I got all the information I needed in about 15 minutes- the transistor is fine, by my calculations it should be burning no more than 1w (less with higher hfe optocoupler) which the datasheet specifies is OK without a heatsink up to ambient temperatures of 40-60 C. So, I will make thermal pads and bolt the TO-220 pads to the board, I don&#8217;t think a heatsink is necesesary.</p>
<p>The power resistor on the other hand didn&#8217;t fare so well. Just because a power transistor is rated &#8220;50w&#8221; doesn&#8217;t mean it can take a power close to that limit for a sustained amount of time without any thermal considerations. That resistor got crazy hot. 33 watts is a lot of power when it&#8217;s all going to heat in such a small area. The anodizing changed colors, the plastic plugs at the ends of the resistor expanded outwards and the solder melted causing the wires to slide around.</p>
<p><img class="alignnone size-full wp-image-41" title="dscn18691" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn18691.jpg" alt="dscn18691" width="435" height="326" /></p>
<p>I cut the power when I noticed this, once it cooled down again the plastic plugs retracted slightly, but you wouldn&#8217;t mistake it for new- and the anodized surface is still a little darker than new resistors. It still reads an acceptable resistance though, so I&#8217;m not going to toss it.</p>
<p>When revising the schematic earlier I decided to nix the &#8220;Fan&#8221; output transistor, which after seeing this I have decided to add back in. I think if I mount the resistors on some aluminum plate and use some forced air everything should be OK.</p>
<p>About the MCP2551 CAN transciever, which I added to the schematic as an easy robust way to implement an EVILbus style communication bus (BatBuss) is a complex little guy- read that datasheet closely. I assumed it wouldn&#8217;t care how slow the baud rate on the bus was, so I could use it for even DC signals- that&#8217;s not the case though.</p>
<blockquote><p>1.5 TXD Permanent Dominant<br />
Detection<br />
If the MCP2551 detects an extended low state on the<br />
TXD input, it will disable the CANH and CANL output<br />
drivers in order to prevent the corruption of data on the<br />
CAN bus. The drivers are disabled if TXD is low for<br />
more than 1.25ms (minimum). This implies a<br />
maximum bit time of 62.5μs (16kb/s bus rate),<br />
allowing up to 20 consecutive transmitted dominant bits<br />
during a multiple bit error and error frame scenario. The<br />
drivers remain disabled as long as TXD remains low. A<br />
rising edge on TXD will reset the timer logic and enable<br />
the CANH and CANL output drivers.</p></blockquote>
<p>When I used another MCP2551 to check the onboard one by making a little sketch to toggle the &#8220;TX&#8221; pin every couple of seconds I got no output on the second transciever. When I set the sketch to toggle with 2ms cycle delay (effectively probably 300-500 hz) my multimeter read ~2.5v on the output of the second chip. This would idicate a duty cycle of 1/2 and is enough to make me think the chip is working right. This means my bit-banged &#8220;BatBuss&#8221; must run at at least 16kb/s- more challenges. At least I can leave that until later.</p>
<p>And voilà- I think I have enough information to redesign the board. When I have finished, and verified correct operation in service I will post the schematic and software, or at least software specifications. I have considered making this a kit also, since I wasn&#8217;t able to find these regulators on sale when I was looking, someone else may be interested in skipping this arduous design process!</p>
<p>I have been meaning to publish some of my older projects, as well as to make an about page, put up some links, and change or customize the CSS- look for all that soon.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/03/06/battery-regulator-part-4/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/03/06/battery-regulator-part-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battery Regulator- part 3</title>
		<link>http://acuteaero.com/2009/03/03/battery-regulator-part-3/</link>
		<comments>http://acuteaero.com/2009/03/03/battery-regulator-part-3/#comments</comments>
		<pubDate>Wed, 04 Mar 2009 07:22:58 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=24</guid>
		<description><![CDATA[I have confirmed that the board programs and communicates correctly via serial with the Arduino environment. Almost everything is working as planned. The timer that drives the PWM on pins 11 and 12 (ATMega168) or 5, 6 (Arduino), OC0A and OC0B, is used for system timing stuff too, so it doesn&#8217;t ever go completely &#8220;off&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/kPTPdkfW2Ic&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x006699&#038;color2=0x54abd6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/kPTPdkfW2Ic&#038;hl=en&#038;fs=1&#038;rel=0&#038;color1=0x006699&#038;color2=0x54abd6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
<p>I have confirmed that the board programs and communicates correctly via serial with the Arduino environment. Almost everything is working as planned.</p>
<p>The timer that drives the PWM on pins 11 and 12 (ATMega168) or 5, 6 (Arduino), OC0A and OC0B, is used for system timing stuff too, so it doesn&#8217;t ever go completely &#8220;off&#8221;. I moved the optocoupler I noted was giving me problems with the ICSP to one of these PWMs- so once the PWM was enabled, it was never at duty cycle 0. That&#8217;s not OK, because then the shunt is always sucking a little current. So I need to move it. I think I&#8217;m going to move it to PD3 (OC2B) and move what was on there somewhere else. Makes stuff a little less neat, but I think it&#8217;s the best option.</p>
<p>Things that need doing in order to order more circuit boards:</p>
<ul>
<li>Verify correct operation of communication circuit</li>
<li>Run long term (2hr) burn test at full shunt power to make sure nothing overheats, gauge the need for heatsinking the power transistor</li>
<li>Fix power transistor footprint and redesign board and traces, make it smaller. Use 1/8 watt resistors where appropriate</li>
</ul>
<p>Things that need doing after that:</p>
<ul>
<li>Test and plot linearity of analog optocoupler, adjust trimpots</li>
<li>Get a feel for characteristics of pwm cycle control over shunt current</li>
<li>Plan firmware</li>
</ul>
<p>There&#8217;s a lot to do. I&#8217;m especially concerned with the eventual need to develop the &#8220;BatBuss&#8221; serial interface, loosely based on &#8220;EVILBus&#8221;. It&#8217;s going to need to be Bit-Banged, and I really don&#8217;t have a good idea about how to implement that yet. I&#8217;ll figure it out, and I actually don&#8217;t even need to to just get the regulators working, but I&#8217;m worrying about it anyhow. I also need to get an idea of the characteristics of the REGBUSS on the Manzinita Micro charger, and figure out how I&#8217;m going to effectively trigger it to go into Float and Finish modes. I think it will consist of some optocouplers and resistor networks, but I&#8217;m not sure yet. Need to test it, and to test it I need some guinea pig batteries and a current meter. An excuse to pick up a nice clamp meter? Possibly.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/03/03/battery-regulator-part-3/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/03/03/battery-regulator-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Battery regulator- part 2</title>
		<link>http://acuteaero.com/2009/03/01/battery-regulator-part-2/</link>
		<comments>http://acuteaero.com/2009/03/01/battery-regulator-part-2/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 20:25:03 +0000</pubDate>
		<dc:creator>Henry</dc:creator>
				<category><![CDATA[Battery Regulator]]></category>

		<guid isPermaLink="false">http://acuteaero.com/?p=12</guid>
		<description><![CDATA[I continued troubleshooting the board yesterday, and came to a few conclusions- The gain of the power transistor is indeed high enough to be driven directly from the optocoupler. In order to get the C-E voltage drop nice and low (.35 v or less) I am driving the base with about 20 ma- it&#8217;s definitely [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-large wp-image-14" title="dscn18371" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn18371-1024x768.jpg" alt="dscn18371" width="437" height="329" /></p>
<p>I continued troubleshooting the board yesterday, and came to a few conclusions- The gain of the power transistor is indeed high enough to be driven directly from the optocoupler. In order to get the C-E voltage drop nice and low (.35 v or less) I am driving the base with about 20 ma- it&#8217;s definitely saturated. The optocouplers I ordered have CTR 40-80%, so as it is right now, it&#8217;s a bit of a balancing act with keeping the OC pulling less than ~30 ma from the AVR pin while maintaining enough C-E current to keep the power transistor saturated. I think next time I order parts I will order higher CTR optocouplers (there are some better ones in the same series of parts) and maybe tweak the resistor values just for a little headroom.</p>
<p>After having gotten that squared away (whew!) I took a quick trip to Fry&#8217;s in Sacramento (got very lost on the way. Why are there two different freeways with such similar names?? I80 and Business 80?) to pick up some new resistors for the power transistor base and the optocoupler LED. Was also able to find pinheaders (Yuss!) and a 5v linear regulator. Having all the parts, I finished populating the board.</p>
<p><img class="alignnone size-large wp-image-15" title="dscn1839" src="http://acuteaero.com/wp-content/uploads/2009/03/dscn1839-1024x768.jpg" alt="dscn1839" width="437" height="329" /></p>
<p>(Note the upright metal film resistors placed in the TO-92 footprints)</p>
<p>Looks pretty good, right? Well then I couldn&#8217;t connect to the microcontroller via my USBTiny and ICSP header. Frustrating. I thought about it overnight and then earlier this morning I confirmed my suspicion that one of the ICSP pins (MOSI in fact) was also being used to drive one of my optocouplers- I assume that was putting enough of a load on the pin that the ICSP was unable to connect.</p>
<p>So, I would say that most of the kinks have been worked out of this hardware! I&#8217;m going to take some time now to fix up the schematic and do a little bit more trace reworking on the board so that it&#8217;ll reflect the schematic changes. A note- in KiCad eeschema, using wire labels is useful- but if you have labels like Sense 1, Sense 2, Sense 3, they will all be assumed to join together. So don&#8217;t include those spaces- I didn&#8217;t get this when I was first trying to layout the board so I made wires in the schematic between everything- messy. I&#8217;ve fixed it now.</p>
<p class="facebook"><a href="http://www.facebook.com/share.php?u=http://acuteaero.com/2009/03/01/battery-regulator-part-2/" target="_blank" title="Share on Facebook">Share on Facebook</a></p>]]></content:encoded>
			<wfw:commentRss>http://acuteaero.com/2009/03/01/battery-regulator-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
