(Last Update: 2019 March 27 15:41 PDT )
The course is intended for sophomores and juniors with priority given to bioengineering majors, but is open to anyone who meets the prerequisites:
Students considering the bioelectronics or assistive technology: motor concentrations should take BME 51A+B early (before EE 101/L), which may be difficult to schedule. Key for the motor concentration is getting CMPE 118 (Mechatronics) in fall of the junior year—scheduling should be designed to ensure that, even at the expense of non-optimal course ordering.
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
Because there have been major 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.
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.
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:
|4.6||pre-lab and lab writing|
We do not have 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/winter2019/bme51a/home.
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.
This year the parts and tools are covered by the course lab fees. There are about $80 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.
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 (26.2 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 am making a release of a new version of the book in mid-December 2018, with substantial new content, bug fixes, and new exercises. I'll send out the coupons to those registered for the course as soon as I get the new version up. This release has only been edited for the material needed for BME 51A—there will be another release for the edits to the rest of the book, hopefully by the time classes start in January 2019.
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 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 http://bitbucket.org/abe_k/PteroDAQ/downloads under the "Tags" tab. Select the "default" branch under the "branches" tab and download in zip, gz, or bzip2 archive format. Documentation is downloaded with the source, but only the installation is reasonably documented right now.
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 useful 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–3.6). 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.
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:
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 generally 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 prelab or lab reports, you must inform Kevin Karplus 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.
|Tues 8 Jan 2019||Lab 1: setting up|
|Thurs 10 Jan 2019||Lab 1: setting up|
|Tues 15 Jan 2019||Lab 2: temperature measurement|
|Thurs 17 Jan 2019||Lab 2: temperature measurement|
|Tues 22 Jan 2019||Lab 2: temperature measurement|
|Thurs 24 Jan 2019||Lab 2: temperature measurement|
|Tues 29 Jan 2019||Lab 3: sampling and aliasing|
|Thurs 31 Jan 2019||Lab 3: sampling and aliasing|
|Tues 5 Feb 2019||Lab 4: hysteresis, touch sensor||Thurs 7 Feb 2019||Lab 4: hysteresis, touch sensor|
|Tues 12 Feb 2019||Lab 4: hysteresis, touch sensor|
|Thurs 14 Feb 2019||Lab 4: hysteresis, touch sensor|
|Tues 19 Feb 2019||Lab 5: pressure sensor (blood pressure)|
|Thurs 21 Feb 2019||Lab 5: pressure sensor (blood pressure)|
|Tues 26 Feb 2019||Lab 5: pressure sensor (blood pressure)|
|Thurs 28 Feb 2019||Lab 5: pressure sensor (blood pressure)|
|Tues 5 Mar 2019||Lab 6: optical pulse monitor|
|Thurs 7 Mar 2019||Lab 6: optical pulse monitor|
|Tues 12 Mar 2019||Lab 6: optical pulse monitor|
|Thurs 14 Mar 2019||Lab 6: optical pulse monitor|
Anyone caught cheating in the class will be reported to their college provost (see UCSC policy on academic integrity for undergrads and for grad students), 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.
Officially approved DRC notification:
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. Following the student vote on the first day of class, quizzes will be on Wednesdays in class.
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||73|
|lowest points for grade|
The grading scale for each of the five design reports will be
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 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 (many of the questions are new this year).
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:59 p.m. on the due date.
|Due||Read before class or lab||Turn in before midnight|
|Tues Jan 8||(Preface optional), Chapters 1 (why electronics) and 2 (Background), Lab 1 (=Chapter 3)|
|Wed Jan 9||Chapter 4 (Voltage, current, resistance), Chapter 5 (Resistors and resistance-based sensors)||Exercises 2.1–2.12 (12 points), sign up for partners for Lab 2|
|Thurs Jan 10||Lab 2 (=Chapter 8)|
|Fri Jan 11||Exercises 4.1–4.11 (11 points)|
|Mon Jan 14||Chapter 6 (Data Acquisition Systems)||Exercises 4.12, 4.13, 5.1–5.6 (8 points), Pre-lab 2 first draft (covering Pre-lab 2.1–2.4; 8 points)|
|Wed Jan 16||Chapter 7 (Lab report guidelines)||Sign up for partners for Lab 3|
|Fri Jan 18||Chapter 9 (Sampling and Aliasing), Lab 3 (=Chapter 14)||Pre-lab 2 second draft (covering all pre-lab questions; 16 points)|
|Mon Jan 21||NO CLASS|
|Tues Jan 22||Chapter 10 (capacitors)||Exercises 7.1–7.7 (7 points)|
|Wed Jan 23||Chapter 11 (RC filters)||Pre-lab 3 (16 points)|
|Fri Jan 25||Chapter 12 (function generators)||Lab 2 report, sign up for partners for Lab 4|
|Mon Jan 28||Chapter 13 (debugging)||Exercises 10.1–10.8 (8 points) and 11.1, 11.3, 11.6, 11.7,11.10 (5 points).|
|Tues Jan 29||Chapter 15 (oscilloscopes)|
|Wed Jan 30||Chapter 16 (hysteresis), Lab 4(=Chapter 17)||Exercises 12.1, 12.2, 13.1, 15.1 (4 points)|
|Fri Feb 1||Exercises 16.1, 16.2 (2 points)|
|Mon Feb 4||Chapter 18 (amplifiers)||Pre-lab 4 (16 points)|
|Wed Feb 6||Chapter 19 (Operational amplifiers)||Exercises 18.1, 18.3–18.5 (4 points), sign up for partners for Lab 5|
|Fri Feb 8||Chapter 20 (pressure sensors)||Lab 3 report|
|Mon Feb 11||Lab 5 (=Chapter 21)||Exercises 19.1, 19.3, 19.4 (3 points)|
|Wed Feb 13||Chapter 22 (optoelectronics)||Exercises 20.1, 20.2 (2 points)
|Fri Feb 15||Chapter 23 (transimpedance amplifier)||Lab 4 report, sign up for partners for Lab 6|
|Mon Feb 18||NO CLASS||Pre-lab 5 (24 points)|
|Wed Feb 20||Chapter 24 (active filters)||Exercises 22.1, 22.2, 23.1–23.6 (8 points)|
|Thurs Feb 21||Lab 6 (=Chapter 25)|
|Fri Feb 22||Sections 23.1–23.3 (active filters)|
|Mon Feb 25||Pre-lab 6 (8 points)|
|Wed Feb 27|
|Fri Mar 1|
|Sat Mar 2||Lab 5 report|
|Mon Mar 4|
|Wed Mar 6|
|Fri Mar 8||Exercises 24.1–24.3 (3 points)|
|Mon Mar 11|
|Wed Mar 13||Chapter 26 (microphones), Lab 7(=Chapter 27)|
|Fri Mar 15|
|Monday March 18||Final exam time: 7:30–10:30 p.m. probably not used.||7:30 p.m. Lab 6 report, final deadline for all work.|
|BME51 home page|
Questions about page content should be directed to
University of California, Santa Cruz
Santa Cruz, CA 95064
318 Physical Sciences Building