secon 2012 midterm presentation. meet the team michael helmbrecht electrical engineer measurement...

57
SECON 2012 Midterm Presentation

Upload: emory-randall

Post on 18-Jan-2016

225 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

SECON 2012Midterm Presentation

Page 2: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Meet the Team

Michael HelmbrechtElectrical Engineer• Measurement Tasks• Course Construction

Chris NicholasComputer Engineer• Measurement Tasks• Course Construction

Kristin SharpElectrical Engineer• Measurement Tasks• Course Construction

Ryan RougeauElectrical Engineer• Navigation• PCB Design

Erin TateElectrical Engineer• Navigation• PCB Design

Jason WarrenComputer Engineer• Navigation• PCB Design

Dr. Robert ReeseAdvisor

Page 3: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Outline

• Competition Overview• Project Overview• System Design• Design Constraints• Approach & Tradeoff Analysis• Timeline• Progress and Prototype

Page 4: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Competition Overview

• IEEE SoutheastCon 2012 Hardware Competition• Orlando, FL• March 15-18, 2012• Autonomously navigate a course using the results of four tests to guide path.[1]

Page 5: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Outline

• Competition Overview• Project Overview• System Design• Design Constraints• Approach & Tradeoff Analysis• Timeline• Progress and Prototype

Page 6: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Project OverviewFeatures:

• Modular/Easy to Repair• Battery Life of 12 Minutes

Specifications:• Detects voltages• Detects plate temperature

• Detects capacitance• Differentiates between square and sawtooth waveforms• Autonomous after startup• Makes decisions based on measurements

Page 7: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Outline

• Competition Overview• Project Specifications• System Design• Design Constraints• Approach & Tradeoff Analysis• Timeline• Progress and Prototype

Page 8: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

System Design

Microcontroller LocomotionMeasurement

Debug Info

Page 9: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Microcontroller

Voltage Measurement

Waveform Analysis

Capacitance Measurement

Temperature Sensing

Measurement System Design

Page 10: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Microcontroller

Encoders

Wall Sensors

Line Sensors Motors

Locomotion System Design

Page 11: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Outline

• Competition Overview• Project Overview• System Design• Design Constraints• Approach & Tradeoff Analysis• Timeline• Progress and Prototype

Page 12: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Design Constraints – Practical Name Description

Voltage Measurement

The robot must be able to make voltage measurements between 0V and 15V with an unknown polarity. The robot must be able to differentiate between voltages of less than 9V and those of greater than 11V.

Waveform Analysis

The robot must differentiate between saw-tooth and square waves with frequencies on the order of 100kHz and RMS voltage of 5V.

Capacitance Measurement

The robot must be able to measure an unknown capacitance between 10µF and 10nF. The robot must be able to differentiate between capacitances of less than 100nF and more than 1µF.

Temperature Measurement

The robot must be able to take a temperature measurement and decide whether that temperature is within 10⁰F of ambient room temperature.

Navigation The robot must be able to navigate the course autonomously using provided lines and hash marks. The robot must be able to complete at least two laps without error.

[1]

Page 13: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Design Constraints – Practical

Type Name

Manufacturability Modular Design

Sustainability Troubleshooting

Page 14: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Practical – Modular Design

• The robot must be designed to allow for quick and easy replacement of malfunctioning components– Coding– Hardware

Page 15: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Practical – Troubleshooting

• The robot must have remote debugging capabilities

Page 16: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Outline

• Meet the Team• Competition Overview• Project Overview• System Design• Design Constraints• Approach & Tradeoff Analysis• Timeline• Progress and Prototype

Page 17: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Four Measurement Tasks

• Measurement of Capacitance• Measurement of Voltage• Measurement of Temperature• Waveform Detection

Page 18: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Capacitance Measurement

CHOICES PROS CONS

RC Time Constant Quick and accurate. Relies on a timer

Page 19: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Capacitance Measurement

Measuring capacitance with RC time constant [2]

Page 20: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Capacitance Measurement

CHOICES PROS CONSParallel Capacitance The circuit, concept,

