(Last Update: 2018 March 6 16:43 PST )
The course is intended for sophomores and juniors in bioengineering 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.
The old bioengineering curriculum (before the 2014–15 catalog) will accept BME51A+B as fulfilling the EE101/L (circuits) requirement, but EE will not be accepting it as a prerequisite for further electronics courses. More recent curricula (starting 2014–15) for bioengineers requires BME 51A+B for all concentrations, and EE 101/L in addition for the bioelectronics and assistive technology: motor concentration.
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 the course had a major rearrangement of the material last year and change of pace in switching from one intense quarter into two quarters, with major rewrites of the textbook this year, 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 |
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.
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, or Linux.
The Analog Discovery 2 USB oscilloscope, function generator, and power supply that will be used in the labs is controlled by Waveforms 2015, which is freely downloadable from http://store.digilentinc.com/waveforms-2015-download-only/ 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.sharelatex.com, which allows collaboration between authors. A template for lab reports (which can be used with stand-alone LaTeX or sharelatex.com) is available at https://www.sharelatex.com/project/596b60947639ba5d59e0874f. You may use your own
Software written specifically for the course—all of which is free:
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 (23 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 plan to have a release of a new version of the book during December 2017, 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.
I have been writing this book specifically for this class, and it is not quite done. If there is time, I will be rewriting or expanding portions of the book during the quarter, so you may need to download the PDF file again for 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 may assign some of these, but you are encouraged to try them on your own whether or not they are assigned.
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.
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).
Added 2018 Feb 16. Lab rules: No open food or drink in the lab! This includes coffee and tea cups with snap-on lids. The only drinks allowed are those that will not spill at all if knocked over.
Added 2018 Feb 16. 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.
To do for next year: rearrange schedule to do 4 days of temperature measurement and 3 of sampling and aliasing.
Date | Lab |
---|---|
Tues 9 Jan 2018 | Lab 1: setting up |
Thurs 11 Jan 2018 | Lab 1: setting up |
Tues 16 Jan 2018 | Lab 2: temperature measurement |
Thurs 18 Jan 2018 | Lab 2: temperature measurement |
Tues 23 Jan 2018 | Lab 2: temperature measurement |
Thurs 25 Jan 2018 | Lab 3: sampling and aliasing |
Tues 30 Jan 2018 | Lab 3: sampling and aliasing |
Thurs 1 Feb 2018 | Lab 3: sampling and aliasing |
Tues 6 Feb 2018 | Lab 4: hysteresis, touch sensor |
Thurs 8 Feb 2018 | Lab 4: hysteresis, touch sensor |
Tues 13 Feb 2018 | Lab 4: hysteresis, touch sensor |
Thurs 15 Feb 2018 | Lab 5: pressure sensor (blood pressure) |
Tues 20 Feb 2018 | Lab 5: pressure sensor (blood pressure) |
Thurs 22 Feb 2018 | Lab 5: pressure sensor (blood pressure) |
Tues 27 Feb 2018 | Lab 5: pressure sensor (blood pressure) |
Thurs 1 Mar 2018 | Lab 6: optical pulse monitor |
Tues 6 Mar 2018 | Lab 6: optical pulse monitor |
Thurs 8 Mar 2018 | Lab 6: optical pulse monitor |
Tues 13 Mar 2018 | Lab 6: optical pulse monitor |
Thurs 15 Mar 2018 | 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.
Collaboration without explicit written acknowledgment will be considered cheating. Collaboration on lab assignments is expected, even required—but that doesn't remove the requirement to acknowledge the collaboration.
If you qualify for classroom accommodations because of a disability, please submit your Accommodation Authorization from the Disability Resource Center (DRC) to Prof. Karplus in a timely manner, preferably within the first two weeks of the quarter. Contact DRC at 459-2089 (voice), 459-4806 (TTY).
Students will be graded primarily on the five design reports, due biweekly.
work | approx fraction of grade |
---|---|
final design reports | 70% |
pre-lab drafts of design reports | 15% |
other homework | 5% |
in-class quizzes | 10% |
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, lab reports cannot be redone to get a higher grade—only those reports with a grade of "REDO" can be redone, and they must be redone, or they will be converted to "F". Redone reports have a new due date a week after the reports are returned to the class.
Grading standards are somewhat higher for redone reports, so that minor errors that would have been tolerated earlier will be judged more harshly in a redone report. All previously graded versions of the report must be turned in with any redone report.
Added 2018 Feb 16. Don't trust the Canvas summary of your grade. The Canvas gradebook seems to be incapable of averaging the grades correctly (in part because it has essentially no understanding of letter grades and very poor handling of ungraded or not yet due homework), so I will need to download the records from it and compute grades separately.
The grading standard for the design reports is not "point-based"&emdash;I'm not looking for specific items and taking of 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. Serious errors in the schematic may be enough by themselves to reduce the grade below passing.
Homework schedule is still somewhat tentative, due to rewrite of the book, the change in pacing for the course, and the increased grading for the larger class. 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.
Note to self: schedule still needs tweaking for better fit to new exercises and pre-labs. Check that all exercises have been assigned somewhere (or marked as not assigned). Don't assign any exercises from Chapter 14 (oscilloscopes).
Due | Read before class or lab | Turn in before midnight |
---|---|---|
Tues Jan 9 | (Preface optional), Chapters 1 (why electronics) and 2 (Background), Lab 1 (=Chapter 3) | |
Wed Jan 10 | Chapter 4 (Resistors and resistance-based sensors) | Exercises for Chapter 2, sign up for partners for Lab 2 |
Thurs Jan 11 | Lab 2 (=Chapter 7) | |
Fri Jan 12 | Exercises 4.1–4.7 | |
Mon Jan 15 (NO CLASS) | ||
Tues Jan 16 | Pre-Lab 2, first draft (covering Pre-lab 2.1–2.4) | |
Wed Jan 17 | Chapter 5 (Data Aquisition Systems) | Rest of Chapter 4 exercises |
Fri Jan 19 | Chapter 6 (Lab report guidelines) | Sign up for partners for Lab 3 |
Mon Jan 22 | Chapter 8 (Sampling and Aliasing), Lab 3 (=Chapter 13) | Pre-Lab 2, second draft (covering all pre-lab questions) |
Tues Jan 23 | Chapter 9 (capacitors) | Exercises from Chapter 6, Pre-lab 3 |
Wed Jan 24 | Chapter 10 (RC filters) | |
Fri Jan 26 | Chapter 11 (function generators) | Lab 2 report, sign up for partners for Lab 4 |
Mon Jan 29 | Chapter 12 (debugging) | Exercises from Chapters 9 (9.1--9.8) and 10.1, 10.2, 10.4. |
Tues Jan 30 | Chapter 14 (oscilloscopes) | |
Wed Jan 31 | Chapter 15 (hysteresis), Lab 4(=Chapter 15) | Exercises from Chapter 12 |
Thurs Feb 1 | Lab 4(=Chapter 16) | |
Fri Feb 2 | Exercises from Chapter 15, Pre-Lab draft report for Lab 4 | |
Mon Feb 5 | Chapter 17 (amplifiers) | Lab 3 report |
Wed Feb 7 | Chapter 18 (Operational amplifiers) | |
Fri Feb 9 | Chapter 19 (pressure sensors) | Exercises 17.3–17.5, sign up for partners for Lab 5 |
Mon Feb 12 | Lab 5 (=Chapter 20) | |
Wed Feb 14 | Chapter 21 (optoelectronics) | Exercises from Chapter 19, Pre-Lab draft for Lab 5 |
Fri Feb 16 | Chapter 22 (transimpedance amplifier) | Lab 4 report, sign up for partners for Lab 6 |
Mon Feb 19 (NO CLASS) | ||
Wed Feb 21 | Chapter 23 (active filters) | Exercises from Chapter 21, Exercises 22.1–22.6 |
Thurs Feb 22 | Lab 6 (=Chapter 24) | |
Fri Feb 23 | Sections 23.1–23.3 (active filters) | Pre-Lab draft for Lab 6 |
Mon Feb 26 | ||
Wed Feb 28 | ||
Fri Mar 2 | Lab 5 report | |
Mon Mar 5 | ||
Wed Mar 7 | ||
Fri Mar 9 | Exercises from Chapter 23 | |
Mon Mar 12 | ||
Wed Mar 14 | Chapter 25 (microphones), Lab 7(=Chapter 26) | |
Fri Mar 16 | ||
Monday March 19 | Final exam time: 4–7 p.m. probably not used. | 4 p.m. Lab 6 report, final deadline for all work. |
|
|
| 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