<?xml version="1.0" encoding="utf-8"?>
<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/" xmlns:q="http://cnx.rice.edu/qml/1.0" id="m10024" module-id="" cnxml-version="0.6">
  
  <title>Multirate Filtering: Introduction (Thai Version)</title>
  <metadata xmlns:md="http://cnx.rice.edu/mdml/0.4">
  <!-- WARNING! The 'metadata' section is read only. Do not edit below.
       Changes to the metadata section in the source will not be saved. -->
  <md:content-id>m12440</md:content-id>
  <md:title>Multirate Filtering: Introduction (Thai Version)</md:title>
  <md:version>1.2</md:version>
  <md:created>2004/10/31 14:56:56 US/Central</md:created>
  <md:revised>2009/06/01 09:34:50.500 GMT-5</md:revised>
  <md:authorlist>
    <md:author id="dljones">
        <md:firstname>Douglas</md:firstname>
        <md:othername>L.</md:othername>
        <md:surname>Jones</md:surname>
        <md:fullname>Douglas L. Jones</md:fullname>
        <md:email>dl-jones@uiuc.edu</md:email>
    </md:author>
    <md:author id="appadwed">
        <md:firstname>Swaroop</md:firstname>
        <md:surname>Appadwedula</md:surname>
        <md:fullname>Swaroop Appadwedula</md:fullname>
        <md:email>appadwed@uiuc.edu</md:email>
    </md:author>
    <md:author id="mjberry">
        <md:firstname>Matthew</md:firstname>
        <md:othername>J.</md:othername>
        <md:surname>Berry</md:surname>
        <md:fullname>Matthew Berry</md:fullname>
        <md:email>mjberry@uiuc.edu</md:email>
    </md:author>
    <md:author id="markhaun">
        <md:firstname>Mark</md:firstname>
        <md:othername>A.</md:othername>
        <md:surname>Haun</md:surname>
        <md:fullname>Mark Haun</md:fullname>
        <md:email>markhaun@uiuc.edu</md:email>
    </md:author>
    <md:author id="jake">
        <md:firstname>Jake</md:firstname>
        <md:surname>Janevitz</md:surname>
        <md:fullname>Jake Janovetz</md:fullname>
        <md:email>jake@janovetz.com</md:email>
    </md:author>
    <md:author id="kramer">
        <md:firstname>Michael</md:firstname>
        <md:othername>L.</md:othername>
        <md:surname>Kramer</md:surname>
        <md:fullname>Michael Kramer</md:fullname>
        <md:email>kramer@ifp.uiuc.edu</md:email>
    </md:author>
    <md:author id="moussa">
        <md:firstname>Dima</md:firstname>
        <md:surname>Moussa</md:surname>
        <md:fullname>Dima Moussa</md:fullname>
        <md:email>dmoussa@uiuc.edu</md:email>
    </md:author>
    <md:author id="dsachs">
        <md:firstname>Daniel</md:firstname>
        <md:othername>Grobe</md:othername>
        <md:surname>Sachs</md:surname>
        <md:fullname>Daniel Sachs</md:fullname>
        <md:email>sachs@uiuc.edu</md:email>
    </md:author>
    <md:author id="bwade">
        <md:firstname>Brian</md:firstname>
        <md:surname>Wade</md:surname>
        <md:fullname>Brian Wade</md:fullname>
        <md:email>bwade@uiuc.edu</md:email>
    </md:author>
    <md:author id="jpfrantz">
        <md:firstname>Patrick</md:firstname>
        <md:surname>Frantz</md:surname>
        <md:fullname>Patrick Frantz</md:fullname>
        <md:email>jpfrantz@rice.edu</md:email>
    </md:author>
    <md:author id="Kriengchaipruck">
        <md:firstname>Kamolchanok</md:firstname>
        <md:surname>Kriengchaipruck</md:surname>
        <md:fullname>Kamolchanok Kriengchaipruck</md:fullname>
        <md:email>Kamolchanokkrieng@hotmail.com</md:email>
    </md:author>
  </md:authorlist>
  <md:maintainerlist>
    <md:maintainer id="jpfrantz">
        <md:firstname>Patrick</md:firstname>
        <md:surname>Frantz</md:surname>
        <md:fullname>Patrick Frantz</md:fullname>
        <md:email>jpfrantz@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="Kriengchaipruck">
        <md:firstname>Kamolchanok</md:firstname>
        <md:surname>Kriengchaipruck</md:surname>
        <md:fullname>Kamolchanok Kriengchaipruck</md:fullname>
        <md:email>Kamolchanokkrieng@hotmail.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  <md:license href="http://creativecommons.org/licenses/by/1.0"/>
  <md:licensorlist>
    <md:licensor id="jpfrantz">
        <md:firstname>Patrick</md:firstname>
        <md:surname>Frantz</md:surname>
        <md:fullname>Patrick Frantz</md:fullname>
        <md:email>jpfrantz@rice.edu</md:email>
    </md:licensor>
    <md:licensor id="Kriengchaipruck">
        <md:firstname>Kamolchanok</md:firstname>
        <md:surname>Kriengchaipruck</md:surname>
        <md:fullname>Kamolchanok Kriengchaipruck</md:fullname>
        <md:email>Kamolchanokkrieng@hotmail.com</md:email>
    </md:licensor>
  </md:licensorlist>
  <md:parent-module href="http://cnx.org/content/m10024/2.19/">
    <md:content-id>m10024</md:content-id>
    <md:title>Multirate Filtering: Introduction</md:title>
    <md:authorlist>
      <md:author id="dljones">
        <md:firstname>Douglas</md:firstname>
        <md:othername>L.</md:othername>
        <md:surname>Jones</md:surname>
        <md:fullname>Douglas L. Jones</md:fullname>
        <md:email>dl-jones@uiuc.edu</md:email>
      </md:author>
      <md:author id="appadwed">
        <md:firstname>Swaroop</md:firstname>
        <md:surname>Appadwedula</md:surname>
        <md:fullname>Swaroop Appadwedula</md:fullname>
        <md:email>appadwed@uiuc.edu</md:email>
      </md:author>
      <md:author id="mjberry">
        <md:firstname>Matthew</md:firstname>
        <md:othername>J.</md:othername>
        <md:surname>Berry</md:surname>
        <md:fullname>Matthew Berry</md:fullname>
        <md:email>mjberry@uiuc.edu</md:email>
      </md:author>
      <md:author id="markhaun">
        <md:firstname>Mark</md:firstname>
        <md:othername>A.</md:othername>
        <md:surname>Haun</md:surname>
        <md:fullname>Mark Haun</md:fullname>
        <md:email>markhaun@uiuc.edu</md:email>
      </md:author>
      <md:author id="jake">
        <md:firstname>Jake</md:firstname>
        <md:surname>Janevitz</md:surname>
        <md:fullname>Jake Janovetz</md:fullname>
        <md:email>jake@janovetz.com</md:email>
      </md:author>
      <md:author id="kramer">
        <md:firstname>Michael</md:firstname>
        <md:othername>L.</md:othername>
        <md:surname>Kramer</md:surname>
        <md:fullname>Michael Kramer</md:fullname>
        <md:email>kramer@ifp.uiuc.edu</md:email>
      </md:author>
      <md:author id="moussa">
        <md:firstname>Dima</md:firstname>
        <md:surname>Moussa</md:surname>
        <md:fullname>Dima Moussa</md:fullname>
        <md:email>dmoussa@uiuc.edu</md:email>
      </md:author>
      <md:author id="dsachs">
        <md:firstname>Daniel</md:firstname>
        <md:othername>Grobe</md:othername>
        <md:surname>Sachs</md:surname>
        <md:fullname>Daniel Sachs</md:fullname>
        <md:email>sachs@uiuc.edu</md:email>
      </md:author>
      <md:author id="bwade">
        <md:firstname>Brian</md:firstname>
        <md:surname>Wade</md:surname>
        <md:fullname>Brian Wade</md:fullname>
        <md:email>bwade@uiuc.edu</md:email>
      </md:author>
    </md:authorlist>
    <md:license href="http://creativecommons.org/licenses/by/1.0"/>
    <md:licensorlist>
      <md:licensor id="dljones">
        <md:firstname>Douglas</md:firstname>
        <md:othername>L.</md:othername>
        <md:surname>Jones</md:surname>
        <md:fullname>Douglas L. Jones</md:fullname>
        <md:email>dl-jones@uiuc.edu</md:email>
      </md:licensor>
      <md:licensor id="appadwed">
        <md:firstname>Swaroop</md:firstname>
        <md:surname>Appadwedula</md:surname>
        <md:fullname>Swaroop Appadwedula</md:fullname>
        <md:email>appadwed@uiuc.edu</md:email>
      </md:licensor>
      <md:licensor id="mjberry">
        <md:firstname>Matthew</md:firstname>
        <md:othername>J.</md:othername>
        <md:surname>Berry</md:surname>
        <md:fullname>Matthew Berry</md:fullname>
        <md:email>mjberry@uiuc.edu</md:email>
      </md:licensor>
      <md:licensor id="markhaun">
        <md:firstname>Mark</md:firstname>
        <md:othername>A.</md:othername>
        <md:surname>Haun</md:surname>
        <md:fullname>Mark Haun</md:fullname>
        <md:email>markhaun@uiuc.edu</md:email>
      </md:licensor>
      <md:licensor id="jake">
        <md:firstname>Jake</md:firstname>
        <md:surname>Janevitz</md:surname>
        <md:fullname>Jake Janovetz</md:fullname>
        <md:email>jake@janovetz.com</md:email>
      </md:licensor>
      <md:licensor id="kramer">
        <md:firstname>Michael</md:firstname>
        <md:othername>L.</md:othername>
        <md:surname>Kramer</md:surname>
        <md:fullname>Michael Kramer</md:fullname>
        <md:email>kramer@ifp.uiuc.edu</md:email>
      </md:licensor>
      <md:licensor id="moussa">
        <md:firstname>Dima</md:firstname>
        <md:surname>Moussa</md:surname>
        <md:fullname>Dima Moussa</md:fullname>
        <md:email>dmoussa@uiuc.edu</md:email>
      </md:licensor>
      <md:licensor id="dsachs">
        <md:firstname>Daniel</md:firstname>
        <md:othername>Grobe</md:othername>
        <md:surname>Sachs</md:surname>
        <md:fullname>Daniel Sachs</md:fullname>
        <md:email>sachs@uiuc.edu</md:email>
      </md:licensor>
      <md:licensor id="bwade">
        <md:firstname>Brian</md:firstname>
        <md:surname>Wade</md:surname>
        <md:fullname>Brian Wade</md:fullname>
        <md:email>bwade@uiuc.edu</md:email>
      </md:licensor>
    </md:licensorlist>
  </md:parent-module>
  <md:keywordlist>
    <md:keyword>decimation</md:keyword>
    <md:keyword>downsample</md:keyword>
    <md:keyword>DSP</md:keyword>
    <md:keyword>interpolation</md:keyword>
    <md:keyword>multirate sampling</md:keyword>
    <md:keyword>multirate system</md:keyword>
    <md:keyword>sample-rate compressor</md:keyword>
    <md:keyword>sample-rate expander</md:keyword>
    <md:keyword>upsample</md:keyword>
  </md:keywordlist>
  <md:subjectlist>
    <md:subject>Science and Technology</md:subject>
  </md:subjectlist>
  <md:abstract>A sample-rate compressor removes (D-1) of every D input samples.  A sample-rate expander inserts (U-1) zeros after every input sample.  </md:abstract>
  <md:language>en</md:language>
  <!-- WARNING! The 'metadata' section is read only. Do not edit above.
       Changes to the metadata section in the source will not be saved. -->
