<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="Module.2003-12-10.4805">
	<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">DMT: Cyclic Prefix</name>
	<metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:bib="http://bibtexml.sf.net/">**new**</md:version>
  <md:created xmlns:bib="http://bibtexml.sf.net/">2003/12/18 10:36:48.967 US/Central</md:created>
  <md:revised xmlns:bib="http://bibtexml.sf.net/">2003/12/18 10:38:13.810 US/Central</md:revised>
  <md:authorlist xmlns:bib="http://bibtexml.sf.net/">
    <md:author xmlns:bib="http://bibtexml.sf.net/" id="goof">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Chris</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Sramek</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">goof@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="goof">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Chris</md:firstname>
      
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Sramek</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">goof@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  

  <md:abstract xmlns:bib="http://bibtexml.sf.net/">Describes the role of cyclic prefixing.</md:abstract>
</metadata>
	<content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
		<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec1">
			<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Why the Prefix?</name>
			<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="cp1">In an ideal world, we wouldn't have to worry about cyclic prefixes; the channel would be a wire and everything we send would be received in exactly the same form.  However, implementing our DMT system in an ideal world would be pretty useless, as all the cool benefits from DMT would go to waste.  Thus, we implemented a channel with an ugly (but not too ugly) frequency response, which added two forms of interference: <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">inter-symbol-interference</term> (ISI) and <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">inter-channel-interference</term> (ICI), which we will discuss next.</para>
		</section>
		<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec2">
			<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Inter-Symbol-Interference (ISI)</name>
			<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="cp2">ISI arises from the fact that the channel performs a linear convolution of its impulse response with the time-domain waveform.  By this time, the blocks (now known as <term xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">symbols</term>) have been mirrored, IFFT'd and concatenated.  At the intersection of adjacent symbols, the linear convolution of the signal with the impulse response (whose support is assumed to be less than the symbol length but greater than unity) overlaps parts of both symbols.  This means that independent symbols affect each other; one symbol "bleeds" into another.  The addition of a prefix provides a buffer between symbols that prevends this.  <figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="vertical" id="fig1">
					<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">ISI</name>
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/jpg" src="isi.jpg"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Inter-symbol-interference (ISI): This indicates the linear convolution of the channel impulse response <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">h</emphasis> with the time-domain input to the channel <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">x</emphasis>.  Notice the overlap at the intersection of the two symbols.</caption>
				</figure></para>
		</section>
		<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec3">
			<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Inter-Channel-Interference (ICI)</name>
			<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="cp3">ICI comes from the fact that the carrier frequencies for DMT lose their orthogonality due to the frequency response of the channel.   If we looked at the FFT of a block at the input to the channel, we'd see a sinc function at each carrier frequency since the IFFT modulates each carrier with a rectangular pulse.  The DFT basis is orthonormal, so each of the basis vectors (sinusoids) are orthogonal to all the rest;  this means each of the sincs are orthogonal (zero inner product) as well.  The frequency response of the channel has the effect of attenuating certain frequencies more than others, so each of the sincs is changed by a different amount.  Since the inner product is a measure of the similarity of two vectors, two previously "completely dissimilar" sinc functions now have at least some degree of similarity; i.e they are no longer orthogonal.  Without orthogonal carriers, the FFT cannot exactly recover the correctspectral coefficients.  Cyclic padding solves this problem by turning the linear convolution of the channel inpulse response with the signal into a cyclic convolution. <figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="vertical" id="fig2">
					<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">ICI</name>
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/jpg" src="ICI.jpg"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Inter-channel-interference (ICI): This represents two carrier frequencies as sincs in the frequency-domain.  The frequency response of the channel causes the carrier frequencies for the transmitted signal to lose orthogonality.</caption>
				</figure></para>
		</section>
		<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="sec4">
			<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Cyclic Prefix</name>
			<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="cp6">The addition of a cyclic prefix to each symbol solves both ISI and ICI.  In our system, we assume the channel impulse response has a known length <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">L</emphasis>.  The prefix consists simply of copying the last <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">L</emphasis>-1 values from each symbol and appending them in the same order to the front of the symbol.  By having this buffer of essentially junk data in the front, the convolution of the impulse response with the signal at the end of a symbol does not affect any of the actual data at the beginning of the next symbol.  In addition, by repeating the last elements at the beginning, the first real "data" elements of each symbol experience overlap with the "end" of the symbol, just as in cyclic convolution.  This means the linear convolution of the channel impulse response with the concatenated symbols becomes concatenated cyclic convolutions of the impulse response with the individual symbols.  Since cyclic convolution directly corresponds to multiplication in the frequency domain, this has great import with respect to equalization, as we will see later.  After the time-domain signal passes through the channel, it is broken back into the parallel symbols and the prefix is simply discarded.  <figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" orient="vertical" id="fig3">
					<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Cyclic Prefix</name>
					<media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/jpg" src="cyclic.jpg"/>
					<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">This is one time-domain symbol with the cyclic prefix and last <emphasis xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">L</emphasis> elements shown in red (This is a slightly exaggerated pad length).</caption>
				</figure></para>
		</section>
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="cp4">Our related MATLAB functions: <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="inline"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="/content/m11721/latest/cyclicpad.m">cyclicpad.m</link></code>, <code xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="inline"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="/content/m11721/latest/decyclicpad.m">decyclicpad.m</link></code><!-- Insert module text here --></para>
		<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="cp5"><link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="/content/m11710/latest">Home</link>  |  Previous: <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="/content/m11721/latest">Implementation</link>   |   Next:  <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="/content/m11727/latest">The Channel</link></para>
	</content>
</document>
