Electronics Design Laboratory Lecture #1, Fall 2014
Dr. Daniel Seltzer Teaching Assistants: Fenglong Lu & Ali Sepahvand
ECEN 2270 1 Electronics Design Laboratory
Daniel Seltzer [email protected]
Fenglong Lu
Ali Sepahvand [email protected]
Daniel Seltzer [email protected]
Fenglong Lu
Ali Sepahvand [email protected]
Electronics Design Laboratory 2 ECEN 2270
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
Course Overview
• 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
Electronics Design Laboratory 3 ECEN 2270
Wireless Receiver Circuit
Robot Control Circuit
Motor Driver Circuit
Electric Motor Electric Motor
Wireless Transmitter
Circuit
Motor Driver Circuit
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
Electronics Design Laboratory 4 ECEN 2270
Organization • Teams
– 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
Electronics Design Laboratory 5 ECEN 2270
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
Electronics Design Laboratory 6 ECEN 2270
Lab 1: Introduction • Objectives
– 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
Electronics Design Laboratory 8 ECEN 2270
Lab 1, Part A: Laboratory Equipment
• Objective – Become familiar with electronic
laboratory equipment
• Equipment – Multimeter, power supply, waveform
generator, and oscilloscope
• Task overview 1. Configure power supply and
multimeter to power a basic circuit and measure resistances, voltages, and currents
2. Configure waveform generator and oscilloscope to capture specified waveforms and pulse signals
Electronics Design Laboratory 9 ECEN 2270
Electronics Design Laboratory 10 ECEN 2270
• Triple output DC supply – 0V – 6V, 5A – 0V – +25V, 1A – 0V – -25V, 1A
• Select voltage and current limits for each output (Display Limit)
• Output On/Off: one enable for
all outputs • Store and Recall functions to
save and re-use lab settings
Electronics Design Laboratory 11 ECEN 2270
• Multimeter measures current, voltage and resistance
• Separate front terminals for current, voltage, and resistance measurements – 3 A fuse for current measurements
• Panel buttons select measurement type and range settings
• 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
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
• 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 ECEN 2270
Oscilloscope
Electronics Design Laboratory 13 ECEN 2270
Displays time-domain waveforms of the signals for each of the four channels
Documentation exists on the Agilent Technologies website… Use it!
Electronics Design Laboratory 14 ECEN 2270
Displays time-domain waveforms of the signals for each of the four channels
• Four input channels allows four signals to be viewed – 1 MΩ, 10 pF input impedance – Select vertical (voltage) and horizontal (time) axis resolution – Each channel can have a different vertical scale
• Trigger – Auto: captures waveform immediately – Normal: captures based on trigger level – Single trigger captures and displays a single sampling of the waveform
• 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 ECEN 2270
Displays time-domain waveforms of the signals for each of the four channels
• Four input channels allows four signals to be viewed – 1 MΩ, 10 pF input impedance – Select vertical (voltage) and horizontal (time) axis resolution – Each channel can have a different vertical scale
• Trigger – Auto: captures waveform immediately – Normal: captures based on trigger level – Single trigger captures and displays a single sampling of the waveform
• 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
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
Electronics Design Laboratory 16 ECEN 2270