<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Simple benchmark for Maple ADC (analog digital conversion)</title>
		<link>http://forums.leaflabs.com/topic.php?id=154</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:12:20 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=154" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=3#post-1378</link>
			<pubDate>Tue, 21 Sep 2010 20:09:32 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1378@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;building....
&#60;/p&#62;</description>
		</item>
		<item>
			<title>okie on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=3#post-1361</link>
			<pubDate>Mon, 20 Sep 2010 21:09:30 +0000</pubDate>
			<dc:creator>okie</dc:creator>
			<guid isPermaLink="false">1361@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;This is my first sketch of a circuit that I think does what you want.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://dl.dropbox.com/u/42394/piezoamplifier-v1.png&#34; rel=&#34;nofollow&#34;&#62;http://dl.dropbox.com/u/42394/piezoamplifier-v1.png&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=3#post-1357</link>
			<pubDate>Mon, 20 Sep 2010 14:07:31 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1357@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Coupling caps to ground is a good idea. The circuit I had doodled was sort of nonsensical, with forward diodes on each terminal and then feeding back either's post-diode output back into the other's pre-diode input through a resistor (a little criss cross shape, I think that was actually clearer than I thought...).  That way if you have terminals A and B, then a positive A passes its diode, and you get a voltage on the resistor, referenced against the negative terminal...and likewise the other way. In fact, this should give you twice the voltage on the positive terminal than you would have otherwise gotten since your referencing it against the negative terminal, not ground. &#60;/p&#62;
&#60;p&#62;But then I couldnt figure out how the opamp was going to measure this positive voltage. Because, after all, its positive with respect to what exactly? Maybe it would have worked. Coupling caps make more sense.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=3#post-1354</link>
			<pubDate>Mon, 20 Sep 2010 13:55:03 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1354@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Okie: &#34;the signal from a piezo is a differential signal between the two terminals&#34;&#60;br /&#62;
Yes, agreed, that is what I was trying to say with &#34;Looking at both connections of an AC-coupled microphone, neither side connected to ground, wont one side always give the complementary signal to the other?&#34;&#60;/p&#62;
&#60;p&#62;We seem to agree that a piezo microphone will generate a positive signal on one terminal, and a negative signal on the other when sounding is passing by.&#60;/p&#62;
&#60;p&#62;Okie: &#34;i don't think you would see a signal from each of the terminals with respect to some other ground potential on a circuit board that the opamp rectifier circuitry would be referenced to.&#34;&#60;/p&#62;
&#60;p&#62;This is the bit I'd like some help with. If the terminals of the microphone are AC-coupled (i.e. via capacitors), then I'd assumed there would be a voltage change across the capacitors which op amps could amplify. So, can't each op amp amplify the voltage across the AC-coupling capacitor? In the limiting case, couldn't both capacitors be tied to ground, and use that as the reference for the op amps?&#60;/p&#62;
&#60;p&#62;I believe Poslathian said, the sound may cause the microphone to give a positive or negative signal on the initial sound wave front, with no way to know in advance which (i.e its random). I believe the circuit had one microphone terminal is wired to ground. So we need to find a way to detect the differential signal from the initial wave front, and turn it into a logic level. That may be more direct than the solution I was proposing. (I can't find my Art of Electronics at this moment either :-(
&#60;/p&#62;</description>
		</item>
		<item>
			<title>okie on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=3#post-1351</link>
			<pubDate>Mon, 20 Sep 2010 10:35:17 +0000</pubDate>
			<dc:creator>okie</dc:creator>
			<guid isPermaLink="false">1351@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer,&#60;/p&#62;
&#60;p&#62;the signal from a piezo is a differential signal between the two terminals. i don't think you would see a signal from each of the terminals with respect to some other ground potential on a circuit board that the opamp rectifier circuitry would be referenced to.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1316</link>
			<pubDate>Fri, 17 Sep 2010 14:52:11 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1316@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You might have something there. I always succumb to the urge to ground one of the leads to avoid dealing with fully differential (0 centered signals) amps. But since were trying to rectify the signal anyway, you dont have any need for a differential gain stage. Ill give it a try. Unless things progress miraculously in the next few days I dont think I'll have time to put it together for maker faire. The other projects were polishing up already had some sort of proof of concept of whatever the &#34;hard part&#34; was. But for the piezo triangulation, I havnt gotten anything working yet.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1291</link>
			<pubDate>Wed, 15 Sep 2010 14:19:27 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1291@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;poslathian - as I've said before, I am not an electronics engineer, so I may be talking from the wrong end of my alimentary canal ...&#60;/p&#62;
&#60;p&#62;Looking at &#60;em&#62;both&#60;/em&#62; connections of an AC-coupled microphone, neither side connected to ground, wont one side always give the complementary signal to the other?&#60;/p&#62;
&#60;p&#62;Assuming that is true, then each side can be &#60;em&#62;independently&#60;/em&#62; fed to separate op amps and half-wave rectifiers, and each of those fed to two input pins (not one).&#60;br /&#62;
For a specific wave, one side will drive a positive signal into the input pin, and the other will be 'clamped' by the diode. So the software is just looking for the first pin of two being triggered by the microphone.&#60;/p&#62;
&#60;p&#62;Am I missing something?&#60;/p&#62;
&#60;p&#62;(PS - Maybe this discussion should be moved out of the ADC benchmarking thread?)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1279</link>
			<pubDate>Tue, 14 Sep 2010 18:57:25 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1279@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;grumble, that actually doesnt make any sense. You can say &#34;lets measure the phase difference between the positive peaks received by both sensors&#34; but you really cant say whether or not this phase difference is 'D' or 'D + pi' because you wont know whether it was one of those situations where one sensor was getting the mirror image of the first. &#60;/p&#62;
