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

<channel>
	<title>disputedip.com</title>
	<atom:link href="http://www.disputedip.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.disputedip.com</link>
	<description></description>
	<pubDate>Sat, 26 Apr 2008 15:14:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Micromouse - Quadrature Decoders</title>
		<link>http://www.disputedip.com/116/micromouse-quadrature-decoders/</link>
		<comments>http://www.disputedip.com/116/micromouse-quadrature-decoders/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 15:14:54 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Microcontrollers]]></category>

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

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

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

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

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

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

		<guid isPermaLink="false">http://www.disputedip.com/?p=116</guid>
		<description><![CDATA[I have started to develop the quadrature decoders for my mouse, a simple circuit and is mainly programming so its something I can do to break up exam revision.
Here is a picture of the setup:

The main board is an Explorer 16 with a 32 bit PIC microcontroller in there. I have the prototype board connected [...]]]></description>
			<content:encoded><![CDATA[<p>I have started to develop the quadrature decoders for my mouse, a simple circuit and is mainly programming so its something I can do to break up exam revision.</p>
<p>Here is a picture of the setup:</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-117" title="Micromouse Devlopment" src="http://www.disputedip.com/wp-content/uploads/2008/04/mm1.jpg" alt="" width="450" height="341" /></p>
<p>The main board is an Explorer 16 with a 32 bit PIC microcontroller in there. I have the prototype board connected to the expansion socket and I am then connecting this to the breadboard. On here is a 16F88 and some i2c eeprom. In the back you can see the icd2 programmer.</p>
<p>I have written the software for the 16F88 to act as a i2c slave, and the pic32 talks to it fine and displays the response on the LCD (although took a while to get it all working). The code to decode the quadrature signals from the motors is in there but there is a small bug in the 16F88&#8217;s code which triggers a read at the wrong time. The idea is the main microcontroller sets a pin high to make a copy of the current reading and reset the counter, this helps with working out the age of the reading. If I work out what going wrong then it should not be too long before I can plug a motor in and see how it performs&#8230;</p>
<p>I also have my LiPo batteries, and gears and wheels for the drive. I am waiting on a pillar drill stand then I can finish making a prototype of the gearbox, and finally see if the motors I have are up to the job!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/116/micromouse-quadrature-decoders/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MINOS 2008</title>
		<link>http://www.disputedip.com/114/minos-2008/</link>
		<comments>http://www.disputedip.com/114/minos-2008/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 12:30:32 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Micromouse]]></category>

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

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

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

		<guid isPermaLink="false">http://www.disputedip.com/?p=114</guid>
		<description><![CDATA[
Another year, another MINOS (UK Micromouse conference). This year I only went for the first day, the talks and testing, but was still a great experience. I got quite a few of my questions answered and am now ready to start working on my mouse proper.
The day started off well, no waiting at stations for [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter size-full wp-image-115" title="MINOS 2008" src="http://www.disputedip.com/wp-content/uploads/2008/04/minos.jpg" alt="" width="400" height="300" /></p>
<p style="text-align: left;">Another year, another MINOS (UK Micromouse conference). This year I only went for the first day, the talks and testing, but was still a great experience. I got quite a few of my questions answered and am now ready to start working on my mouse proper.</p>
<p style="text-align: left;">The day started off well, no waiting at stations for trains and the weather was kind so I got to Egham about an hour before kick off. The first talk was on Inertial Navigation with Accelerometers from Dave Otten; is a very interesting concept as if the system works you can check to see if the wheels are slipping (something hard to detect, but can have bad consequences if it happens too often). We then had a great talk on using Machine Vision on a micromouse from Richard Nock , a bit over my head but it was early in the day and I had not looked into using sensor arrays for measuring the heights of walls.</p>
<p style="text-align: left;">Following was an informative talk on Pete Harrison&#8217;s mice, unfortunately as I was not around on the Sunday so did not see them run. David Hannaford gave a presentation on intelligent mice, reminds me of some lectures we have had on AI over the past 3 years at Reading.</p>
<p style="text-align: left;">Michael Beatus gave a presentation on his mouse to date, again not sure how well it actually did as I was not around to see it. Rob Probin then gave an excellent talk on using a camera to find the maze walls, I did something similar for a different application about a year ago and dismissed it as being too much processing for a mouse to do, but Rob seems to be making some progress, will wait an see!</p>
<p style="text-align: left;">Finally Tony Wilcox gave a presentation on using VHDL to build &#8216;circuitry&#8217; such as quadrature decoders for mice. Interesting avenue to go down, but I think I am biting off too much with a 32 bit PIC in my design!</p>
<p style="text-align: left;">I also gave a small presentation on the MOD Grand Challenge, which was followed by a video from Derek Hall of his trip to India (for a micromouse competition).</p>
<p style="text-align: left;">Was a lot of &#8216;fun&#8217;, and I look forward to going to next years conference with a mouse to present! Anyhow I have already started buying new components, some Lithium Ion batteries are on their way&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/114/minos-2008/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Micromouse Sensors</title>
		<link>http://www.disputedip.com/105/micromouse-sensors/</link>
		<comments>http://www.disputedip.com/105/micromouse-sensors/#comments</comments>
		<pubDate>Mon, 07 Apr 2008 23:18:16 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Micromouse]]></category>

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

		<guid isPermaLink="false">http://www.disputedip.com/105/micromouse-sensors/</guid>
		<description><![CDATA[Ok, its been a while since I did much more than think about my micromouse, but over the last week or so I actually did some &#8216;work&#8217; on the sensor design&#8230;
First off this is all theoretical, I need some bits an pieces before I can test this outside of simulation. Hopefully in the next week [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, its been a while since I did much more than think about my micromouse, but over the last week or so I actually did some &#8216;work&#8217; on the sensor design&#8230;</p>
<p>First off this is all theoretical, I need some bits an pieces before I can test this outside of simulation. Hopefully in the next week or so I will order the bits I need.</p>
<p>The problem: Knowing where you are in relation to the walls of a micromouse maze.</p>
<p>The solution: Sensors.</p>
<p>Commonly optical sensors are used which act upon the basic premise that the diameter of a cone of light will get bigger as it travels, hence the intensity of light over a specific sensing area will vary with the distance the light has traveled. There are also other factors such as scattering and the reflectivity of the surface etc. etc. but there is a correlation, that&#8217;s the main point.</p>
<p>I am concerned with detecting the intensity of the light reflected, and removing any noise. My current design assumes that I have a source transmitting IR light at 10KHz and a receiver which converts received light to a current (such as a phototransistor). First I convert this current to a usable voltage, then filter it to remove the noise and then I use a peak detect and hold circuit to get the sensor reading.</p>
<p>You can download the current circuit diagram here: <a href="http://www.disputedip.com/wp-content/uploads/2008/04/stb1.pdf" title="Sensor Test Board - Design 1">Sensor Test Board - Design 1</a> (Remember - untested!)</p>
<p><span id="more-105"></span></p>
<p><strong>Current to Voltage</strong></p>
<p style="text-align: center"><img src="http://www.disputedip.com/wp-content/uploads/2008/04/ms-d1-s1.jpg" alt="Current to Voltage" /></p>
<p>This stage is quite simple, it takes the current and produces a voltage following the rule Vout = -Iin * R. The value of the resistor should be selected based on the current expected. I chose 66K as I am considering having some digital potentiometers in there, and that&#8217;s there value. Notice that the positive terminal of the opamp is connected to Vcc, this creates a virtual ground at Vcc allowing it to go from 5V down the 0V. Because of this the voltage is now &#8216;upside down&#8217; so the next bit of the circuit fixes this.</p>
<p><strong>Difference Amplifier</strong></p>
<p style="text-align: center"><img src="http://www.disputedip.com/wp-content/uploads/2008/04/ms-d1-s2.jpg" alt="Difference Amplifier" /></p>
<p>This is a <a href="http://en.wikipedia.org/wiki/Operational_amplifier_applications#Differential_amplifier" title="Difference Amplifier - Wikipedia" target="_blank">difference amplifier</a> which takes Vcc and subtracts out voltage from it, meaning the signal goes from 0V to 5V. Although not shown here you could also add in a gain here if required. The formula is Vout = (V2 - V1) * (Rb / Ra) where Ra = R2 = R4, Rb = R3 = R5 and V1 is our voltage and V2 is shown here as Vcc.</p>
<p><strong>Second Order High Pass Filter</strong></p>
<p style="text-align: center"><img src="http://www.disputedip.com/wp-content/uploads/2008/04/ms-d1-s3.jpg" alt="Second Order Filter" /></p>
<p>This is a standard <a href="http://en.wikipedia.org/wiki/Sallen_Key_filter#High-pass_configuration" title="Second Order High Pass Filter - Wikipedia" target="_blank">second order high pass filter</a> set to 530Hz cut-off. Considering I am aiming for 10kHz modulation this is quite low, but its due to the fact that I started with 1kHz modulation. Changing the resistor values to 1K will change the cut-off to 1.6kHz which is probably a bit safer. The main noise I wanted to remove was DC and mains (50Hz), so the current values will suffice for now.</p>
<p><strong>Peak Detection and Hold - With Reset</strong></p>
<p style="text-align: center"><img src="http://www.disputedip.com/wp-content/uploads/2008/04/ms-d1-s4.jpg" alt="Peak Detection and Hold - With Reset" /></p>
<p>This is the one part of the circuit which is not required, but does help and remove any precise timing issues with converting the final voltage to a digital number. The two opamps create a peak detect and hold circuit. The voltage is &#8217;stored&#8217; in C3, the voltage here is compared with the current input on the left opamp, if it is higher the opamp acts as a voltage follower and increased the output. The opamp on the left is a buffer, I think R8 provides some current to keep C3 from discharging, its the only part of the circuit I don&#8217;t full understand yet. I added a mosfet to enable the capacitor to be discharged after the A/D has completed.</p>
<p><strong>Simulation</strong></p>
<p><img src="http://www.disputedip.com/wp-content/uploads/2008/04/ms-d1-g1.jpg" alt="Graph 1" align="left" hspace="15" /> Using <a href="http://www.linear.com/software/" title="LTSpice" target="_blank">LTSpice</a> I simulated this circuit with 40uA and 50uA inputs, with a 5uA @ 50Hz &#8216;noise&#8217; sign wave. Left is a small segment of the result. The dark blue signal is the output after the Difference Amplifier, the green signal is after the second order high pass filter, the red is the final output from the peak detect and hold, the light blue is the peak detectors reset signal and the pink is the 50Hz noise (scale in A and on other axis).</p>
<p>You can see the noise affecting the dark blue signal, and being removed at the peak of the green signal, and the result being held at this peak as required.</p>
<p>The complete simulation output can be found here by clicking on the following link:</p>
<p><a href="http://www.disputedip.com/wp-content/uploads/2008/04/ms-d1-g2.jpg" title="Graph 2" rel="lightbox">Simulation Results</a></p>
<p>You can see the different current input being applied for the last two pulses.</p>
<p>Well, I hope this was all accurate, but if there are any issues please do email me! Hopefully I will be able to build the circuit soon and test it for real.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/105/micromouse-sensors/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Been a while&#8230;</title>
		<link>http://www.disputedip.com/104/been-a-while/</link>
		<comments>http://www.disputedip.com/104/been-a-while/#comments</comments>
		<pubDate>Sat, 05 Apr 2008 14:46:09 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[News]]></category>

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

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

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

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

		<guid isPermaLink="false">http://www.disputedip.com/104/been-a-while/</guid>
		<description><![CDATA[Eep, its been a while, photoblog kind of died, way too busy  Anyhow, here is a video of the robot from end of last year. Should have new videos of other stuff soon&#8230;

http://www.youtube.com/watch?v=aOnp2S99KfU

]]></description>
			<content:encoded><![CDATA[<p>Eep, its been a while, photoblog kind of died, way too busy <img src='http://www.disputedip.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> Anyhow, here is a video of the robot from end of last year. Should have new videos of other stuff soon&#8230;</p>
<div class="vvqbox vvqyoutube" style="width:425px;height:355px;">
<p id="vvq48b64435ada8d"><a href="http://www.youtube.com/watch?v=aOnp2S99KfU">http://www.youtube.com/watch?v=aOnp2S99KfU</a></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/104/been-a-while/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photoblog - Days 28 to 35</title>
		<link>http://www.disputedip.com/99/photoblog-days-28-to-35/</link>
		<comments>http://www.disputedip.com/99/photoblog-days-28-to-35/#comments</comments>
		<pubDate>Mon, 04 Feb 2008 12:53:06 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Photoblog]]></category>

		<guid isPermaLink="false">http://www.disputedip.com/99/photoblog-days-28-to-35/</guid>
		<description><![CDATA[Got a bit behind in posting the photos&#8230; Here are a load from the past week, there are many more waiting for a little bit of a touchup in photoshop.
     
]]></description>
			<content:encoded><![CDATA[<p>Got a bit behind in posting the photos&#8230; Here are a load from the past week, there are many more waiting for a little bit of a touchup in photoshop.</p>
<p><a href="http://www.disputedip.com/wp-content/uploads/2008/02/ap1261034.jpg" title="ap1261034.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/02/ap1261034.thumbnail.jpg" alt="ap1261034.jpg" /></a> <a href="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011052.jpg" title="ap2011052.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011052.thumbnail.jpg" alt="ap2011052.jpg" /></a> <a href="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011070.jpg" title="ap2011070.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011070.thumbnail.jpg" alt="ap2011070.jpg" /></a> <a href="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011105.jpg" title="ap2011105.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011105.thumbnail.jpg" alt="ap2011105.jpg" /></a><a href="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011123.jpg" title="ap2011123.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011123.thumbnail.jpg" alt="ap2011123.jpg" /></a> <a href="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011137.jpg" title="ap2011137.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/02/ap2011137.thumbnail.jpg" alt="ap2011137.jpg" /></a> <a href="http://www.disputedip.com/wp-content/uploads/2008/02/ap2021163.jpg" title="ap2021163.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/02/ap2021163.thumbnail.jpg" alt="ap2021163.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/99/photoblog-days-28-to-35/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photoblog - Day 27</title>
		<link>http://www.disputedip.com/94/photoblog-day-27/</link>
		<comments>http://www.disputedip.com/94/photoblog-day-27/#comments</comments>
		<pubDate>Mon, 28 Jan 2008 23:08:21 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Photoblog]]></category>

		<guid isPermaLink="false">http://www.disputedip.com/94/photoblog-day-27/</guid>
		<description><![CDATA[This is one I just finished playing with, its a shot of the Thames from my walkabout the other day. Again I am using cross processing techniques to get the great colour contrasts, although using a different method from last time, the colours are a bit more real, but still has that processed look (not [...]]]></description>
			<content:encoded><![CDATA[<p>This is one I just finished playing with, its a shot of the Thames from my walkabout the other day. Again I am using cross processing techniques to get the great colour contrasts, although using a different method from last time, the colours are a bit more real, but still has that processed look (not always a bad thing, depends on the viewer). I like the &#8217;suspense&#8217; as to what is about to happen, and how the sky is so completely huge compared to the little duck in the corner!</p>
<p>I have titled it &#8216;The Cold Expectation&#8217;</p>
<p><a href="http://www.disputedip.com/wp-content/uploads/2008/01/thecoldexpectation.jpg" title="The Cold Expectation" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/01/thecoldexpectation.thumbnail.jpg" alt="The Cold Expectation" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/94/photoblog-day-27/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photoblog - Day 26</title>
		<link>http://www.disputedip.com/93/photoblog-day-25-2/</link>
		<comments>http://www.disputedip.com/93/photoblog-day-25-2/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 23:01:59 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Photoblog]]></category>

		<guid isPermaLink="false">http://www.disputedip.com/93/photoblog-day-25-2/</guid>
		<description><![CDATA[A swan&#8230;

]]></description>
			<content:encoded><![CDATA[<p>A swan&#8230;</p>
<p><a href="http://www.disputedip.com/wp-content/uploads/2008/01/ap1250991.jpg" title="ap1250991.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/01/ap1250991.thumbnail.jpg" alt="ap1250991.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/93/photoblog-day-25-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photoblog - Day 25</title>
		<link>http://www.disputedip.com/91/photoblog-day-25/</link>
		<comments>http://www.disputedip.com/91/photoblog-day-25/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 23:00:58 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Photoblog]]></category>

		<guid isPermaLink="false">http://www.disputedip.com/91/photoblog-day-25/</guid>
		<description><![CDATA[I made a new being - its got googly eyes and is drinking!

]]></description>
			<content:encoded><![CDATA[<p>I made a new being - its got googly eyes and is drinking!</p>
<p><a href="http://www.disputedip.com/wp-content/uploads/2008/01/ap1251008.jpg" title="ap1251008.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/01/ap1251008.thumbnail.jpg" alt="ap1251008.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/91/photoblog-day-25/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photoblog - Day 24</title>
		<link>http://www.disputedip.com/89/photoblog-day-24/</link>
		<comments>http://www.disputedip.com/89/photoblog-day-24/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 22:59:56 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Photoblog]]></category>

		<guid isPermaLink="false">http://www.disputedip.com/89/photoblog-day-24/</guid>
		<description><![CDATA[Got to go out today - photos over the next few days should relate to this fact and be slightly more arty and less housy

]]></description>
			<content:encoded><![CDATA[<p>Got to go out today - photos over the next few days should relate to this fact and be slightly more arty and less housy</p>
<p><a href="http://www.disputedip.com/wp-content/uploads/2008/01/ap1250941.jpg" title="ap1250941.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/01/ap1250941.thumbnail.jpg" alt="ap1250941.jpg" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/89/photoblog-day-24/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Photoblog - Day 23</title>
		<link>http://www.disputedip.com/86/photoblog-day-23/</link>
		<comments>http://www.disputedip.com/86/photoblog-day-23/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 22:57:37 +0000</pubDate>
		<dc:creator>Martyn</dc:creator>
		
		<category><![CDATA[Photoblog]]></category>

		<guid isPermaLink="false">http://www.disputedip.com/86/photoblog-day-23/</guid>
		<description><![CDATA[A bulb blew  

We are partially bulbless!
]]></description>
			<content:encoded><![CDATA[<p>A bulb blew <img src='http://www.disputedip.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><a href="http://www.disputedip.com/wp-content/uploads/2008/01/ap1251009.jpg" title="ap1251009.jpg" rel="lightbox"><img src="http://www.disputedip.com/wp-content/uploads/2008/01/ap1251009.thumbnail.jpg" alt="ap1251009.jpg" /></a></p>
<p>We are partially bulbless!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.disputedip.com/86/photoblog-day-23/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
