X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 207.224.51.38 X-Authenticated-UID: jpd AT noqsi DOT com Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [geda-user] [OT] Temperature sensor and control recommendation From: John Doty In-Reply-To: <54F98855.4060903@optonline.net> Date: Fri, 6 Mar 2015 08:55:54 -0700 Message-Id: <47E5B986-5252-4CF1-A98B-E64E7E3E5CAA@noqsi.com> References: <201503051621 DOT t25GL09H018380 AT envy DOT delorie DOT com> <54F98855 DOT 4060903 AT optonline DOT net> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1878.6) Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t26Fu5kF027658 Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mar 6, 2015, at 3:58 AM, gene glick wrote: > we use this trick at work as well - converts a 12-bit ADC to 16-bit precision. I think the relationship requires you need 2^n samples for each bit of additional resolution. If the digitization errors are random and uncorrelated from sample to sample, you need 2^(2n) samples for n additional bits (from the Central Limit Theorem). We’ll use this classic technique to get ~20 effective bits of video digitization for TESS (NASA’s next exoplanet finder), using data from analog signal chains I am designing in geda-gaf and ngspice. If the errors aren’t random, you may be able to get better measurements by adding random noise and averaging. This is sometimes known by the horrid term “stochastic resonance”. If you can arrange a controlled correlation between the errors in successive samples (“noise shaping”) and use a suitably weighted average, you can get a lot of bits without a lot of oversampling. This is the famous “delta-sigma” technique. Delta-sigma video ADC’s I designed using geda-gaf and ngspice will fly on the ASTRO-H x-ray observatory, soon to be launched. For focal plane temperature control at -90±0.1C on the Suzaku x-ray observatory, I used a Pt100 RTD with a commercial 20 bit delta-sigma ADC. In an FPGA, a PID controller drove a delta-sigma serial DAC (all digital). The FPGA output controlled an adjustable power converter which powered a thermoelectric heat pump. I didn’t really need 20 bits here, but it didn’t have a significant cost in hardware, and not having to worry about digital errors made the analysis simple. That was years ago: several manufacturers now make 24 bit delta-sigma ADCs I would consider suitable for temperature control. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com