and code were simple.More components

Page 21: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Capacitance Measurement

Parallel Capacitance Measurement

Formula: C2 = ((Vref * C1)/ADC_IN) – C1

Page 22: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Capacitance Measurement

CHOICES PROS CONS

Parallel Capacitance The circuit, concept,and code were simple.

More components

RC Time Constant Quick and accurate. Relies on a timer

Page 23: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Voltage Measurement

CHOICES PROS CONS

Voltage Divider and Rectifier

Quick and simple. 123 ADC counts per volt

Page 24: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Voltage Measurement

Voltage divider

Thévenin Equivalent Shifter

Noise Capacitor

Page 25: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Voltage Measurement

@-15V

0V

@15V

3V

@0V

1.5V

Page 26: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Voltage Measurement

CHOICES PROS CONS

Operational Amplifier and comparator

Distinguishing between voltages is simple.

The circuit and coding is more complex than a voltage divider.

Page 27: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Voltage Measurement

CHOICES PROS CONS

Operational Amplifier and comparator

Distinguishing between voltages is simple.

The circuit and coding is more complex than a voltage divider.

Voltage Divider and Rectifier

Quick and simple. 123 ADC counts per volt

Page 28: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Temperature Measurement

CHOICES PROS CONS

Probe Accurate. Requires precise robot alignment.

IR Sensor Faster since no contact needed.Can sense from a distance.

Less accurate (±1°F).

Laser Accurate from a distance. Expensive and large.

Page 29: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Temperature Measurement

CHOICES PROS CONS

Probe Accurate. Requires precise robot alignment.

IR Sensor Faster since no contact needed.Can sense from a distance.

Less accurate (±1°F).

Laser Accurate from a distance. Expensive and large.

Page 30: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Waveform Detection

CHOICES PROS CONS

Edge Detection Uses only µC. Wave frequency too high for µC.

Comparator Works at all frequencies. Circuit is more complicated.

Page 31: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Waveform Detection

Output waveform

Input waveform

Vref

+

-

Page 32: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Waveform DetectionSquare Wave Sawtooth Wave

Vref

Page 33: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Waveform Detection

CHOICES PROS CONS

Edge Detection Uses only µC. Wave frequency too high for µC.

Comparator Works at all frequencies. Circuit is more complicated.

Page 34: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

MicrocontrollersCHOICES PROS CONS

2x PIC24 28 PIN Microcontrollers

- Easy parallel development phase.

-Lower usable pin count.- Communication between PICs requires code/time.

1x PIC24 64 PIN Microcontroller w/ breakout

-Higher usable pin count.-No extra coding.- Proven use.

- More difficult to develop in parallel.

Page 35: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

MicrocontrollersCHOICES PROS CONS

2x PIC24 28 PIN Microcontrollers

- Easy parallel development phase.

-Lower usable pin count.- Communication between PICs requires code/time.

1x PIC24 64 PIN Microcontroller w/ breakout

-Higher usable pin count.-No extra coding.- Proven use.

- More difficult to develop in parallel.

Page 36: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

MicrocontrollersCHOICES PROS CONS

PIC24F16KA102 28 PIN - Has onboard capacitance measurement hardware.- Lower power than PIC24HJ.

- Slower clock frequency than PIC24HJ .- Only 28 pins.

PIC24FJ64GA002 28 PIN - Lower power than PIC24HJ.- Had a few on hand.

- Slower clock frequency than PIC24HJ .- Only 28 pins.

PIC24HJ128GP506 64PIN -Has as much memory as 2 PICFJ64 series.- Faster clock speeds.- 64 pins

- Needs a break out board to maintain modularity.

Page 37: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

MicrocontrollersCHOICES PROS CONS

PIC24F16KA102 28 PIN - Has onboard capacitance measurement hardware.- Lower power than PIC24HJ.

- Slower clock frequency than PIC24HJ .- Only 28 pins.

PIC24FJ64GA002 28 PIN - Lower power than PIC24HJ.- Had a few on hand.

