Electronics Design Laboratory Lecture #1, Fall 2014 Dr. Daniel Seltzer Teaching Assistants: Fenglong Lu & Ali Sepahvand ECEN 2270 Electronics Design Laboratory 1 Daniel Seltzer seltzer@colorado.edu Fenglong Lu Fenglong.Lu@colorado.edu Ali Sepahvand Alihossein.Sepahvand@colorado.edu Prerequisites and Co-requisites • Prerequisite: ECEN2250 Intro to Circuits & Electronics • Co-requisite: ECEN2260 Circuits as Systems Meeting times • Lectures: Monday 3-3:50pm ECCR135 • Lab Section 021: 10:30-12:20 TTh ECEE 281 • Lab Section 022: 10:30-12:20 TTh ECEE 282 Note: attendance in the lab is required to receive any lab credit ECEN 2270 Electronics Design Laboratory 2 Course Overview Motor Driver Circuit Wireless Transmitter Circuit Wireless Receiver Circuit Electric Motor • • • • • • Robot Control Circuit Motor Driver Circuit Electric Motor Lab 1: Lab equipment, circuit prototyping, de-bugging and simulations Lab 2: Speed sensor & Robot DC motor characterization Lab 3: Motor drive and speed control circuits Lab 4: Microcontroller based speed and position control Lab 5: Robot remote control Lab 6: Final Project ECEN 2270 Electronics Design Laboratory 3 Overall lab goals • Laboratory skills and competence – Proficiency in use of laboratory equipment – Ability to read, understand, and create circuit diagrams – Experience in design, testing and debugging electronic circuits, working with discrete and IC components • Simulation, analysis and design tools – Spice simulation as a design verification and debugging tool – MATLAB analysis of data • Application of core electrical engineering theory – – – – Time-domain response: 1st and 2nd order, distortion Frequency-domain response: bode plots, filters Active components, nonlinearity: op-amps, diodes, BJTs, MOSFETs Feedback and control ECEN 2270 Electronics Design Laboratory 4 • Teams Organization – Teams of 2 Students + 1 Robot – Begin working in teams tomorrow (select partner today!) • Purchasing kits – Purchase kit per team: component kit: $160; tools kit: $70 (prices shown are approximate, please check with the EE store ECEE 1B10) – Purchase at the EE Store, ECEE 1B10, before lab tomorrow • EE Store hours: 9am – 4pm, M-F • Lab computer access – ECES student server: http://eces.colorado.edu – Check with EE office about card access if you don’t have it yet • D2L: https://learn.colorado.edu/ – Turn in lab reports and monitor grades – Not up yet, but will be before first deadline ECEN 2270 Electronics Design Laboratory 5 Grading • In-class quizzes [individual] • Pre-lab assignments [individual] • Labs 1-5 – Demonstrations [group and individual] – Reports [group] • Final project – – – – Proposal slides and presentation [group] Proposal [group] Expo [group and individual] Report [group] • Lab attendance and performance ECEN 2270 Electronics Design Laboratory 6 Electronics Design Laboratory Lab 1 Part A ECEN 2270 Electronics Design Laboratory 7 • Objectives Lab 1: Introduction – Develop laboratory and circuit design skills and techniques, perform simulations, prototyping, testing and debugging • Part A: Laboratory equipment – Become familiar with electronic laboratory equipment • Part B: Reverse engineering lab: circuit schematics and prototypes – Gain experience working with electronic components, circuit schematics, prototyping boards, and simulation • Lab procedures: posted on the course website ECEN 2270 Electronics Design Laboratory 8 Lab 1, Part A: Laboratory Equipment • Objective – Become familiar with electronic laboratory equipment • Equipment – Multimeter, power supply, waveform generator, and oscilloscope • Task overview 1. 2. ECEN 2270 Configure power supply and multimeter to power a basic circuit and measure resistances, voltages, and currents Configure waveform generator and oscilloscope to capture specified waveforms and pulse signals Electronics Design Laboratory 9 • Triple output DC supply – 0V – 6V, 5A – 0V – +25V, 1A – 0V – -25V, 1A all outputs • Store and Recall functions to save and re-use lab settings • Select voltage and current limits for each output (Display Limit) • Output On/Off: one enable for ECEN 2270 Electronics Design Laboratory 10 • • Multimeter measures current, voltage • and resistance Separate front terminals for current, voltage, and resistance measurements – • 3 A fuse for current measurements 2-Wire (2W) and 4-Wire (4W) resistance measurement options – Additional two terminals used for 4-wire measurement to cancel effects of voltage drop in wires Panel buttons select measurement type and range settings ECEN 2270 Electronics Design Laboratory 11 Waveform Generator • • • Generates Sine, Square, Ramp, and • Pulse waveforms and arbitrary waveforms (user or pre-defined) Menus used to select waveform and • settings (frequency, amplitude, offset, duty, etc.) Channel and output buttons used to • enable/disable output and set trigger source for starting output ECEN 2270 Output modeled as a voltage source with a series resistance, or “impedance” of 50 Ohms Menu used to select Load impedance so the displayed voltage matches the expected output Max output: +/- 10V into High Z load (+/- 5V into 50 Ohm load) Electronics Design Laboratory 12 Oscilloscope Displays time-domain waveforms of the signals for each of the four channels Documentation exists on the Agilent Technologies website… Use it! ECEN 2270 Electronics Design Laboratory 13 Displays time-domain waveforms of the signals for each of the four channels • Four input channels allows four signals to be viewed – – – • Trigger – – – • 1 MΩ, 10 pF input impedance Select vertical (voltage) and horizontal (time) axis resolution Each channel can have a different vertical scale • Auto: captures waveform immediately Normal: captures based on trigger level Single trigger captures and displays a single sampling of the waveform ECEN 2270 Acquisition modes – – – Normal: continuously displays captures Average: averages selected number of captures, then displays the average Peak Detect: holds peak values to detect narrow excursions Display settings directly impact vertical and horizontal resolution – – – 8-bit vertical resolution (of full scale) 1 ns sampling to internal memory with only 10 kpts / ch For longer time settings, points are dropped (decimated) and interpolated Electronics Design Laboratory 14 Displays time-domain waveforms of the signals for each of the four channels • Four input channels allows four signals to be viewed – – – • Trigger – – – • 1 MΩ, 10 pF input impedance Select vertical (voltage) and horizontal (time) axis resolution Each channel can have a different vertical scale • Auto: captures waveform immediately Normal: captures based on trigger level Single trigger captures and displays a single sampling of the waveform ECEN 2270 Acquisition modes – – – Normal: continuously displays captures Average: averages selected number of captures, then displays the average Peak Detect: holds peak values to detect narrow excursions Display settings directly impact vertical and horizontal resolution – – – 8-bit vertical resolution (of full scale) 1 ns sampling to internal memory with only 10 kpts / ch For longer time settings, points are dropped (decimated) and interpolated Electronics Design Laboratory 15 What to do next • By tomorrow (1st lab period) – – – – – – Find team partner Purchase component and tools kits (if you do not have one) Browse through lab website: ecee.colorado.edu/~ecen2270 Read Lecture 1 slides on the lab website Read through Experiment 1 Part A slides and Lab report guidelines Complete Experiment 1 Part A pre-lab • By next week (3rd lab period) – Read through Lecture 2 slides on the lab website – Read through Experiment 1 Part B slides and Lab report guidelines – Complete Experiment 1 Part B pre-lab ECEN 2270 Electronics Design Laboratory 16