ECE 5800 System Modeling and Simulation

Spring 2019
version 15 April 2019

The online version of this syllabus at http://homepages.wmich.edu/~miller/ECE5800.html has hyperlinks and will be updated as needed.

Instructor
Dr. Damon A. Miller, Associate Professor of Electrical and Computer Engineering, Western Michigan University, College of Engineering and Applied Sciences, Floyd Hall, Room A-240, 269.276.3158, 269.276.3151 (fax),
damon.miller@wmich.edu, www.homepages.wmich.edu/~miller/.

Office Hours
Guaranteed office hours are posted on Dr. Miller’s door and at
http://homepages.wmich.edu/~miller/. Please respect my office hours.  Other times are available by appointment.

Description (WMU Graduate Catalog)
ECE 5800 System Modeling and Simulation, 3 hrs.
This is a first course in the principles of mathematical modeling of stochastic and deterministic systems. It will focus on analytical models, mathematical rigor and computer simulation of problems. Students will simulate a number of systems using appropriate stochastic and deterministic models using a computer.
Prerequisites:  ECE graduate standing.

Note: Instructor will consider students outside ECE based on their background.

Acknowledgment
Dr. Frank Severance provided extensive guidance and example materials to the course instructor based on previous offerings of this course. Adapted/adopted in part from syllabi by J. Gesink and J. Kelemen.

 

Textbook and Materials

Required:

1.      Frank L. Severance, System Modeling and Simulation: An Introduction, John Wiley & Sons, New York, 2001.

2.      Press et al., Numerical Recipes in C, Cambridge University Press, 2nd ed., 1992. Available at http://apps.nrbook.com/c/index.html. Versions of this book for other computer languages are acceptable, but this edition will be used in class. Recommend a paper copy of this invaluable reference.

3.      The MathWorks, MATLAB, any reasonably recent version will suffice.  The CAE center provides access to this software; however, students are strongly encouraged to have access on their personal computer.

4.      J. A. Cadzow and H. F. Van Landingham, Signals, Systems, and Transforms, Prentice-Hall, Inc., New Jersey, 1985.

5.      LTspice, Linear Technology SPICE Simulator, available at http://www.linear.com/designtools/software/

References:

Texts:

1.      J. A. Cadzow and H. F. Van Landingham, Signals, Systems, and Transforms, Prentice-Hall, Inc., New Jersey, 1985.

2.      R. C. Dorf and R. M. Bishop, Modern Control Systems, Addison Wesley, 8th ed., 1998.

3.      M. J. Maron, Numerical Analysis A Practical Approach, Macmillan, New York, 1982.

4.      G. R. Cooper and C. D. McGillem, Probabilistic Methods of Signal and System Analysis, 2nd ed., Saunders College Publishing and Harcourt Brace Jovanovich College Publishers, 1971.

5.      S. Haykin, Communication Systems, 4th ed., Wiley, 2001.

6.      Sergio Franco, Design with Operational Amplifiers and Analog Integrated Circuits, 3rd edition, McGraw-Hill, New York, 2002. Errata are available at http://online.sfsu.edu/sfranco/BookOpamp/OpampsErrata.pdf

Online:

1.      S. Khan, Pearson's chi square test (goodness of fit).

2.      J, Mellor-Crummey, Testing Random Number Generators, available at https://www.cs.rice.edu/~johnmc/comp528/lecture-notes/Lecture22.pdf. Inspired some examples used in class.

Course Policies

Academic Honesty

General:

