<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="m10054">

  <name>Demodulation and Detection</name>

  <metadata>
  <md:version>2.14</md:version>
  <md:created>2001/06/07</md:created>
  <md:revised>2004/01/07 09:53:21.940 US/Central</md:revised>
  <md:authorlist>
    <md:author id="aaz">
      <md:firstname>Behnaam</md:firstname>
      
      <md:surname>Aazhang</md:surname>
      <md:email>aaz@ece.rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="dinesh">
      <md:firstname>Dinesh</md:firstname>
      
      <md:surname>Rajan</md:surname>
      <md:email>dinesh@ece.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mohammad">
      <md:firstname>Mohammad</md:firstname>
      <md:othername>Jaber</md:othername>
      <md:surname>Borran</md:surname>
      <md:email>mohammad@ece.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="aaz">
      <md:firstname>Behnaam</md:firstname>
      
      <md:surname>Aazhang</md:surname>
      <md:email>aaz@ece.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mrshawn">
      <md:firstname>Shawn</md:firstname>
      
      <md:surname>Stewart</md:surname>
      <md:email>mrshawn@alumni.rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="rha">
      <md:firstname>Roy</md:firstname>
      
      <md:surname>Ha</md:surname>
      <md:email>rha@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>modulation</md:keyword>
    <md:keyword>demodulation</md:keyword>
    <md:keyword>detection</md:keyword>
  </md:keywordlist>

  <md:abstract>This module serves as an introduction to the problem of demodulation and detection: the decision procedure for deciding which signal of a set of signals was transmitted despite noise and attenuation.</md:abstract>
