<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.11.81 (http://www.squarespace.com/) on Fri, 01 Jun 2012 16:41:14 GMT--><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><title>Blog</title><subtitle>Blog</subtitle><id>http://www.darranshepherd.co.uk/blog/</id><link rel="alternate" type="application/xhtml+xml" href="http://www.darranshepherd.co.uk/blog/"/><link rel="self" type="application/atom+xml" href="http://www.darranshepherd.co.uk/blog/atom.xml"/><updated>2011-12-30T19:46:01Z</updated><generator uri="http://www.squarespace.com/" version="Squarespace Site Server v5.11.81 (http://www.squarespace.com/)">Squarespace</generator><entry><title>Convolution in DSP</title><id>http://www.darranshepherd.co.uk/blog/2011/12/30/convolution-in-dsp.html</id><link rel="alternate" type="text/html" href="http://www.darranshepherd.co.uk/blog/2011/12/30/convolution-in-dsp.html"/><author><name>Darran</name></author><published>2011-12-30T15:00:04Z</published><updated>2011-12-30T15:00:04Z</updated><summary type="html" xml:lang="en-GB"><![CDATA[<p>One of the problems that I've encountered in trying to teach myself DSP has been that most textbooks contain questions with no answers.  Having been booked to take part in a 3 day course at Oxford Uni that was cancelled due to insufficient take-up, I've picked up the textbook that they were to use.  It's a great book and has self assessment questions throughout with answers in the back, but the end of chapter exams don't.  Some have a numerical answer which is fine for me to check I'm getting the right end of the stick, but not much help if I'm completely lost.  Hopefully someone who knows what they're talking about will take pity on me and let me know if I've got this one right or not...</p>

<p><img src="http://www.darranshepherd.co.uk/storage/post-images/dsp21a/y.png?__SQUARESPACE_CACHEVERSION=1325261642631" alt=""/></p>
]]></summary></entry><entry><title>An exploration of the effect of the number of coefficients used in a trigonometric Fourier series</title><category term="DSP"/><category term="Education"/><id>http://www.darranshepherd.co.uk/blog/2011/12/26/an-exploration-of-the-effect-of-the-number-of-coefficients-u.html</id><link rel="alternate" type="text/html" href="http://www.darranshepherd.co.uk/blog/2011/12/26/an-exploration-of-the-effect-of-the-number-of-coefficients-u.html"/><author><name>Darran</name></author><published>2011-12-26T22:51:54Z</published><updated>2011-12-26T22:51:54Z</updated><summary type="html" xml:lang="en-GB"><![CDATA[<p>Following on from the earlier post allowing you to manually enter different coefficients for a trigonometric Fourier series and visualise the resulting signal, I got to wondering how much of an effect the number of coefficients used had.  So, playing around with a bit more jQuery, I came up with this.  Choose either a square wave or a triangle wave and vary the number of coefficients used by dragging the slider.  The chart updates in realtime so that you can see how quickly the signal converges to the true desired x(t).</p>]]></summary></entry><entry><title>Trigonometric Fourier Series</title><category term="DSP"/><category term="Education"/><id>http://www.darranshepherd.co.uk/blog/2011/12/26/trigonometric-fourier-series.html</id><link rel="alternate" type="text/html" href="http://www.darranshepherd.co.uk/blog/2011/12/26/trigonometric-fourier-series.html"/><author><name>Darran</name></author><published>2011-12-26T19:50:41Z</published><updated>2011-12-26T19:50:41Z</updated><summary type="html" xml:lang="en-GB"><![CDATA[<p>With the Christmas study period (apparently some people mistakenly call it a holiday) now fully underway, I've started working my way through <em>Digital Signal Processing: Concepts and Applications</em>.  One of the first concepts covered is the trigonometric Fourier series - the fact that any periodic power signal can be decomposed into a series of sine and cosine waves.</p><p><span class="full-image-block ssNonEditable"><span><img src="http://www.darranshepherd.co.uk/storage/post-images/TrigonometricFourierSeries.png?__SQUARESPACE_CACHEVERSION=1324932089294" alt=""/></span></span></p><p>To demonstrate this, and brush up on my JavaScript, I put together this example of the trigonometric Fourier series in practice.</p>]]></summary></entry><entry><title>Royal Institution lecture videos</title><category term="Education"/><id>http://www.darranshepherd.co.uk/blog/2011/12/13/royal-institution-lecture-videos.html</id><link rel="alternate" type="text/html" href="http://www.darranshepherd.co.uk/blog/2011/12/13/royal-institution-lecture-videos.html"/><author><name>Darran</name></author><published>2011-12-13T19:05:18Z</published><updated>2011-12-13T19:05:18Z</updated><content type="html" xml:lang="en-GB"><![CDATA[<p>I have many happy memories of whiling away my Christmas holidays watching the Royal Institution Christmas lectures. Now, I ican relive those captivating moments as the RI have launched <a href="http://richannel.org">richannel.org</a>.  The site holds not only Christmas lectures from recent years, but even some from 1973 (<a href="http://richannel.org/christmas-lectures/1973/1973-david-attenborough">The Language of Animals with Sir David Attenborough</a>), but many other lectures too covering various engineering, technology, mathematics and other subjects.  Wonderful stuff.</p>
]]></content></entry><entry><title>It's sprouting peripherals</title><category term="AI"/><category term="Robotics"/><id>http://www.darranshepherd.co.uk/blog/2011/12/11/its-sprouting-peripherals.html</id><link rel="alternate" type="text/html" href="http://www.darranshepherd.co.uk/blog/2011/12/11/its-sprouting-peripherals.html"/><author><name>Darran</name></author><published>2011-12-11T20:56:06Z</published><updated>2011-12-11T20:56:06Z</updated><content type="html" xml:lang="en-GB"><![CDATA[<p><span class="full-image-block ssNonEditable"><span><img src="http://www.darranshepherd.co.uk/storage/post-images/iphone-20111211205606-1.jpg?__SQUARESPACE_CACHEVERSION=1323801982173" alt=""/></span></span>
A quick session with the soldering iron, some female headers on the m3pi board and some right angle headers on the peripherals, and my Pololu is starting to look a little different.
At the front is a <a href="http://www.4dsystems.com.au/prod.php?id=75">4D Systems uCAM</a> serial JPEG camera module with the ability to also output RAW images as a simple stream of uncompressed pixel data; ideal for further processing.
Just behind this, to give some visual feedback, is a <a href="http://www.sparkfun.com/products/8600">Sparkfun Nokia 6100 breakout board</a>.
Thankfully, getting up and running is accelerated nicely by the kind contributors at <a href="http://mbed.org/">mbed.org</a> who have published code to interface with the <a href="http://mbed.org/cookbook/m3pi">m3pi</a>, the <a href="http://mbed.org/cookbook/Nokia-LCD">Nokia LCD</a> and the <a href="http://mbed.org/users/mux/programs/ucam/m1xt2c">uCAM</a>. With this rich source of code to build upon, it wasn't too difficult to get camera taking a 128x128 pixel, 8 bit greyscale image and display it on the LCD. An hour longer and it was first performing horizontal or vertical edge detection using a simple 2 pixel additive filter kernel.
The next task is to build on the edge detection to be able to perform a full, convoluted gradient filter to detect vertical and horizontal edges without needing another 16kB buffer as the mbed doesn't have enough free RAM for that simplistic and inefficient approach.</p>
]]></content></entry><entry><title>Playing with robots</title><category term="AI"/><category term="Robotics"/><id>http://www.darranshepherd.co.uk/blog/2011/12/11/playing-with-robots.html</id><link rel="alternate" type="text/html" href="http://www.darranshepherd.co.uk/blog/2011/12/11/playing-with-robots.html"/><author><name>Darran</name></author><published>2011-12-11T20:19:23Z</published><updated>2011-12-11T20:19:23Z</updated><content type="html" xml:lang="en-GB"><![CDATA[<img class="iphone-image" src="http://www.darranshepherd.co.uk/resource/iphone-20111211201923-1.jpg?fileId=15549504"/>

A new project - experimenting with machine vision and robotics. It's a good chance to try out some of the techniques learnt in <a href="http://www.ai-class.org/">AI Class</a> and should have some practical uses at work.]]></content></entry></feed>
