P14372 Actively Stabilized Hand-Held Laser Pointer

65
P14372 Actively Stabilized Hand-Held Laser Pointer Kaitlin Peranski Spencer Wasilewski Kyle Jensen Kyle Lasher Jeremy Berke Chris Caporale

description

P14372 Actively Stabilized Hand-Held Laser Pointer. Kaitlin Peranski Spencer Wasilewski Kyle Jensen Kyle Lasher Jeremy Berke Chris Caporale. Agenda. Problem Definition Review Executive Summary System Review Detailed Design Review Detailed Risk Assessment Test Plans - PowerPoint PPT Presentation

Transcript of P14372 Actively Stabilized Hand-Held Laser Pointer

Page 1: P14372 Actively Stabilized  Hand-Held Laser Pointer

P14372 Actively Stabilized Hand-Held Laser Pointer

Kaitlin PeranskiSpencer WasilewskiKyle JensenKyle LasherJeremy BerkeChris Caporale

Page 2: P14372 Actively Stabilized  Hand-Held Laser Pointer

Agenda• Problem Definition Review• Executive Summary• System Review• Detailed Design Review• Detailed Risk Assessment• Test Plans• Bill of Materials• Cost Analysis• Project Plan for MSD II

Page 3: P14372 Actively Stabilized  Hand-Held Laser Pointer

Problem Definition Review

Page 4: P14372 Actively Stabilized  Hand-Held Laser Pointer

Problem Definition• There are many people today who use laser for various

applications: to aid in presentations, medical imaging, and defense. Under many use scenarios they are negatively affected by unwanted vibrations; one such example is a nervous presenter using a laser pointer. New Scale Technologies (NST) has developed a module that steers a laser beam using piezoelectrics and mirrors. Currently they cannot actively detect and compensate for hand vibrations. To reduce this gap, a handheld and user friendly unit is to be developed utilizing the NST module. Concerns for development include: response time, operating temperature and duration, and unwanted motion attenuation.

Page 5: P14372 Actively Stabilized  Hand-Held Laser Pointer

Customer Needs

Engineering Requirements

Page 6: P14372 Actively Stabilized  Hand-Held Laser Pointer

Executive Summary• Target Frequency Range: 1-20 Hz• Cost Analysis: Total < $350• Test Bench Design: < $100• Response Time Analysis:

• Required = 12.5 ms• Capability = 10 ms (worst case)

• Power Consumption: 1.4 Watts• Heat Generation: Surface temperature of 95o F• Comparison of Gyroscopes and Accelerometers:

Beyond 80 cm, gyroscopes are more accurate• Housing: Aluminum, 139X42X32 mm

Page 7: P14372 Actively Stabilized  Hand-Held Laser Pointer

System Review

Page 8: P14372 Actively Stabilized  Hand-Held Laser Pointer

System Architecture

Page 9: P14372 Actively Stabilized  Hand-Held Laser Pointer

Concept Selection

Concept 1• Battery• Gyroscope• Low Pass Filter• Processor• Communication to NST

Module

Concept 2• Battery• Accelerometer• Integrator/Low Pass

Filter• Processor• Communication to NST

Page 10: P14372 Actively Stabilized  Hand-Held Laser Pointer

Gyroscope VS Acceleromter

Page 11: P14372 Actively Stabilized  Hand-Held Laser Pointer

Required Response Time• Highest hand jitter frequency = 20 Hz• Sample rate = 4*frequency = 80 Hz = .0125 sec• Required time = .0125 sec or 12.5 ms to

accurately reduce vibrations

Page 12: P14372 Actively Stabilized  Hand-Held Laser Pointer

Response Time Breakdown

• NST• Data Acquisition• Software Interpretation and Control• Communication to NST

Page 13: P14372 Actively Stabilized  Hand-Held Laser Pointer

Tested Circuit

Page 14: P14372 Actively Stabilized  Hand-Held Laser Pointer

Response Time Measurements

Total Time Zoomed to Zero (Delay)

Page 15: P14372 Actively Stabilized  Hand-Held Laser Pointer

Total Response Time• NST ~ 2 ms (worst case scenario)• Data Acquisition ~ 2 ms• Software Interpretation and Control ~ 2-5 ms• Communication to NST ~ .2 ms• Total Time = 9.9 to 10 ms• Gives 2.5 ms of overhead

Page 16: P14372 Actively Stabilized  Hand-Held Laser Pointer

Agenda• Detailed Design Review

• Schematic Drawings• Control Algorithm• Thermal Resistance Analysis• Device Housing/Layout• Test Bench Design

Page 17: P14372 Actively Stabilized  Hand-Held Laser Pointer

