ECE 166 - Fall2015

Microwave Systems and Circuits

ECE265A Announcements

01-06: ECE265A material is available on this page (for now).

ECE265A Lectures

ECE265A Course Info

ECE265A Communication Circuits and Systems I
Lectures: WLH 2205 - 8:00 am- 9:20 am - Tuesday & Thursday
Instructor: Prof. Walid Ali-Ahmad
               Office number: Jacobs Hall - 5607
               Office hours: Tuesdays 5:30-7:00pm in Room 5607
TAs (TA Office Hours are in Jacobs Hall, 4506):
               Ajaypat Jain (Office Hrs: Mon 10.00am-12.00pm)
               Amitoj Singh (Office Hrs: Wed 10.00am-12.00pm)

Midterm             TBD (date and location)
Final exam         Thursday 3/17/2016 8:00 am - 11:00 am, (location to be determined)

Latest Announcements

12-13: Final Exam Statistics: Average=61.5; Median=64; Standard-Deviation=21.6, Max-Grade=99, Min-Grade=7.
Final Course Grade Statistics: Average=65.0; Median=65.0; Standard-Deviation=19, Max-Grade=100, Min-Grade=11.
Grades have been filled on e-grades.

12-06: The final exam room for ECE 166 is at WLH 2005 (3:00 pm - 6:00 pm)
12-05: Homework #6 solutions are posted.
12-01: Homework #5 solutions are posted. For those having trouble with ADS, e-mail the TAs for help.
11-30: The make-up session is now at 5pm in 4309-Jacobs Hall
11-30: Prof. Rebeiz is on travel on Tuesday, and Dr. M. Sayginer will give the lecture on linearity and intermodulation products. No office hours on Tuesday.
11-29: The final exam rules are just like the midterm (closed book and notes, one piece of paper with personal notes - two sides, bring lots of Smith charts and blue book, nothing in pencil allowed, same type of calculator)
11-28: Prof. Rebeiz will have final exam OH on Monday Dec. 7 at 10-12pm in his office.
11-27: The second review session will be on Monday at 3-4pm in 4309-Jacobs Hall. We will also have lab next week. Homework #6 is posted.
11-25: Today's make-up discussion session will be held in 4309-Jacob's Hall (next to the computer lab) at 3-4pm
11-24: Homework #5 due date is postponed to Wednesday office hour
11-23: Please save your work periodically. We will be closing ADS sessions that are idle too long, and do not want you to lose your work!
11-22: For Homework #5 Problem 2, Part 2c) please simulate the amplitude/phase response from 6-24 GHz.
11-20: Discussion and OH are cancelled for today.
11-20: There will be no lab next week (11/23-11/25)
11-18: ADS access should also work on ieng6-240 through ieng6-249 so you do not have to ssh into ieng6-640.
11-17: We will cover an entire amplifier design flow on Friday. Very much like last year homework. We will have viewgraphs and show you how to go through it, step by step.
11-17: Additional notes for RF switches has been posted.
11-16: ADS access has been granted to your ACMS accounts. See the instructions for access below. You may have to type "prep ee166f" if "ee166" does not work. 
11-16: We will be studying Amplifier design (see lecture of the same name, and Lecture 16). Please bring with you to the class. ALSO, bring lecture 15 and NF/IP3 example.
11-16: Homework 5 has been posted
11-12: There will be no recitation this Friday (11/13)
11-12: Prof. Rebeiz will be in his office at 2pm today.
11-10: There will be no lab next week except the Wednesday sessions. We will return the midterms to you by November 20.
11-07: Homework 4 is due on Tuesday November 17
11-07: Homework 4 is posted. Lab 4 is posted.
11-06: The homework will be placed on the web by tomorrow.
11-06: There is a discussion session today. We will have lab next week, and it will be on Noise and Noise Figure. Office hours today are 1-2 pm.
11-05: Prof. Rebeiz is quite sick today and will not hold office hours. The class will be given by Dr. M. Sayginer.
11-03: Midterm solutions are posted.
11-02: Homework 3 solutions are posted.
11-02: Midterm is in Mandeville Auditorium, Tuesday Nov. 3. 2015 at 330-450pm. Google: “mandeville auditorium ucsd map”. ARRIVE ON TIME OR EVEN BEFORE TIME.
ECE166 Midterm: Bring blue book (2), Smith charts (6), and a single sheet of paper (1) with written material related to the course (double sided). Closed books and closed notes. Midterm to be written in blue or black ink only. Pencil on the Smith Chart allowed but the final answer must be in Ink. Bring rulers and a compass if you wish for the Smith Chart. Calculators with scientific function allowed such as TI 31,32,33, 34, 35, but programmable or plotting calculators are not allowed (“SAT” approved calculator also allowed). No mobile phones or pads allowed.
Bring more than 6 Smith charts since you may use some for scratch

