13.01.2015 Views

AE/ME 201-- Procedure -- Lab: Tank Draining Instrumentation and ...

AE/ME 201-- Procedure -- Lab: Tank Draining Instrumentation and ...

AE/ME 201-- Procedure -- Lab: Tank Draining Instrumentation and ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>AE</strong>/<strong>ME</strong> <strong>201</strong> – Spring 2005<br />

<strong>Tank</strong> <strong>Draining</strong> <strong>Instrumentation</strong> <strong>and</strong> Calculation of Exit Losses<br />

R. S. LaFleur <strong>and</strong> J. A. Taylor ∗<br />

Mech. & Aero. Eng. Dept.<br />

Clarkson University Box 5725<br />

Potsdam, NY 13699-5725<br />

Purpose:<br />

This experiment is intended to support the Differential<br />

Equations course. The student will instrument<br />

a tank <strong>and</strong> measure the loss coefficient, C, that relates<br />

the height fluid in the tank to the the velocity<br />

of the free surface as the tank drains. This relationship<br />

is described by a first order differential equation<br />

of the form:<br />

dh<br />

dt = C2 h (1)<br />

<strong>and</strong> in addition to determining the loss coefficient,<br />

C, the student will have to evaluate the uncertainty<br />

in his or her estimate of C.<br />

Figure 1: Side view of the immersion probe.<br />

Background:<br />

The background information for this experiment<br />

will be separated into two subsections. The first<br />

will focus on the instrumentation <strong>and</strong> the second<br />

will attempt to describe how the differential equation<br />

that we’re attempting to solve was obtained.<br />

<strong>Instrumentation</strong><br />

Please read pages 203-208 (Wheatstone bridge – deflection<br />

method), 235-243 (data acquisition), 438-<br />

439 (strain gauge electrical circuits) in the text [1] .<br />

Two metal rods separated by an insulator are used<br />

to sense water height or level in a tank. This simple<br />

sensor has no moving parts. When immersed in<br />

water, the rods <strong>and</strong> water between the rods forms<br />

an electrical resistor. The resistance, R, of the<br />

probe is calculated from the resistivity of the water,<br />

r, the distance apart the rods are spaced, L, <strong>and</strong> the<br />

wetted conduction area, A which, in turn, depends<br />

upon the depth of the probe, d <strong>and</strong> a field factor,<br />

η. The field factor η is a function of the resistance<br />

∗ taylorja@clarkson.edu, (315) 268-6683, <strong>and</strong> CAMP 266<br />

Figure 2: Top view of the immeersion probe.<br />

of the water which varies with suspended impurities<br />

<strong>and</strong> will require us to perform a calibration before<br />

performing our experiment.<br />

R probe = rL A = rL<br />

ηd<br />

(2)<br />

We can see from equation 2 that the probe resistance<br />

will increase as the depth of probe, or the<br />

height of the water, decreases. The immersion probe<br />

will form one leg of a wheatstone bridge circuit <strong>and</strong><br />

as the resistance of the probe changes, the bridge<br />

output voltage will indicate the change in the height<br />

of the water from its initial height.<br />

The change in bridge output is small but sufficiently<br />

large that the response can be acquired using a digital<br />

data acquisition system. The DAQ system can<br />

rapidly record the deflected bridge output. This<br />

speed is required to resolve the transient level within<br />

1


<strong>AE</strong>/<strong>ME</strong> <strong>201</strong> – Spring 2005<br />

the tank.<br />

7. ρ - density<br />

With 3 locations <strong>and</strong> 7 unknowns at each, there are<br />

a total of 21 unknowns initially.<br />

Using a definition of total pressure from the<br />

Bernoulli equation (not used yet), one definition<br />

links four of the quantities for each location. The<br />

three state equations are:<br />

P T1 = P s1 + ρ 1V1<br />

2<br />

2<br />

+ ρ 1 gh 1 (3)<br />

Fluid Mechanics<br />

Figure 3: Schematic of tank.<br />