Detailed Review

Page 18: P14372 Actively Stabilized  Hand-Held Laser Pointer

Block Schematic: Our System

Page 19: P14372 Actively Stabilized  Hand-Held Laser Pointer

Gyroscope Schematic

Page 20: P14372 Actively Stabilized  Hand-Held Laser Pointer

• InvenSense ITG-3200

• Sample Rate: 8kHz

• Operating Current: 6.5mA

• Operating Voltage: 3.3V

• Full Scale Range: 2000°/s

• Fast Mode 400kHz I2C Interface

• Simple breakout board with mounting holes

Gyroscope

Page 21: P14372 Actively Stabilized  Hand-Held Laser Pointer

Power Supply and Charger

Page 22: P14372 Actively Stabilized  Hand-Held Laser Pointer

• UnionFortune 063450 Cells

• 1000mAh LiPo

• 2 cells in parallel for 2000mAh total

• Battery life close to 4 hours

• -25°C to 60°C Operating Temperature

• Nominal Voltage: 3.7V

• Maximum Current: 1A (wire limited)

Battery

Page 23: P14372 Actively Stabilized  Hand-Held Laser Pointer

Processor Schematic

Page 24: P14372 Actively Stabilized  Hand-Held Laser Pointer

• SparkFun Arduino Fio v3

• 8MHz Clock

• 16 Digital I/Os

• 6 Analog I/Os

• 150mA Current Draw

• Built in 3.3v regulator and LiPo charger

• Built in switch

• I2C, SPI, USB compatible

Processor

Page 25: P14372 Actively Stabilized  Hand-Held Laser Pointer

Deriving the Transfer Function

y [n ]= y [n−1]+ T s x [n]

y ( z )= z− 1 y ( z )+ T s x ( z )

H (z )=T s

1−z−1

C (z )=−T s zz−1

y ( z )[ z−1 ]=−T z x ( z )

y [n+ 1]− y [n ]=−T s x [n+ 1 ]

n '=n+ 1

