Escolar Documentos
Profissional Documentos
Cultura Documentos
Kelompok 24
1. Hadyan 1706022514
2. Fachryal Hiltansyah 1606870521
3. Nanang Eldira 1606907581
4. Hasbi Mahdy 1606870686
5. Muhammad Yusuf Qordhowi 1706104281
Modul 4
sensor Hari/Tanggal
Percobaan : Minggu / 5 Mei 2019
Asisten : Asisten Lab AHTRG, MRC lt 6
1. Background
A strain gage measures strain, or deflection, of an object. As shown in Figure 1.1,
in the QNET Mechatronics Sensors Trainera strain gage is used to measure the deflection
of a flexible link. As the link bends, the resistance of the strain gage changes.
Figure 1. 1: Strain gage measuring deflection of flexible link on QNET Mechatronics Sensors Trainer
Sensor Measurement at
-2.5 V
-1,0 cm
Sensor Measurement at
-1 V
-0,5 cm
Sensor Measurement at
1.2 V
0 cm
Sensor Measurement at
3 V
0,5 cm
Sensor Measurement at
4.8 V
1 cm
Persamaan
y = Gain x + Offset
y = 0,274x - 0.319
Flexible
Software
Parameter Link Error (%)
(cm)
(cm)
Sensor Measurement at
-1 -1.16 16
-1,0 cm
Rata-rata Error 16
1 Background
A pressure sensor is attached to the plunger on the QNET Mechatronics Sensors Trainershown
in Figure 1.1. This is a gage pressure sensor and its measurements are relative to the
atmospheric pressure. The voltage signal generated is proportional to the amount of pressure
in the vessel of the plunger. So as the plunger is pushed further, the air inside the vessel
becomes more compressed and the reading increases
.
Pressure sensors can also be used to indirectly measure other values. For example, in the QNET
Mechatronics Sensors Trainerthe position of the plunger head is measured. It can also be used
to measure the amount of volume in a reservoir or the altitude of an aerial vehicle.
2 In-Lab Exercise
2.1 Collect Data
1. Ensure J9 is set to Pressure.
2. Open the QNET_MECHKIT_Pressure.vi. Make sure the correct Device is chosen.
Caution Completely remove the plunger from the tube and re-insert it. This will ensure the
chamber is pressurized enough. Caution
3. Run QNET_MECHKIT_Pressure_Sensor.vi.
4. Push the plunger up to the initial 1 ml mark on the tube and measure the resulting voltage
using the Pressure (V) scope (or the digital display). Enter the measured value in Table 2.1.
5. Enter the result in the Sensor Measurement (V) array, as indicated in Figure 1.2.
6. Repeat for when the plunger is at 0:8 ml; 0:6 ml; 0:4 ml; 0:2 ml, and 0 ml. The pressure
sensor is quadratic. The coefficients for the second-order polynomial are generated and the
fitted curve is automatically plotted.
7. Enter collected results in Table 2.1 and capture the Sensor Readings scope.
Table 2.1: Pressure sensor results
8. Click on Stop button to stop the VI.
x^2 x c
Polynomial Curve Fitting 0.06 -0.52 1.36
Injeksi
Software
Parameter Plunger Error (%)
(ml)
(ml)
Sensor Measurement at
0.8 0.81 1.25
0,6 ml
Rata-rata Error 1.25
TEMPERATURE SENSOR
1 Background
There are several different types of transducers available to measure temperature: the
thermocouple, the resistance temperature detector (RTD), the thermistor, and the integrated
circuit (IC). Each have their own advantages and disadvantages. The Thermocouple has a wide
temperature range and is easy to use but is the least stable and sensitive. The RTD, on the other
hand, is most stable and accurate of the sensors but is slow and relatively more expensive. The
IC is the only linear transducer, has the highest output, but is slow. The thermistor responds
very quickly but has a limited temperature range. The thermistor on the mechatronic sensors
board is shown in Figure 1.1.
Figure 1.1: Temperature sensor on QNET mechatronic sensors trainer
The thermistor is a resistor that changes value according to the temperature. The relationship
between the resistance of the thermistor and the temperature, T, can be described using the B-
parameter equation
The resistance is R0 when the temperature is at T0. For the thermistor on the mechatronic
sensors trainer, the sensor resistance is
R0 = 47000
when the temperature is at 25 degrees Celsius, or
T0 = 298,15 K
Thermistors are typically part of a circuit. In the QNET mechatronic sensors trainer, the
thermistor is in the circuit shown in Figure 1.2 and labeled by R.
where voff is the voltage adjusted using the Offset potentiometer and Av is the amplifier gain
that can be changed externally using the Gain potentiometer. The Gain and Offset
potentiometers are on the QNET mechatronic sensor trainer and shown in Figure 1.3.
1.1 Temperature Virtual Instrument
The virtual instrument used to collect temperature data is shown in Figure 1.4. The virtual
instrument used to calibrate temperature data is shown in Figure 1.5.
Figure 1.3: Thermistor Gain and Offset potentiometers on QNET Mechatronics Sensors
Trainer
Figure 1.4: Collecting temperature sensor data
Figure 1.5: Calibrating the temperature sensor
4
2 In-Lab Exercise
2.1 Collect Data
1. Ensure J9 is set to Temperature.
2. Open the QNET_MECHKIT_Temperature.vi. Make sure the correct Device is chosen.
3. Run the QNET_MECHKIT_Temperature.vi.
4. As discussed in the Background section, the thermistor is part of a circuit and the output
voltage can be varied using the Gain and Offset potentiometers on the QNET mechatronic
sensors board. Rotate the Gain knob on the counter-clockwise until it hits its limit.
5. Adjust the Offset knob such that the Temperature Sensor (V) scope reads 0 V. This is the
voltage measured at room temperature, T0 = 298 K.
Note: For this step, assume your room is at 25:0 degrees Celsius ( ◦C) even though it's probably
warmer or cooler.
6. Gently place your fingertip on the temperature sensor and examine the response in the
Temperature Sensor (V) scope. The surface temperature of the fingertip is approximately 32
◦ C. Enter the voltage read at room temperature and with the fingertip.
Note: The thermistor is very sensitive. Do not press down too hard on the sensor with your
finger when taking measurements. Otherwise, the measurement will not be consistent.
Note: After releasing the sensor it takes a a while for the temperature reading to settle back to
0 V. You can bring the temperature down faster by gently blowing on the sensor.
7. Click on Stop button to stop the VI.
Parameter Value
Ro 47000
To 298.15
B 1922
T
Value
thermistor
T ruang 34.6
T badan 47.1
Dengan
Parameter Digital
Thermistor
T ruang 30.1 34.6
T badan 34.6 47.1
Error 14.9501661 36.127168
ANALISIS
Pada percobaan Strain Gage ini, kami mendapatkan hasil akhir berupa persamaan garis lurus
(y=mx+c), dimana m adalah Gain dan c adalah Offset. Hasil didapat dari perhitungan value
dari parameter yang telah ditentukan, yaitu dari -1.0cm s.d 1cm dengan interval 0.5cm. Value
yang didapat tidak selalu constant atau memiliki interval yang tetap, kemudian diformulasikan
dengan aplikasi untuk dicari persamaan garis dari hasil percobaan. Dari percobaan, Gain
didapat 0.274 dan Offset didapat -0.391. Lalu, persamaan tersebut di cek apakah merupakan
persamaan yang merepresentasikan hasil dengan baik menggunakan error calculation, dimana
saat parameter sensor measurement pada -1.0cm, flexible link pada -1.0cm dan software pada
-1.16cm sehingga dapat disimpulkan error 16%. Dari perhitungan tersebut didapat spectrum
dari frekuensi 6.1753 dan amplitude sebesar -52.226.
Pada percobaan ini, kesalahan dapat ada akibat praktikkan tidak konsisten dalam
membengkokkan flexible link sehingga hasil yang didapat memiliki kemungkinan tidak
sempurna. Tidak hanya itu, apabila terdapat kesalahan pada rangkaian elektronik maka
pembacaan dapat berubah sehingga harus di cek apakah sensor berfungsi dengan baik dan
benar. Terakhir, kesalahan dapat terjadi akibat human error dari praktikan yang salah mencatat
atau memformulasikan pada aplikasi.
Pada percobaan ini, hasil akhir yang dicari adalah polynomial curve fitting (y=x2+x+c). Hasil
akhir didapat dengan memformulasikan value yang didapat dari setiap parameter dari
perhitungan tekanan pada injeksi plunger dengan volume 0.8ml s.d 0.4ml dengan interval 0.1ml
dan pada 0ml. Hasil akhir yang didapat adalah x2=0.06, x=-0.52, c=1.36. Lalu, error dihitung
dengan membandingkan pembacaan volume pada parameter sensor measurement 0.6ml,
dimana pada injeksi plunger hasilnya 0.8ml dan pada software 0.81ml sehingga rata-rata error
1.25%.
2.2 Analisis Kesalahan
Pada percobaan ini, kesalahan dapat terjadi akibat praktikkan tidak menahan injeksi plunger
ketika melakukan pengukuran karena semakin kecil volume yang dibaca maka semakin tinggi
pressure didalam sehingga dapat mendorong kembali injeksi plunger. Lalu, kesalahan lainnya
dapat terjadi akibat human error, yaitu kesalahan pada pembacaan atau kesalahan
memformulasikan pada aplikasi.
Pada percobaan ini, hasil akhir yang diinginkan adalah error pada digital dan thermistor ketika
mengukur suhu ruangan dan badan seseorang. Hasil yang didapat adalah pada digital, suhu
ruangan adalah 30.1 derajat celcius dan pada badan salah satu praktikkan adalah 34.56 derajat
celcius. Lalu, pada thermistor untuk suhu ruangan adalah 34.6 derajat celcius dan suhu badan
salah satu praktikkan (sama dengan ketika mengukur dengan digital) adalah 47.1 derajat
celcius. Maka, error pada digital adalah 14.95% dan pada thermistor adalah 36.12%.
Pada pengukuran ini, kesalahan dapat terjadi akibat sensor yang membaca tidak konsisten
(berubah terus dengan cepat) sehingga praktikkan harus menentukan nilai yang diambil yang
dapat berujung pada human error.
LAMPIRAN