(Last Update: 2020 March 25 13:04 PDT )
The labs are contained in the textbook, rather than as separate lab handouts. The entire book is is required reading for BME 51A+B—the chapters provide essential understanding for the design work in the labs, and homework will be preparation for the labs.
It is essential to read the lab chapters and do the design work before coming to lab—this is a design class, not lab-demo class, so most of the writing and thinking has to happen before the lab time. Students in past years who did not have completed designs before lab wasted a lot of lab time doing pencil-and-paper work and had trouble getting their designs built and tested.
Each lab will be done with a different partner (and occasional singletons). There should be no repeat pairings across the two quarters. Each lab report will be done in two drafts: one due before the lab, one due after the lab. The first draft should be a joint effort of the two partners—the second usually will be also, but partners can decide to submit separate reports (generally a recognition of a failed partnership).
If you want to submit separate pre-lab or lab reports, you must inform Kevin Karplus and your lab partner by e-mail at least 8 hours before the deadline, so that the group can be split. Otherwise only the last submitted report for the group will be graded.
Lab rules: No open food or drink in the lab! This includes coffee and tea cups with snap-on lids. Leave your food and drinks in Jack's Lounge, just outside the lab doors.
Clothing in the lab is unrestricted, except on days when we do soldering. On those days, you should wear long pants and cotton clothing, to avoid burns from spattered solder. Safety goggles (provided in lab) are also required while soldering and while using the drill press.
Date | Lab |
---|---|
Tues 7 Jan 2020 | Lab 1: setting up |
Thurs 9 Jan 2020 | Lab 1: setting up |
Tues 14 Jan 2020 | Lab 2: temperature measurement |
Thurs 16 Jan 2020 | Lab 2: temperature measurement |
Tues 21 Jan 2020 | Lab 2: temperature measurement |
Thurs 23 Jan 2020 | Lab 2: temperature measurement |
Tues 28 Jan 2020 | Lab 3: sampling and aliasing |
Thurs 30 Jan 2020 | Lab 3: sampling and aliasing |
Tues 4 Feb 2020 | Lab 4: hysteresis, touch sensor |
Thurs 6 Feb 2020 | Lab 4: hysteresis, touch sensor |
Tues 11 Feb 2020 | Lab 4: hysteresis, touch sensor |
Thurs 13 Feb 2020 | Lab 4: hysteresis, touch sensor |
Tues 18 Feb 2020 | Lab 5: pressure sensor (blood pressure) |
Thurs 20 Feb 2020 | Lab 5: pressure sensor (blood pressure) |
Tues 25 Feb 2020 | Lab 5: pressure sensor (blood pressure) |
Thurs 27 Feb 2020 | Lab 5: pressure sensor (blood pressure) |
Tues 3 Mar 2020 | Lab 6: optical pulse monitor |
Thurs 5 Mar 2020 | Lab 6: optical pulse monitor |
Tues 10 Mar 2020 | Lab 6: optical pulse monitor |
Thurs 12 Mar 2020 | Lab 6: optical pulse monitor |
Homework schedule is still somewhat tentative, due to the rewrite of the book and changes in the lab schedule. Homework, pre-lab reports, and lab reports will all be turned in as PDF files through Canvas. The deadline will be 11 a.m. on the due date—that is in the morning.
This course is deliberately "front-loaded," with heavy reading and homework loads at the beginning of the quarter, but light loads in the last two weeks of the quarter (reversing the pattern of most other courses).
Due | Read before class or lab | Turn in before 11 a.m. |
---|---|---|
Tues Jan 7 | (Preface optional), Chapters 1–3 (Why electronics, Background, and Lab 1) | |
Wed Jan 8 | Chapters 4 and 5 (Voltage, current, resistance; Resistors and resistance-based sensors) | Exercises 2.1–2.12 (12 points) Sign up for partners for Lab 2 |
Thurs Jan 9 | Lab 2 (=Chapter 8) | |
Fri Jan 10 | Exercises 4.1–4.11 (11 points) | |
Mon Jan 13 | Chapter 6 (Signals) | Exercises 4.12, 4.13, 5.1–5.8 (10 points) Pre-lab 2 first draft (covering Pre-lab 2.1–2.4; 8 points) |
Wed Jan 15 | Chapter 7 (Design report guidelines) | Sign up for partners for Lab 3 |
Fri Jan 17 | Chapter 9 (Sampling and Aliasing), Lab 3 (=Chapter 14) | Pre-lab 2 second draft (covering all pre-lab questions; 16 points) |
Mon Jan 20 | NO CLASS | |
Tues Jan 21 | Chapter 10 (Capacitors) | Exercises 7.1–7.7 (7 points) |
Wed Jan 22 | Chapter 11 (RC filters) | Pre-lab 3 ( |
Fri Jan 24 | Chapter 12 (function generators) | Lab 2 report, sign up for partners for Lab 4 |
Mon Jan 27 | Chapter 13 (debugging) Chapter 15 (oscilloscopes) | Exercises 10.1–10.8 (8 points) and 11.2, 11.4, 11.6, 11.7, 11.9, 11.10 (6 points). Pre-lab 3 redo (12 points) |
Wed Jan 29 | Chapter 16 (hysteresis), Lab 4(=Chapter 17) | Exercises 12.1, 12.2, 13.1, 15.1 (4 points) |
Fri Jan 31 | Exercises 16.1, 16.2 (2 points) | |
Mon Feb 3 | Chapter 18 (amplifiers) | Pre-lab 4 (16 points) |
Wed Feb 5 | Chapter 19 (Operational amplifiers) | Lab 3 report |
Fri Feb 7 | Chapter 20 (pressure sensors) | sign up for partners for Lab 5 |
Mon Feb 10 | Lab 5 (=Chapter 21) | Exercises 18.2–18.5 (4 points)
Exercises 19.2, 19.3, 19.5 (3 points) |
Wed Feb 12 | Exercises 20.1, 20.2 (2 points) | |
Fri Feb 14 | Chapter 22 (optoelectronics) | |
Sat Feb 15 | Lab 4 report | |
Mon Feb 17 | NO CLASS | |
Tues Feb 18 | Pre-lab 5 (24 points) | |
Wed Feb 19 | Chapter 23 (transimpedance amplifier) | |
Fri Feb 21 | Sections 24.1–24.4 (active filters) Lab 6 (=Chapter 25) |
Exercises 22.1, 22.2, 23.1–23.6 (8 points) sign up for partners for Lab 6 |
Mon Feb 24 | ||
Wed Feb 26 | Pre-lab 6 (8 points) | |
Fri Feb 28 | Lab 5 report | |
Mon Mar 2 | Exercises 24.1–24.3 (3 points) | |
Wed Mar 4 | ||
Fri Mar 6 | ||
Mon Mar 9 | ||
Wed Mar 11 | Chapter 26 (microphones), Lab 7(=Chapter 27) | |
Fri Mar 13 | ||
Mon Mar 16 | Lab 6 report | Thursday March 19 | Final exam time: 12–3 p.m. probably not used. | Final deadline for all work. |
The course is intended for sophomores and juniors with priority given to bioengineering majors, but is open to anyone who meets the prerequisites:
Note: starting in Winter 2018, Applied Electronics for Bioengineers is a sequence of two 5-unit courses, BME 51A (Winter) and 51B (Spring), rather than two 4-unit courses (as in 2017) or a 7-unit course plus lab in one quarter (as in previous years), to reflect the workload experienced by the students, to make the pace more manageable for both students and faculty, and to increase the capacity in the course, which is constrained by the number of lab hours needed a week.
The theme for the course is "connecting real-world signals to computers using analog electronics", and we will be working with interfacing thermistors, microphones, electrodes, photo-detectors, capacitance sensors, and strain-gauge pressure sensors to microprocessors (note microphones and electrodes are in BME 51B, the rest in BME 51A). The signals we will be looking at will be related to physiological measurements (blood pressure, heart beat, and so forth), but the principles can be applied to many other measurements.
Currently, the best description of the course is in the textbook
written for the course, but students interested in how the course
evolved may be interested in the posts on Prof. Karplus's
blog:
http://gasstationwithoutpumps.wordpress.com/circuits-course-table-of-contents/
Because there have been rewrites of the textbook this year with some changes to the labs, I will seek frequent feedback from the students in the course about improvements that can be made in the labs, the lectures, and the textbook.
Students will be able to
The course is an engineering design course—I tried to make the labs require design, not just cookbook procedures. The complexity of the design tasks should ramp up through the two quarters.
BME 51A is now a 5-unit course, which means that 15 hours a week of work are expected. Here is a rough breakdown of the hours:
hours/week | activity |
---|---|
3.2 | lecture |
3.2 | lab |
2 | reading |
2 | homework |
4.6 | pre-lab and lab writing |
We do not have mandatory class discussion sections, but we do have required labs (2 meetings a week). Questions are welcome during lecture and lab times, as well as office hours. If you want to communicate with the group tutors, your fellow classmates, or the instructor, you can use the Piazza forum https://piazza.com/ucsc/winter2020/bme51a.
The Piazza forum will also be used for communications from the instructor or group tutors to the class—particularly for changes to due dates, assignments, or other urgent materials. Set up Piazza to e-mail you when there are updates, and check Piazza daily.
Ali Fallahi is running group tutoring sections in Baskin Engineering 111 (corner lab) Wednesdays 5:20–6:25 (right after lecture) and Fridays 1:20–2:25 (overlapping with office hours).
This year the parts and tools are covered by the course lab fees. There are about $70 worth of tools, parts, microcontroller board, and USB cable. These tools and parts will be provided in the first lab meeting, as we will be using them immediately. Dropping the course does not result in a refund of lab fees if you have already gotten the tools and parts.
The parts list for the quarter can be found at https://gasstationwithoutpumps.wordpress.com/parts-and-tools-list-for-bme-51a-winter-2020/
To offset the high parts cost, we'll be using only free on-line material for the textbook.
The book is a fairly large file (28.7 MBytes), so I recommend keeping a copy on your laptop, rather than trying to download it from the LeanPub site each time you need it.
I released of a new version of the book on 2019 December 9, with substantial new content, bug fixes, and some new exercises. I sent out coupons for free PDF copies of the book to everyone registered for the class then. Anyone who registered later needs to email me.
I have been writing this book specifically for this class, and it is never quite done. I welcome corrections to the book. I will be paying at least 25 cents for the first report of anything I accept as being an error—more for more serious errors. (Students will be paid at the end of BME 51B.)
Watch a few of the soldering videos, then fill out the form for soldering SOP (Standard Operating Procedure), before the first lab session. You are required to have completed the SOP before you are allowed to solder. Standard Operating Procedure (SOP) from the UCSC Baskin Engineering Lab Support (BELS)
In the early years (before my book draft), students found this the most useful of the on-line sources, as the tutorials assume no prior knowledge.
The author of All About Circuits has also made a number of video lectures and practice worksheets available. Not all the worksheets are relevant to this course, but it should be fairly evident which are and which aren't. I won't assign these, but you are encouraged to try them on your own if you need more practice.
In previous years, many students found the Wikipedia articles too difficult for them, though they are often a better reference than All About Circuits, allowing you to go deeper into the material.
Students are expected to bring a laptop with two USB-A ports to labs (one laptop suffices for each pair of lab partners, but it is often best for each student to have their own). Computers will not be provided in the labs. The software will run on Windows, Mac OS X, or Linux.
The Analog Discovery 2 USB oscilloscope, function generator, and power supply that will be used in the labs is controlled by Waveforms 3, which is freely down-loadable from https://store.digilentinc.com/waveforms-previously-waveforms-2015/ The software can be run in "demo" mode without the hardware attached, which is useful for learning the many features of the software.
The Analog Discovery 2 hardware will be available in the lab, but Baskin Engineering Laboratory Support (BELS) will have a few that students can rent for the quarter. Contact the BELS staff directly for more information.
Students can also buy their own for use at home from http://store.digilentinc.com/analog-discovery-2-100msps-usb-oscilloscope-logic-analyzer-and-variable-power-supply/. If you choose to buy one, be sure to get the academic pricing (a 36% savings). You'll need a power supply as well---I recommend the Meanwell SGA12u05-P1J (5V 2.4A) supply, which fits well in the box with the USB oscilloscope.
Data acquisition software was developed specifically for this course, and is available from https://github.com/karplus/PteroDAQ Documentation is downloaded with the source, but only the installation is reasonably documented right now (there is also documentation in the textbook).
To run the PteroDAQ data acquisition system, you will need Python2.7 or Python3. Note: Mac OS X often comes with an ancient version of Python, so you are likely to need to update your Python. I recommend the Anaconda Python distribution (see https://anaconda.org/anaconda/python and https://docs.anaconda.com/anaconda/install/), which loads a lot of Python modules that are useful, like NumPy, SciPy, and MatPlotLib. In particular, the filtering software in the SciPy package will be needed for digital filtering of heartbeat signals.
You can substitute the Enthought bundle, or use the Python.org site Python (either 2.7 or 3.4 or newer). If you use python.org python, you'll have to install a number of the packages yourself.
We'll be doing plotting and model-fitting examples with gnuplot. You can choose to use other tools if you are more familiar with them and have sufficient mastery of them to fit complicated functions that involve complex-number arithmetic and to produce good-looking graphs, but no help will be available for systems other than gnuplot. (Excel is not acceptable plotting software.) Gnuplot can be downloaded from the http://www.gnuplot.info/ website, but installation on Macs is sometimes tricky---there are instructions in the textbook if the gnuplot.info site does not provide an command-line-executable file.
All pre-lab and lab reports will need to be prepared with LaTeX. You can either install your own stand-alone copy of LaTeX (see https://www.latex-project.org/get/) or use https://www.overleaf.com, which allows collaboration between authors. A template for lab reports (which can be used with stand-alone LaTeX or overleaf.com) is available at https://www.overleaf.com/project/596b60947639ba5d59e0874f
Software written specifically for the course—all of which is free:
You should bring your laptop to every lab. It will need to have at least one and preferably USB ports that can be connected to a USB micro-B connector (as data connections, not just power). You will use the laptop to communicate with the Teensy board running PteroDAQ (data acquisition) software and with the Analog Discovery 2 USB oscilloscope/function generator/power supply/network analyzer/impedance analyzer.
You may bring your laptop to lecture to take notes, look up things in the book, try out examples of gnuplot or LaTeX, or other activities directly related to the class. If you do something else (check e-mail, browse on the web, read Reddit, &ellip; ), please sit in the back row, so that your screen will not distract others in the class.
Students in the class may make audio recordings and take photos for personal use (note-taking and review), but not share them with people not in the class, nor post the recordings or photos on the web or other social media.
Anyone caught cheating in the class will be reported to their college provost (see UCSC policy on academic integrity for undergrads), will fail the assignment, and may fail the class. Cheating includes any attempt to claim someone else's work as your own. Plagiarism in any form (including close paraphrasing) will be considered cheating. Use of any source without proper citation will be considered cheating. If you are not certain about citation standards, please ask, as I hate having to fail students because they were improperly taught how to cite sources.
Read Section 7.13 (Citation) of the textbook twice, to be sure you understand the rules.
Collaboration without explicit written acknowledgment when the assignment is turned in will be considered cheating. Collaboration on lab assignments is expected, even required—but that doesn't remove the requirement to acknowledge the collaboration.
Students will be graded primarily on the five design reports, due biweekly, but there will also be points for quizzes, homeworks, and the pre-lab drafts.
Don't trust the Canvas summary of your grade—use only the total number of points collected. Because the Canvas gradebook has no clean mechanism for any grading scheme except accumulation of total points, I have recast the grading mechanism to be just point accumulation.
work | total points available |
---|---|
final design reports | 400 |
pre-lab drafts of design reports | 88 |
10 in-class quizzes | |
other homework | 80 |
Total points=658
lowest points for grade | ||
---|---|---|
grade | from percentage | used |
A | 617 | 570 |
A- | 576 | 530 |
B+ | 535 | 490 |
B | 452 | 435 |
B- | 411 | 396 |
C+ | 370 | 357 |
C | 288 | 278 |
The grading scale for each of the five design reports will be
letter grade | points |
---|---|
A | 80 |
A- | 74 |
B+ | 66 |
B | 60 |
B- | 54 |
C+ | 46 |
C | 40 |
C- | 34 |
D+ | 26 |
D | 20 |
The pre-lab reports will be graded on a similar scale as the lab reports, but scaled to a different total. They will vary in weight, depending on how long and difficult they are. The weights given in the schedule are tentative and may be changed.
The homework will be weighted approximately 1 point per question—the points given in the schedule are tentative and may be changed.
Quizzes, homework, and pre-lab drafts will not be accepted late and cannot be redone for credit.
There will be some short in-class quizzes, to check that students have done the reading. These should be similar to the homework (which is easier than the pre-lab drafts).
In addition there may be one or two more substantial quizzes, each with weight equal to one of the design reports. The need for larger quizzes will be determined mainly by how diligent students are about doing the homework and pre-lab design work.
Because of the size of the class and the grading bandwidth, assignments cannot be redone to get a higher grade.
The grading standard for the design reports is expressed as points, but is not really "point-based"—I'm not looking for specific items and taking off points if they are wrong or missing. Instead the grading is holistic, taking into account all aspects of the writing. A good report that covers all the main ideas of an assignment earns a B. If it is very well written, it gets a B+. Extras beyond the essentials can raise the report to an A-, or (if exceptionally good) an A, but the essentials must be correct and clear before extras add anything to a report.
Poor writing can lower a complete report to a B- or lower. Parts that are missing, inconsistent, or wrong will lower the grade further. Inconsistently reported component values or serious errors in the schematic may be enough by themselves to reduce the grade below passing.
The interpretation of the total points will be adjusted somewhat based on the exact number of points available and how difficult the quizzes and homeworks turn out to be (some of the questions are new this year).
The pronouns "he, him, his" are best when referring to me in the third-person. It is acceptable to address me as "Kevin", "Professor", "Professor Karplus", but not as "Dr. Karplus" (I have a Ph.D., not an M.D., and prefer not to use "Doctor" as a title).
Although I will attempt to learn student names and pronouns, I have much lower than average ability at remembering names and faces. It will be surprising if I manage to learn and retain more than one name a week. Please do not be offended if I get your name or preferred pronoun wrong---my disability with names and faces is to blame, not any intention to insult.
Officially approved DRC notification:
UC Santa Cruz is committed to providing a safe learning environment that is free of all forms of gender discrimination and sexual harassment, which are explicitly prohibited under Title IX. If you have experienced any form of sexual harassment, sexual assault, domestic violence, dating violence, or stalking, know that you are not alone. The Title IX Office, the Campus Advocacy, Resources, and Education (CARE) office, and Counseling and Psychological Services (CAPS) are all resources that you can rely on for support.
Please be aware that if you tell me about a situation involving Title IX misconduct, I am required to share this information with the Title IX Coordinator. This reporting responsibility also applies to course TAs and tutors (as well to all UCSC employees who are not designated as "confidential employees", which is a special designation granted to counselors and CARE advocates). Although I have to make that notification, you will control how your case will be handled, including whether or not you wish to pursue a formal complaint. The goal is to make sure that you are aware of the range of options available to you and that you have access to the resources you need.
Confidential resources are available through CARE. Confidentiality means CARE advocates will not share any information with Title IX, the police, parents, or anyone else without explicit permission. CARE advocates are trained to support you in understanding your rights and options, accessing health and counseling services, providing academic and housing accommodations, helping with legal protective orders, and more. You can contact CARE at +1-831-502-2273 or care@ucsc.edu.
In addition to CARE, these resources are available to you:
|
|
| BME51 home page |
Questions about page content should be directed to
Kevin Karplus
Biomolecular Engineering
University of California, Santa Cruz
Santa Cruz, CA 95064
USA
karplus@soe.ucsc.edu
1-831-459-4250
318 Physical Sciences Building