This page provides supplementary information to
support lectures in EAS 199B during Winter 2013.
Class meeting on 11, 12 March 2013
Homework: Checklist 6 Salinity and Temperature Control
Learning Objectives
- Demonstrate control of salinity and temperature in the fish tank.
Notes and Supplemental Files
- Layout of the LCD panel to indicate status of temperature control and salinity control systems.
- Late update
An updated screencast on using MATLAB to curve fit the thermistor calibration curve is available on the screencast page.
Class meeting on 6, 7 March 2013
Homework: Assignment 5 due 11, 12 March 2013
Learning Objectives
- Describe a procedure for estimating the smallest realistic value of the deadband for thermal control of the fish tank.
- Describe experiments for measuring the characteristic constant, K of the fish tank.
- Explain the physical significance of K.
- Describe a procedure for using K and the temperature error to determine the duration of heat input.
- Explain the role of salinity control deadtime in setting an upper bound on the duration of heat input.
- Explain the pseudocode version of a thermal control algorithm for the fish tank.
Notes and Supplemental Files
- Original notes on temperature control of the fish tank (Early AM, 7 March 2013)
- New! Improved!
notes on temperature control of the fish tank (Early PM, 7 March 2013)
- Checklist 5 for calibration of the thermistor
- Arduino code snippet to measure and display time, heater status and fluid temperature.
- Arduino code snippet showing the structure of temperature and salinity control.
- MATLAB code to automate the measurement of K. Click on link below for more information
More information for this lecture is on another page.
Class meeting on 4, 5 March 2013
Homework: Assignment 5 due 11, 12 March 2013
Learning Objectives
- Be able to fabricate the fish tank heater by following instructions on the web
- Be able to describe the role of RTV in the heater assembly
- Be able to describe the role of the heat spreader in the heater assembly
- Be able to apply an energy balance model to the fish tank
Notes and Supplemental Files
- Instructions on fabrication of the fish tank heater
- Notes energy storage in fluid
- Checklist 5 for calibration of the thermistor will be used in the next class
Class meeting on 27, 28 February 2013
Learning Objectives
- Be able to build a circuit to measure the output of a voltage divider for a thermistor
- Be able to collect calibration data for your thermistor
- Be able to describe the steps necessary to reduce the thermistor calibration data to a form that can be included in the temperature control algorithm for the fish tank
Notes and Supplemental Files
- Slides on calibration of thermistors PDF one-up or PDF 2-up Updated 3 March 2013.
- Slides on curve-fitting the calibration data PDF one-up or PDF 2-up Updated 5 March 2013.
- MATLAB codes: plot_calibration_data.m, plot_thermistor_histograms.m, and fit_thermistor_calibration.m and
- Sample data for use with
thermistor_histograms.m
and thermistor_curve_fits.m
Class meeting on 24, 25 February 2013
Learning Objectives
- Be able to implement the salinity control algorithm and demonstrate that your fish tank can control its salinity
- Be able to describe how the resistance of a NTC thermistor varies with temperature.
- Be able to sketch and describe the circuit used to measure thermistor temperature with an Arduino
- Be able to fabricate a waterproof thermistor probe by following the instructions on the class web site.
- Be able to build a circuit to measure the output of a voltage divider for a thermistor
Notes and Supplemental Files
- Slides on temperature measurements and thermistors PDF one-up or PDF 3-up.
- Instructions for fabricating the water-proof thermistor probe
Class meeting on 20, 21 February 2013
Learning Objectives
- Be able to implement the salinity control algorithm
- Be able to use basic flow chart symbols to describe steps in salinity measurement and control
- Be able to explain and modify the sample code for implementation of deadtime in salinity control
Notes and Supplemental Files
- Slides on flow charts and top-down design PDF one-up, PDF 3-up).
- Skeleton of code for implementing deadtime in salinity control waiting_for_deadtime.txt (notice "txt" extension, not "ino")
Class meeting on 18, 19 February 2013
Class meeting on 13, 14 February 2013
Learning Objectives
- Be able to derive and use the equations for mass balance during salinity control of the fish tank
- Be able to implement the salinity control algorithm
Notes and Supplemental Files
- Solution to the concrete-mixing problem from HW4
- List of Learning objectives (PDF) for lectures 1 through 12
Class meeting on 11, 12 February 2013
Homework: Assignment 4 due 13, 14 February 2013
Learning Objectives
- Be able to describe the role of UCL and LCL in the control algorithms.
- Be able to describe how to compute UCL and LCL
- Be able to describe and distinguish the terms, setpoint, deadband and deadtime
- Be able to describe a procedure for measuring deadtime
- Be able to describe what variables are involved in determining the proportional control response
- Be able to explain why the full proportional control response is not used, and how the actual control response is computed
Notes and Supplemental Files
- Slides on control of salinity PowerPoint, PDF or 3-up PDF.
- Solution to in-class problem on correcting the salinity of the fish tank
- Notes and lab instructions on preparation for salinity control (PDF) updated 13 Feb 2013 and 17 Feb 2013
- Skeleton of code for implementing deadtime in salinity control waiting_for_deadtime.txt (notice "txt" extension, not "ino")
Class meeting on 6, 7 February 2013
Homework: Assignment 4 due 13, 14 February 2013
Learning Objectives
- Be able to use a systematic procedure to solve batch mass balance problems.
- Be able to explain the sequence of events that occur when a relay coil is powered
- Be able to identify the different types of relays (SPST, SPDT, DPST, and DPDT) and explain their operation
- Be able to describe the difference between the relay used in the fish tank, and the relay that comes with the Sparkfun Inventor's Kit
- Be able to assemble the cascade switching circuit for solenoid valves on the fish tank platform
Notes and Supplemental Files
- Example problem and Solution (PDF) involving addition of salty water to the fish tank.
- Slides on cascaded switching circuits PowerPoint or 3-up slides in PDF
- Slides on relays PowerPoint, PDF, 2_up PDF
- "How to" page on wiring the solenoid valves.
Class meeting on 4, 5 February 2013
Learning Objectives
- Be able to identify whether a process is batch, steady flow or unsteady flow.
- Be able to write the mass balance equations for batch processes.
- Be able to use a systematic procedure to solve batch mass balance problems.
- Be able to identify the components in a cascade control circuit
- Be able to describe the purpose of the flyback diode on a relay coil or solenoid valve.
- Be able to attach the solenoid valves and supply tanks to the fish tank platform
Notes and Supplemental Files
- Notes on analyzing mass balance for batch processes (PDF)
- Slides on cascaded switching circuits PowerPoint or 3-up slides in PDF
- Hand notes on relays (PDF)
- Notes on clearance holes for solenoid screws
- "How to" page on wiring the solenoid valves.
More information for this lecture is on another page.
Class meeting on 30,31 January 2013
Homework: Assignment 3 due 5,6 February 2013
Learning Objectives
- Be able to set up the electrical circuit to power the conductivity sensor
- Be able to demonstrate reading of the signal from your conductivity sensor
- Be able to compute the mean, median, and standard deviation of a data set
- Be able to perform the calibration procedure for the conductivity sensor
- Be able to fabricate the wiring harness for the LCD panel
Notes and Supplemental Files
- Notes on calibration curve fit with MATLAB Slides in PDF or 2-up slides in PDF
- Fabrication of the wiring harness for the LCD panel: PDF, and 3-up handout
- Web page for instructions on how to fabricate the wiring harness
More information for this lecture is on another page.
Class meeting on 28,29 January 2013
Homework: Assignment 3 due 5,6 February 2013
Learning Objectives
- Be able to set up the electrical circuit to power the conductivity sensor
- Be able to demonstrate reading of the signal from your conductivity sensor
- Be able to compute the mean, median, and standard deviation of a data set
- Be able to perform the calibration procedure for the conductivity sensor
- Be able to fabricate the wiring harness for the LCD panel
Notes and Supplemental Files
- Notes on Arduino programs for writing to the LCD panel Slides or 3-up slides
- Calibration of conducitivity sensors: PowerPoint original, PDF, and 3-up handout
- Fabrication of the wiring harness for the LCD panel: PDF, and 3-up handout
- Web page for instructions on how to fabricate the wiring harness
Class meeting on 23,24 January 2013
Learning Objectives
- Be able to demonstrate a working flow loop for the fish tank
- Be able to demonstrate reading of the signal from your conductivity sensor
- Be able to describe the calibration procedure for the conductivity sensor
- Be able to compute the mean, median, and standard deviation of a data set
Notes and Supplemental Files
- Notes on Arduino programs for reading the conductivity sensor Slides or 3-up slides
- Notes on basic statistics
- Calibration of conducitivity sensors: PowerPoint original, PDF, and 3-up handout
- Information on wiring the power and salinity sensor is available at the how to web page
Class meeting on 16,17 January 2013
Learning Objectives
- Be able to safely and effectively use hand tools to assemble the flow loop
- Be able to verify that the flow loop is operating with tap water
- Be able to describe the electrochemical reactions responsibility for the change in electrical conductivity with salt concentration
Notes and Supplemental Files
- Web page with instructions on assembling the flow loop
- Lecture slides for operation of the salinity sensor: PowerPoint, PDF, PDF 3up
- Notes on operation of the salinity sensor
- "How to" page on wiring the salinity sensor.
- "How to" page on wiring the electrical power for the fish tank.
- Checklist for flow loop to be used at the start of Lecture 05
- Checklist for electrical power
Class meeting on 14,15 January 2013
Learning Objectives
- Be able to safely and effectively use hand tools to assemble the salinity sensor
- Be prepared to assemble the flow loop for the fish tank
- Be able to launch MATLAB in the engineering computer lab
- Be able to plot simple data sets with MATLAB
Notes and Supplemental Files
- Lecture slides for fabrication of salinity sensor: PowerPoint, PDF, PDF-3up
- Web page with instructions on assembling the flow loop
- Notes on introduction to MATLAB
- A note on file types: tab-delimited and CSV
- MATLAB function files myplot.m, pump_analysis.m
- Measured pump data Excel sheet
Class meeting on 9,10 January 2013
Homework: Assignment 01 14,15 January 2013
Learning Objectives
- Be able to safely and effectively use hand tools to assemble the wooden platform for the fish tank project
Notes and Supplemental Files
- Lecture slides for fabrication of platform: PowerPoint, PDF, PDF-3up
- Lecture slides for introduction to salinity: PDF
- Web page with instructions on assembling wooden platform
Class meeting on 7,8 January 2013
Homework: Assignment 01 14,15 January 2013
Learning Objectives
- Understand the broad goals of the fish tank project
- Understand the goals and expectations of the class
- Be able to complete the fabrication of the PVC "fish tank"
Notes and Supplemental Files
- Overview of the Fish Tank Project: detailed notes
- Lecture slides: PowerPoint, PDF, PDF-3up
- Web page for instructions on fabricating the PVC tank
More information for this lecture is on another page.