Although, this experiment is intended to introduce<br />

you to some different instrumentation techniques<br />

<strong>and</strong> demonstrate experimental methods for obtaining<br />

the constant coefficient in a simple first order<br />

differential equation, a brief introduction to fluid<br />

mechanics is included to help to underst<strong>and</strong> what<br />

you’re measuring <strong>and</strong> why.<br />

Measurements of the liquid height versus time for<br />

the tank draining will provide you with information<br />

on the exit flow fixture (i.e. for your experiment,<br />

this includes the section of pipe <strong>and</strong> the valve). For<br />

example, the valve at the bottom of the tank provides<br />

some resistance to flow <strong>and</strong> controls the rate<br />

of draining <strong>and</strong> the rate of change of height versus<br />

time. Also, the height in the tank sets the water<br />

source pressure that drives the flow through the<br />

valve. Therefore, the measurement of height versus<br />

time provides an indication of both flow rate <strong>and</strong><br />

supply pressure.<br />

There are three locations in question as shown in<br />

Figure 3. At each location, seven quantities are used<br />

to describe the state of the water or conditions:<br />

1. P s - Static pressure<br />

2. P T - Total pressure<br />

3. V - flow velocity<br />

4. h - fluid height<br />

5. ṁ - mass flow<br />

6. A - area<br />

P T2 = P s2 + ρ 2V2<br />

2<br />

2<br />

+ ρ 2 gh 2 (4)<br />

P T3 = P s3 + ρ 3V3<br />

2<br />

+ ρ 3 gh 3 (5)<br />

2<br />

Conservation of mass applies between pairs of locations.<br />

The two conservation of mass equations are:<br />

<strong>and</strong><br />

ṁ 2 = ṁ 3 (6)<br />

dh 1<br />

ρ 1 A 1 = −ṁ 3 (7)<br />

dt<br />

Additional definitions are used to link some of the<br />

quantities. The velocity at location 1 is the free<br />

surface motion:<br />

V 1 = dh 1<br />

(8)<br />

dt<br />

Mass flow rates are defined from surface fluxes as:<br />

<strong>and</strong><br />

ṁ 2 = ρ 2 A 2 V 2 (9)<br />

ṁ 3 = ρ 3 A 3 V 3 (10)<br />

The loss coefficient, K or K 23 , for the exit plumbing<br />

(including the test section) is<br />

K = K 23 = 2(P T 2<br />

− P T3 )<br />

ρ 2 V 2<br />

2<br />

This adds an unknown <strong>and</strong> an equation.<br />

(11)<br />

More equations are obtained by adopting some assumptions.<br />

1. The total pressure loss between stations 1 <strong>and</strong><br />

2 is very small<br />

2. density is constant <strong>and</strong> known - this is three<br />

equations<br />

3. The static pressure at station 1 is the local atmospheric<br />

pressure<br />

4. The static pressure at station 3 is the local atmospheric<br />

pressure<br />

2


5. All areas are given or measured - this is three<br />

equations<br />

6. Stations 2 <strong>and</strong> 3 are at a zero height reference<br />

7. There is no mass flow at station 1<br />

These add twelve equations. Adding all equations,<br />

there are 20 equations total. Against 21 unknowns,<br />

this leaves one degree of freedom. This will be the<br />

initial height of station 1 when the exit valve is open.<br />

With some algebra, dropping the subscript 1 from<br />

h, some of these equations can be combined <strong>and</strong> manipulated<br />

to solve for a first order differential equation<br />

that governs the water height. This differential<br />

equation is:<br />

<strong>Instrumentation</strong>:<br />

<strong>AE</strong>/<strong>ME</strong> <strong>201</strong> – Spring 2005<br />

1. The HAMPTON instrumentation circuitry box<br />

will be used to form a wheatstone bridge with<br />

the probe as shown in Figure 4.<br />

Voltage Supply: Sine Wave<br />

Generator on the BNC-2120<br />