</metadata>

<content>
    <section id="sec1">
      <title>Introduction</title>
      <para id="p1">
	ในแบบฝึกหัดนี้ คุณจะได้เรียนรู้เกี่ยวกับผลของการใช้  <term>multirate processing</term>
	 โดยจะใช้ระบบใน <link target-id="fig1"/>.  <term>sample-rate
	  compressor</term> 
	(<m:math>
	  <m:apply>
	    <m:mo>↓</m:mo>
	    <m:ci>D</m:ci>
	  </m:apply>
	</m:math>) ใน block-diagram จะทำการกำจัดค่า
	<m:math>
	  <m:apply>
	    <m:minus/>
	    <m:ci>D</m:ci>
	    <m:cn>1</m:cn>
	  </m:apply>
	</m:math> ของทุกๆ
	<m:math>
	  <m:ci>D</m:ci>
	</m:math> input samples, ในขณะที่ <term>sample-rate
	  expander</term> 
	(<m:math>
	  <m:apply>
	    <m:mo>↑</m:mo>
	    <m:ci>U</m:ci>
	  </m:apply>
	</m:math>) จะเพิ่มค่า
	<m:math>
	  <m:apply>
	    <m:minus/>
	    <m:ci>U</m:ci>
	    <m:cn>1</m:cn>
	  </m:apply>
	</m:math>ศูนย์หลังจากทุกๆ   input sample.  โดยที่มี
	compression และ expansion factors set เป็นค่าเดียวกัน(
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:ci>D</m:ci>
	    <m:ci>U</m:ci>
	  </m:apply>
	</m:math>), filters FIR 1 และ FIR 3 จะทำงานที่  sample rate
	<m:math>
	  <m:ci><m:msub> 
	      <m:mi>F</m:mi> 
	      <m:mi>s</m:mi>
	    </m:msub></m:ci> 
	</m:math>, ขณะที่ filter FIR 2 จะทำงานที่ lower rate ของ
	<m:math>
	  <m:apply>
	    <m:divide/>
	    <m:ci><m:msub>
		<m:mi>F</m:mi>
		<m:mi>s</m:mi>
	      </m:msub></m:ci>
	    <m:ci>D</m:ci>
	  </m:apply>
	</m:math>.
      </para>

      <figure id="fig1">
	<media id="id1170267682272" alt="">
          <image src="multirate_sys.png" mime-type="image/png"/>
          <image src="multirate_sys.eps" mime-type="application/postscript"/>
        </media>
	<caption>Net multirate system</caption>
      </figure>

      <para id="p2">
	ในภายหลัง คุณจะได้  implement ระบบและควบคุม compression และ
	 expansion factors ในขณะ runtime ด้วย interface ที่มีให้
	คุณจะสามารถทำการ  disable filter ตัวใดตัวหนึ่งหรือทั้งหมดเพื่อทำการ
	ศึกษผลกระทบของ  multirate.  ให้ระบุว่า FIR 1และ FIR 3 ทำอะไร
	และผลจะเป็นอย่างไรถ้าไม่มี filter ทั้งสอง
      </para>
    </section>

  </content>
</document>
