5. NI Board + LabView
5
Fenomena
• Radiasi, Suhu,
Tekanan, dll
Tranduser
• Detektor, TC,
RTD, Pressure
Gauge
Sinyal
Elektronik
• Tegangan, Arus
Pengkondisi
Sinyal
Analog -
Digital
Post
processing
(display dll)
8. Indikator Keberhasilan
Mampu menjelaskan arsitektur sistem akuisisi data
Mampu menjelaskan cara kerja sensor dan transducer
Menerapkan teknik pengkondisian sinyal, akuisisi data
analog dan digital, serta pembangkitan sinyal analog dan
digital
Menerapkan fitur-fitur konfigurasi perangkat keras NI untuk
aplikasi akuisisi data
8
11. NI Board + LabView
11
Tranduser
• Detektor, TC,
RTD, Pressure
Gauge
Sinyal
Elektronik
• Tegangan, Arus
Pengkondisi
Sinyal
Analog -
Digital
Post
processing
(display dll)
14. Transducer : Perangkat yang merubah satu bentuk
energi menjadi tipe bentuk energi lain dengan
besaran sinyal yang bersesuaian
Sensor :
mendeteksi/mengindra sebuah
sinyal atau stimulus
Aktuator :
menghasilkan sinyal/stimulus
14
real
world
sensor
aktuator
Sistem
berumpan balik
Sinyal electronik (digital atau
analog)
Sinyal electronik (digital atau
analog)
20. • Resistance Temperature Detectors (RTDs)
o Platinum, Nickel, Copper metals are typically used
o positive temperature coefficients
• Thermistors (“thermally sensitive resistor”)
o formed from semiconductor materials, not metals
• often composite of a ceramic and a metallic oxide (Mn, Co, Cu or Fe)
o typically have negative temperature coefficients
• Thermocouples
o based on the Seebeck effect: dissimilar metals at diff. temps. signal
20
31. • Photodiode Circuits
• Thermistor Half-Bridge
o voltage divider
o one element varies
• Wheatstone Bridge
o R3 = resistive sensor
o R4 is matched to nominal value of R3
o If R1 = R2, Vout-nominal = 0
o Vout varies as R3 changes
VCC
R1+R4
31
33. METAL RESISTIVITY (OHM/CMF)
cmf = circular mil foot
Gold Au 13.00
Silver Ag 8.8
Copper Cu 9.26
Platinum Pt 59.00
Tungsten W 30.00
Nickel Ni 36.00
33
34. • Bila lokasi pengukuran jauh, maka tahanan kawat
penghubung harus diperhitungkan
C
26
T
)
00385
,
0
)(
100
(
10
o
34
35. • Bila tahanan kawat A dan B sama besar, maka efeknya
pada tegangan output akan saling meniadakan
• Hubungan antara tegangan output dan tahanan RTD
menjadi tidak linier
S
A
B
T
B
T
o V
R
R
R
R
R
R
V
)
(
)
(
)
(
2
1
3
35
36. • Bila arus yang mengalir melalui RTD cukup besar,
maka daya disipasi yang terjadi akan menyebabkan
temperatur RTD naik meskipun temperatur ruangan
yang akan diukur tidak berubah.
• Terjadi kesalahan pengukuran yang disebut self heating
error, dinyatakan dengan oC/mW
• Daya disipasi dapat dihitung dari P = I2 RT
36
37. • Menggunakan sumber arus konstan (CCS)
• Tegangan output yang diukur DVM sebanding
dengan tahanan RTD
• Kerugiannya adalah menggunakan lebih
banyak kawat dibandingkan three-wire
configuration
37
40. • earth ground
• building ground
Sinyal
direferensikan
ke pentanahan
sebuah sistem
• Power supplies
• Signal Generators
• Apapun yang terhubung dg
jalur ground
Contoh :
Grounded
+
_
Vs
Signal Source
40
41. Floating
• earth ground
• building ground
Signal tidak
berreferensi pada
sebuah sistem
pentanahan
• Batteries
• Thermocouples
• Transformers
• Isolation Amplifiers
Contoh:
+
_
Vs
Signal Source
41
43. VM
ACH (n)
ACH (n + 8)
+
_
Instrumentation
Amplifier
+
_
VS
+
_
AISENSE
AIGND
Measurement System
43
44. 44
Tegangan terukur timbul
pada dua input amplifier yg
mengacu terhadap ground
Vcm = (V+ + V– )/2
Common-mode rejection ratio =
CMRR (dB) = 20 log (Differential
Gain/Common-Mode Gain).
results not only in measurement error but
also in possible damage to components on
the device
45. VM
ACH (n)
ACH (n + 8)
+
_
Instrumentation
Amplifier
+
_
VS
+
AISENSE
AIGND
_
Measurement System
45
46. VM
ACH (n)
ACH (n + 8)
+
_
Instrumentation
Amplifier
+
_
VS
+
_ AISENSE
AIGND
Measurement System
46
47. Signal Source
Differential RSE NRSE
Measurement System
Grounded
+
_
Vs
Floating
+
_
Vs
Differential RSE NRSE
Measurement System
47
48. RSE
NRSE
Differential
BETTER
+ Rejects Common-Mode Voltage
- Cuts Channel Count in Half
NOT RECOMMENDED
- Voltage difference (Vg) between the two
grounds makes a ground loop that could
damage the device
GOOD
+ Allows use of entire channel count
- Doesn’t reject Common-Mode Voltage
48
49. RSE
NRSE
Differential
BEST
+ Rejects Common-Mode Voltage
- Cuts Channel Count in Half
- Need bias resistors
BETTER
+ Allows use of entire channel count
+ Don’t need bias resistors
- Doesn’t reject Common-Mode Voltage
GOOD
+ Allows use of entire channel count
- Need bias resistors
- Doesn’t reject Common-Mode Voltage
49
59. Amplification : peningkatan tegangan sesuai dg ADC, resolusi dan sensitifity
Attenuation : kebalikan amplification
Isolation : isolasi perangkat dari sumbernya, menghindari ground loops, proteksi high-
voltage surges dan menghindari high common-mode voltage
Filters: membuang noise dan menghindari aliasing
Excitation : catu transducer dg sumber arus atau tegangan.
Linearization: linierisasi sinyal yang tidak bersesuaian dengan fisis pengukuran
Cold-junction compensation (CJC) : kompensasi dengan pembangkitan tegangan
untuk referensi temperature di cold junction thermocouple
Bridge Completion: resistor referensi untuk seperempat atau setengah jembatan/strain
gages. 59
62. • Properties
oopen-loop gain: ideally infinite: practical values 20k-200k
•high open-loop gain virtual short between + and - inputs
oinput impedance: ideally infinite: CMOS opamps are close to ideal
ooutput impedance: ideally zero: practical values 20-100
ozero output offset: ideally zero: practical value <1mV
ogain-bandwidth product (GB): practical values ~MHz
•frequency where open-loop gain drops to 1 V/V
• Commercial opamps provide many different properties
olow noise
olow input current
olow power
ohigh bandwidth
olow/high supply voltage
ospecial purpose: comparator, instrumentation amplifier
62
63. • Voltage Comparator
o digitize input
• Voltage Follower
o buffer
• Non-Inverting Amp • Inverting Amp
63
66. • Robust differential
gain amplifier
• Input stage
o high input impedance
• buffers gain stage
o no common mode gain
o can have differential gain
• Gain stage
o differential gain, low input impedance
• Overall amplifier
o amplifies only the differential component
• high common mode rejection ratio
o high input impedance suitable for biopotential electrodes with high output
impedance
input stage
gain stage
3
4
1
1
2
d
2
R
R
R
R
R
G
total differential gain
66
67. instrumentation amplifier
With 776 op amps, the circuit was found to have a CMRR of 86 dB at 100 Hz and a noise level of 40 mV peak to
peak at the output. The frequency response was 0.04 to 150 Hz for ±3 dB and was flat over 4 to 40 Hz. The total
gain is 25 (instrument amp) x 32 (non-inverting amp) = 800.
HPF non-inverting amp
67
68.
69. 69
Real world (lab) is analog
V
t t
Computer (binary) is digital
Konversi D/A Computer DAC
ADC
Konversi A/D
V
70. Light gray = original waveform
Blue = Reconstructed waveform
70
71. Semakin banyak bit yang digunakan semakin
akurat representasi sinyal aktual
71
72. Number of bits, n
Number of output codes, = 2
n
Step size (code width), = Vref / 2
n
Formula 4-bit ADC 10-bit ADC
Number of bits n 4
Number of output
codes
2
n
16
Step size (assuming
5 V reference
voltage)
Vref / 2
n
312.5 mV
72
73. Seberapa baik digitized data bersesuaian
dengan original analog input.
Jumlah samples per second atau frequency.
Examples: 1000 samples/sec or 1 kHz.
73
74. Sinyal analog adalah
continuous
Signal yang disampel adalah
rangkaian sample diskrit pada
laju sampling tertentu
Makin cepat penyampelan
makin mirip dengan actual
signal
Jika tidak cukup cepat aliasing
terjadi
Actual Signal
Sampled Signal
74
76. Di sample dua kali lebih besar dari
komponen frekuensi maksimum
Harus di sample antara 5 - 10 lebih besar dari
frekuensi maksimum untuk menggambarkan
bentuk sinyal dg akurat
76
77. Aliased Signal
Adequately Sampled
for Frequency Only
(Same # of cycles)
Adequately Sampled
for Frequency and
Shape
100Hz Sine Wave
100Hz Sine Wave
Sampled at 100Hz
Sampled at 200Hz
Sampled at 1kHz
100Hz Sine Wave
77
81. True Plug & Play USB
Connectivity
Built-in Signal Conditioning
Over 30 Hot-swappable
Modules
Built-in Signal
Conditioning for
Sensors
Stream Data at Over 5
MS/s
81
82. • Distributed Monitoring Applications
o Wireless monitoring and data logging
o Battery powered, outdoor capable
o Up to 300 m range
• NI Hardware Quality
o Measurement Accuracy
o Industrial Design
• Common Features
o 2.4 GHz, IEEE 802.15.4 radio
o Up to 36 nodes per gateway
o Outdoor range up to 300 m
o Four bidirectional Digital I/O lines
o Industrial temperature ratings
o 50 g
o shock, 5 g vibration ratings
o Greater than 3-year battery life
with 4 AA batteries
82
86. RS-232 Serial Port
GPS, keypad/display, bar code, …
800 MHz processor,
4 GB nonvolatile storage,
512 MB DDR2 memory
Thousands of LabVIEW functions
for real-time control, analysis,
logging, communication, …
10/100 MBPS Ethernet
Communication over the network
(TCP/IP, UDP, Datasocket, etc)
Built-in Web Interface
Web Remote Panel Server (HTTP)
FTP File Server, VISA Device Server
E-mail capability
Dual Supply Inputs
Backup supply input
Automatic switching
NEW! Extended range power supply: Dual 9
to 35 V inputs (6 to 35 V during operation)
86
87. • High-performance multicore
system for intense embedded
monitoring and control
applications
• 1.33 GHz dual-core Intel Core i7
processor, 32 GB nonvolatile
storage, 2 GB DDR3 800 MHz
RAM
• LabVIEW Real-Time for
determinism and continuous
operation reliability
• 1 MXI-Express, 4 USB Hi-Speed,
2 Gigabit Ethernet, and 2 serial
ports for connectivity, expansion
8-slot
• Spartan-6 LX150 FPGA chassis
for custom I/O timing, control,
and processing
87
88.
89. NI Board + LabView
89
Tranduser
• Detektor, TC,
RTD, Pressure
Gauge
Sinyal
Elektronik
• Tegangan, Arus
Pengkondisi
Sinyal
Analog -
Digital
Post
processing
(display dll)
90. Transducer : Perangkat yang merubah satu bentuk
energi menjadi tipe bentuk energi lain dengan
besaran sinyal yang bersesuaian
Sensor :
mendeteksi/mengindra sebuah
sinyal atau stimulus
Aktuator :
menghasilkan sinyal/stimulus
90
real
world
sensor
aktuator
Sistem
berumpan balik
Sinyal electronik (digital atau
analog)
Sinyal electronik (digital atau
analog)
91. Signal Source
Differential RSE NRSE
Measurement System
Grounded
+
_
Vs
Floating
+
_
Vs
Differential RSE NRSE
Measurement System
Best Better Good
Better Good
Forbidden 91