{"id":1834,"date":"2012-01-13T22:24:38","date_gmt":"2012-01-14T03:24:38","guid":{"rendered":"http:\/\/www.summet.com\/blog\/?p=1834"},"modified":"2012-01-12T22:26:15","modified_gmt":"2012-01-13T03:26:15","slug":"adventures-with-a-boost-converter","status":"publish","type":"post","link":"https:\/\/www.summet.com\/blog\/2012\/01\/13\/adventures-with-a-boost-converter\/","title":{"rendered":"Adventures with a boost converter"},"content":{"rendered":"<p><a href=\"http:\/\/www.summet.com\/blog\/wp-content\/uploads\/2012\/01\/six_watts.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.summet.com\/blog\/wp-content\/uploads\/2012\/01\/six_watts-225x300.jpg\" alt=\"Breadboard with electronic components and wires, lighting up a lightbulb\" title=\"Six Watts\" width=\"225\" height=\"300\" class=\"alignleft size-medium wp-image-1836\" srcset=\"https:\/\/www.summet.com\/blog\/wp-content\/uploads\/2012\/01\/six_watts-225x300.jpg 225w, https:\/\/www.summet.com\/blog\/wp-content\/uploads\/2012\/01\/six_watts-768x1024.jpg 768w, https:\/\/www.summet.com\/blog\/wp-content\/uploads\/2012\/01\/six_watts.jpg 1200w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/a><br \/>\nA boost converter is a dynamic electronic circuit that can &#8220;boost&#8221; a lower voltage up to a higher voltage. Current is of course reduced in the process, but if you design it right you only lose 5-25% of the overall power.  I am in the process of building one that will convert the approximately 70 volt nominal output provided by <a href=\"http:\/\/www.summet.com\/blog\/2011\/11\/16\/solar-panels-on-the-electric-truck\/\">my solar panels<\/a> into 125-140 volts that will charge <a href=\"http:\/\/www.summet.com\/blog\/2011\/02\/27\/s-10-electric-pickup\/\">my trucks batteries<\/a>. I also plan on adding a bit of maximum power point tracking and battery charge regulation to the control logic, making it a MPPT solar boost converting charge controller.  Why do I have all of these wires and parts scattered across the dining room table?  Because the market does not sell what I need. (Believe me, I&#8217;ve looked.) So I have decided to build what I need. <\/p>\n<p>Not being an electrical engineer, I probably won&#8217;t be able to get 95% efficiency out of my system, but so far I&#8217;ve measured 85-90% efficiency when doubling voltage. [Test 1: 23 volts in at 0.28A for 6.44 watts, 46 volts out at 0.12A for 5.52 watts means 0.92 watts loss = 0.92\/6.44 = 0.142 or 14.2% losses. Test 2: 34.8 volts in at 0.35A for 12.18 watts, 72.3 volts out at 0.15A for 10.84 watts, or -1.335 watts loss, which is 10.9% losses.] <\/p>\n<p>I&#8217;m still running things off of a (relatively) low voltage and current supply (two\/three 12V 5AH batteries) while getting everything working, and only boosting up to 50-72 volts when testing. <\/p>\n<p>I had the circuit up to 95 volts (max of 16 watts) on the output side, but I really want to optimize it for a voltage doubling, and you lose a good amount of efficiency when going higher than a 50% duty cycle.<\/p>\n<p>I have also not been able to find a commercially available boost regulating control IC that works with 100 volt inputs and produces up to 200 volt outputs. One probably exists, but digikey doesn&#8217;t appear to have it. I&#8217;m solving this problem by programming my own using a PIC micro-controller. At least the programmable nature of my controller should also allow me to add the battery charging maximum voltage\/current and solar panel MPPT logic into the system. I am currently working on a single phase boost converter, but the plan is for the final system to be two phase (which basically means that I use two of them in parallel). This means that I need my single phase system to be able to support 100-175 watts maximum. Soon I&#8217;ll be moving from my 25 watt resistive load (25 watt lightbulb) to a 100 watt resistive load. Eventually, I may even borrow a 75 volt power supply and test it up to 140 volts.<\/p>\n<p>While working on my boost controller, I&#8217;ve found the following reference links very useful:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.ladyada.net\/library\/diyboostcalc.html\">http:\/\/www.ladyada.net\/library\/diyboostcalc.html<\/a><\/li>\n<li><a href=\"http:\/\/www.nerdkits.com\/videos\/backlight\/\">http:\/\/www.nerdkits.com\/videos\/backlight\/<\/a><\/li>\n<li><a href=\"http:\/\/www.daycounter.com\/Calculators\/Switching-Converter-Calculator.phtml\">http:\/\/www.daycounter.com\/Calculators\/Switching-Converter-Calculator.phtml<\/a><\/li>\n<li><a href=\"http:\/\/www.arrickrobotics.com\/highload.html\">http:\/\/www.arrickrobotics.com\/highload.html<\/a><\/li>\n<\/ul>\n<p>I have also made a few mistakes that people making their own boost converter may want to avoid:<\/p>\n<ol>\n<li>Within reason, the higher the switching frequency the better. I started off using a PIC12F683 chip which only has a single PWM output. Because I was planning on building a two phase system, I decided to code my own PWM loop that would support two phases with a 180 degrees difference. (A fancy way of saying that they would each be ON for the same amount of time, but that while channel A&#8217;s ON time would start at the beginning of the period, channel B&#8217;s on time would END at the end of the period. If the duty cycle went above 50% they would overlap for a bit in the middle.) After spending an hour on my fancy 2 phase PWM system and testing it with some visible LED&#8217;s, I took all of the delays out of it only to find that my 8Mhz internal oscillator could only support a period of 1.5-3 kHz. Sure, it sort of worked, but you could HEAR it switch. It also required a much larger inductor for the same power.  So, I switched over to using the built in PWM subsystem, which can easily hit 73 kHz while still having 5-6 bits of precision. I now plan on switching over to a PIC 16F chip which has a dual channel PWM that I THINK can do an 180 degree 2 phase signal in hardware (if I&#8217;m reading the specs correctly&#8230;)<\/li>\n<li>Most MOSFETs require at least a 10 volt gate signal. If you switch them  with a 5volt logic signal directly from the PIC they will switch (at least mine did), but they will not carry current without burning a lot of it up as heat. I was wasting 80% of my power as heat in the MOSFET until I wired up a transistor off of a 12V rail to amplify the signal to 12 volts. I plan on using a IXDN604PI gate driver chip for my final design.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>A boost converter is a dynamic electronic circuit that can &#8220;boost&#8221; a lower voltage up to a higher voltage. Current is of course reduced in the process, but if you design it right you only lose 5-25% of the overall &hellip; <a href=\"https:\/\/www.summet.com\/blog\/2012\/01\/13\/adventures-with-a-boost-converter\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,12],"tags":[],"class_list":["post-1834","post","type-post","status-publish","format-standard","hentry","category-projects","category-goodlinks"],"_links":{"self":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/1834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/comments?post=1834"}],"version-history":[{"count":0,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/posts\/1834\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/media?parent=1834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/categories?post=1834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.summet.com\/blog\/wp-json\/wp\/v2\/tags?post=1834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}