Interface Box<br />

V 1 = dh 1<br />

= −C √ h (12)<br />

dt<br />

where C is defined as:<br />

C 2 2g<br />

=<br />

K 23 ( A1<br />

A 2<br />

) 2 + ( A1<br />

A 3<br />

) 2 − 1 > 0 (13)<br />

Notice that the fluid density does not appear anywhere<br />

in equations 12 or 13.<br />

From the traditional math-solution approach, the<br />

loss coefficient, K, is specified along with all other<br />

parameters <strong>and</strong> C is assumed constant over time<br />

such that h(t) is solved. Unfortunately, we don’t<br />

know enough about the resistance of the exit to<br />

solve this problem directly. However, by using the<br />

DAQ system to measure h(t), with a fine enough<br />

time increment to accurately compute the rate of<br />

change of h, C can be calculated. With fixed geometry<br />

<strong>and</strong> water density, the loss coefficient, K, can<br />

be also be determined.<br />

C 2 = 1 ( dh )<br />

(14)<br />

h dt<br />

where<br />

K =<br />

( A2<br />

) 2 [ 2g<br />

] (<br />

A 1 C 2 + 1 A2<br />

) 2<br />

−<br />

(15)<br />

A 3<br />

Experiment Apparatus:<br />

Physical Hardware:<br />

1. Fill a water tank to near the top with water.<br />

Make sure the water level covers most of the<br />

immersion probe as it hangs from the edge of<br />

the tank. The dimensions of the tank should<br />

be measured to enable volume calculations.<br />

2. A few tablespoons of table salt should be added<br />

to the tank. This will increase the conductivity<br />

of the water.<br />

Output Signal: Connect to<br />

ACH5 on the BNC-2120<br />

Interface Box<br />

Figure 4: Circuit diagram – From: it Hampden<br />

Model H-IT-2 Student Manual, (2002) Hampden<br />

Engineering Corporation, pp. 50.<br />

2. The bridge excitation will be provided by the<br />

sine wave signal generator located on the lowest<br />

row of BNC connectors on the NATIONAL<br />

INSTRU<strong>ME</strong>NTS interface module.<br />

<strong>Procedure</strong>s:<br />

<strong>Lab</strong> partners will be positioned on opposite sides<br />

of the work bench, <strong>and</strong> clear communication will<br />

be necessary to coordinate tank draining <strong>and</strong> data<br />

acquisition. You will begin by constructing the<br />

Wheatstone bridge circuit. Then the you calibrate<br />

the probe <strong>and</strong> perform the experiment.<br />

Constructing the Circuits<br />

1. Wire the power cable from sine wave generator<br />

on the NATIONAL INSTRU<strong>ME</strong>NTS interface<br />

to the wheatstone bridge input. Place<br />

3


<strong>AE</strong>/<strong>ME</strong> <strong>201</strong> – Spring 2005<br />

the multi-meter in frequency mode <strong>and</strong> measure<br />

the frequency provided.<br />

2. The bridge excitation should be set to approximately:<br />

±2VAC @ 5000Hz<br />

3. Wire the bridge circuit including the immersion<br />

probe.<br />

4. Place the multimeter leads on the bridge output.<br />

Set the multi-meter to AC function using<br />

the voltage setting <strong>and</strong> switching the function<br />

button (it looks like a little sine wave) on the<br />

left side. The liquid crystal display should show<br />

that AC is being measured.<br />

5. Place the immersion probe in the water in the<br />

tank <strong>and</strong> use the meter stick to measure the<br />

liquid level.<br />

6. Balance the bridge by adjusting the trim potentiometer,<br />

P1, in the bridge ciruit. Zero may<br />

not be obtained but the AC reading on the voltmeter<br />

should be minimized.<br />

7. Connect the output cable from ports J8 <strong>and</strong><br />

J12 to the BNC port labeled ACH5 on the NA-<br />

TIONAL INSTRU<strong>ME</strong>NTS interface.<br />