“Students are responsible for making themselves aware of and understanding the University policies and procedures that pertain to Academic Honesty. These policies include cheating, fabrication, falsification and forgery, multiple submission, plagiarism, complicity and computer misuse. The academic policies addressing Student Rights and Responsibilities can be found in the Undergraduate Catalog at [http://catalog.wmich.edu/index.php] and the Graduate Catalog at [http://catalog.wmich.edu/index.php]. If there is reason to believe you have been involved in academic dishonesty, you will be referred to the Office of Student Conduct. You will be given the opportunity to review the charge(s) and if you believe you are not responsible, you will have the opportunity for a hearing. You should consult with your instructor if you are uncertain about an issue of academic honesty prior to the submission of an assignment or test.

Students and instructors are responsible for making themselves aware of and abiding by the “Western Michigan University Sexual and Gender-Based Harassment and Violence, Intimate Partner Violence, and Stalking Policy and Procedures” related to prohibited sexual misconduct under Title IX, the Clery Act and the Violence Against Women Act (VAWA) and Campus Safe. Under this policy, responsible employees (including instructors) are required to report claims of sexual misconduct to the Title IX Coordinator or designee (located in the Office of Institutional Equity). Responsible employees are not confidential resources. For a complete list of resources and more information about the policy see www.wmich.edu/sexualmisconduct.

In addition, students are encouraged to access the Code of Conduct, as well as resources and general academic policies on such issues as diversity, religious observance, and student disabilities:

·        Office of Student Conduct www.wmich.edu/conduct

·        Division of Student Affairs www.wmich.edu/students/diversity

·        University Relations Office http://www.wmich.edu/registrar/calendars/interfaith

·        Disability Services for Students www.wmich.edu/disabilityservices

— provided by the WMU Faculty Senate Professional Concerns Committee

Plagiarism:

For an in-depth exploration of plagiarism, see  http://libguides.wmich.edu/plagiarism

Grading Basis

1.      Projects (80%) will be assigned on a regular basis.  LATE PROJECTS WILL NOT BE ACCEPTED AND ARE DUE AT THE BEGINNING OF CLASS. All projects are to be completed individually.  Projects may include/consist of a series of homework style problems. Use the prescribed homework format for those problems. Be sure to follow the guidelines for computer assignments.

2.      Quizzes (20%) on course material e.g. reading assignments may be announced or unannounced.  If no quizzes are conducted the grade will be based solely on projects.

OUTSTANDING WORK might earn extra credit.

 

Scale: 0-60 E | 60-65 D | 65-70 DC | 70-75 C | 75-80 CB | 80-85 B | 85-90 BA | 90-100 A |

HOMEWORK contributes to the project grade category. Each homework problem must be worked on separate page(s).  LATE HOMEWORK will not be accepted, except under extraordinary circumstances. Homework is to be completed individually.

 

Homework should normally be done on 8 1/2'' by 11'' sheets. “Engineer's Pad” sheets are preferred.  Solutions must be done in a neat, structured, logical, and orderly manner with frequent brief notations enabling the grader to readily verify the author's source of information, steps taken, sources of formulas, equations, and methods used. USE THE PARTIAL CHECK LIST FOR SUBMITTED HOMEWORK BELOW.  Papers failing to meet these guidelines may not be graded and may be returned, with or without an opportunity for resubmission with a penalty.

 

PARTIAL CHECK LIST FOR SUBMITTED HOMEWORK

 

1.      Each problem must include: (a) author's name, (b) name/title of the assignment, and (c) date of completion.

2.      Use only one side of the paper and include a brief and concise statement of the problem prior to its solution. Begin each problem on a new page.

3.      Number the pages and DOUBLE SPACE the text.

4.      Staple each problem in the upper left corner as needed.

5.      Entitle graphs, label and include axes, include key symbols for multiple curve graphs, and give brief notes of explanation where appropriate.

6.      Briefly but clearly annotate your document in a way which will provide the document reader with information such as

a.      which part of the assignment is this?

b.      what is being done and why?

c.      how was it done and what are the results?

d.      how was this equation obtained and how was it used?

e.      sample calculations and definitions of symbols/parameters where appropriate; and

f.       BOX AND LABEL ANSWERS.

 

COMPUTER ASSIGNMENTS must be implemented via MATLAB®.  Computer assignments must include

1.      a problem statement;

2.      description of techniques utilized including pseudo-code (as in “listings” in the text);

3.      results;

4.      discussion of results; and

5.      computer code listing(s) attached as an appendix. Computer code must include explanatory comments. Some of those comments should relate computer code to the pseudo-code of item 2 above.  Use modular programming.Tentative Schedule
A tentative schedule for the semester was provided in class; the online schedule will be frequently updated as the semester progresses.

 

#

date

topic

(chapter/section numbers/titles are from the text)

assignment

CA=computer assignment

WEEK 1

 1 

1/7

Course introduction
Student programming skills assessment

Insure access to MATLAB and LTspice

Explore the website
http://libguides.wmich.edu/plagiarism

Be able to define plagiarism and how to avoid it.

 

Read CH 1 [Severance]

 2 

1/9

Digital computers and solving modeling problems
Attributes of “real” and “engineered” systems
Linear system test
CH 1 Describing Systems
What is a system?
System states

Project 1:  DUE 1/25

CH 1:  1.1, 1.2 parts a and b (first “=’ in part b should be ‘+’), 1.4, 1.5 (extra credit), 1.8 (CA), 1.11 (CA) 

 3 

1/11

System states
Open and closed-loop control

Continuous vs. discrete-time models
Time-driven vs event-driven models
Differential and difference equation based models
Sampled systems
system analysis vs. design vs. control

Discuss Project 1

Read CH 2 [Severance]


WEEK 2

 4 

1/14

CH 2 Dynamical Systems
2.1 Initial Value Problems

Euler’s Method
Effect of stepsize h

Taylor’s Method
Runge-Kutta Method

 

 5 

1/16

“Big O” notation [Maron]

7.1C ROUNDOFF VERSUS TRUNCATION ERROR: THE STEPSIZE DILEMMA [Maron]

2.2 Higher-Order Systems

Discuss Project 2

Project 2: DUE 2/6
CH 2:
Investigation of Stepsize Effects on Numerical Solutions of a Differential Equation

 6 

1/18

2.3 Autonomous Dynamic Systems

Linear system natural and forced response
Example nonlinear models

 

WEEK 3

 

1/21

NO CLASS: MLK DAY

 

 

1/23

NO CLASS: WEATHER

 

 7 

1/25

Finding an effective stepsize
Skim 2.4 Multiple-Time Based Systems
Discuss Project 3

Project #1 DUE
Project 3: DUE 2/11
CH 2: 2.1: Obtain an analytical (hand) solution and compare results for the five states to numeric estimates obtained from MATLAB ode45() (use α(1)=0)(CA). Example 2.14: verify the results of Figure 2.24. “Classical theory” refers to the solution of the ODE driven by chronological time (CA).

 

Read CH 3 [Severance]

WEEK 4

 

1/28

NO CLASS: WEATHER

 

 

1/30

NO CLASS: WEATHER

 

 8 

2/1

Project 2 questions
CH 7. Random Numbers [Press et al.]

CH 3 Stochastic Generators
CH 3.1 Uniformly Distributed Random Numbers

CH 3.2 Statistical Properties of U[0,1] Generators

Project 4:  DUE 2/18

CH 3: 3.1 (CA), 3.3 (CA)(use MATLAB rand), 3.5 (CA) )(use MATLAB rand), 3.9 (CA)( MATLAB rand)