10-28: Please look at the notes on Noise and Noise Figure before coming to class on Thursday. This is lecture 14.
          There is no lab next week. It is midterm week.
10-26: Homework 3 is due on MONDAY November 2 at 1-3pm in the OH for Haopei.
10-25: Prof. Rebeiz will be on travel on Tuesday October 27 and will not hold OH. The lecture will be given by Dr. M. Sayginer, and it will be on 90 deg. couplers (hybrids) and 0/180 deg couplers (rat-race).
10-25: We will have a lab this week - October 26-29 - and then no lab next week - November 2-5
10-22: An updated solution for Homework 2 is posted.
10-21: Homework 3 is posted, and so are the solutions for Homework 2.
10-19: Check - an amazing website on everything that you need for microwaves. It is now managed by IEEE and with high quality material.
10-19: We do have lab this week!
10-16: Check Alex, was one of the students in ECE166 and now has his own website on how to use the Smith Chart. Check Lectures 3 and 4 for series and shunt addition on the Smith Chart. Sign up on his email list if you want any updates on new videos related to microwave circuit design from Alex.
10-11: One can see the forward and backward waves and the standing wave in a short circuit: Click here
10-11: Hwk 2 posted. This is the final version.
10-11: Lab 1 posted. Arrive on time at EBU1-1; Room 4511. Attendance will be taken. Arrive in your own section unless cleared by the professor.
10-09: Homework 2 is posted, as well as the Homework 1 solutions
10-07: For Thursday October 8, Prof. Rebeiz will hold office hours from 1:30 to 2:30 pm (not 3pm) due to a conflict with a prior-set meeting.
10-05: There is no lab this week
09-30: The discussion section has been moved to CSB 002
09-30: Midterm is on Tuesday Nov. 3, 2015 at 3:30-4:50 pm. Rooms to be announced.
09-30: The office hours have been updated: M/W/F OH: Room 5706 (TA room), Tu/Th OH: Room 5806 (Prof. Rebeiz office)
09-30: Updated Hwk1 put on the web (small mistake in Problem 4). Please use this version.
09-30: Homework 1 is posted. It is below (scroll down)
09-29: We will have a discussion on Friday and we are searching for a room which is large enough to accommodate the class.
09-29: There is no lab in the week of September 28
09-28: Class has been moved to CSB 001 (Cognitive Science Building) - See you soon.
09-28: We have not heard from UCSD yet, so please check tomorrow around noon for the class-room location
09-25: We are searching for a room to accommodate the entire class, and we will open extra lab sessions next week. Please check on Monday for room information.
09-24: Welcome to ECE 166 - Fall 2015.



Course Information


Instructor:    Prof. Gabriel M. Rebeiz

                   Jacobs Hall (formerly EBU-1); Room 5608

                   Tel: 858-534-8001



Textbook:    Not required but recommended: Microwave Engineering, Pozar, 3rd Edn, Wiley, 2004 (or 4th Edn, 2012)


Other books:    Microwave and RF Design - A Systems Approach, Steer, SciTech, 2010

                      Radio Frequency and Microwave Electronics Illustrated, Radmanesh, Prentice Hall, 2001

                      Fundamentals of Applied Electromagnetics, Ulaby, Prentice Hall, 2010


Lecture Notes:    Download on this website.  Lecture notes are required.


Lectures:        Tuesdays and Thursdays, 3:30 pm - 4:50 pm, Peterson Hall 103 Cognitive Science Building 001


Recitations:    Friday 3:00 pm - 3:50 pm, Warren Lecture Hall 2111 Cognitive Science Building 002


