#### Synopsis

This course introduces the fundamental elements of analog and digital communication systems. The focus will be on the mathematical analysis of the signals and basic building blocks of communication systems. Performance of digital communication systems in the presence of noise will be discussed towards the end. The skills and knowledge gained from this class are essential for other advanced communication courses such as, data communications, computer network, digital communication systems, and mobile communication.

#### Announcements

- This site can be accessed via prapun.com/ecs332
- A basic RSS feed is created to track and inform updates
- Welcome to ECS332! Feel free to look around this site.
- If your midterm score is below the median, you are reqired to attend the tutorial section on Monday (Second period).
- All post-midterm announcements.

#### General Information

**Instructor**: Dr. Prapun Suksompong (prapun@siit.tu.ac.th)- Office: BKD3601-7
- Office Hour: Monday 14:40-16:00, Friday: 14:00-16:00

**Course Syllabus**[Posted @ 11PM on June 25]**Class information**

- Textbook: [C&C] A. Bruce Carlson and Paul B. Crilly, Communication Systems: An Introduction to Signals and Noise in Electrical Communication, McGraw-Hill, 2010, 5th International edition.
- Call No. TK5102.5 C3 2010. ISBN: 978-007-126332-0.
- Companion Site

- References
- [Z&T] Rodger E. Ziemer and William H. Tranter, Principles of Communications, 6th International student edition, John Wiley & Sons Ltd, 2010.
- Call No. QA273 Y384 2005. ISBN: 978-0-471-27214-4
- Student Companion Site

- [L&D] B.P. Lathi and Zhi Ding, Modern Digital and Analog Communication Systems, 4th Edition, Oxford: Oxford University Press, 2009. Call No. TK5101 L333 2009
- J. G. Proakis and M. Salehi, Communication Systems Engineering, 2nd Edition, Prentice Hall, 2002. ISBN: 0-13-095007-6
- S.S. Haykin, Communication Systems, 4th Edition, John Wiley & Sons, 2001. Call Number: TK5101 H38 2001.
- [J&S] C. R. J. Jr, W. A. Sethares, and A. G. Klein, Software Receiver Design: Build Your Own Digital Communication System in Five Easy Steps, 1st ed. Cambridge University Press, 2011.

- [J&S] C.R. Johnson and W.A. Sethares, Telecommunications Breakdown: Concepts of Communication Transmitted via Software-Defined Radio, Prentice Hall, 2003.

- [C&T] Thomas M. Cover, Joy A. Thomas, Elements of Information Theory, Second Edition, Wiley-Interscience, 2006
- MATLAB Primer, 8th edition T. A. Davis. CRC Press, 2010.
- MIT RES.6.007 Signals and Systems (1987) on Youtube

#### Handouts and Course Material

- Slides: Course Introduction[Posted @ 1:30PM on June 27]
- Part I: Section 1 (Intro. to Commu. Systems) and Section 2 (Frequency-Domain Analysis)
- Annotated version[Posted @ 1:30PM on June 27; Updated @ 9 PM on July 1; Updated again @ 3PM on July 4; Yet another update @ 3:30 PM on July 6; Last updated @ 3PM on July 11 with added explanation.]
- Slides for Section 1: Intro. to Commu. Systems [Posted @ 1:30PM on June 27]
- Slides for Section 2: Frequency-Domain Analysis [Posted @ 1:30PM on June 27; Updated @ 4PM on July 6; Updated again @ 2:30PM on July 16]
- Audio: Fourier's Song
- Quiz 1 Solution

- Part II.1: Section 3 (Modulation) and Section 4 (DSB-SC)
- Annotated version [Posted @ 3PM on July 11; Updated @ 2:30PM on July 13, @ 2:30PM on July 18, @ 2:30 PM on July 20, @ 11AM on July 25, @ 2PM on July 27, and @ 11AM on Aug 1]
- Extra notes on examples of channels and the corresponding transfer functions
- Review and Extra notes on DSB-SC
- Slides for Section 3: Modulation [Posted @ 2:30PM on July 13; Updated @ 2PM on July 18]
- Slides for Section 3: Spectrum Allocation [Posted @ 2:30PM on July 13]
- Slides for Section 4: DSB-SC
- MATLAB:
- playTone.m and playTones.m
- MoDeM Demo: Sound_ReadWAV_Plot.m You will need to provide the .wav audio file. I use audio48kHz.wav which can be found in the "dspdemos" folder (eg. "\MATLAB\R2010a\toolbox\dspblks\dspdemos")

