Physics 252 - Analog electronics

Eugeniy E. Mikhailov

Ran Yang

Spring 2021

General class information

Syllabus html pdf

Tentative schedule

Logbook rubric

Class resources

Lectures at 2pm on Monday zoom 93320674236

Q and A at piazza

Assignments submission at Gradescope

Labs’ zoom sessions

Section Instructor TA Zoom link
Tuesday, 2pm Eugeniy E. Mikhailov, Ran Yang William Miyahira zoom 93143887882
Wednesday, 2pm Eugeniy E. Mikhailov Ziqi Niu zoom 93143887882
Thursday, 2pm Ran Yang Robert Behary zoom 97369875209

Office hours

How to make a plot

Everyone has a favorite plotting software. Though if you are using Excel and similar things, then you are riding a bicycle in the space exploration time.

Matlab

Installation

The university provide license for Matlab but you need to request it. Proceed to W&M Matlab page to request it.

Matlab comes comes with many toolboxes, among them for this class you need

  • Curve Fitting Toolbox

The rest is optional and can be installed later.

Matlab should be installed in every campus computer lab and there is also web based version. But it might be good to have your own.

Tutorials

See Matlab video tutorials.

There is also one page Matlab tutorial for a very quick introduction to Matlab fitting.

If you need a more advance/nonlinear fitting hints. Have a look at fitting introduction materials of Phys-256 class which I taught. You will probably find super useful the fitting chapter from my book “Programming with MATLAB for Scientists: A Beginner’s Introduction” book which is available at amazon and at the CRC Press.

Python

Examples of plots with python at Prof. Yang page

Lectures and assignments

Lecture 01 - Resistors and simple network analysis

lecture 01 slides, lecture 01 slides with marks

Reading material - manual DC_circuit_basics.pdf

HW and Lab assignment, make sure that you have an account at Multisim circuit simulator

Lecture 02 - Full network analysis.

lecture 02 slides

Lecture 03 - reactive components: capacitors and inductors

Reading material - manual LabManual_Chpt3.pdf skip part about Transformer, and just glance how to use complex impedance to solve RC circuit.

HW and Lab assignment

Lecture 04 - AC signals and filters.

Reading material - manual LabManual_Chpt4.pdf skip part about LC filters and transmission lines

HW and Lab assignment

Lecture 05 - AC filters continued. Software simulators.

HW and Lab assignment

Lecture 06 - Operational amplifiers

Reading materials

Videos

HW and Lab

HW and Lab assignment

Extra materials

Multisim of ideal-inverting amplifier

Lecture 07 - Math with Operational amplifiers

Reading materials

Videos

HW and Lab

HW and Lab assignment

Lecture 08 - Useful circuits with Op-Amps

Reading materials

Videos

HW and Lab

HW and Lab assignment

Lecture 09 - Comparators and oscillators

Reading materials

Note that the manual discusses uni-polar comparators. In the lecture, we derive a more general case for bi-polar comparators based on OpAmps.

Videos

For the period of oscillations refer to the slides. I made a factor of 2 mistake in the video.

HW and Lab

HW and Lab assignment

Lecture 10 - Diodes.

Reading materials

HW and Lab

HW and Lab assignment

Lecture 11 - Feedback

PID simulator

pid_dynamics.m

run it in Matlab as

S0 = .1; Sd = 1; tau = 10; Gp = -10; Gi = -2; Gd = 0; 
[t,S] = pid_dynamics(S0, Sd, tau,  Gp, Gi, Gd);

Reading materials

extra materials: Feedback for physicists: A tutorial essay on control if you want a deeper knowledge about feedbacks.

Videos

HW and Lab

HW and Lab assignment

Extra materials

Lecture 12 - Bipolar transistors

Videos

Reading materials

HW and Lab

Please see the blackboard site. Possibly outdated files

Extra materials

Lecture 13 - OpAmps inperfections

Videos

Reading materials

Final project

Read the assignment carefully. There are multiple deadlines. It is OK to start assembling a team and to discuss strategies ahead of time.

Use office hours wisely, we are here to help.