- Slower clock frequency than PIC24HJ .- Only 28 pins.

PIC24HJ128GP506 64PIN -Has as much memory as 2 PICFJ64 series.- Faster clock speeds.- 64 pins

- Needs a break out board to maintain modularity.

Page 38: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

ChassisCHOICES PROS CONS

Stinger Robot Chassis

-Was given to us.- High torque motors.- Robust design

-Rear of chassis swings when turning.- Too large.

DFRobot 2wd Mobile Platform

-Round design.- Faster motors.

- Delay on order.

Page 39: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

ChassisCHOICES PROS CONS

Stinger Robot Chassis

-Was given to us.- High torque motors.- Robust design

-Rear of chassis swings when turning.- Too large.

DFRobot 2wd Mobile Platform

-Round design.- Faster motors.

- Delay on order.

Page 40: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Wall Sensors

CHOICES PROS CONSSharp 2D120X Infrared Sensor

Shorter Distances (4 – 30cm) Only detects out to 30 cm.Interference when teaming.Only analog output.

Maxbotix LVMaxSonar-E4 Sonar Sensor

Longer Distances (6 - 254 inches)UART , PWM, and Analog outputNo interference when teaming

Only detects down to 6 inches.

Page 41: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Wall Sensors

CHOICES PROS CONSSharp 2D120X Infrared Sensor

Shorter Distances (4 – 30cm) Only detects out to 30 cm.Interference when teaming.Only analog output.

Maxbotix LVMaxSonar-E4 Sonar Sensor

Longer Distances (6 - 254 inches)UART , PWM, and Analog outputNo interference when teaming

Only detects down to 6 inches.

Page 42: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Motors

CHOICES PROS CONS35:1 Metal Gearmotor 15.5Dx30L mm

Higher RPM (460 RPM)Low locked current (0.6A)

Low Torque (13 oz-in)

Micro DC Geared Motor FIT00016

Medium Torque (26.6 oz-in)Medium RPM (200 RPM)

High locked current (6A)

Page 43: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Motors

CHOICES PROS CONS35:1 Metal Gearmotor 15.5Dx30L mm

Higher RPM (460 RPM)Low locked current (0.6A)

Low Torque (13 oz-in)

Micro DC Geared Motor FIT00016

Medium Torque (26.6 oz-in)Medium RPM (200 RPM)

High locked current (6A)

Page 44: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Outline

• Meet the Team• Competition Overview• Project Overview• System Design• Design Constraints• Approach & Tradeoff Analysis• Timeline• Progress and Prototype

Page 45: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

TimelineAugust September October November December

Strategy and Course Construction

Research and Purchasing

Programming

Circuit Design

Debugging

Prototype

Page 46: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Outline

• Competition Overview• Project Overview• System Design• Design Constraints• Approach & Tradeoff Analysis• Timeline• Progress and Prototype

Page 47: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Course Construction

Page 48: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Initial Prototype

Page 49: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Initial Prototype

Page 50: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Locomotion Prototype Circuit• Gyroscope

• Bluetooth Transceiver

• MCU

• Motor Controller

Page 51: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Measurement Prototype Circuit• Voltage Divider

and rectifier

• Parallel Capacitance Circuit

• Infrared Temperature Sensor

Page 52: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Software Debugging

Page 53: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Circuit Testing

Page 54: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Decision Circuit

Page 55: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

Decision Circuit

Page 56: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

References[1] IEEE SoutheastCon 2012 Hardware Competition. “Release 1.0." 30

Sep. 2011. https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0BwrmPsE7PwUQMThkMzk4NDUtNzAwYy00YzFjLTg1ODMtNWJmMjg0NGVkYjM5&hl=en_US

[2] Embedded Lab “How to measure capacitance with a microcontroller?” 5 Oct. 2011.

http://embedded-lab.com/blog/?p=1747

Page 57: SECON 2012 Midterm Presentation. Meet the Team Michael Helmbrecht Electrical Engineer Measurement Tasks Course Construction Chris Nicholas Computer Engineer

SECON 2012Midterm Presentation