<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Effective impedance of ADC channel in single-shot mode with oversampling in burst mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36610/effective-impedance-of-adc-channel-in-single-shot-mode-with-oversampling-in-burst-mode</link><description>Hi there, 
 I have suitably designed a battery sampling circuit in my prototype configuration, (Vdd = 1.8V, battery swing = 4.2V to 2.9V) using the app note provided at: https://devzone.nordicsemi.com/b/blog/posts/measuring-lithium-battery-voltage-with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Jul 2018 13:34:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36610/effective-impedance-of-adc-channel-in-single-shot-mode-with-oversampling-in-burst-mode" /><item><title>RE: Effective impedance of ADC channel in single-shot mode with oversampling in burst mode</title><link>https://devzone.nordicsemi.com/thread/140846?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 13:34:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b37a3bd-37ad-4606-9f12-cbe5f0edd163</guid><dc:creator>zigenz</dc:creator><description>&lt;p&gt;Thanks Haakon.&amp;nbsp; I match up with your second result, but I think you may have made an error with your first result - I still get 0.982.&lt;/p&gt;
&lt;p&gt;Anyway, regardless, it&amp;#39;s all good.&amp;nbsp; Thanks for your time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effective impedance of ADC channel in single-shot mode with oversampling in burst mode</title><link>https://devzone.nordicsemi.com/thread/140785?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 08:44:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:606c9c3b-19e6-4cf1-9da1-bc2ab3033095</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;By my calculation that&amp;#39;s Vo * 0.96 after 24µs at T = 1.38E-3, meaning that you&amp;#39;ve discharged 4% of Cext.&lt;br /&gt;&lt;br /&gt;However you will charge somewhat during acquisition, so you should also calculate how much you will charge during those 24µs:&lt;br /&gt;&lt;br /&gt;Vo(t) = Vo * (1 - e^(-t / Tc)) + Vo * e^(-t / Td), where Tc = charge time constant = 6E-2, and Td = discharge time constant = 1.38E-3&lt;br /&gt;&lt;br /&gt;Vo(24µs) = Vo* ( (1 - e^(-24µs / 6E-2)) + e^(-24µs / 1.38E-3)) = &lt;span style="text-decoration:underline;"&gt;Vo * 0.983&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;or 1.7% loss after 24µs, which is not that bad.&amp;nbsp;&lt;span style="text-decoration:underline;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effective impedance of ADC channel in single-shot mode with oversampling in burst mode</title><link>https://devzone.nordicsemi.com/thread/140770?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 07:12:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4771fbe-f475-4665-8d3c-792d4378cfba</guid><dc:creator>zigenz</dc:creator><description>&lt;p&gt;OK - so I had a think about this.&amp;nbsp; Really, the question is how much of a voltage drop does the external 10nF buffer capacitor (Cext) cop&amp;nbsp;for a single sample.&lt;/p&gt;
&lt;p&gt;For the purpose of the analysis, I&amp;#39;ve assumed that:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&amp;nbsp;Cext does not charge at all during an&amp;nbsp;acquisition&amp;nbsp;cycle.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; Cext fully charges between acquisition cycles.&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; The resistance observed at the high-potential side of Cext is the combination of parasitic input resistance (~1Mohm), and ADC resistor network (160kohm) - both from SAADC elec spec&amp;nbsp;part of datasheet&amp;nbsp; =&amp;gt;&amp;nbsp;138kohm.&lt;/p&gt;
&lt;p&gt;If we sample for 3us&amp;nbsp;and 8x oversampling,&amp;nbsp;we are effectively drawing from Cext for 24us - the recovery gap in-between would charge Cext anyway, so this is the most conservative approach.&lt;/p&gt;
&lt;p&gt;Using the standard capacitor discharge relationship V(t) = Voexp(-t/&lt;span&gt;&amp;tau;), where:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;Vo = 1.8V (max), 1.2V (min)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;t = 24us&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;tau; = 1.38E-3 (RC =&amp;gt; 138E3 * 10E-9)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This yields V(24us) = 0.982Vo, meaning we lose 1.8% of voltage&amp;nbsp;during a single sample =&amp;gt; acceptable error.&amp;nbsp;&amp;nbsp;The only other check becomes ensuring that Cext has sufficent time time charge up between samples, which is trivial.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So it looks like I answered my own question.&amp;nbsp; If&amp;nbsp;there are any glaring holes in my analysis, please&amp;nbsp;advise!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- Z&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effective impedance of ADC channel in single-shot mode with oversampling in burst mode</title><link>https://devzone.nordicsemi.com/thread/140718?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 15:00:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10e7c621-30ca-40ca-a4ab-5fc417382f08</guid><dc:creator>zigenz</dc:creator><description>&lt;p&gt;Thanks haakonsh,&lt;/p&gt;
&lt;p&gt;Based on the reference you provided, the MAXIMUM source resistance is 800kohm for a 40us sample time.&amp;nbsp; I&amp;#39;ve actually&amp;nbsp;included a 10nF Cext as shown in the second diagram of the app note, meaning I&amp;#39;m largely decoupled from the charging RC characteristic&amp;nbsp;the ADC input (the basis for that table) - Cext will copy&amp;nbsp;its charge straight onto Cinput, making the acquisition time table redundant in this case.&lt;/p&gt;
&lt;p&gt;Please refer to the section titled &amp;quot;&lt;strong&gt;Choosing the sampling frequency&lt;/strong&gt;&amp;quot; in the original app note link I provided.&amp;nbsp; I want to understand how to calculate the effective impedance based on single-shot, burst mode oversampling.&lt;/p&gt;
&lt;p&gt;-Z&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effective impedance of ADC channel in single-shot mode with oversampling in burst mode</title><link>https://devzone.nordicsemi.com/thread/140714?ContentTypeID=1</link><pubDate>Thu, 19 Jul 2018 14:49:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94f5ba73-58cf-4379-9228-91d24d910f1f</guid><dc:creator>haakonsh</dc:creator><description>&lt;p&gt;The Acquisition time is the time needed to fill the sample and hold capacitor. The larger the source resistance (6Mohm in your case) the longer the acquisition time you&amp;#39;ll need to fill the capacitor. See&amp;nbsp;&lt;a title="Acquisition time" href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_1_0_36_8#concept_qh3_spp_qr"&gt;Acquisition time&lt;/a&gt;. You should be fine with 40µs acquisition time at &amp;gt; 800kohm.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also suggest you sample the battery voltage at peak current in order to determine the actual voltage level of the battery.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>