Calibration<br />

1. Insure that the drain will run into a bucket <strong>and</strong><br />

not onto the floor.<br />

2. Launch the <strong>Lab</strong>VIEW Vi, <strong>and</strong> press the run<br />

arrow in the upper left corner of the screen.<br />

You should see a sine wave displayed in one of<br />

the plots <strong>and</strong> a voltage in the digital display in<br />

the upper left h<strong>and</strong> portion of the screen.<br />

3. Measure the initial water level.<br />

4. Record the voltage shown in the display on<br />

LABVIEW VI. The current voltage is displayed<br />

in the ”liquid level” text box in the upper left<br />

h<strong>and</strong> corner of the acquisition window.<br />

5. Slowly drain a small amount of water into the<br />

catch bucket. Measure the new water level.<br />

6. Repeat steps 4 <strong>and</strong> 5 until the immersion probe<br />

is nearly uncovered.<br />

<strong>Tank</strong> <strong>Draining</strong> Test<br />

1. Insure that the drain will run into a bucket <strong>and</strong><br />

not onto the floor.<br />

2. Open the drain valve briefly <strong>and</strong> a small<br />

amount to insure the trap is filled<br />

3. Start the data acquisition routine by pressing<br />

the run arrow in the upper left h<strong>and</strong> corner of<br />

the screen. The output should appear in the<br />

upper plot <strong>and</strong> a Fourier transformed version<br />

of the output appears in the middle plot as a<br />

spike at 5kHz. The lower plot will appear when<br />

you begin storing the data.<br />

4. To begin the data acquisition click the toggle<br />

switch or button beneath the liquid level indicator<br />

text box. Allow the system to acquire a<br />

few seconds worth of data <strong>and</strong> then open the<br />

drain valve fully to begin draining the tank.<br />

5. Close the drain valve when the probe reading<br />

reaches approximately 0.1V or the water<br />

level drops below the bottom of the immersion<br />

probe.<br />

6. Stop the data acquisition by clicking the toggle<br />

switch again, or by clicking the stop button,<br />

<strong>and</strong> save the data onto disk. Your data file will<br />

contain two columns: time <strong>and</strong> voltage.<br />

7. Refill the tank to the starting level <strong>and</strong> repeat<br />

the test procedure with the valve half open.<br />

Software<br />

A <strong>Lab</strong>VIEW virtual instrument titled “<strong>Tank</strong> <strong>Draining</strong>”<br />

is available within the “M<strong>AE</strong> <strong>Lab</strong> Software”<br />

folder on the desktop for use with this experiment.<br />

Tasks:<br />

1. Plot the calibration data: the immersion probe<br />

depth as a function of the voltage. Be sure to<br />

include error bars on your data.<br />

2. Perform a least squares fit of the calibration<br />

curve to obtain a calibration formula <strong>and</strong> plot<br />

a sample curve onto the plot of Task 1 to show<br />

the quality of your data. NOTE: the calibration<br />

curve is not linear, so you should use either an<br />

exponential or a polynomial least squares fit.<br />

3. Use the calibration curve formula to convert<br />

voltage data to immersion probe depth. Plot<br />

your calibrated data as a function of time.<br />

4. Compute the derivative dh/dt to obtain the<br />

draining velocity <strong>and</strong> construct a plot of the<br />

velocity as a function of time.<br />

4


<strong>AE</strong>/<strong>ME</strong> <strong>201</strong> – Spring 2005<br />

5. Using the geometry of the tank <strong>and</strong> exit piping<br />

<strong>and</strong> immersion probe depth versus time calculate<br />

the K <strong>and</strong> its associated uncertainty, e K ,<br />

for the exit. The Kline-McKlintock method [1]<br />

of assessing the propagation of uncertainty to<br />

a result should be used to compute e K .<br />

References:<br />

1. Taylor, J.A. (2004) “Uncertainty Analysis,”<br />

http://www.clarkson.edu/class/maelab/<br />

5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!