electronic instrumentation

30
Electronic Instrumentation Project 2 Velocity Measurement

Upload: jase

Post on 19-Mar-2016

44 views

Category:

Documents


3 download

DESCRIPTION

Electronic Instrumentation. Project 2 Velocity Measurement. Cantilever Beam Sensors. Position Measurement – obtained from the strain gauge Velocity Measurement – previously obtained from the magnetic pickup coil (not available since Fall of 2006) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Electronic Instrumentation

Electronic InstrumentationProject 2

Velocity Measurement

Page 2: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 2

Cantilever Beam Sensors• Position Measurement – obtained from the strain

gauge• Velocity Measurement – previously obtained from

the magnetic pickup coil (not available since Fall of 2006)

• Acceleration Measurement – obtained from the Analog Devices accelerometer

Page 3: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 3

Sensor Signals• The 2 signals

• Position

• Acceleration

x x e to

t co s

a d xd t

2

2

Page 4: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 4

Basic Steps for Project• Mount an accelerometer close to the end of the beam

• Wire +2.5V, -2.5V, and signal between IOBoard and Circuit• Record acceleration signal

• Reconnect strain gauge circuit• Calibrate the stain gauge• Record position signal

• Compare accelerometer and strain gauge signals• Build an integrator circuit to get velocity from the

accelerometer sensor• Build a differentiator circuit to get velocity from the

strain gauge sensor• Include all calibration and gain constants and

compare measurements of velocity

Page 5: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 5

Building the Accelerometer Circuit

Page 6: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 6

The Analog Device Accelerometer

• The AD Accelerometer is an excellent example of a MEMS device in which a large number of very, very small cantilever beams are used to measure acceleration. A simplified view of a beam is shown here.

Page 7: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 7

Accelerometer Circuit

• The AD chip produces a signal proportional to acceleration• V+ and V- supplies are on the IOBoard.• Only 3 wires need to be connected, V+, V- and the signal

vout.

10F

(V-)

(V+)

Page 8: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 8

Accelerometer Circuit

• The ADXL150 is surface mounted, so we must use a surfboard to connect it to a protoboard

V- Vout V+

Page 9: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 9

Caution

• Please be very careful with the accelerometers. While they can stand quite large g forces, they are electrically fragile. If you apply the wrong voltages to them, they will be ruined. AD is generous with these devices (you can obtain samples too), but we receive a limited number each year.

• Note: this model is obsolete, so you can’t get this one. Others are available.

Page 10: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 10

Extra Protoboard

• You will be given a small protoboard on which you will insert your accelerometer circuit.

• Keep your circuit intact until you complete the project.

• We have enough accelerometer surfboards that you can keep it until the end of project 2.

Page 11: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 11

Mounting the Accelerometer

Page 12: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 12

Mount the Accelerometer Near the End of the Beam

• Place the small protoboard as close to the end as practical

• The axis of the accelerometer needs to be vertical

Page 13: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 13

Accelerometer Signal• The output from the accelerometer

circuit is 38mV per g, where g is the acceleration of gravity.