Teaching Assistants: Timothy Lee (

                               Haopei Deng (


Office Hours:    Prof. Rebeiz office hours are in Room 5608 Jacobs Hall

                       Office Hours: 1:30 - 3pm, Tuesdays and Thursdays


                       TA Office Hours: Haopei - Mon 1:00 pm to 3:00 pm, Room 5706 Jacobs Hall

                                                Tim - Wed 1:00 pm to 3:00 pm, Room 5706 Jacobs Hall

                                                Haopei/Tim - Fri 1:30 pm to 2:30 pm, Room 5706 Jacobs Hall


Lab Sections:    Room 4511  Jacobs Hall

                        - Mondays       4:00 pm to 5:00 pm

                        - Mondays       5:00 pm to 6:00 pm

                        - Tuesdays      5:00 pm to 6:00 pm

                        - Wednesdays  4:00 pm to 5:00 pm

                        - Wednesdays  5:00 pm to 6:00 pm

                        - Thursdays     5:00 pm to 6:00 pm

Lab commencement date: TBD (will  be announced in classes in due time)


Agilent ADS software labs will also be assigned. We will show you how to use it in time.


Homework:    About 6-7 homeworks will be assigned.

                    Homework is due at the beginning of the lecture (not at the end).

                    Homework solutions will be posted about 12 hours after the due date.

                    Late homeworks will not be accepted except by permission from Prof. Rebeiz


Grading:    10%    Homework

                 5%     Lab Attendance 

                35%    Mid-term       Tuesday 11/03/2015 3:30 pm - 4:50 pm, Location TBD

                50%    Final Exam     Monday 12/07/2015  3:00 pm - 6:00 pm, Location WLH 2005


                All exams are open notes and open books.  Bring your class notes and any cheat-sheets that you wish to write, and any book that you wish.

                However, I do not recommend that you bring books with you.  You will not use them.



Decent math background in differential equations and complex numbers.

Preliminary Circuits (ECE 45/65 or equivalent)

Preliminary EM (Physics and ECE 107)


Thoughts for the homework:

The homework will be graded very generally.  That is, we will assign 10, 8, 6, 4, 2, and 0 as grades with the following guidelines: 10 (Well done to mostly done), 8 (few things are lacking), 6 (about half of it is done), 4 (about half is done), 2 (most things are not done) and 0 (lacking or homework is not given).  Late homework are not allowed unless by permission from instructor by email.


Reading Recommendation

Unless explicitly indicated, chapter indices applies for both 3rd and 4th editions

Chapter 2:  2.1, 2.3, 2.4, 2.5, 2.6
Chapter 3: 3.5, 3.7, 3.8 for Coaxial, Stripline, and Microstrip lines
Chapter 10:  3rd Edn: 10.1, 10.2;
                   4th Edn: 10.1, 10.3
Chapter 11:  3rd Edn: 11.1 to 11.4 (up to page 565), Amplifier design
                   4th Edn: 12.1 to 12.4 (up to page 588)
S-parameters: 4.2, 4.3, 4.4
Matching: 5.1-5.7
Couplers: 7.1, 7.2, 7.3, 7.5, 7.6, 7.8



Lecture 1

Lecture 2

Lecture 3

Lecture 4

Lecture 5

Lecture 6

Lecture 7

Lecture 8

Lecture 9

Lecture 10

Lecture 11

Lecture 12  Very small couplers

RF/Microwave Systems    Example 1, Example 2, Example 3

Lecture 14

Lecture 15

Amplifier Design

Lecture 16

NF/IP3 example

RF Switches




Additional Materials

Smith Chart

Smith Chart  (ZY chart)

Smith Chart (with unit-Conductance circle)

Why 50 Ohms?

dB and Nepers (from Pozar)

US Frequency allocation chart

Matlab Tutorial  (interactive introduction to Matlab)

ATF-34143 transistor: Datasheet; S2P files:  bias 2 V 20 mA, bias 3 V 20 mA, bias 3 V 40 mA, bias 4 V 40 mA, bias 4V 60 mA; PSpice model; ADS model

AT-41486 transistor: Datasheet; S2P files: bias 8 V 10 mA, bias 8 V 25 mA; PSpice model; ADS model

Microwave Systems: X & Ku Band transceivers; Cell phone/WLAN; RFIC DBS chip

SD Microwave:    Presentation given at UCSD by the San Diego Microwave Group. For more info, pls contact Kerry Banke, and see their website.

Network Analyzer Operation and Calibration



Fall 2015

Homework 1    Solutions

Homework 2    Solutions    Problem 1 GIF

Homework 3    Solutions

Homework 4    Solutions

Homework 5    Solutions    Solutions(b)

Homework 6    Solutions

Midterm    Solutions

Final         Solutions
Laboratory 4

Helpful Amplifier Tutorial (2014)


Fall 2014

Homework 1    Solutions

Homework 2    Solutions    Problem 1 GIF

Homework 3    Solutions

Homework 3b  Solutions

Homework 4    Solutions

Homework 5    Solutions

Homework 6    Solutions

Homework 7    Solutions

Midterm Cheat Sheet

Midterm    Solutions

Final         Solutions

Laboratory 1

Laboratory 2
Laboratory 3

Discussion 1

Discussion 2

Discussion 3

Discussion 4

Discussion 5

Fall 2013 (by John Groe)

Lecture Notes 1

Lecture Notes 2


Homework 1

Homework 2

Homework 3

Homework 4

Homework 5


Final Exam

Fall 2012

Homework 1    Solutions

Homework 2    Solutions

Homework 3    Solutions

Homework 4    Solutions 

Homework 5    Solutions

Homework 6    Solutions


Laboratory 1

Laboratory 2

Laboratory 3

Laboratory 4

Laboratory 5


Discussions (10-20)


Midterm    Solutions

Final Exam    Solutions



Fall 2011

Homework 1    Solutions

Homework 2    Solutions

Homework 3    Solutions

Homework 4    Solutions 

Homework 5    Solutions

Homework 6    Solutions

Laboratory 1

Laboratory 2

Laboratory 3

Laboratory 4

Laboratory 5

Laboratory 6

Midterm    Solutions


Fall 2010

Homework 1    Solutions

Homework 2    Solutions

Homework 3    Solutions

Homework 4    Solutions

Fall 2009

Homework 1    Solutions

Homework 2    Solutions

Homework 3    Solutions

Homework 4    Solutions

Fall 2007

Homework 1    Solutions

Homework 2    Solutions

Homework 3    Solutions

Homework 4    Solutions

Midterm    Solutions
Review materials before Fall 2006
- Spring 2006 
- 2004
- 2002
 - 2001
ADS Tutorials/Resources
- Getting started with ADS (ADS2011 and later):
Getting Started Guide (for new users)
Online Quick Start Video (for existing users of ADS2009 and earlier)
- Using ADS - additional instructions/tutorials:
ADS examples (.wav files): example 1, example 2, example 3

ADS stability tutorial

ADS Commands

ADS Bilateral Conjugate Match Example


- More advanced features/usage (optional):
This is NOT REQUIRED for your HWs.
Click here to be directed to Keysight (formerly Agilent) site to download ADS Circuit Design Cookbook (registration required)

Academic dishonesty


Cheating, plagiarism and any other form of academic dishonesty will not be tolerated. This includes cheating on exams, using resources that are not allowed, copying lab reports or results, copying all or part of another group’s simulations or bread boards, lying to tutors/TAs or instructor, aiding in plagiarism or cheating, or any form of dishonesty. You may help each other with the homework (it does not need to be handed in). On the labs, you may consult each other. For example, you can ask how someone else went about solving the problem. You should not copy their solution or allow your solution to be copied. Once you have solved a problem yourself, you may compare and discuss. In short, you should do the work yourself and you can ask assistance from others. The TAs and tutors give you the same level of support (and this is a good yard stick for you to know what is allowed in terms of helping and what is not). Never claim work/ideas to be yours if they are not, and never assist others in cheating (e.g. by offering them your solutions). If you are not sure of what is allowed, ask the instructor. Wrong assumptions are never an excuse. There is a zero tolerance policy. Cheating on labs results on a zero credit on all labs; cheating on quizzes, the final exam or multiple labs will result in a possible F in the class. All cases of cheating will be reported to the department and your college. You risk possible suspension from UCSD.