&#60;p&#62;Maybe theres still something smarter....or, I suppose, you could do it with amplitude, but that requires looking at the signal with the ADC's and dealing with all the noise and.... pft, too hard.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1278</link>
			<pubDate>Tue, 14 Sep 2010 18:48:54 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1278@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;So the problem with half wave rectify is this:&#60;br /&#62;
  I have experimentally verified that you cant guarantee the polarity of the wave front when it arrives at the sensor. This confuses me, but I'm not totally surprised. This means that If i tap the surface in the middle, the wave front might hit sensor A with a negative polarity, and sensor B with a positive polarity. Since the frequency of the wave from my finger tapping is pretty low, lets generously say its 1KHz, but i suspect it depends strongly on the surface material and is probably close to whatever the resonance for that material is, the distance between the positive and negative peaks is 1/2 wavelength, or 500us of a time lag. If you are trying to measure timing differences between the two sensors with a resolution of only 1-20us, you have to ensure you trigger off of the first peak that arrives, not the first positive peak that arrives. &#60;/p&#62;
&#60;p&#62;Perhaps you could get around this with some smarter approach...such as measuring the time of arrival of the first two positive peaks at both sensors, and measuring the phase difference between them. Hmm...thats actually a pretty good idea - and half wave rectifiers are much easier/lower noise to make. Im gonna go try that!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1272</link>
			<pubDate>Tue, 14 Sep 2010 16:52:40 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1272@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I was surprised when I was told about the accelerometers. I should see him next Wednesday (not tomorrow), so I can enquire further.&#60;/p&#62;
&#60;p&#62;I would have done a similar estimate to you;&#60;br /&#62;
12,000 m/s (Diamond - we'd want it to look nice :-), &#60;/p&#62;
&#60;p&#62;or&#60;br /&#62;
5.0e3 m/s is good&#60;br /&#62;
1cm resolution is 1 part in 5.0e5, so &#38;lt; 2.0e-6, or 2uSec, (i.e 500KHz)&#60;/p&#62;
&#60;p&#62;Digikey sell some low-cost, reasonably high frequency (60KHz+) for under $2, but I don't know what I'd get for 500Khz.&#60;/p&#62;
&#60;p&#62;I think there was something about sampling, maybe something like this, maybe in Art of Electronics? I think they used an op amp to amplify/ give low impedance output, then a diode to rectify/clamp (i.e. half-wave rectify).&#60;/p&#62;
&#60;p&#62;Would make a nice user interface, clicking the stones down on a hardwood, or even plate glass, board.&#60;/p&#62;
&#60;p&#62;I'd be tempted to experiment with a glass board, and a web cam underneath, if I had the spare cash and time.&#60;/p&#62;
&#60;p&#62;Good luck, and keep us posted!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1269</link>
			<pubDate>Tue, 14 Sep 2010 15:43:55 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">1269@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You're right, max bandwidth is 1.6kHz (Max sampling rate is 3.2kHz not 3.6kHz as I stated before).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1266</link>
			<pubDate>Tue, 14 Sep 2010 15:23:04 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1266@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I think thats the max sample rate, putting the bandwidth at 1.8 ... right? Also, its possible for an analog output part, while the posted bandwidth might be low, you may still be able to trigger off of fast events. &#60;/p&#62;
&#60;p&#62;I was thinking just going piezo-&#38;gt;schmidt trigger-&#38;gt;external digital interrupt&#60;/p&#62;
&#60;p&#62;but theres some analog work there that has screwed me in the past on a similar project. Namely, rectifying those piezos can be a pain. I tried just a 4 diode full wave rectifier and ended up with a 60Hz antenna.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>crenn on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1264</link>
			<pubDate>Tue, 14 Sep 2010 15:09:40 +0000</pubDate>
			<dc:creator>crenn</dc:creator>
			<guid isPermaLink="false">1264@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;That ADXL345 has a maximum bandwidth of 3.6kHz. Not sure if that helps, but I thought I'd mention it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1256</link>
			<pubDate>Tue, 14 Sep 2010 14:26:59 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">1256@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I thought about accelerometers here, but I figured the bandwidth was too slow to get an accurate triangulation via propagation time. For instance, if the speed of sound in the solid is 5Km/s and I have two sensors 1m apart, then differentiating between a strike next to one sensor versus the other should be detecting a timing difference of 5ms. most accelerometers have a bandwidth ~1KHz, so you could really only get a resolution of ~20cm using that method. Of course thats all pretty handwavy back of the envelope, ideally we need a resolution of less than 1cm.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Simple benchmark for Maple ADC (analog digital conversion)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=154&amp;page=2#post-1234</link>
			<pubDate>Mon, 13 Sep 2010 18:51:13 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">1234@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;From the bin of things-that-only-work-in-your-head:&#60;br /&#62;
using 3 piezos on the underside of the gameboard, triangulate the location of where the human player's stone was placed based on the sound it makes when it hits the board.
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I have never tried it, but I am told that accelerometers can work quite well for measuring propagation time through solids.&#60;/p&#62;
&#60;p&#62;I was thinking of a portable, LED-based board, so that it could even be hung on a wall.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