NOTE:  Use MATLAB function rng(10) to seed rand() at the beginning of each solution so results can be verified

WEEK 5

 9 

2/4

Project 2 questions
CH 3.2 Statistical Properties of U[0,1] Generators

CH 3.3 Generation of Non-Uniform Random Variates

 

10 

2/6

CH 3 Stochastic Generators

Discuss Project 4

Project #2 DUE

11 

2/8

Revisit Chi-Square Distribution
Linear systems/Transfer functions/Frequency spectrum

 

WEEK 6

12 

2/11

Discuss Project 3
Background material for Project 5:
RMS, Fourier Transform, FFT

Project #3 DUE
Project 5: DUE 2/25
RMS and PSD Estimation with The FFT

13 

2/13

NO CLASS: WEATHER

 

14 

2/15

Background material for Project 5:

Power Spectral Density

 

WEEK 7

15 

2/18

3.5 Random Processes

Project #4 DUE

 

 

16 

2/20

3.6 Characterizing Random Processes

Discuss Project 6

Latest Date to Submit Project 3

Project 6: DUE 3/11

Statistical Measures of Random Processes

17 

2/22

Discuss graded Project 1

 

WEEK 8

18 

2/25

Discuss graded Project 2

Project #5 Draft DUE

 

19 

2/27

Project Questions

 

 

3/1

NO CLASS: SPIRIT DAY

 

WEEK 9

20 

3/11

Discuss Project 5
Discuss graded Project 3

Project #6 DUE

21 

3/13

3.7 Generating Random Processes

3.8 Random Walks

 

 

22 

3/15

Discuss Project 6

Latest Date to Resubmit Projects 1 and 2

WEEK 10

23 

3/18

Project 7 Intro
Power Spectral Density


Latest Date to Resubmit Project 3
Project 7: Pulse Code Modulation Communication System Bit Error Rate:
Provide a BER curve for the communication system described in class.
DUE 4/1?

24 

3/20

Power Spectral Density
3.9 White Noise
Project 7 BER derivation

Project #5 DUE

 

3/22

NO CLASS: Instructor representing WMU at off-campus event

 

WEEK 11

25 

3/25

Project 7 Questions
3.9 White Noise

ADD 3.38 to Project 7

26 

3/27

3.9 White Noise

Project 7 Pseudocode

Read CH 4 [Severance]

27 

3/29

4.1 Sampled Systems
4.2 Spatial Systems
Project 7 Working Session

 

WEEK 12

28 

4/1

Project 7 questions

4.2 Spatial Systems

4.3 Finite-Difference Forumulae

Project 8: DUE 4/12
(#1) Use Euler’s Method to solve Example 4.4 as in Listing 4.3. Does the solution stay the same as the step-size h is changed? Why or why not?


(#2) Repeat (1) but use the noise signal described in 3.38 from Project 7 for w(t). Write a routine that returns samples of w(t) for any time t by linear interpolation between times for a suitable hlocal used only to estimate w(t). Then see if the solution stays the same as you change the h of the simulation.

 

(4.9a): Compare your solution with MATLAB.

 

(4.12)

 

(#5) Solve Example 4.8 using the finite differences method (section 4.5). Compare to the analytical solution.

29 

4/3

Project 7 questions

4.4 Partial Differential Equations

 

30 

4/5

4.4 Partial Differential Equations

4.6  Constraint Propogation

Project #7 DUE

WEEK 13

31 

4/8

Project #8 questions
5.1 Random Process Models

5.2 Moving-average (MA) Processes

 

32 

4/10

Project #8 working session

 

33 

4/12

Review projects #2, #3, and #4

Project #8 DUE

WEEK 14

34 

4/15

Project #8 questions
Review project 5

 

35 

4/17

 

 

36 

4/19

 

Final date to submit reworked projects #3 and #4

WEEK 15

37 

WED
4/24
12:30PM-2:30PM

FINAL EXAM

(verify this day/time on your own)

https://wmich.edu/registrar/calendars/exams/calendars-exams-spring
https://wmich.edu/registrar/calendars/exams:
“The exam time for a class beginning at 9:30 a.m. would be scheduled with classes that start at 9 a.m…”

Final date to submit reworked projects #5, #6, #7, and #8

© 2019 Damon A. Miller. All rights reserved.

Return to Dr. Miller’s homepage