</metadata>

  <content>
    <para id="para1">
      Consider the problem where signal set, 
      <m:math>
	<m:set>
	  <m:ci>
	    <m:msub>
	      <m:mi>s</m:mi>
	      <m:mn>1</m:mn>
	    </m:msub>
	  </m:ci>
	  <m:ci>
	    <m:msub>
	      <m:mi>s</m:mi>
	      <m:mn>2</m:mn>
	    </m:msub>
	  </m:ci>
          <m:ci>…</m:ci>
	  <m:ci>
	    <m:msub>
	      <m:mi>s</m:mi>
	      <m:mi>M</m:mi>
	    </m:msub>
	  </m:ci>
	</m:set>
      </m:math>, for
      <m:math>
	<m:apply>
	  <m:in/>
	  <m:ci>t</m:ci>
	  <m:interval>
	    <m:cn>0</m:cn>
	    <m:ci>T</m:ci>
	  </m:interval>
	</m:apply>
      </m:math> is used to transmit
      <m:math>
	<m:apply>
	  <m:log/>
          <m:logbase>
            <m:cn>2</m:cn>
          </m:logbase>
          <m:ci>M</m:ci>
	</m:apply>
      </m:math>
      bits.  The <term>modulated</term> signal
      <m:math>
	<m:ci>
	  <m:msub>
	    <m:mi>X</m:mi>
	    <m:mi>t</m:mi>
	  </m:msub>
	</m:ci>
      </m:math>
      could be
      <m:math>
	<m:set>
	  <m:ci>
	    <m:msub>
	      <m:mi>s</m:mi>
	      <m:mn>1</m:mn>
	    </m:msub>
	  </m:ci>
	  <m:ci>
	    <m:msub>
	      <m:mi>s</m:mi>
	      <m:mn>2</m:mn>
	    </m:msub>
	  </m:ci>
          <m:ci>…</m:ci>
	  <m:ci>
	    <m:msub>
	      <m:mi>s</m:mi>
	      <m:mi>M</m:mi>
	    </m:msub>
	  </m:ci>
	</m:set>
      </m:math>
      during the interval 
      <m:math>
	<m:apply>
	  <m:leq/>
          <m:cn>0</m:cn>
          <m:ci>t</m:ci>
          <m:ci>T</m:ci>
	</m:apply>
      </m:math>.
    </para>

    <figure id="fig1">
      <media type="image/png" src="Figure4-12.png"/>
      <caption>
	<m:math>
	  <m:apply>
	    <m:eq/>
            <m:ci>
              <m:msub>
                <m:mi>r</m:mi>
                <m:mi>t</m:mi>
              </m:msub>
            </m:ci>
            <m:apply>
              <m:plus/>
	      <m:ci>
		<m:msub>
		  <m:mi>X</m:mi>
		  <m:mi>t</m:mi>
		</m:msub>
	      </m:ci>
	      <m:ci>
		<m:msub>
		  <m:mi>N</m:mi>
		  <m:mi>t</m:mi>
		</m:msub>
	      </m:ci>
            </m:apply>
            <m:apply>
              <m:plus/>
	      <m:apply>
		<m:ci type="fn">
		  <m:msub>
		    <m:mi>s</m:mi>
		    <m:mi>m</m:mi>
		  </m:msub>
		</m:ci>
		<m:mi>t</m:mi>
	      </m:apply>
	      <m:ci>
		<m:msub>
		  <m:mi>N</m:mi>
		  <m:mi>t</m:mi>
		</m:msub>
	      </m:ci>
            </m:apply>
	  </m:apply>
	</m:math>
	for
	<m:math>
	  <m:apply>
	    <m:leq/>
            <m:cn>0</m:cn>
            <m:ci>t</m:ci>
            <m:ci>T</m:ci>
	  </m:apply>
	</m:math>
	for some
	<m:math>
	  <m:apply>
	    <m:in/>
            <m:ci>m</m:ci>
	    <m:set>
	      <m:cn>1</m:cn>
	      <m:cn>2</m:cn>
	      <m:ci>…</m:ci>
	      <m:ci>M</m:ci>
            </m:set>
	  </m:apply>
	</m:math>.
      </caption>
    </figure>

    <para id="para2">
      Recall
      <m:math>
	<m:apply>
	  <m:eq/>
          <m:apply>
            <m:ci type="fn">
              <m:msub>
                <m:mi>s</m:mi>
                <m:mi>m</m:mi>
              </m:msub>
            </m:ci>
            <m:ci>t</m:ci>
          </m:apply>
          <m:apply>
            <m:sum/>
	    <m:bvar>
	      <m:ci>n</m:ci>
	    </m:bvar>
	    <m:lowlimit>
	      <m:cn>1</m:cn>
	    </m:lowlimit>
	    <m:uplimit>
	      <m:ci>N</m:ci>
	    </m:uplimit>
	    <m:apply>
	      <m:times/>
	      <m:ci>
		<m:msub>
		  <m:mi>s</m:mi>
		  <m:mrow>
		    <m:mi>m</m:mi>
		    <m:mi>n</m:mi>
		  </m:mrow>
		</m:msub>
	      </m:ci>
	      <m:apply>
		<m:ci type="fn">
		  <m:msub>
		    <m:mi>ψ</m:mi>
		    <m:mi>n</m:mi>
		  </m:msub>
		</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>
      for
      <m:math>
	<m:apply>
	  <m:in/>
          <m:ci>m</m:ci>
          <m:set>
	    <m:cn>1</m:cn>
	    <m:cn>2</m:cn>
	    <m:ci>…</m:ci>
	    <m:ci>M</m:ci>
          </m:set>
	</m:apply>
      </m:math>
      the signals are decomposed into a set of orthonormal signals,
      perfectly.
    </para>

    <para id="para3">
      Noise process can also be decomposed
      <equation id="eq1">
	<m:math>
	  <m:apply>
	    <m:eq/>
            <m:ci>
              <m:msub>
                <m:mi>N</m:mi>
                <m:mi>t</m:mi>
              </m:msub>
            </m:ci>
            <m:apply>
              <m:plus/>
	      <m:apply>
		<m:sum/>
		<m:bvar>
		  <m:ci>n</m:ci>
		</m:bvar>
		<m:lowlimit>
		  <m:cn>1</m:cn>
		</m:lowlimit>
		<m:uplimit>
		  <m:ci>N</m:ci>
		</m:uplimit>
		<m:apply>
		  <m:times/>
		  <m:ci>
		    <m:msub>
		      <m:mi>η</m:mi>
		      <m:mi>n</m:mi>
		    </m:msub>
		  </m:ci>
		  <m:apply>
		    <m:ci type="fn">
		      <m:msub>
			<m:mi>ψ</m:mi>
			<m:mi>n</m:mi>
		      </m:msub>
		    </m:ci>
		    <m:ci>t</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	      <m:ci>
		<m:mover>
		  <m:msub>
		    <m:mi>N</m:mi>
		    <m:mi>t</m:mi>
		  </m:msub>
		  <m:mo>˜</m:mo>
		</m:mover>
	      </m:ci>
	    </m:apply>
	  </m:apply>
	</m:math>
      </equation>
      where
      <m:math>
	<m:apply>
	  <m:eq/>
          <m:ci>
            <m:msub>
              <m:mi>η</m:mi>
              <m:mi>n</m:mi>
            </m:msub>
          </m:ci>
          <m:apply>
            <m:int/>
	    <m:bvar>
	      <m:ci>t</m:ci>
	    </m:bvar>
	    <m:lowlimit>
	      <m:cn>0</m:cn>
	    </m:lowlimit>
	    <m:uplimit>
	      <m:ci>T</m:ci>
	    </m:uplimit>
	    <m:apply>
	      <m:times/>
	      <m:ci>
		<m:msub>
		  <m:mi>N</m:mi>
		  <m:mi>t</m:mi>
		</m:msub>
	      </m:ci>
	      <m:apply>
		<m:ci type="fn">
		  <m:msub>
		    <m:mi>ψ</m:mi>
		    <m:mi>n</m:mi>
		  </m:msub>
		</m:ci>
		<m:ci>t</m:ci>
	      </m:apply>
	    </m:apply>
          </m:apply>
	</m:apply>
      </m:math>
      is the projection onto the 
      <m:math>
	<m:ci>
	  <m:msup>
	    <m:mi>n</m:mi>
	    <m:mi>th</m:mi>
	  </m:msup>
	</m:ci>
      </m:math>
      basis signal,
      <m:math>
	<m:ci>
	  <m:mover>
	    <m:msub>
	      <m:mi>N</m:mi>
	      <m:mi>t</m:mi>
	    </m:msub>
	    <m:mo>˜</m:mo>
	  </m:mover>
	</m:ci>
      </m:math>
      is the left over noise.
    </para>

    <para id="para4">
      <emphasis>The problem of demodulation and detection </emphasis>
      is to observe
      <m:math>
        <m:ci>
          <m:msub>
            <m:mi>r</m:mi>
            <m:mi>t</m:mi>
          </m:msub>
        </m:ci>
      </m:math>
      for
      <m:math>
        <m:apply>
          <m:leq/>
	  <m:cn>0</m:cn>
	  <m:ci>t</m:ci>
	  <m:ci>T</m:ci>
        </m:apply>
      </m:math>
      and decide which one of the <m:math><m:ci>M</m:ci>
      </m:math> signals were transmitted.  Demodulation is covered
      <cnxn document="m10141">here</cnxn>.  A discussion about
      detection can be found <cnxn document="m10091">here</cnxn>.
    </para>

  </content>
</document>
