<?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/"
	>

<channel>
	<title>AnalogTalk</title>
	<atom:link href="http://analogtalk.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://analogtalk.com</link>
	<description>cause it's an analog world, baby</description>
	<pubDate>Fri, 27 Aug 2010 17:24:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>To build a better mousetrap</title>
		<link>http://analogtalk.com/?p=648</link>
		<comments>http://analogtalk.com/?p=648#comments</comments>
		<pubDate>Fri, 27 Aug 2010 17:24:13 +0000</pubDate>
		<dc:creator>AnalogAdvocate</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[3D tv]]></category>

		<category><![CDATA[cable]]></category>

		<category><![CDATA[mousetrap]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=648</guid>
		<description><![CDATA[The switch to digital is a constant to the advances of technology.  But not everywhere is this beneficial.  In some cases, its a marketing ploy, like the extra noise bit or Monster cables; and other times companies are trying to shove it down the consumers throat in an attempt to spark genesis for a new [...]]]></description>
			<content:encoded><![CDATA[<p>The switch to digital is a constant to the advances of technology.  But not everywhere is this beneficial.  In some cases, its a marketing ploy, like the extra noise bit or Monster <a href="http://www.theguruguys.com/news/xmas-buyers-beware-expensive-audio-video-cables">cables</a>; and other times companies are trying to shove it down the consumers throat in an attempt to spark genesis for a new market (3D TV anyone?)</p>
<p>What we&#8217;re trying to say is, sometimes the best solution is the simplest solution, and an analog solution maybe one that should be looked at over an overly intelligent one.  This is particularly true when it comes to price.</p>
<p><img class="aligncenter size-full wp-image-650" title="mousetrap-stands-upright-to-indicate-its-catch" src="http://analogtalk.com/wp-content/uploads/2010/08/mousetrap-stands-upright-to-indicate-its-catch.jpg" alt="mousetrap-stands-upright-to-indicate-its-catch" width="525" height="304" />Consider the elegant <a href="http://www.dsksic.com/industrial_design_introduction.asp">OneDown mousetrap</a>, a Gold Award Winner at the International Design Excellence Awards.  It swings upright from a rodent’s own weight, providing a visual indication it&#8217;s been set off without risking your fingers nor creating any mess or smell.</p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=648</wfw:commentRss>
		</item>
		<item>
		<title>Last longer</title>
		<link>http://analogtalk.com/?p=644</link>
		<comments>http://analogtalk.com/?p=644#comments</comments>
		<pubDate>Wed, 11 Aug 2010 21:37:58 +0000</pubDate>
		<dc:creator>AnalogAdvocate</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=644</guid>
		<description><![CDATA[
A local family that has been feeling drained by life gets an unexpected boost from Microchip Technology.
“When I was younger, I was at my fullest and felt that nothing could stop me”, said D. Alkaline, a father of three. “But as time went on, I found that I could no longer do the same things [...]]]></description>
			<content:encoded><![CDATA[<p><object width="640" height="385" data="http://www.youtube.com/v/wnjVppiriZ4&amp;hl=en_US&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/wnjVppiriZ4&amp;hl=en_US&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>A local family that has been feeling drained by life gets an unexpected boost from Microchip Technology.</p>
<p>“When I was younger, I was at my fullest and felt that nothing could stop me”, said D. Alkaline, a father of three. “But as time went on, I found that I could no longer do the same things as fast as I used to and it drained me more and more just to do them!”</p>
<p>C. Alkaline, D.’s wife, continued, “I couldn’t watch his spirits spiraling down any longer and decided to do something about it.”</p>
<p>Fortunately for the whole family, the newly released MCP1640 boost regulator from Microchip Technology provided the lift everybody needed. “I feel like I can last forever,” beamed D. “Now with the help of MCP1640 even my little darlings, AA., AAA and AAAA can easily reach beyond their potential and give their uncle Li a run for his money!” C. added, “And we will make sure to let my cousins Nim. H and Nic D. know all about the uplifting MCP1640 and then even they could compete with their cousin L. Ion!”</p>
<p><strong>Related Links</strong></p>
<p><a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en547080">MCP1640</a></p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=644</wfw:commentRss>
		</item>
		<item>
		<title>You&#8217;re holding it wrong</title>
		<link>http://analogtalk.com/?p=637</link>
		<comments>http://analogtalk.com/?p=637#comments</comments>
		<pubDate>Fri, 25 Jun 2010 18:34:40 +0000</pubDate>
		<dc:creator>AnalogAdvocate</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[Product Reviews]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=637</guid>
		<description><![CDATA[The buzz this week is the newest iPhone, it&#8217;s lack of reception, and of course Steve Job&#8217;s you&#8217;re holding it wrong response (more accurately he stated &#8220;just don&#8217;t hold it that way&#8220;), despite Apple themselves depicting the natural way to hold the phone.

Antenna placement these days is affected on FCC rules on how much energy [...]]]></description>
			<content:encoded><![CDATA[<p>The buzz this week is the newest iPhone, it&#8217;s lack of reception, and of course Steve Job&#8217;s you&#8217;re holding it wrong response (more accurately he stated &#8220;<a href="http://www.tuaw.com/2010/06/24/double-stevemails-on-iphone-4-reception-just-dont-hold-it-tha/">just don&#8217;t hold it that way</a>&#8220;), despite Apple themselves depicting the natural way to hold the phone.</p>
<p><img class="alignleft size-full wp-image-640" title="hey-apple-youre-holding-it-wrong1" src="http://analogtalk.com/wp-content/uploads/2010/06/hey-apple-youre-holding-it-wrong1.jpg" alt="hey-apple-youre-holding-it-wrong1" width="600" height="595" /></p>
<p>Antenna placement these days is affected on FCC rules on how much energy a device can send into a user&#8217;s head.  That&#8217;s the reason most antennas are around the bottom of phones nowadays. Similarly, the antennas in the new iPhone are on the sides of the phone, which means that when you go to grasp the phone to make a call or play on its touch screen a lot of the transmit energy is being absorbed.</p>
<p>Solution?  Use a blue tooth headset and walk around like you have a roach creeping up your ear.</p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=637</wfw:commentRss>
		</item>
		<item>
		<title>Don&#8217;t PANIC</title>
		<link>http://analogtalk.com/?p=633</link>
		<comments>http://analogtalk.com/?p=633#comments</comments>
		<pubDate>Wed, 23 Jun 2010 20:49:15 +0000</pubDate>
		<dc:creator>AnalogAdvocate</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[ion]]></category>

		<category><![CDATA[photo]]></category>

		<category><![CDATA[RE46C162]]></category>

		<category><![CDATA[RE46C163]]></category>

		<category><![CDATA[RE46C165]]></category>

		<category><![CDATA[RE46C166]]></category>

		<category><![CDATA[RE46C167]]></category>

		<category><![CDATA[RE46C168]]></category>

		<category><![CDATA[smoke detector]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=633</guid>
		<description><![CDATA[Oh, it’s in your house and its likely talking to all its buddies while you are oblivious to some of its general operations.  “Why worry it is doing its job and keeping me safe?” And fortunately in our lives, so it is with many of the safety devices. They are so well engineered folks pay [...]]]></description>
			<content:encoded><![CDATA[<p>Oh, it’s in your house and its likely talking to all its buddies while you are oblivious to some of its general operations.  “Why worry it is doing its job and keeping me safe?” And fortunately in our lives, so it is with many of the safety devices. They are so well engineered folks pay them little heed for they will work with little heed. Would that our computers and home networks were so dutiful!</p>
<p>Nonetheless if you are reading a site like this you are just geeky enough to want to know more. You’re a step beyond the mere mortals that go through life blissfully oblivious. You enjoy being blissfully aware. Knowledge is power, so you cannot resist more. And more you shall have.</p>
<p>What is this device? This unheralded guardian faithfully communicating with its fellow guardians? It is the smoke detector. And much of its operation is likely not understood by those protected by it. Sure we all know if it goes off get out! Or at least determine why it went off and get out if a real fire is life threatening. And still more of you likely know in a simple home set up all these detectors are connected by a loop, so if one detects danger they can all sound together. This makes it possible for a remote fire to be reported locally. In others, you are in bed and find out about the fire in the basement. That’s good.</p>
<p>But that is where things get tricky. They all alarm together. Like the old Christmas lights that all went out together if one had a problem, the all for one approach in a system makes it really difficult to find the culprit. And finding the culprit can be very important if the alarm is false.</p>
<p>What can we do? It turns out we can look and learn. If you have a loop system that false trips during the next event you can go from unit to unit and see which one is flashing. The flashing unit is the one that initiated the alarm. Once you know which unit is the culprit you can more easily determine if the device is just poorly placed and have it move, or needs replacing, that is getting a new one.</p>
<p>Now at Microchip, if someone has a good idea far be it from us not to make it better. It did not escape our attention that while the above flashing is a good idea in practice it has its downfalls. First, your alarm is sounding and lives possibly threaten, not the best time for cool headed flashing light checking. And again in the arena of bad timing, the light only flashes when the alarm sounds; an alarm typically capable of 85dB at ten feet. If you are like me you need to be closer than ten feet to see the light flash.</p>
<p>So there you are calmly covering you ears walking from room to room checking for little flashing lights and maybe miss your house mates call that they found the fire and to get out. There has to be a better way, and now there is.</p>
<p>With the new Alarm Memory product from Microchip the smoke detector will flash that light for 24 hours after the event and if you press the test button after the 24 hour period the device will give a special flash and then reset itself. Don’t panic: with the RE46C162 &amp; 3 for Ion and RE46C165/6/7/8 for photo the culprit can be located under the calmest of conditions.</p>
<p><strong>Related Links</strong></p>
<p><a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en547991">RE46C162/3</a></p>
<p><a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en547993">RE46C165/6/7/8 </a></p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=633</wfw:commentRss>
		</item>
		<item>
		<title>Resolution good enough for accuracy?  Part II</title>
		<link>http://analogtalk.com/?p=628</link>
		<comments>http://analogtalk.com/?p=628#comments</comments>
		<pubDate>Fri, 11 Jun 2010 20:49:16 +0000</pubDate>
		<dc:creator>AnalogAdvocate</dc:creator>
		
		<category><![CDATA[General]]></category>

		<category><![CDATA[adc]]></category>

		<category><![CDATA[digital-to-analog converter]]></category>

		<category><![CDATA[MCP3901]]></category>

		<category><![CDATA[resolution]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=628</guid>
		<description><![CDATA[Now that we have figured out the smallest signal we need to measure, let’s look at what the 16-bit ADCs of the MCP3901 can do for the energy measurement requirements.  We need to look at more than resolution in order to determine if this is good enough for the application.  If resolution were the only [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we have figured out the smallest signal we need to measure, let’s look at what the 16-bit ADCs of the MCP3901 can do for the energy measurement requirements.  We need to look at more than resolution in order to determine if this is good enough for the application.  If resolution were the only parameter to look at, we could simply calculate that over the input range of 1V, we would spread the 16-bits of resolution (65,536 codes) would give us a least significant bit, or LSB of 15.2µV.  That sounds good, but does it give us our actual smallest detectable voltage?</p>
<p>Let’s look at some other parameters that could help us.  One of these is distortion, which is typically characterized by the parameter THD or total harmonic distortion as introduced by the ADC that was not present in the original signal.  Harmonic distortion results from spurious signals created from multiples of the fundamental frequency.  It is specified as a ratio in dB of the highest harmonic spurious signal relative to the carrier frequency.  The MCP3901 shows a specification of -104dBc THD.  It would be smaller with a smaller input voltage.  Similar devices from other suppliers typically have a THD of -90dBc or smaller.  Naturally a larger value for THD is better, indicating a smaller value for the spurious harmonic signal.</p>
<p>Harmonic distortion is not the only parameter to look at to determining the accuracy of the ADCs.  In order to include noise introduced by the ADCs, THD+Noise is used.  A more common view of this parameter is the inverse of THD+Noise, called SINAD or signal in noise and distortion.  The MCP3901 shows a SINAD of 91 dB.  With a full scale input of 1V, the smallest detectable signal would be 28µV.  Similar 16-bit resolution devices from other suppliers typically have a SINAD specification of 60-70 dB, indicating much higher noise.  On the higher end of 70 dB, this would yield a smallest detectable signal of 316µV.  This is a significant difference in accuracy between devices with the same resolution.</p>
<p>Looking at specifications other than resolution, it appears than specifications such as THD and SINAD can be very revealing with respect to the actual accuracy of the ADCs being used to make measurements.  Looking at the specifications of the MCP3901 the 28µV detectable signal threshold with a 1V input signal is more than adequate for the 40µV application requirement.  This is much better than what might be obtained from similar 16-bit resolution ADCs from other suppliers, which could not even meet the basic application requirements.</p>
<p><strong>Related Links</strong></p>
<p><a href="http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en544175">MCP3901</a></p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=628</wfw:commentRss>
		</item>
		<item>
		<title>Resolution good enough for accuracy?</title>
		<link>http://analogtalk.com/?p=624</link>
		<comments>http://analogtalk.com/?p=624#comments</comments>
		<pubDate>Tue, 08 Jun 2010 15:26:04 +0000</pubDate>
		<dc:creator>AnalogAdvocate</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[General]]></category>

		<category><![CDATA[adc]]></category>

		<category><![CDATA[analog-to-digital]]></category>

		<category><![CDATA[resolution]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=624</guid>
		<description><![CDATA[You are an experienced design engineer and have done your job well for over 15 years.  Due to new requirements coming down from management in order to obtain government funding, you are suddenly being required to include power measurement in your projects.  How do you measure power, and do so accurately?  Obviously it requires a [...]]]></description>
			<content:encoded><![CDATA[<p>You are an experienced design engineer and have done your job well for over 15 years.  Due to new requirements coming down from management in order to obtain government funding, you are suddenly being required to include power measurement in your projects.  How do you measure power, and do so accurately?  Obviously it requires a couple A/D converters to measure voltage and current and a simple current sensor such as a shunt could be used.  However the signals are so small that a very accurate A/D converter must be used.  Is a 16-bit ADC good enough?</p>
<p>To answer this question, let’s start with the most basic assertion: Resolution does not equate to accuracy.  You can have a 16-bit resolution ADC but only have 13-bit accurate measurements.  There are many specifications that can be viewed, but when it comes to actually designing your application, what you need to know is the smallest signal level you need to measure to obtain your accurate measurements.</p>
<p>Let’s start with the current measurement as that is where the biggest dynamic range of the application will occur.  To use a power measurement example, you know from the application requirements that the maximum current input will be 50A.  You also learn that you need at least 2% accuracy at 5A input as the minimum requirement</p>
<p>To determine the smallest signal that we need to measure, let’s look at the smallest current input error.  We know that at 5A we can only have 2% error.  In this case it is equal to 100mA.  This would be the smallest detectable current to be measured in the application.  For practical purposes you would select a value less than this to give some extra head room.</p>
<p>The maximum current input to your application will determine the size of the current shunt.  If the current values are too large, often a shunt cannot be used due to heating.  For 50A maximum current input, a small shunt of 400 µohms can be used.  That would give a voltage reading of 20 mV.  Remember that the smallest current we need to detect is 100mA.  Using our 400 µohm shunt, we would read a value of 40 µV.  That is a very small value.</p>
<p>So how do I determine if my ADC will be able to meet these requirements?  Stay tuned for part 2 when we discuss ADC specifications and how they relate to your measurements.</p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=624</wfw:commentRss>
		</item>
		<item>
		<title>More DACs</title>
		<link>http://analogtalk.com/?p=617</link>
		<comments>http://analogtalk.com/?p=617#comments</comments>
		<pubDate>Tue, 11 May 2010 23:25:15 +0000</pubDate>
		<dc:creator>AnalogAdvocate</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=617</guid>
		<description><![CDATA[Just an announcement for some DACs.  A lot of choices to meet your design requirements: Single- and Dual-Output, 8-/10-bit Digital-to-Analog Converters (DACs) Feature Internal and External Voltage-Reference Options

CHANDLER, Ariz., May 3, 2010 [NASDAQ: MCHP] — Microchip Technology Inc., a leading provider of microcontroller and analog semiconductors, today announced the MCP4801/2, MCP4811/2 (MCP48XX) and MCP4901/2, MCP4911/2 [...]]]></description>
			<content:encoded><![CDATA[<p>Just an <a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=2018&amp;mcparam=en548054">announcement </a>for some DACs.  A lot of choices to meet your design requirements: Single- and Dual-Output, 8-/10-bit Digital-to-Analog Converters (DACs) Feature Internal and External Voltage-Reference Options</p>
<p><img class="alignnone" title="DAC Block" src="http://farm5.static.flickr.com/4034/4481852669_6cd064b780.jpg" alt="" width="500" height="358" /></p>
<p><em><span style="color: #000000;">CHANDLER, Ariz., May 3, 2010 [NASDAQ: MCHP] — Microchip Technology Inc., a leading provider of microcontroller and analog semiconductors, today announced the MCP4801/2, MCP4811/2 (MCP48XX) and MCP4901/2, MCP4911/2 (MCP49XX) Digital-to-Analog Converters (DACs). The new products expand the Company’s portfolio of DACs with single- and dual-channel 8- and 10-bit devices featuring an SPI communication interface, as well as internal and external voltage-reference options. The MCP48XX family has an internal voltage reference, while the MCP49XX family accepts an external voltage reference.</span></em></p>
<p><span style="color: #000000;"><br />
</span></p>
<p><strong><span style="color: #000000;">Related Links</span></strong></p>
<p><span style="color: #0000ff;"><a href="http://www.microchip.com/ParamChartSearch/chart.aspx?branchID=11028&amp;mid=11&amp;lang=en&amp;pageId=79">Digital-to-Analog Converters</a></span></p>
<p><span style="color: #888888;"><span style="color: #0000ff;"><a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=2018&amp;mcparam=en548054">Press Release</a></span><br />
</span></p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=617</wfw:commentRss>
		</item>
		<item>
		<title>The Evolution of Musical Instrument Video Games</title>
		<link>http://analogtalk.com/?p=603</link>
		<comments>http://analogtalk.com/?p=603#comments</comments>
		<pubDate>Thu, 22 Apr 2010 22:43:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=603</guid>
		<description><![CDATA[

I recall back in the day when Guitar Hero first hit the market, there was quite a buzz of excitement, and rightfully so in my opinion, as the game is rather addicting. However, one of the comments that I heard repeatedly was “I wish this game could actually teach you to play a guitar”. If [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="text-align: center;"><img class="aligncenter" title="Guitar-Hero" src="http://www.southingtonjaycees.org/new/images/Guitar-Hero-3-Legend-Rock-1593.jpg" alt="" width="450" height="337" /></p>
<p class="MsoNormal">
<p class="MsoNormal">I recall back in the day when <em>Guitar Hero</em> first hit the market, there was quite a buzz of excitement, and rightfully so in my opinion, as the game is rather addicting. However, one of the comments that I heard repeatedly was “I wish this game could actually teach you to play a guitar”. If you are not familiar with the game, the video game controller sits inside of a plastic “guitar” and the user strums a small plastic switch. The frets of the guitar are actually five colored buttons that the user presses in accordance with the music. While fun and entertaining, skill at playing <em>Guitar Hero</em> does not translate to actual ability to play a real guitar.</p>
<p class="MsoNormal">
<p class="MsoNormal">However, a new generation of video games that implement musical instruments is underway. One such game is <em>Power Gig: Rise of the Sixstring</em><span>. The interesting thing about this game is that the guitar used to interact with the game is actually a fully functioning guitar. So while this game may not teach the gamer to read music or how to surf a mosh pit, it does get the user a step closer to actually playing a guitar. As the spokesman for the studio that created the game stated, “</span>You are actually working your finger dexterity and you are getting used to strumming and where the strings are aligned”.</p>
<p class="MsoNormal">
<p class="MsoNormal">Of course quality analog components will continue to be critical in making these sorts of games a reality. Microchip has been very successful in this market and will continue to capitalize with its low power analog and microcontroller offerings.</p>
<p class="MsoNormal">
<p class="MsoNormal">You can read more about this new game in USA Today at:</p>
<p class="MsoNormal"><a href="http://www.usatoday.com/life/lifestyle/2010-03-09-powergig09_ST_N.htm">http://www.usatoday.com/life/lifestyle/2010-03-09-powergig09_ST_N.htm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=603</wfw:commentRss>
		</item>
		<item>
		<title>PWM DAC vs. Standalone Part 2</title>
		<link>http://analogtalk.com/?p=551</link>
		<comments>http://analogtalk.com/?p=551#comments</comments>
		<pubDate>Wed, 14 Apr 2010 22:05:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=551</guid>
		<description><![CDATA[
Welcome back!  Continuing our discussion of PWM DACs we will overview RC filtering design considerations and the importance of minimizing power consumption.
RC Filter Design Considerations for PWM DAC
One key design consideration when determining the PWM&#8217;s resolution is output-voltage ripple. Ripple occurs due to overshoot and undershoot as the PWM charges and discharges the RC circuit. [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><!--[if !mso]><br />
<mce :style>< !  v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} --></p>
<p class="MsoNormal" style="text-align: left;">Welcome back!  Continuing our discussion of PWM DACs we will overview RC filtering design considerations and the importance of minimizing power consumption.</p>
<p style="text-align: left;"><strong>RC Filter Design Considerations for PWM DAC</strong></p>
<p style="text-align: left;">One key design consideration when determining the PWM&#8217;s resolution is output-voltage ripple. Ripple occurs due to overshoot and undershoot as the PWM charges and discharges the RC circuit. One way to approximate the charge characteristics is to modify the equations to charge and discharge an RC-filter circuit. As the effects of this are cumulative, the following equations can be used as approximations.</p>
<p style="text-align: left;"><span style="font-size: 12pt;"><img class="size-full wp-image-553 alignnone" title="equation4" src="http://analogtalk.com/wp-content/uploads/2010/04/equation4.jpg" alt="equation4" width="241" height="51" /></span><strong>(Equation 4)</strong></p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt;"><img class="size-full wp-image-554 alignnone" title="equation5" src="http://analogtalk.com/wp-content/uploads/2010/04/equation5.jpg" alt="equation5" width="334" height="67" /></span><strong>(Equation 5)</strong></p>
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt;"><span> </span></span></p>
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;"><img class="size-full wp-image-555 alignnone" title="equation6" src="http://analogtalk.com/wp-content/uploads/2010/04/equation6.jpg" alt="equation6" width="179" height="60" /><strong>(Equation 6)</strong></p>
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">VLH is the voltage increase for a specific PWM period, and VHL is the voltage decrease for a specific PWM period.  The values of VLH and VHL are dependant upon not only the RC filter values, but also upon the PWM frequency and duty cycle.  The PWM frequency and duty cycle determine the time available for the PWM to charge (tcharge) and discharge (tdischarge) the capacitor. Vripple is the difference between VLH and VHL for the same PWM period.</p>
<p style="text-align: left;">Figure 4 illustrates the magnitude of the voltage ripple across the output capacitor vs. time. The vertical axis displays the magnitude of the ripple voltage, while the horizontal axis provides the corresponding time. The plot shows how the ripple voltage settles at approximately 125 mV in a time interval of approximately 40 ms for R = 10K ohms, and 250 mV at 20 ms for R = 1 K ohm. In the previous example, an LSB size of less than 1.2mV for a 12-bit system was needed. This ripple is greater than 100 LSB for 12-bit DAC with a 5V reference, meaning that the resulting PWM DAC solution has an effective resolution of less than 6 bits due to the ripples.</p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt;"><img class="alignleft size-full wp-image-558" title="figure4" src="http://analogtalk.com/wp-content/uploads/2010/04/figure4.jpg" alt="figure4" width="569" height="324" /></span></p>
<p style="text-align: left;"><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> </w> <w :BrowserLevel>MicrosoftInternetExplorer4</w> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" LatentStyleCount="156"> </w> </xml>< ![endif]--></p>
<p class="MsoNormal" style="text-align: left;"><strong>Figure 4:</strong> Voltage Ripple Comparison for VOH  = 5V, C = 1μF, PWM frequency = 1 kHz, Duty Cycle = 50%</p>
<p class="MsoNormal" style="text-align: left;">The ripple can be reduced by increasing the capacitor and the resistor values or increasing the PWM frequency. All of these will decrease the ripple&#8217;s magnitude.</p>
<p style="text-align: left;">As shown in Figure 4, the ripple decreases as the resistance value increases. However, nothing comes without a price-the settling time doubles as the ripple decreases by 50 %.</p>
<p style="text-align: left;">For applications that require faster settling time (increased bandwidth) and higher resolution, one could add a second RC filter. The obvious tradeoffs include the cost of additional components and the increased board space occupied. Figure 5 shows a model for a two-pole RC low-pass filter. Figure 6 shows the analog output voltage of this model.</p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt;"><img class="alignleft size-full wp-image-559" title="figure5" src="http://analogtalk.com/wp-content/uploads/2010/04/figure5.jpg" alt="figure5" width="533" height="279" /><br />
</span>
</p>
<p style="text-align: left;"><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> </w> <w :BrowserLevel>MicrosoftInternetExplorer4</w> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" LatentStyleCount="156"> </w> </xml>< ![endif]--></p>
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p style="text-align: left;"><strong>Figure 5:</strong> PSPICE Model for Two-Pole RC Low-Pass Filter</p>
<p style="text-align: left;"><img class="alignleft size-full wp-image-560" title="figure6" src="http://analogtalk.com/wp-content/uploads/2010/04/figure6.jpg" alt="figure6" width="637" height="301" /></p>
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;"><strong>Figure 6:</strong> Analog Voltage Output vs. Settling Time of the Two Pole RC Low-Pass Filtere</p>
<p class="MsoNormal" style="text-align: left;">There are a couple of things to keep in mind when designing the filter. First, make sure that the pole of the RC is set at a much greater frequency than that of the signal being generated. Secondly, if you are designing a two-pole filter, make sure that R2 &gt; R1.</p>
<p style="text-align: left;">The 3dB corner frequency of the RC filter is given by:</p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"><img class="alignleft size-full wp-image-556" title="equation7" src="http://analogtalk.com/wp-content/uploads/2010/04/equation7.jpg" alt="equation7" width="149" height="74" /><br />
</span></p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"><br />
</span>
</p>
<p style="text-align: left;"><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> </w> <w :BrowserLevel>MicrosoftInternetExplorer4</w> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" LatentStyleCount="156"> </w> </xml>< ![endif]--> <strong>(Equation 7)</strong></p>
<p style="text-align: left;">There are a couple of additional things to consider. Increasing the PWM frequency will also decrease the ripple, but the tradeoff is increased settling time.  Figure 7 shows the cases for 10 kHz and 5 kHz</p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"><img class="size-full wp-image-561 alignnone" title="figure7" src="http://analogtalk.com/wp-content/uploads/2010/04/figure7.jpg" alt="figure7" width="475" height="357" /><br />
</span>
</p>
<p style="text-align: left;"><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> </w> <w :BrowserLevel>MicrosoftInternetExplorer4</w> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" LatentStyleCount="156"> </w> </xml>< ![endif]--> <strong>Figure 7:</strong> Voltage Ripple at the PWM DAC when PWM Frequency Changes. Where VOH = 5V, C = 1μF, R = 10 kΩ, Duty Cycle = 50 %, PWM Frequency = 10 kHz and 5 kHz</p>
<p style="text-align: left;">The worst-case ripple occurs at a 50% duty cycle. The ripple will decrease as the duty cycle moves closer to 0% or 100%. Figure 8 shows the peak-to-peak magnitude of ripples on the PWM DAC output. The ripple decreases almost two times as the duty cycle changes from 50 % to 85 %.</p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"><img class="size-full wp-image-562 alignnone" title="figure8" src="http://analogtalk.com/wp-content/uploads/2010/04/figure8.jpg" alt="figure8" width="475" height="357" /></span></p>
<p class="MsoNormal" style="text-align: left;"><strong>Figure 8: </strong>Voltage Ripple at the PWM DAC when PWM Duty Cycle Changes. VOH = 5V, C = 10 μF, R = 1 kΩ, PWM Frequency = 1 kHz, Duty Cycle = 50 % (Solid Curve) and 85 % (Dotted Curve)</p>
<p><strong>PWM DACs and Power Consumption</strong></p>
<p>Many electronic products today are portable or handheld devices. These devices are battery powered, and many have strict constraints with regard to power consumption. Therefore, it is a good idea to minimize the PWM DAC&#8217;s power consumption. The current consumed in the PWM solution is simple to approximate, using the following equation:</p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"><img class="alignleft size-full wp-image-557" title="equation8" src="http://analogtalk.com/wp-content/uploads/2010/04/equation8.jpg" alt="equation8" width="59" height="44" /><br />
</span>
</p>
<p class="MsoNormal" style="text-align: left;">(Equation 8 )<span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"> </span></p>
<p class="MsoNormal" style="text-align: left;"><strong><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"><img class="alignleft size-full wp-image-563" title="figure9" src="http://analogtalk.com/wp-content/uploads/2010/04/figure9.jpg" alt="figure9" width="564" height="285" /><br />
</span></strong>
</p>
<p class="MsoNormal" style="text-align: left;"><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> </w> <w :BrowserLevel>MicrosoftInternetExplorer4</w> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" LatentStyleCount="156"> </w> </xml>< ![endif]--> <strong>Figure 9</strong>:  Current and Voltage Plots of PWM DAC with R =1000 Ω, C = 10μF, Duty Cycle = 50 %, VOH = 5V</p>
<p>Figure 9 shows the current and voltage plots. As sown in the plot, the PWM DAC with a lower resistor draws a significant amount of current (in the range of a few mA). This high level of current consumption is unacceptable for many battery-powered applications. Current can be decreased by increasing the resistor value.</p>
<p>In Figure 10, the resistor value has been increased by a factor of ten, which has likewise decreased the current consumption by a factor of ten.</p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt; font-family: &quot;Times New Roman&quot;;"><img class="alignleft size-full wp-image-564" title="figure10" src="http://analogtalk.com/wp-content/uploads/2010/04/figure10.jpg" alt="figure10" width="588" height="285" /><br />
</span>
</p>
<p style="text-align: left;"><!--[if gte mso 9]><xml> <w :WordDocument> </w><w :View>Normal</w> <w :Zoom>0</w> <w :PunctuationKerning /> <w :ValidateAgainstSchemas /> <w :SaveIfXMLInvalid>false</w> <w :IgnoreMixedContent>false</w> <w :AlwaysShowPlaceholderText>false</w> <w :Compatibility> <w :BreakWrappedTables /> <w :SnapToGridInCell /> <w :WrapTextWithPunct /> <w :UseAsianBreakRules /> <w :DontGrowAutofit /> </w> <w :BrowserLevel>MicrosoftInternetExplorer4</w> </xml>< ![endif]--><!--[if gte mso 9]><xml> <w :LatentStyles DefLockedState="false" LatentStyleCount="156"> </w> </xml>< ![endif]--> <strong>Figure 10</strong>:  Current and Voltage Plots of PWM DAC with R =10,000 Ω, C = 10μF, Duty Cycle = 50 %, VOH = 5V</p>
<p>As the resistor limits the current available to charge/discharge the capacitor, decreasing the amount of current available (increasing resistance) to the circuit will increase the settling time.</p>
<p>Another factor to consider is the filter&#8217;s pole. As the resistor value increases, the 3 dB frequency decreases by the same magnitude. This can be compensated for by reducing the capacitor value by the same magnitude, which offsets the increased settling time and maintains the original pole of the filter. Figure 11 demonstrates this. Note that, as the capacitor value reduces, the circuit becomes more susceptible to loading. This is another important design consideration.</p>
<p class="MsoNormal" style="text-align: left;"><span style="font-size: 12pt;"><img class="alignleft size-full wp-image-552" title="figure11" src="http://analogtalk.com/wp-content/uploads/2010/04/figure11.jpg" alt="figure11" width="612" height="254" /></span></p>
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;">
<p class="MsoNormal" style="text-align: left;"><strong>Figure 11</strong>: Current and Voltage Plots of PWM DAC with R =10,000 Ω, C = 1μF, Duty Cycle = 50 %, VOH = 5Vircuit</p>
<p></mce></p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=551</wfw:commentRss>
		</item>
		<item>
		<title>PWM DAC vs. Standalone Part 1</title>
		<link>http://analogtalk.com/?p=534</link>
		<comments>http://analogtalk.com/?p=534#comments</comments>
		<pubDate>Fri, 09 Apr 2010 22:39:43 +0000</pubDate>
		<dc:creator>AnalogAdvocate</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://analogtalk.com/?p=534</guid>
		<description><![CDATA[In today’s highly competitive electronics environment, designers are constantly looking for ways to reduce overall system costs.  One of the most commonly asked questions that analog specialists at digital microcontroller (MCU) companies hear from customers is, is the almost cost-free Pulse-Width-Modulation (PWM) Digital-to-Analog Converter (DAC) good enough for my application, or do I need a [...]]]></description>
			<content:encoded><![CDATA[<p>In today’s highly competitive electronics environment, designers are constantly looking for ways to reduce overall system costs.  One of the most commonly asked questions that analog specialists at digital microcontroller (MCU) companies hear from customers is, is the almost cost-free Pulse-Width-Modulation (PWM) Digital-to-Analog Converter (DAC) good enough for my application, or do I need a higher-performance, standalone DAC instead?”</p>
<p>The generation of an analog voltage using a digital Pulse-Width-Modulated signal is known as a PWM DAC.  As most designers’ PCB boards have a microcontroller with a built-in PWM-output feature onboard, a simple digital-to-analog data conversion can be easily realized by adding a few passive components at the MCU’s PWM-output pin.  This is an alternative to using a standalone DAC.  In the MCU application environment, system designers can have DAC functionality nearly free of charge.  PWM DACs are widely used in very low-cost applications, where accuracy is not a primary concern.   Standalone DACs, however, are used for applications requiring higher accuracy.</p>
<p>Although the PWM DAC can be realized with the simple addition of a few passive components, implementing a PWM DAC for system applications is not a simple task.  There are many limitations associated with this. Understanding the complexities of using the PWM DAC and its effects can save significant development time and effort.   This article presents a technique for converting a PWM pulse to an analog voltage using a simple, RC low-pass filter. This entry also reviews the PWM DAC’s limitations and its key design constraints on resolution, frequency, ripple, settling time and current consumption are discussed, which are very important design parameters that are largely affected by the R and C values, as well as the PWM duty cycle and frequency.</p>
<p><strong>Standalone DACs</strong></p>
<p>Figure 1 shows an example of a standalone DAC.  Its analog output voltage is given by:</p>
<p style="text-align: center;"><img class="size-full wp-image-538 aligncenter" title="daceq" src="http://analogtalk.com/wp-content/uploads/2010/04/daceq.jpg" alt="daceq" width="167" height="51" /></p>
<p>Where Dn is the digital code.  For example, with a 12-bit DAC, the user can get Vout = 2.5V with Vref = 5V and Dn = 1000-0000-0000.  Typical standalone DAC devices provide good linearity and a short settling time, which is the time required to update each output voltage.</p>
<p><img class="aligncenter size-full wp-image-539" title="dacfig" src="http://analogtalk.com/wp-content/uploads/2010/04/dacfig.jpg" alt="dacfig" width="335" height="205" />Figure 1 Configuration of Standalone DAC</p>
<p><strong>How PWM DACs Work</strong></p>
<p>Figure 2 shows a basic configuration of the PWM DAC. The MCU outputs a PWM signal to an RC low pass-filter. The PWM pulse train’s digital value becomes an analog voltage, when it passes through the RC filter.  At a given period of time, the analog output is proportional to the PWM pulse’s high durations.</p>
<p><img class="aligncenter size-full wp-image-541" title="pwn1" src="http://analogtalk.com/wp-content/uploads/2010/04/pwn1.jpg" alt="pwn1" width="693" height="169" />Figure 2 Block Diagram of a PWM DAC</p>
<p>A PWM signal is defined as a digital signal with a fixed frequency, but a varying duty cycle.  Figure 3 illustrates a PWM signal.  The PWM period (T) is the time interval required to complete one full PWM cycle.  The duty cycle is the ratio of the high duration (t) to the total period (T).</p>
<p><img class="aligncenter size-full wp-image-542" title="pwn2" src="http://analogtalk.com/wp-content/uploads/2010/04/pwn2.jpg" alt="pwn2" width="343" height="191" />Figure 3 PWM Signal</p>
<p>The PWM signal and RC-filter circuit parameters affect the analog output’s resolution, amplitude, settling time and ripple.  The PWM DAC’s limitations are clearly demonstrated by analyzing the interaction of the PWM parameters and the RC filter.  A better understanding of the relationship between these parameters enables designers to optimize the PWM to best suit their application’s requirements, while minimizing design time.</p>
<p><strong>PWM DAC Bit Resolution</strong></p>
<p style="text-align: center;">The PWM counter length (L) and the smallest duty-cycle change in the PWM counter (C) determine the PWM DAC’s bit resolution.  The following equation expresses the maximum bit resolution of the PWM DAC:<br />
<img class="size-full wp-image-543 aligncenter" title="pwneq" src="http://analogtalk.com/wp-content/uploads/2010/04/pwneq.jpg" alt="pwneq" width="353" height="189" /></p>
<p>For example, if the system generates an analog output voltage from a PWM DAC with a counter of 4096 (L) and a minimum count step of one (C), the PWM DAC’s bit resolution is 12-bits.</p>
<p>When the PWM resolution is determined, it is possible to calculate the Least Significant Bit (LSB) size.  The LSB size is dependant upon the PWM resolution and the PWM’s output-high level voltage (VOH), and can be calculated using the following equation.<br />
<img class="alignleft size-full wp-image-544" title="pwneq2" src="http://analogtalk.com/wp-content/uploads/2010/04/pwneq2.jpg" alt="pwneq2" width="171" height="97" /></p>
<p>For example, a 12-bit PWM DAC with a VOH of 5V has an LSB size of 1.2mV.</p>
]]></content:encoded>
			<wfw:commentRss>http://analogtalk.com/?feed=rss2&amp;p=534</wfw:commentRss>
		</item>
	</channel>
</rss>
