<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Dennis Blog - Just another blog. &#187; transmission</title>
	<atom:link href="http://danilop.wordpress.com/tag/transmission/feed/" rel="self" type="application/rss+xml" />
	<link>http://danilop.wordpress.com</link>
	<description>A blog about commong problems using Ubuntu, OpenOffice and so on</description>
	<lastBuildDate>Sat, 04 Jul 2009 11:39:50 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='danilop.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/7cae8409d2ee996ea6f058e548010e22?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dennis Blog - Just another blog. &#187; transmission</title>
		<link>http://danilop.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://danilop.wordpress.com/osd.xml" title="Dennis Blog &#8211; Just another blog." />
	<atom:link rel='hub' href='http://danilop.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Digital Transmission: Hard and Soft decoding</title>
		<link>http://danilop.wordpress.com/2009/05/05/digital-transmission-hard-and-soft-decoding/</link>
		<comments>http://danilop.wordpress.com/2009/05/05/digital-transmission-hard-and-soft-decoding/#comments</comments>
		<pubDate>Tue, 05 May 2009 12:27:31 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[2593301]]></category>
		<category><![CDATA[decoding]]></category>
		<category><![CDATA[digital]]></category>
		<category><![CDATA[Eucledian Distance]]></category>
		<category><![CDATA[Hamming distance]]></category>
		<category><![CDATA[hard deconding]]></category>
		<category><![CDATA[soft decoding]]></category>
		<category><![CDATA[transmission]]></category>

		<guid isPermaLink="false">http://danilop.wordpress.com/?p=40</guid>
		<description><![CDATA[Hi everybody,
I am sitting here in front of this PC studying Digital Transmission. This basically means that I am studying how information can be sent over a channel (ex: a cable) in a discrete way (basically using bits). Now I want to write a very short example about what hard and soft decoding is.
Coding
Before sending [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danilop.wordpress.com&blog=1593903&post=40&subd=danilop&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<p>Hi everybody,</p>
<p>I am sitting here in front of this PC studying Digital Transmission. This basically means that I am studying how information can be sent over a channel (ex: a cable) in a discrete way (basically using bits). Now I want to write a very short example about what hard and soft decoding is.</p>
<p><strong>Coding<br />
</strong>Before sending bits to the channel, they are usually somehow coded. By coding the bits we want to make it easier for the receiver to localize errors which are likely to occur during our transmission (the most easy case to understand is the additive noise added by the channel). It is actually also possible to correct some of these errors. But this is not the topic now.</p>
<p><strong>Decoding<br />
</strong>If we code, we of course have also to decode in order to get the original information back. When you read about decoding techniques you will find Hard Decoding and Soft Decoding. The idea behind these two was not clear for me until I read a nice explanation. I will try to report this explanation with my own words here on the blog.</p>
<p><strong>Useful concepts: metrics<br />
</strong>It is important to understand what Hamming Distance and Euclidean Distance mean, especially  applied to vectors. You can have a look at the following links:</p>
<ul>
<li><a title="Hamming Distance" href="http://en.wikipedia.org/wiki/Hamming_distance">http://en.wikipedia.org/wiki/Hamming_distance</a></li>
<li><a title="Euclidean Distance" href="http://en.wikipedia.org/wiki/Euclidean_distance">http://en.wikipedia.org/wiki/Euclidean_distance</a></li>
</ul>
<p><strong>The example</strong></p>
<p>Imagine we want to send <span style="text-decoration:underline;">1 bit</span> of information, either 0 or 1, over a channel. To make our system more robust, we decide to use coding. We use a very simple and straight-forward coding technique: we just repeat the bit 4 times. So if the bit we have to send is 0, we will actually send 0000, and if it is 1 we will send 1111. We decide that on our cable we will have +1 V (volt) if the bit to send is 1, and -1 V if the bit to send is zero.</p>
<p>Ok, let&#8217;s assume we like the number one and we want therefore to send a bit with value 1.</p>
<p>What we will actually send on the cable (=channel) is [+1V, +1V, +1V, +1V], four impulses of +1 V (the duration of these impulses is not really crucial for this discussion).</p>
<p>Our channel will introduce distortions, additive noise (AWGN) and all possibile mess. At the end, what we receive is [+1.1, -0.2, -0.1, -0.1]. Now, based on this, in the receiving phase we have to decide weather we sent a 1 or a 0. here is how the two decoders will act:</p>
<ul>
<li><span style="text-decoration:underline;">Hard decoder:</span> it treats all bits separately. basically the received sequence is though to [+1, -1, -1, -1] and based on this we use Hamming metric to find out which sent sequence is nearer. As we basically have more negative values than positive ones, <strong>we conclude that the sent bit was a zero</strong>;</li>
<li><span style="text-decoration:underline;">Soft decoder:</span> it does not make a decision on each bit. First it sums up all the single bit values, obtaining +0.7. After this, the decoder looks which bit is, in an Euclidean way, nearer to this value. In this case of course +1 V is nearer to 0.7 V than -1 V. <strong>We therefore conclude that the sent bit was a one.</strong></li>
</ul>
<p>Both decoders use a Maximum Likelihood principle. They just use different metrics.</p>
<p>As we can see in this small example the soft decoder is able to decode the sent bit correctlym, while the hard decoder fails. It is usually true that soft decoders have better performance than hard decoders, but they are also usually more difficult to implement in practice.</p>
<p><em>Hope this helps somebody to understand better these concepts. I think I got it right now! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </em></p>
<br /> Tagged: decoding, digital, Eucledian Distance, Hamming distance, hard deconding, soft decoding, transmission <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/danilop.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/danilop.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/danilop.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/danilop.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/danilop.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/danilop.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/danilop.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/danilop.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/danilop.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/danilop.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=danilop.wordpress.com&blog=1593903&post=40&subd=danilop&ref=&feed=1" />]]></content:encoded>
			<wfw:commentRss>http://danilop.wordpress.com/2009/05/05/digital-transmission-hard-and-soft-decoding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">Dennis</media:title>
		</media:content>
	</item>
	</channel>
</rss>