<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Terence&#039;s Blog &#187; Photog gear</title>
	<atom:link href="http://www.TerenceTam.com/tag/photog-gear/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.TerenceTam.com</link>
	<description>Cool Stuff from Terence</description>
	<lastBuildDate>Tue, 20 Jul 2010 07:53:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>[Engineering] &#8211; Bullet Flight Sensor, Design Validation Testing</title>
		<link>http://www.TerenceTam.com/2010/01/engineering-bullet-flight-sensor-design-validation-testing/</link>
		<comments>http://www.TerenceTam.com/2010/01/engineering-bullet-flight-sensor-design-validation-testing/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 07:04:04 +0000</pubDate>
		<dc:creator>ttstam</dc:creator>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Photo Gear]]></category>
		<category><![CDATA[Prototyping]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Photog gear]]></category>

		<guid isPermaLink="false">http://www.TerenceTam.com/?p=103</guid>
		<description><![CDATA[Successful night at Tam Labs tonight!  
Tonight, the goal was to test the breadboarded prototype of the bullet flight sensor&#8217;s electronics.  Remember &#8211; I am a mechanical engineer; this is a completely new foray into the world of electronics for me, aside from some simple &#8220;hook a solid state relay to a microprocessor [...]]]></description>
			<content:encoded><![CDATA[<p>Successful night at Tam Labs tonight! <img src='http://TerenceTam.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Tonight, the goal was to test the breadboarded prototype of the bullet flight sensor&#8217;s electronics.  Remember &#8211; I am a mechanical engineer; this is a completely new foray into the world of electronics for me, aside from some simple &#8220;hook a solid state relay to a microprocessor and bit bang some code to turn on the rice cooker&#8221; projects.  So even though this may seem like kindergarden EE stuff, it&#8217;s a fairly big leap for me, design wise; I&#8217;m no longer relying on the ability to clobber code and instead using discrete logic ICs and doing actual calculations and setting RC time constants, etc.</p>
<p>We begin with the breadboarded model:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4295137084" title="View 'Electronics-001' on Flickr.com"><img border="0" width="333" alt="Electronics-001" src="http://farm5.static.flickr.com/4009/4295137084_c5c70637f1.jpg" height="500"/></a></div>
<p>And our setup in the lab:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4296541237" title="View 'P1000377' on Flickr.com"><img border="0" width="500" alt="P1000377" src="http://farm5.static.flickr.com/4065/4296541237_831e01537b.jpg" height="375"/></a></div>
<p>On the bench is a trusty oscilloscope to look at the signals at different lines, a DC power supply set to 5V, 100mA current limit, and a signal generator.  The signal generator won&#8217;t be used for this project here.</p>
<p>First, I verified that the *new* sensor is working &#8211; the last one had a round put through it by accident:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4270528251" title="View 'Blogged at: http://www.TerenceTam.com' on Flickr.com"><img border="0" width="500" alt="Blogged at: http://www.TerenceTam.com" src="http://farm5.static.flickr.com/4029/4270528251_a459953b7c.jpg" height="328"/></a></div>
<p>Next, I verified that the 555IC is getting the power that it needs.  Turns out that the power rails aren&#8217;t fully connected all the way.  A bit of poking with an ohm-meter fixed that.  Now I am ready to insert my test points:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4297287330" title="View 'P1000378' on Flickr.com"><img border="0" width="500" alt="P1000378" src="http://farm3.static.flickr.com/2681/4297287330_6cfd37b0cd.jpg" height="375"/></a></div>
<p>And trip the break-beam sensor, with my gimpy fingers:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4297278956" title="View 'Blogged at: http://www.TerenceTam.com' on Flickr.com"><img border="0" width="320" alt="Blogged at: http://www.TerenceTam.com" src="http://farm3.static.flickr.com/2745/4297278956_ec7acbdd8a.jpg" height="240"/></a></div>
<p>Orange line, or Ch1, is my sensor&#8217;s output.  It goes from High to Low when the beam is broken.  The turquoise line, or Ch2, is my 555&#8217;s trigger output.  It goes from low to high when the input pulse is received.  That&#8217;s a VERY promising sign.</p>
<p>My fat butter fingers can only move so fast through a 10mm opening, so the event scrolls off the oscilloscope&#8217;s screen.  I tried dropping a small machine screw through the opening, but that actually prove to be much harder than expected (don&#8217;t laugh!).  Frustrated, I finally came up with the following idea:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4297287012" title="View 'P1000376' on Flickr.com"><img border="0" width="500" alt="P1000376" src="http://farm5.static.flickr.com/4005/4297287012_9dfe30fd8a.jpg" height="375"/></a></div>
<p>By flexing the rubber ducky antenna on one of my pocket wizards and getting it to spring through the break-beam sensor gap, I can generate a quick enough blip from the sensor:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4297279038" title="View 'Blogged at: http://www.TerenceTam.com' on Flickr.com"><img border="0" width="320" alt="Blogged at: http://www.TerenceTam.com" src="http://farm3.static.flickr.com/2775/4297279038_0d5e962b79.jpg" height="240"/></a></div>
<p>Each major division is 5 milli-second on this setting, so the rubber ducky antenna is only in the beam&#8217;s path for about 10mS.  My fingers can&#8217;t move *that* fast, for sure <img src='http://TerenceTam.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Repeating the test again a few times, got me the same result:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4296532987" title="View 'Blogged at: http://www.TerenceTam.com' on Flickr.com"><img border="0" width="320" alt="Blogged at: http://www.TerenceTam.com" src="http://farm3.static.flickr.com/2751/4296532987_a0b7471f9a.jpg" height="240"/></a></div>
<p>Note that irregardless of the pulse length from the sensor, the 555&#8217;s output always sits at about 35ms.  This is a litte bit off from the design goal of 40ms (1/250 second shutter speed, or sync speed on a 1.6x crop camera), but close enough for government work.   I attribute the difference in component value tolerances on setting the RC constant.</p>
<p>Now the final test &#8211; does the output from the 555 trip the SCR to fire the strobe and pocket wizard?<br />
(I selected an SCR instead of a cheaper / more common transistor.  The SCR is rated to 400V, so even an older, high voltage &#8220;digital camera killer&#8221; flash will work on this sensor.  )</p>
<p>And&#8230; </p>
<p>*drum roll please*</p>
<p>Nothing happened.</p>
<p>Turns out the same bug that bit me on the 555 timer bit me again.  The top and bottom half of the power bus on this breadboard is not connected, and the SCR wasn&#8217;t grounded properly because of that.  Now, plugging in a pocket wizard, this is what I get (with Ch2 now monitoring the anode of the SCR):</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4296533009" title="View 'Blogged at: http://www.TerenceTam.com' on Flickr.com"><img border="0" width="320" alt="Blogged at: http://www.TerenceTam.com" src="http://farm3.static.flickr.com/2724/4296533009_548f5044c4.jpg" height="240"/></a></div>
<p>Interesting, it seems to add a bit of noise to the sensor output line.  But the characteristic beep of the PW firing can be heard as the beam is broken.  (Note that the sync voltage of the pocket wizard is only 3V or so).</p>
<p>Plugging in the 580EXii:</p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4297279108" title="View 'Blogged at: http://www.TerenceTam.com' on Flickr.com"><img border="0" width="320" alt="Blogged at: http://www.TerenceTam.com" src="http://farm5.static.flickr.com/4025/4297279108_02ca609500.jpg" height="240"/></a></div>
<p>Again, some electronic noise on the sensor line, but we got what we need out of it &#8211; the clean voltage drop that triggers the monostable multivibrator.</p>
<p>And here&#8217;s the happy camera dork with his new toy (click link for video:) </p>
<div style="text-align:center;"><a href="http://www.flickr.com/photos/8812323@N08/4296516187" title="View 'Test firing bullet flight detector switch' on Flickr.com"><img border="0" width="500" alt="Test firing bullet flight detector switch" src="http://farm5.static.flickr.com/4035/4296516187_62f33b9c7d.jpg" height="375"/></a></div>
<p>Now that the circuit is verified working, I am okay with releasing the resources to order the acrylic for laser cutting to form the chassis, as well as starting PCB layout.  Stay tuned&#8230; <img src='http://TerenceTam.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.TerenceTam.com/2010/01/engineering-bullet-flight-sensor-design-validation-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
