ME 322: Instrumentation Lecture 27 Midterm Review March 28, 2016

advertisement
ME 322: Instrumentation
Lecture 27
Midterm Review
March 28, 2016
Professor Miles Greiner
Announcements/Reminders
• HW 9 is due now (will extend to ~11 AM)
• This week in Lab
– Lab 9 Transient Temperature Response
• Next week
– Open-ended extra-credit Lab 9.1 (not required)
• Described last lecture
– 1%-of-grade for active participation
– Email lab proposal to Marissa by Friday, 4/1/16
• Midterm II, Wednesday, March 30, 2016
– Joseph Young will hold a review at 7 PM tomorrow
• See WebCampus and email for place
• 3x5 card survey
Midterm II
• Last year’s exam
– Neither Joseph nor I will work those problems
– These specific problems will not be on this year’s exam
•
•
•
•
Open book + bookmarks + 1 pages of notes
~4 problems, with parts
Focus on materials not covers on Midterm I
Study
– HW, Lab Calculations, Notes, Text reading
– If you missed a lecture you may want to talk to students who attended,
since some information is not on the lecture slides
• Units, significant figures
– Especially on statistical-analysis and propagation-of-uncertainty
problems
• Know how to used your calculator (mean, SD, linear regression)
• Special needs: See me After Class (to confirm)
– Do not come to OB 101 or 102 if you are schedule to go to DRC
Fluid Speed and Uncertainty
PS
PT > PS
PT > PS PS
V
• Pitot and Pitot-Static Probes
–𝑉=𝐢
2βˆ†π‘ƒ
𝜌
(power product?)
• C accounts for viscous effects, which are small
– Assume C = 1 unless told otherwise
• Need to determine pressure difference βˆ†π‘ƒ and fluid
density 𝜌
Fluid Density and Uncertainty
• Ideal Gases
– πœŒπ΄π‘–π‘Ÿ =
𝑃
𝑅𝑇
(power product?)
• R = Gas Constant = RU/MM
– RU = Universal Gas Constant = 8.314 kJ/kmol K
– MM = Molar Mass of the gas
– RAir = 0.2870 kPa-m3/kg-K
• T[K] = T[°C] + 273.15, Gas Absolute Temperature
• P, Gas static pressure
– Can incorporate density into speed calculation
• 𝑉=𝐢
2βˆ†π‘ƒ
𝜌
=𝐢
2βˆ†π‘ƒπ‘…πΊπ‘Žπ‘  𝑇
𝑃
• Liquids
– 𝜌 = 𝑓𝑛 𝑇
– π‘€πœŒ =
π‘‘πœŒ
𝑀𝑇
𝑑𝑇
(Tables)
=
𝜌2 −𝜌1
𝑀𝑇
𝑇2 −𝑇1
(power product?)
Water Properties
• Be careful reading headings and units
Pressure Transmitter Measurement
• 𝑃 = πœŒπ‘Š π‘”β„Ž = πœŒπ‘Š 𝑔(𝐹𝑆)
𝐼−4 π‘šπ΄
16 π‘šπ΄
– πœŒπ‘Š = 998.7 kg/m3; g = 9.81 m/s2
– FS = (3, 40 or ?
2.54 π‘π‘š 1 π‘š
inch)
1 π‘–π‘›π‘β„Ž 100 π‘π‘š
= 0.0762, 1.016 π‘š π‘œπ‘Ÿ ?
• Stated uncertainty: 0.25% (or ?) of Full Scale
– Certainty level = ? (need to be told on test)
– For FS = 3 inch WC
• PFS = rWghFS =
2.54 π‘π‘š
(998.7 kg/m3)(9.81 m/s2) (3 inch)
1 π‘–π‘›π‘β„Ž
• wP = 0.0025 PFS = 1.9 Pa
1π‘š
100 π‘π‘š
= 746.6 Pa
– For FS = 40 inch WC
• PFS = rWghFS =
kg/m3)(9.81
m/s2)
(998.7
(40
• wP = 0.0025 PFS = 25 Pa
2.54 π‘π‘š 1 π‘š
inch)
1 π‘–π‘›π‘β„Ž 100 π‘π‘š
= 9954 Pa
Static Pressure
• PStat = PATM – PG (power product or linear sum?)
– Uncertainty: π‘€π‘ƒπ‘†π‘‘π‘Žπ‘‘
2
= 1𝑀𝑃𝐴𝑇𝑀
2
+ −1𝑀𝑃𝐺
2
• In general, for linear sums:
– 𝑅 = π‘Žπ‘‹
– 𝑀𝑅2 = π‘Žπ‘€π‘‹
+ π‘π‘Œ +
𝑐𝑍
2
+ π‘π‘€π‘Œ 2 + 𝑐𝑀𝑍
+β‹―=
2
+β‹―=
𝑐𝑖 𝑋𝑖
𝑐𝑖 𝑀𝑖
2
Volume Flow
Rate
• Variable Area Meter: 𝑄 =
– Need 𝛽 =
𝑑
,
𝐷
𝐴2 =
πœ‹ 2
𝑑
4
𝐢𝐴2
1−𝛽 4
2βˆ†π‘ƒ
𝜌
(throat), 𝐢 = 𝑓 𝑅𝑒𝐷 =
4πœŒπ‘„
πœ‹π·πœ‡
(iterate)
– This expression needs pipe and throat dimensions
• Presso Formulation:
–𝑄=
𝐴2
𝐴1
𝐴1
𝐢
1−𝛽4
2βˆ†π‘ƒ
𝜌
=
πœ‹ 2
𝐷
4
𝐾Presso
2βˆ†π‘ƒ
𝜌
(power product?)
– Only need D and KPresso = 𝑓𝑛 𝑅𝑒𝐷 : Given by manufacturer
• Don’t need A2 or b
Discharge Coefficient Data from Text
• Nozzle: page 344, Eqn. 10.10
– C = 0.9975 – 0.00653
106 𝛽
𝑅𝑒𝐷
0.5
(see restrictions in Text)
• Orifice: page 349, Eqn. 10.13
– C = 0.5959 +
0.0312b2.1 -
91.71𝛽2.5
8
0.184b +
0.75
𝑅𝑒𝐷
(0.3 < b < 0.7)
Centerline-Speed/Volume-Flow-Rate
Consistency
• Estimated centerline-speeds for a given volume flow rate Q
– Slug Flow: VS = Q/A
– Parabolic Speed Profile: VP = 2VS
Temperature Measurements
TT
+
TS
TT
•
•
•
•
π‘‰π‘œπ‘’π‘‘
−
Thermocouple, metal pair AB
π‘‰π‘œπ‘’π‘‘ = 𝑉𝐴𝐡 𝑇𝑆 − 𝑉𝐴𝐡 𝑇𝑇
𝑉𝐴𝐡 𝑇 from page 300 (bookmark)
Standard Uncertainty, certainty level = ? (need to be told)
– 2.2°C for T < 314°C
– 0.7% of reading for T > 314°C
• Not quite linear
• Different sensitivities
(slopes)
• 𝑆𝑇𝐢,𝐽 ~
𝑉
0.00005
°πΆ
• Bookmark
Transfer Function (Type-J-TC/DRE–TC-J TC)
Transfer
Function
10
Reading
VSC [V]
• For TS < 400C
– 𝑉𝑆𝐢 = 10𝑉
? Out of
range
𝑆𝑆𝐢 =
0
0
𝑇𝑆
400℃
=
𝑉
𝑉
0.025 𝑇𝑆
℃
Measurand, T [°C]
πœ•π‘‰π‘†πΆ
πœ•π‘‡
400
(linear)
𝑉
𝑆
• 𝑆𝑆𝐢 = 0.025 °πΆ ; 𝑆𝑇𝐢,𝐽 = 0.00005 °πΆ ; Gπ‘Žπ‘–π‘› = 𝑆 𝑆𝐢 = 500
𝑇𝐢,𝐽
– Inverted transfer function: TS = (40°C/V)*VSC
• Conditioner Provides
–
–
–
–
–
Reference Junction Compensation (not sensitive to terminal temp TT)
Amplification (Allows normal DVM or computer acquisition to be used)
Low Pass Filtration (Rejects high frequency RF noise)
Linearization (Easy to convert voltage to temperature)
Galvanic Isolation (TC can be used in water environments)
Radiation Error: High Temperature (combustion) Gas
Measurements
QConv=Ah(Tgas– TS)
Sensor
h, TS, A, e
Tgas
TS
TW
QRad=Ase(TS4 -TW4)
• Radiation heat transfer is important and can cause errors
• At steady state, convection heat transfer to the sensor equals radiation heat
transfer from the sensor
– Q = Ah(Tgas – TS) = Ase(TS4 -TW4)
• s = Stefan-Boltzmann constant = 5.67x10-8W/m2K4
• e = Sensor emissivity (surface property ≤ 1, uncertainty)
• T[K] = T[C] + 273.15
• Measurement Error
– DTRad = Tgas – TS = (se/h)(TS4 -TW4);
– Uncertainty:
π‘€βˆ†π‘‡
βˆ†π‘‡
Rad
Rad
2
=
π‘€πœ€
πœ€
2
+ −
Tgas = DTRad + TS
π‘€β„Ž
β„Ž
2
+
2
3 2
4𝑀𝑇𝑠 𝑇𝑠3 + 4𝑀𝑇𝑀 𝑇𝑀
4 2
𝑇𝑠4 −𝑇𝑀
2
Conduction through Support (Fin Configuration)
TS
T∞
h
x
A, P, k
L
T0
• Sensor temperature TS will be between those of the fluid T∞ and duct surface T0
– Support: area A, parameter P, length L, conductivity k, Convection coefficient h
• From conduction heat transfer analysis:
– Dimensionless Tip Temperature Error from conduction (want this to be small)
– 𝐸=
𝑇𝑆 −𝑇∞
𝑇0 −𝑇∞
1
= cosh π‘šπΏ,
• where π‘šπΏ =
β„Žπ‘ƒ
π‘˜π΄
𝐿 and cosh π‘Ž =
𝑒 π‘Ž +𝑒 −π‘Ž
2
• Decreases as L, h and P increase, k and A decrease
– To find actual gas temperature: 𝑇∞ =
𝑇𝑆 −𝐸𝑇0
;
1−𝐸
Adjustment: Δπ‘‡πΆπ‘œπ‘›π‘‘ = 𝑇∞ − 𝑇𝑆
• If both conduction and radiation corrections are required then
– 𝑇∞ = Δπ‘‡πΆπ‘œπ‘›π‘‘ + Δπ‘‡π‘…π‘Žπ‘‘ + 𝑇𝑆
A/D Converter Characteristics
• Sampling Rate fS [samples/second]
– Sampling time DtS = 1/fS [seconds/sample]
• Full-scale range VRL ≤ V ≤ VRU
– FS = VRU - VRL
• Number of Bits N
– Converter resolves full-scale range into 2N sub-ranges
– Smallest voltage change that can be detected: FS/2N
• Input Resolution Error, IRS
– Random error due to digitization process
• Inside full-scale range: 𝐼𝑅𝐸 =
1 𝐹𝑆
2 2𝑁
=
π‘‰π‘…π‘ˆ −𝑉𝑅𝐿
2𝑁+1
• Outside range: ∞
• Absolute Voltage Accuracy, AVA
– Larger than IRS, Includes calibration and other errors
Numerical Differentiation of Discretely
Sampled Signals
• First-order Centered Differencing
–
𝑑𝑉
𝑑𝑑
𝑑 =
𝑉 𝑑+βˆ†π‘‘π· −𝑉 𝑑−βˆ†π‘‘π·
lim
2βˆ†π‘‘π·
βˆ†π‘‘π· →0
• βˆ†π‘‘π· is the differentiation time step [sec]
– βˆ†π‘‘π· = π‘šβˆ†π‘‘π‘†
– βˆ†π‘‘π‘† is the sampling time
– m = integer (1, 2, or ?)
• What is the best value for m (1, 10, 20, ?)
– Compromise between responsiveness and
sensitivity to random errors
t [sec]
0
0.001
0.002
0.003
0.004
0.005
0.006
0.007
0.008
0.009
0.01
0.011
0.012
0.013
0.014
0.015
0.016
0.017
0.018
0.019
T [oC]
20.599
20.387
20.646
20.316
20.905
20.528
20.716
20.858
20.693
20.905
20.669
20.811
20.811
20.716
20.246
20.646
20.387
20.387
20.693
20.222
Fourier Transform of Discretely Sampled Signal
n=1
n=0
n=2
sine
V
cosine
0
•
𝑉 𝑑 =
∞
𝑛=0
π‘Žπ‘› π‘π‘œπ‘  2πœ‹π‘“π‘› 𝑑 + 𝑏𝑛 𝑠𝑖𝑛 2πœ‹π‘“π‘› 𝑑 , 𝑓𝑛 =
Discrete frequencies: 𝑓𝑛 =
–
•
T1
Any function V(t), over interval 0 < t < T1, may be decomposed into an infinite sum of sine
and cosine waves
–
•
t
𝑛
,
𝑇1
𝑛
𝑇1
n = 0, 1, 2, … ∞ (integers)
Only admits modes for which an integer number of oscillations span the total sampling time T 1.
The root-mean-square (RMS) coefficient π‘‰π‘Ÿπ‘šπ‘ 
𝑛
(π‘Žπ‘› 2 + 𝑏𝑛 2 ) 2 for each mode
=
quantifies its total energy content for a given frequency (from sine and cosine waves)
•
LabVIEW find π‘‰π‘Ÿπ‘šπ‘ 
–
𝑛
𝑛
versus 𝑓𝑛 = 𝑇 numerically
1
When processing, need to add these frequencies: 𝑓0 = 0, 𝑓1 =
1
𝑇1
, 𝑓2 =
2
𝑇1
,…
Examples (ME 322 Labs)
Frequency Domain
Time Domain
Function Generator
100 Hz sine wave
0.14
0.5
0.12
t1 = 1.14 sec, a1 = 0.314 g
0.3
0.1
t2 = 5.88 sec, a2 = 0.152 g
arms [g's]
Damped Vibrating
Cantilever Beam
Dimensinoless Acceleration, g
0.4
0.2
0.08
0.1
0.06
0
-0.1
0.04
-0.2
0.02
-0.3
-0.4
0
-0.5
0
0
2
4
6
8
10
10
20
30
f [Hz]
40
50
60
Time t [sec]
Unsteady Speed Air
Downstream from
a Cylinder in Cross
Flow
• Converts signals from time-domain to frequencydomain (spectral energy content)
Upper, Lower, and Resolution Frequencies
• If a signal is sampled at a rate of fS for a total time of
T1 , Then
– the highest and lowest finite frequencies that can be
accurately detected are:
• (f1 = 1/T1) < f < (fN = fS/2)
– The frequency resolution
• Smallest frequency change that can be detected
• f1 = 1/T1 (same as minimum frequency)
• To reduce lowest frequency (and increase frequency
resolution), increase total sampling time T1
• To observe higher frequencies, and more samples
per cycle, increase the sampling rate fS.
How to predict indicated (or Alias) Frequency fa?
𝑓𝑆
2
Maximum frequency that can
be accurately measured using
sampling frequency fS .
𝑓𝑁 =
• fa = fm if fs > 2fm
• Otherwise using folding chart on page 106 (bookmark)
• fN = fs/2 is the maximum frequency that can be accurately
observed using sampling frequency fs.
TC Response to Temperature Step Change
T
𝜌, 𝑐, 𝐷
TI
Environment Temperature
TF
TF
Faster
Initial Error
EI = TF – TI
T(t) β„Ž
Slower TC
Error = E = TF – T ≠ 0
TI
t
t = tI
• At time t = tI a thermocouple at TI is put into a fluid at TF.
– Error: E = TF – T
• Theory for a lumped (uniform temperature) TC predicts:
– Dimensionless Error: πœƒ 𝑑 =
– 𝜏=
πœŒπ‘‰π‘
π΄β„Ž
=
πœŒπ‘π·
6β„Ž
1
𝑏
𝐸
𝐸𝐼
=
𝑇𝐹 −𝑇
𝑇𝐹 −𝑇𝐼
𝑑−𝑑
=
− 𝜏𝐼
𝑒
= − (spherical thermocouple)
= 𝐴𝑒 𝑏𝑑
To find heat transfer coeff. h from T vs t Data
π‘₯
𝑦
o
t [sec] T [ C] q Boil
ln(q Boil)
• If given T versus t data in the exponential decay period
• Calculate πœƒπ΅π‘œπ‘–π‘™ =
𝑇𝐡 −𝑇
𝑇𝐡 −𝑇𝑅
and 𝑙𝑛(πœƒπ΅π‘œπ‘–π‘™ ) for each time
• Find the least-squares coefficients a and b of
– ln πœƒπ΅π‘œπ‘–π‘™ = 𝑏𝑑 + π‘Ž
– Calculate β„Ž =
πœŒπ‘π·π‘
−
6
(power product?),
π‘€β„Ž 2
β„Ž
=?
• Assume uncertainty in b is small compared to other components
• Find 𝜌 and 𝑐 for thermocouple from appendix
TC Response to Sinusoidally-Varying Temp
tD
T
• Environment Temp: 𝑇𝐸 𝑑 = 𝑀 + 𝐴𝑠𝑖𝑛(πœ”π‘‘)
• TC Temp: 𝑇𝑇𝐢 = 𝑀 + 𝐴 𝑇𝐢 𝑠𝑖𝑛 πœ”π‘‘ − πœ™
– TC will have same mean temperature and frequency (πœ” = 2πœ‹π‘“)
– TC temperature amplitude will be attenuated and delayed
• Minimal if πœπœ” =
– 𝐴 𝑇𝐢 =
– 𝑑𝐷 = 𝑇
πœŒπ‘π·
2πœ‹π‘“
6β„Ž
< 0.1, where 𝜏 =
𝐴
πœπœ” 2 +1
arctan(πœπœ”)
2πœ‹
=𝑇
arctan(πœπœ”)
360
πœŒπ‘‰π‘
π΄β„Ž
=
πœŒπ‘π·
6β„Ž
, otherwise:
Download