- Quiz 2 Solution

- Part II.2: Section 5 (QAM) and Section 6 (AM) [Posted @ 4PM on July 24]
- Annotated version [Posted @ 10PM on Aug 3, Updated @ 3PM on Aug 8, and @ 3PM on Aug 10]

- Part II.3: Section 7.1 (FM and Instantaneous Frequency) [Posted @ 12PM on Aug 6]
- Annotated version [Posted @ 3PM on Aug 10]
- Extra note: "Proof" of the instantaneous frequency formula
- FM Demo: FM_Demo_playTones.mand addTone.m
- Slides for Section 7.1
- Extra Examples: Q8-10 on 2011 Midterm Exam

- Information regarding the
**midterm exam**- 16 Aug 2012 TIME 13:30 - 16:30
- ROOM BKD 2401 (Same as ECS315)
- Closed book. Closed notes. No cheat/study sheet.
- Basic calculators, e.g. FX-991MS, are permitted
- 9 pages + 1 cover page
- 9 quenstions + 1 extra credit question
- Cover all the materials that we discussed in class and practice in the HWs.
- Approximate score distribution based on topics:
- Section 2 15%, Section 3 10%, Section 4 40%, Section 5 5%, Section 6 10%, Section 7 20%.

- I could ask something that I have never defined in class but, in such a case, I will give you the exact definition on the exam itself.
- These notes are provided for your studying pleasure....
- All commented notes combined in one pdf file
- Uncommented version. (The links inside the document should works. References are also available at the end.)

- All slides combined in one pdf file
- Solutions for HW 1-3

- All commented notes combined in one pdf file

- Approximate score distribution based on topics:
- 2011 Midterm Exam
- Solutions to most parts of the exam are scattered as HW solutions and examples.
- Ignore Q9b, 10b, and 11. The needed topics havn't been discussed this year and hence won't be on the exam.

- Part II.3: Section 7.2: BW of FM Signal
- Written Notes [Posted @ 5PM on Aug 22]
- Slides for Section 7.2 [Posted @ 5PM on Aug 22]

- Part III
- Section 8: Sampling and Aliasing [Posted @ 4PM on Aug 24; Updated @ 1:30 PM on Aug 29, @ 5:30 PM on Aug 31]
- Slides for Section 8. [Posted @ 4PM on Aug 24; Updated @ 1:30 PM on Aug 29]
- MATLAB: Demo of the reconstruction equation.
- References: [C&C] Sec 6.1, [Z&T] Sec 2.8, [L&D] Sec 6.1

- Section 9: Analog Pulse Modulation and Pulse Shaping [Posted @ 11AM on Sep 5; Updated @ 4PM on Sep 7 and @ 11:20AM on Sep 12]
- Slides for Section 9 [Posted @ 11AM on Sep 5; Updated @ 11:30AM on Sep 12]
- References: [C&C] Sec 11.3, [Z&T] Sec 3.5 and 4.4, [L&D] Sec 6.1.5, 7.3.1 and 7.3.2

- Section 10: Introduction to Digital Communications [Posted @ 4PM on Sep 14; Updated @ 5PM on Sep 19]
- Slides for Section 10 [Posted @ 4PM on Sep 14; Updated @ 5PM on Sep 19]
- Reference: [C&C] Sec 12.1.

- Section 8: Sampling and Aliasing [Posted @ 4PM on Aug 24; Updated @ 1:30 PM on Aug 29, @ 5:30 PM on Aug 31]
- Part IV
- Section 11: Source Coding
- 11.1 General Concepts [Posted @ 9AM on Sep 24; Updated @ 11AM on Sep 26]
- 11.2 Huffman Coding [Posted @ 5PM on Sep 28]
- 11.3 Source Extension [Posted @ 5PM on Sep 28]
- 11.4 Entropy [Posted @ 2PM on Oct 3]
- Reference: [C&C] Sec 16.1
- Slides for Section 11[Posted @ 11AM on Sep 26; Updated @ 5PM on Sep 28 and @9PM on Sep 30]

- Section 12: Digital Communication in the Presence of Noise

- Digital Communication in the Presence of Noise [Posted @ 3PM on Oct 5; Updated @ 5PM on Oct 10]
- Slides for Section 12 [Posted @ 3PM on Oct 5; Updated @ 5PM on Oct 10]