y [n ' ]= y [n '−1]−T s x [n ' ]

n ' → n

y [n ]= y [n−1]−T s x [n]

?

Page 26: P14372 Actively Stabilized  Hand-Held Laser Pointer

Pole Zero Map C (z )=−T s zz−1

=−T s1− z−1

Page 27: P14372 Actively Stabilized  Hand-Held Laser Pointer

Bode Plot

Page 28: P14372 Actively Stabilized  Hand-Held Laser Pointer

Sample Input (f = 1 Hz)

Green is input, Red is output

Page 29: P14372 Actively Stabilized  Hand-Held Laser Pointer

Control Algorithmy [n ]= y [n−1]−T s x [n]

Poll Gyro For Data(I2C)

Subtract Gyro DataFrom Accumulator

Acc > 15?

Acc < -15?

Acc = 0

Wait

Compute EncoderCounts

Send to NST Module

Re-Center NST Module

Page 30: P14372 Actively Stabilized  Hand-Held Laser Pointer

First Control Scheme

0 2 4 6 8 10 12 14-0.6

-0.4

-0.2

0

0.2

0.4Gyro Output

Ang

ular

Vel

ocity

(D

eg/s

)

Time (s)

0 2 4 6 8 10 12 14-1.5

-1

-0.5

0

0.5Integrated Gyro Data

Ang

ular

Dis

plac

emen

t (D

eg/s

)

Time (s)

0 2 4 6 8 10 12 14-0.5

0

0.5

1

1.5Computed Correction

Ang

ular

Dis

plac

emen

t (D

eg/s

)

Time (s)

Page 31: P14372 Actively Stabilized  Hand-Held Laser Pointer

Second Control Scheme

0 2 4 6 8 10 12 14-0.6

-0.5

-0.4

-0.3

-0.2

-0.1

0

0.1

0.2

0.3

0.4Gyroscope Output

Deg

/s

s

0 2 4 6 8 10 12 14-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

1.2Computed Correction

Deg

s

Page 32: P14372 Actively Stabilized  Hand-Held Laser Pointer

Simulated Jump (Within Bound)

0 2 4 6 8 10 12 14-0.6

-0.4

-0.2

0

0.2

0.4

0.6

0.8

1

1.2Gyroscope Output

Deg

/s

s

0 2 4 6 8 10 12 14-6

-5

-4

-3

-2

-1

0

1Computed Correction

Deg

s

Page 33: P14372 Actively Stabilized  Hand-Held Laser Pointer

Simulated Jump (Bound Crossing)

0 2 4 6 8 10 12 14-1

-0.5

0

0.5

1

1.5

2

2.5Gyroscope Output

Deg

/s

s

0 2 4 6 8 10 12 14-16

-14

-12

-10

-8

-6

-4

-2

0

2Computed Correction

Deg

s

Delay = .1s

Page 34: P14372 Actively Stabilized  Hand-Held Laser Pointer

Simulated Jump (Bound Crossing)

0 2 4 6 8 10 12 14-1

0

1

2

3

4

5

6Gyroscope Output

Deg

/s

s

0 2 4 6 8 10 12 14-16

-14

-12

-10

-8

-6

-4

-2

0

2Computed Correction

Deg

s

Delay = .5 s

Page 35: P14372 Actively Stabilized  Hand-Held Laser Pointer

Thermal Resistance Analysis• Surface temperature of housing• Assuming hand insulating half the surface and

=68°F

Page 36: P14372 Actively Stabilized  Hand-Held Laser Pointer

Thermal Resistance Analysis

RAir RHandRHousing

RHousingRAir Ratm

TH TS

TH TS

QQ1,TC1

Q2,TC2

THand

T∞

95°F98°F98°F116°F

68°F96°F96°F116°F

Page 37: P14372 Actively Stabilized  Hand-Held Laser Pointer

Thermal Resistance Analysis

• Assuming TC1=TC2=TC

Page 38: P14372 Actively Stabilized  Hand-Held Laser Pointer

Thermal Resistance Conclusions• Top surface = 96• Bottom surface (surface with hand) = 97• Temperature at surface of chip = 117

Q - Heat Generation, Chip

Air

Air

Housing

Housing

Hand

T∞

Thand

Page 39: P14372 Actively Stabilized  Hand-Held Laser Pointer

Device Housing: Shell

Page 40: P14372 Actively Stabilized  Hand-Held Laser Pointer

Device Layout: Side View

Page 41: P14372 Actively Stabilized  Hand-Held Laser Pointer

Device Layout: Side View

Page 42: P14372 Actively Stabilized  Hand-Held Laser Pointer

Device Layout: Side View with Screws

Page 43: P14372 Actively Stabilized  Hand-Held Laser Pointer

Device Layout: Top View

Page 44: P14372 Actively Stabilized  Hand-Held Laser Pointer

Device Layout: Bottom View

Page 45: P14372 Actively Stabilized  Hand-Held Laser Pointer

Device Layout: Rear View

Page 46: P14372 Actively Stabilized  Hand-Held Laser Pointer

Device Layout: Front View

Page 47: P14372 Actively Stabilized  Hand-Held Laser Pointer

Wiring Diagram: Test Bench

Page 48: P14372 Actively Stabilized  Hand-Held Laser Pointer

Test Bench Design

Page 49: P14372 Actively Stabilized  Hand-Held Laser Pointer

Test Bench

Page 50: P14372 Actively Stabilized  Hand-Held Laser Pointer

Test Bench

Page 51: P14372 Actively Stabilized  Hand-Held Laser Pointer

Test Bench

Page 52: P14372 Actively Stabilized  Hand-Held Laser Pointer

Test Bench

Page 53: P14372 Actively Stabilized  Hand-Held Laser Pointer

Test Bench

Page 54: P14372 Actively Stabilized  Hand-Held Laser Pointer

Agenda• Detailed Risk Assessment• Test Plans• Bill of Materials• Cost Analysis• MSD II Project Schedule

Page 55: P14372 Actively Stabilized  Hand-Held Laser Pointer

Detailed Risk Assessment

Page 56: P14372 Actively Stabilized  Hand-Held Laser Pointer

Test Plans• Validate control algorithm code• Validate gyroscope within device• Verify test bench functionality• Calibrate test bench using second gyroscope• Confirm battery life and heat generation• Confirm surface and chip temperature

Page 57: P14372 Actively Stabilized  Hand-Held Laser Pointer

Cost Analysis

Page 58: P14372 Actively Stabilized  Hand-Held Laser Pointer

MSD I Project Plan

Page 59: P14372 Actively Stabilized  Hand-Held Laser Pointer

MSD II Project Plan

Page 60: P14372 Actively Stabilized  Hand-Held Laser Pointer

THANK YOU!

Page 61: P14372 Actively Stabilized  Hand-Held Laser Pointer

Appendix

Page 62: P14372 Actively Stabilized  Hand-Held Laser Pointer

Housing Drawing

Page 63: P14372 Actively Stabilized  Hand-Held Laser Pointer

Housing Drawing

Page 64: P14372 Actively Stabilized  Hand-Held Laser Pointer

Housing Drawing

Page 65: P14372 Actively Stabilized  Hand-Held Laser Pointer

Housing Drawing