• The equation below includes the units in brackets

][038.0])[(]/[8.9]/)[(

]/[8.9][38

])[(]/)[(2

2

2

2

VVtVsmsmta

smmVmVtVsmta aa

Page 14: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 14

Amplified Strain Gauge Circuit

)( rightlefta

bout VV

RRV

U 1

u A 7 4 1

+3

-2

V+

7V

-4

O U T6

O S 11

O S 25

R 1 b e a m3 5 0 o h m s

R 2 b e a m3 5 0 o h m s

V b a t 19 V d c

V b a t29 V d c 0

R a 1

1 k

R b 1 1 0 0 k

R b 2 1 0 0 k

R a 2

1 k

0

0

V o u t

Red wire on beam

Black wire on beam

Black resistors on beam

Prewired on beam frame

Wire neatly on protoboard

S t ra in G a u g e 13 5 0 o h m s

S t ra in G a u g e 23 5 0 o h m s

Gray

No wire

Page 15: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 15

Position Measurement Using the Strain Gauge

• Set up the amplified strain gauge circuit • Place a ruler near the end of the beam • Make several measurements of bridge output

voltage and beam position• Find a simple linear relationship between

voltage and beam position (k1) in V/m.

1)()()( ktVtVCtx sg

sgsgb

Page 16: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 16

• The position, x, is calculated from the strain gauge signal.• The acceleration is calculated from the accelerometer

signal.• The two signals can be compared, approximately, by

measuring ω.

Comparing the accelerometer measurements with the strain

gauge measurements

)(sin

tocompared small for cos

sin)(

22 txteCtva

teCtxv

tCetx

t

t

t

Page 17: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 17

Velocity• The velocity is the desired quantity, in this case.• One option – integrate the acceleration signal

• Build a Miller integrator circuit - exp. 4• Need a corner frequency below the beam oscillation

frequency• Avoid saturation of the op-amp – gain isn’t too big• Good strong signal – gain isn’t too small

• Another option – differentiate the strain gauge signal.• Build an op-amp differentiator – exp. 4• Corner frequency higher than the beam oscillation frequency• Avoid saturation but keep the signal strong.

Page 18: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 18

Velocity• One option – integrate the acceleration signal

• Build a Miller integrator circuit - exp. 4• Need a corner frequency below the beam

oscillation frequency• Avoid saturation of the op-amp – gain isn’t too big• Good strong signal – gain isn’t too small

U 1

u A 7 4 1

+3

-2

V +7

V -4

O U T6

O S 11

O S 25

V e lo c it y _ a c cR 1

8 . 2 k o h m

R 2

1 2 0 k o h m

C 1

1 u F

0A c c e l_ s ig n a l

Page 19: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 19

Velocity• Another option – differentiate the strain gauge

signal.• Build an op-amp differentiator – exp. 4• Corner frequency higher than the beam oscillation

frequency• Avoid saturation but keep the signal strong.

U 2

u A 7 4 1

+3

-2

V+

7V

-4

O U T6

O S 11

O S 25

C 2

0 . 6 8 u F

R 3

1 0 k o h m

0 V e lo c it y _ s t ra in _ g a u g e

Str

ain_

gaug

e_si

gnal

Page 20: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 20

Velocity• Be careful to include all gain constants

when calculating the velocity.• For the accelerometer

• Constant of sensor (.038V/g) [g = 9.8m/s2]• Constant for the op-amp integrator (-1/RC)

• For the strain gauge• The strain gauge sensitivity constant, k1• Constant for the op-amp differentiator (-RC)

Page 21: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 21

MATLAB• Save the data to a file

• Open the file with MATLAB• faster• Handles 65,000 points better than Excel

• Basic instructions are in the project write up

Page 22: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 22

Some Questions• How would you use some of the

accelerometer signals in your car to enhance your driving experience?

• If there are so many accelerometers in present day cars, why is acceleration not displayed for the driver? (If you find a car with one, let us know.)

• If you had a portable accelerometer, what would you do with it?

Page 23: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 23

Passive DifferentiatorVin

0

VoutC

R

V V RC dVd t

RC dVdtou t R

C in sfrequencielowat

RCjRCjjH

1

)(

RCjjH LO )(

Page 24: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 24

Active Differentiator

ininCRf

21

dtdVCRV in

infout

infCRjjH )(

Page 25: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 25

Typical Acceleration• Compare your

results with typical acceleration values you can experience.

Elevator (fast service) 0.3 g

Automobile (take off) 0.1-0.5g

Automobile (brake or corner) 0.6-1 g

Automobile (racing) 1-2.5 g

aircraft take off 0.5 g

Earth (free-fall) 1 g

Space Shuttle (take off) 3 g

parachute landing 3.5 g

Plop down in chair 10 g

30 mph car crash w airbag 60 g

football tackle 40 g

seat ejection (jet) 100 g

jumping flea 200 g

high speed car crash 700 g

Page 26: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 26

Crash Test Data

• Head on crash at 56.6 mph

Ballpark Calc:

56.6mph = 25.3m/s

Stopping in 0.1 s

Acceleration is about

-253 m/s2 = -25.8 g

Page 27: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 27

Crash Test Data

• Head on crash at 112.1 mph

Ballpark Calc:

112.1mph = 50.1 m/s

Stopping in 0.1 s

Acceleration is about

-501 m/s2 = -51.1 g

Page 28: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 28

Crash Test Analysis Software

• Software can be downloaded from NHTSA website

• http://www-nrd.nhtsa.dot.gov/software/load-cell-analysis/index.htm

Page 29: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 29

Crash Videos

• http://www.sph.emory.edu/CIC/CLIPS/mvcrash.html

• http://www.arasvo.com/crown_victoria/cv_movies.htm

Page 30: Electronic Instrumentation

04/24/23 ENGR-4300 Electronic Instrumentation 30

Airbags

• Several types of accelerometers are used & at least 2 must sense excessive acceleration to trigger the airbag.