- Section 13: Detector and Channel Coding
- 13.1 Detector and MAP Detector [Posted @ 5PM on Oct 10]
- 13.2 Channel Codes [Posted @ 2PM on Oct 12]

- Information regarding the
**final exam**- 09:00 - 12:00; 15 Oct 2012; BKD 3506
- Closed book. Closed notes.
- 11 pages + 1 cover page
- 14 quenstions

- No cheat sheet. However, a formula sheet will be provided. See this instruction.
- Here is your formula sheet.

- You will need a calculator. Basic calculators, e.g. FX-991MS, are permitted.
- Comprehensive with strong focus on the post-midterm lectures and HWs. Cover all the materials that we discussed in class and practice in the HWs.
- Approximate score distribution based on topics:
- Section 7.2 5%, Section 8 20%, Section 9 20%, Section 11 35%, Section 10&12 10%, Section 13 10%.

- I could ask something that I have never defined in class but, in such a case, I will give you the exact definition on the exam itself.
- These notes are provided for your studying pleasure....
- All MS Onenote notes combined in one pdf file
- All slides combined in one pdf file
- Solutions for HW 4-7

- Approximate score distribution based on topics:

#### Problem Set

- HW 1 (Due: July 13)
- Solution [Posted @ 4PM on July 17]

- HW 2 (Due: Aug 1)
- MATLAB: plotspec.m, specrect.m, specsquare.m, SymbFourier.m
- Solution [Posted @ 8:30PM on Aug 3]

- HW3 (Due: Aug 8 and Aug 10)
- Correction: For "Problem 2" in the HW, instead of Question 5 from [M2011], you may choose to do Question 12. (Question 12 was the intended question.)
- 2011 Midterm Exam
- MATLAB: FTofManyShiftedRect.m, HW3_Q1.m
- Solution for Q1-Q3
- Fixed: The previous version of the solution for Q1 used different signal names. Now, they are changed to the correct names. The answers are the same.

- Solution for Q4-Q5

- Self-Evaluation (Due: Aug 24)
- HW4 (Due: Sep 7)
- Solution [Updated @3:30PM on Sep 26]
- Q3c.ii was graded.

- HW5 (Due: Sep 26)
- Solution
- Q5e was graded.

- HW6 (Due: Oct 5)
- Solution
- Q3 was graded.

- HW7 (Free) [Updated @ 5:30PM on Oct 10]
- Self-Evaluation (Due: Oct 15)

#### Calendar

#### Reading Assignment

#### Misc. Links

- Paper: B.L. Burrows and D.J. Colwell, The Fourier transform of the unit step function, International Journal of Mathematical Education in Science and Technology, Vol. 21, Iss. 4, 2006

- Article: IEEE 802.11ac—Wi-Fi for the Mobile and Video Generation

- C.E. Shannon
- Paper: C.E. Shannon, "A Mathematical Theory of Communication",
*Bell System Technical Journal*, vol. 27, pp. 379–423, 623-656, July, October, 1948 - Video: Claude Shannon - Father of the Information Age
- The Significance of Shannon's Work by Aaron Wyner

- Paper: C.E. Shannon, "A Mathematical Theory of Communication",
- Paper: Sergio Verdü (2000). "Fifty years of Shannon theory"
- Video: Demo from MIT (1987) showing introduction to function generator, spectrum analyzer (with sampling and FFT), spectrum of square and triangular signals, time and frequency scaling, spectrum of speech, and amplitude modulation.
- Video: Demo of Amplitude Modulation (AM) using MATLAB Simulink.
- Article: The Compact Disc Story gives background information on the many technical decisions made, including the choice of the sampling frequency, playing time, and disc diameter.
- Article: Articles about source coding: PC World article, US Patent 5,533,051, the comp.compression FAQ.
- Article: Jim Giles, Traffic jam: the coming cellphone crunch, New Scientist, November, 2010
- 20 Questions
- Twenty Questions online game
- Twenty Questions (1949): Players were allowed to ask up to twenty questions about a mystery object in their quest to identify it.

- A Brief History of Communications: IEEE Communications Society - a fifty-year foundation for the future
- ประวัติย่อ "การสื่อสารโลก": ห้าสิบปีชมรมไฟฟ้าสื่อสาร--รากฐานสู่อนาคต

- Thai Telecommunications Encyclopedia (สารานุกรม โทรคมนาคมไทย)
- IEEE Thailand Section
- Google Calculator (Cheat Sheet)
- Learn the Greek Alphabet in less than 10 minutes
- The Greek Alphabet Song