{"id":1410,"date":"2010-12-21T13:17:45","date_gmt":"2010-12-21T18:17:45","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=1410"},"modified":"2012-07-30T09:29:27","modified_gmt":"2012-07-30T13:29:27","slug":"regulated-power-supply-for-embedded-systems","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/regulated-power-supply-for-embedded-systems\/","title":{"rendered":"Regulated power supply for embedded systems"},"content":{"rendered":"<p>Power is an important aspect of all embedded systems. Nothing works              without electric power. Depending upon the type of applications, several              options for power are available. For example, if the system doesn&#8217;t   need to be portable, it can be powered directly from the wall source              using AC adaptors. AC adaptors are cheap and easily available at any              electronics store. They are used to power a bunch of electronics gadgets              at home, like radios, answering machines, wireless routers, etc. They              also come with mobile phones as chargers. They convert the high voltage              AC in the wall socket to low voltage DC suitable to run the appliances.              They usually provide the output voltage somewhere in the range of              +3.3V to +12V DC, and supply current up to few amperes.<\/p>\n<p>An embedded system consists of many different components that can              operate from a wide range of power supply. But some components, such              as Analog-to-Digital Converters (ADCs), require a constant voltage              supply to provide an accurate output because they need a reference              voltage for converting the analog signal to digital count. A device,              known as voltage regulator, is used for this purpose. It&#8217;s job is              to convert a range of input DC voltages to a constant output voltage.              Besides, a voltage regulator also minimizes the power supply noise              and provide a sort of protection for the embedded system from any              possible damages due to fluctuating input voltages. The bottom line              is that including a voltage regulator in your design is always good.<\/p>\n<p><strong>Types of voltage regulators<\/strong><br \/>\n<em>1. Linear regulators:<\/em> Linear regulators use at least one              active component (like transistor) and require a higher input voltage              than the output. They are small, cheap, easy to implement, provide              clean output voltage with low noise, and therefore are very popular.              However, they generates a lot of waste heat (note that the difference              of input and output voltage is dropped across the regulator) that              must be dissipated with bulky heatsinks. So, in terms of efficiency              they are not a good choice, specially for battery-powered embedded              system. Furthermore, they can only step a voltage down and cannot              boost the input voltage.<\/p>\n<p><em>2. Switching Regulators:<\/em> Unlike linear regulators, switching              regulators can step up (boost), step down (buck), or invert the input              voltage. A switching regulator works by transferring energy in discrete              packets from the input voltage source to the output. This is accomplished              with the help of an electrical switch (usually MOSFET) and a controller              which regulates the rate at which energy is transferred to the output.              They use an inductor or a capacitor as an energy-storing element in              order to transfer energy from the input to the output. Since the energy              is delivered as required they waste less power, and are very efficient              than linear regulators. However, their drawback are they require more              components (that makes them expensive), take up more space, and are              complex circuits to design. That&#8217;s why they are not popular among              hobbyists. Besides, the high switching frequency in the circuit generates              far more noise than linear regulators.<\/p>\n<p><strong>LM78xx Voltage Regulators<\/strong><br \/>\nThere are hundreds of voltage regulators available. The most commonly              used are LM78xx series linear regulators manufactured by several companies              like Fairchild, Semelab, and ST Microelectronics. They typically come              in a TO-220 package, and have a metallic attachment point for a heatsink.              The part number designates the output voltage. For example, LM7805              provides a 5 V regulated output, while LM7809 provides a regulated              9 V output. They can provide an output current up to 1 Amp, and have              overload and short-circuit protection features.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/12\/LM78xxTable.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1411 aligncenter\" title=\"LM78xxTable\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/12\/LM78xxTable-550x303.png\" alt=\"\" width=\"550\" height=\"303\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/12\/LM78xxTable-550x303.png 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/12\/LM78xxTable.png 600w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p>The figure below shows how to use a LM7805 to get a regulated +5 V              power supply. Decoupling capacitors (nominally between 1 uF and 47              uF) are used to filter input and output voltages, and they also help              in removing any momentary glitches in the power source. The input              DC voltage for LM7805 is obtained by rectifying the low-voltage AC              output from a step-down transformer using a diode-bridge rectifier.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/12\/PowerSupply.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1412 aligncenter\" title=\"PowerSupply\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/12\/PowerSupply-550x265.png\" alt=\"\" width=\"550\" height=\"265\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/12\/PowerSupply-550x265.png 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/12\/PowerSupply.png 600w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">Also read: <a href=\"http:\/\/embedded-lab.com\/blog\/?p=112\"><strong><em>Regulated power supply for breadboard<\/em><\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Power is an important aspect of all embedded systems. Nothing works without electric power. Depending upon the type of applications, several options for power are available. For example, if the system doesn&#8217;t need to be portable, it can be powered directly from the wall source using AC adaptors. AC adaptors are cheap and easily available at any electronics store. They are used to power a bunch of electronics gadgets at home, like radios, answering machines, wireless routers, etc. They also come with mobile phones as chargers. They convert the high voltage AC in the wall socket to low voltage DC<\/p>\n","protected":false},"author":1,"featured_media":1411,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29,30],"tags":[152,1308],"class_list":["post-1410","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-embedded-lessons","category-power-supply","tag-lm78xx","tag-power-supply"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=1410"}],"version-history":[{"count":3,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1410\/revisions"}],"predecessor-version":[{"id":5806,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1410\/revisions\/5806"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/1411"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=1410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=1410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=1410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}