Lab 5 Exercises
Exercise 1: A binary digital byte is an eight-object logic gate. For example, let's create an eight LED byte organized as shown on the figure below:
With the word binary it is meant that this logic gate takes logic arguments that comply wi
Instrumentation & Measurements
MECH 430
Chapter 1
MECH 430
Introduction
Slide 1
1.4 Calibration
Calibration applies a known input to the
measurement system for the purpose of observing the
output value.
Keeping all sensor inputs constant
except the one s
Instrumentation & Measurements
MECH 430
C apte
Chapter 2
Static and Dynamic
Characteristics of
Signals
g
MECH 430
Introduction
Slide 1
2.2
2 2 Signals and Waveforms
A signal is used to transmit information
In the context of measurement systems, both the i
Instrumentation & Measurements
MECH 430
Chapter 3
Measurement
System Behavior
MECH 430
Slide 1
3.1
3 1 Introduction
This chapter introduces how to simulate measurement
system behavior using mathematical modeling.
M
Measurement systems respond differentl
+
Instrumentation & Measurements
MECH 430
Chapter 4
Probability and
Statistics
MECH 430
Slide 1
+
4.1 Introduction
For a given set of measurement, we want to be able to
quantify:
A single representative value that best characterize the
average of the da
Instrumentation & Measurements
MECH 430
Chapter 5
Uncertainty
Analysis
MECH 430
Slide 1
5.6
5 6 Error Propagation
Very often results are obtained through a functional
relationship with measured values.
F example the measurement of flow rate using time
F
Instrumentation & Measurements
MECH 430
Chapter 4
Probability and
Statistics
MECH 430
Slide 1
4.3
4 3 Infinite Statistics
Normal or Gaussian
Gaussian.
The PDF for a random variable x having a normal
distribution i
di t ib ti is:
P(x ' x x x '+ x) =
(
)
+
Non-ideal performance of op-amps
Op amps can in general be considered to operate as
ideal op-amps.
The nonideal properties of op-amps limit the
operation of the circuits analyzed in the previous
analysis of op-amps.
The most serious op-amp nonidealit
6.9
6 9 Earth ground
Earth ground refers to the p
g
potential of the
massive Earth.
The third prong in most electrical outlets is
connected to earth ground, which is wired
into the building electrical system for
safety.
Many instruments are grounded to
Instrumentation & Measurements
MECH 430
Chapter 6
Signal
Conditioning
MECH 430
Slide 1
Inverting op a ps
e t g op-amps
We get an inverting amplifier by:
1) Connecting a resistor in the negative feedback,
2) Connecting a resistor between the voltage source
Instrumentation & Measurements
MECH 430
Chapter 7
p
Sampling, Digital
Devices,
Devices and Data
Acquisition
MECH 430
Slide 1
Data Acquisition
Integrating analog electrical transducers with digital
devices is cost effective and common-place.
Di it l micr
Instrumentation & Measurements
MECH 430
Chapter 8
Sensors
MECH 430
Slide 1
Transducers
At
transducer i a device that converts a signal from
d
is d i th t
t
i lf
one physical form to a corresponding signal having a
different physical form.
diff
t h i lf
+
6.8 Analog Signal Conditioning
Electronic Filtering
MECH 430
SC_filtering
Slide 1
+
What are electronic filters?
Electronic filters are electronic circuits which
perform signal processing functions, specifically
intended to suppress, pass, or separate
Moving Point Average and Timer
Exercise 2: Create a timer in LabVIEW.
Exercise 3: In this exercise, we will mimic the action of a filter that does not depend
on signal frequencies. Rather, this filter depends on averaging a set of points of a
signal to re
0.4
K=1.87 ( N 1 ) +1
nj
p ( x )= lim
N , x 0 N (2 x)
T
T
1
x ( t ) dt
T T 0
2
1
[ x ( t )x ' ] dt
T T 0
x ' =lim
2= lim
N
1
1
x = lim x i 2= lim
N N i=1
N N
'
p ( x )=
[
N
i=1
' 2
1
1 ( xx )
exp
2
2
2
]
'
x +x
'
'
P ( x x x x x ) =
p ( x ) dx
'
x x
14.3 A resistor. denoted as R1. is added in series with the
inductor in the circuit in Fig. 144(3). The new low-
pass filter circuit is shown in Fig. P143.
a) Derive the expression for H(s} where
H{s] = VJtﬁ.
b) At what frequency will the magnitude of H (
Chapter Four: Operational Amplifiers 259
$3? Determine the gain of the amplifier in Fig. P49. What is
the value of IO?
' I
0.5»
>0 7 yr R?! 2 20 Kg
m n n
v [(1 = 3.3 kg
Vin : 2 V
Figure P49
SOLUTION: 302 mm, Basic Engineering Circuit Analysis, 8/E
LAB 8 Exercises Exercise 1: DIO Writing to the digital output port.
Exercise 2: Warm Up: building a LED circuit Build the circuit shown below. Try applying the ground (by hand), then removing it to see what happens.
Exercise 3: Writing to the digital outp
Exercise 1: constructing an infra red circuit and reading its output voltage Construct a VI that reads the output voltage of on infra-red emitter-receiver circuit (on ACH0). Try inserting one hand between the emitter and receiver and observe what happens
LAB 10 Exercises Introduction to DC Motor Control
Exercise 1: Controlling a DC motor ON/OFF Build the transistor circuit that we have made for the LED (use the TIP 121 transistor). This time replace the LED and the resistor by a motor. Connect the circuit
MECH430 Instrumentation and Measurements
Najib Metni Ali Ammouri Elie Kfouri
Introduction to National Instruments LabVIEW
For Loops - Formula Nodes - Plots WHY LEARNING LABVIEW?
LabVIEW is a very powerful graphical programming language for instrumentation
MECH430 Instrumentation and Measurements
Najib Metni Ali Ammouri Elie Kfouri
Introduction to National Instruments LabVIEW
Create SubVIs, Use of Structures and Build Arrays LEARNING OBJECTIVES
o Create and save a sub VI for later use. o Use While Loop, Shi
MECH430 Instrumentation and Measurements
Najib Metni Ali Ammouri Elie Kfouri
Introduction to National Instruments LabVIEW
Array Operations, Strings, Mathematical Analysis, and Signals LEARNING OBJECTIVES
o o o o o o Building arrays Use different string fu
MECH430 Instrumentation and Measurements
Najib Metni Ali Ammouri Elie Kfouri
Introduction to National Instruments LabVIEW
Data Acquisition LEARNING OBJECTIVES
o Learning to use Measurement and Automation Explorer (MAX) o Configure Data Acquisition Card o
`
What are the applications that we can use the EMG in?
EMG signals are used in many clinical and biomedical applications. EMG is used as a
diagnostics tool for identifying neuromuscular diseases, assessing low-back pain, kinesiology
(the study of kinetic
PROBLEM 1.9
KNOWN: Data of Table 1.5
FIND: input range, output range
SOLUTION
By inspection
0.5 x 100 mm
0.4 y 253.2 V
The input range (x) is from 0.5 to 100 mm. The output range (y) is from 0.4 to 253.2V. The
corresponding spans are given by
ri = 99.5 mm
PROBLEM2.3
KNOWN:
FIND:
y t 25 10sin 6t
y and yrms
for the time periods t1 to t2 listed below
a) 0 to 0.1 s
b) 0.4 to 0.5 s
c) 0 to 1/3 s
d) 0 to 20 s
SOLUTION:
For the function y(t)
y
1
t2 t1
t2
y(t ) dt
t1
and
yrms
t2
1
2
y(t ) dt
t1
t2 t1
Thus in
PROBLEM 3.1
KNOWN:
K = 2 V/kg
F(t) = forcing function = 1 to 10 kg
FIND:
y(t)
SOLUTION
Because the input is static and the static output is desired, this system can be modeled by a
zero order equation,
Low:
High: :
y = KF = (2 V/kg)(1 kg) = 2V
y = KF = (2