1 Microcontroller
KOMPONEN
ATMega 328p
Adapun alat dan bahan dalam 3 Catu daya 3-cell Li-ion battery 2000mAh
merancang bangun robot
4 MPU6050 6-axis gyroscope/Accelerometer
pendulum terbalik beroda dua Sensor
dapat dilihat pada tabel berikut 5 Incremental Rotary encoder
8 Buzzer
9 Kabel
10 Pendukung Led
11 Saklar
12 Papan pcb
13 Aluminum plat 3mm
Mekanik
14 Acrilyc sheet 3mm
1. Perancangan Sistem Mekanik
Perancangan
Sistem Perangkat
Keras
Adapun alat dan bahan dalam
merancang bangun robot
pendulum terbalik beroda dua
dapat dilihat pada tabel berikut
Spesifikasi fisik Robot
Tinggi 20 cm
Panjang 13,5 cm
Lebar 7,4 cm
Massa 1,15 Kg
Titik Massa 4,2 cm
Diameter roda 7,4 cm
2. Perancangan Sistem Elektronika
Perancangan
Sistem Perangkat
Keras
Adapun alat dan bahan dalam
merancang bangun robot
pendulum terbalik beroda dua
dapat dilihat pada tabel berikut
2. Perancangan Sistem Elektronika
Perancangan
Sistem Perangkat
Keras
Adapun alat dan bahan dalam
merancang bangun robot
pendulum terbalik beroda dua
dapat dilihat pada tabel berikut
Perancangan
Sistem Perangkat
Lunak
Perancangan perangkat lunak
berfokus pada alur kerja robot
pendulum terbalik beroda dua
dengan kendali PID yang
diimplementasikan pada
microcontroller ATMega 328p
HASIL PENGUJIAN DAN
PEMBAHASAN
Pengujian
Sensor MPU6050
Respon pembacaan
gyroscope, accelerometer,
dan menggunakan
complementary filter untuk
mendapatkan sudut pitch dari
sensor MPU6050
Sudut pitch
waktu (s) Complementary
Gyroscope Accelerometer
Filter
0 0 0.61 0
Pengujian 0.5 -0.34 0.61 -0.07
Sensor MPU6050 1
1.5
-0.67
-0.99
0.5
0.46
-0.1
-0.12
2 -1.32 0.6 -0.13
2.5 -1.65 0.45 -0.14
Hasil pembacaan dari
3 -1.98 0.57 -0.13
gyroscope, accelerometer,
3.5 -2.31 0.55 -0.15
dan menggunakan
4 -2.65 0.55 -0.15
complementary filter untuk
mendapatkan sudut pitch dari 4.5 -2.98 0.5 -0.14
sensor MPU6050. dapat 5 -3.31 0.43 -0.14
dilihat gyroscope memiliki 5.5 -3.38 0.57 0.12
drift yang menimbulkan offset 6 -0.65 3.41 3.07
terus menerus tiap waktu 6.5 4.5 8.87 8.61
sedangkan accelerometer 7 9.58 14.59 14.08
memiliki pembacaan yang 7.5 13.18 19.36 18.1
sangat sensitif terhadap 8 13.86 18.91 19.1
gangguan getaran-getaran 8.5 5.02 12.18 10.91
pada robot 9 -4.36 3.03 1.55
9.5 -6.54 1.93 -0.38
10 -18.95 -13.05 -12.37
Hasil pengujian pembacaan posisi dari sensor rotary encoder
Pengujian
Sensor Set posisi Incremental Posisi
Rotary Encoder Percobaan
(cm) counter terukur (cm)
1 10 7 10.2
2 20 14 20.3
3 40 28 40.7
4 80 55 79.8
Dari hasil yang diperoleh
5 120 83 120.5
terdapat selisih antara 0,2 –
0,7 cm terhadap posisi aktual
hal ini dikarenakan oleh
resolusi encoder yang
terbatas pada 16ppr.
Manual tuning
PID
Mempertahankan
Sudut Pitch
Pendulum
Percobaan dilakukan Sudut pitch (derajat) Posisi (cm) Sudut pitch (derajat) Posisi (cm)
sebanyak 5 kali dengan
Percobaan 3 Percobaan 4
memberi gangguan berupa
10
dorongan pada robot. Dari 0 -10
-10
respon yang diperoleh dapat -20 -30
dilihat robot mampu tetap -30 -50
-40
mempertahankan sudut pitch -50
0 1 2 3 4 5 6 7 8 9 10 11 12
02 Robot dengan kendali PID untuk menstabilkan sudut pitch dapat dicapai
kestabilan dengan konstanta Kp = 9 ,Ki = 1,3 ,dan Kd = 10.
03 Pada pengujian kendali PID dengan stabilisasi sudut pitch, gangguan dengan
pergeseran sudut 3°, robot mampu kembali keadaan stabil dengan settling time
1,06 - 3 sekon dan pergeseran sudut 1° membutuhkan settling time 2,85 – 3
sekon.
Kesimpulan
04 Implementasi kendali PID posisi dengan konstanta (Kp = 0,25 Ki = 0, Kd = 0.15)
yang disusun secara bertingkat dengan PID sudut, robot tetap mampu
mempertahankan kestabilan posisi pada lintasan dan sudut pitch pendulum.
05 Kendali PID posisi pada lintasan, mampu mempertahankan posisi awal robot baik
ketika diberi gangguan maupun ketika diberi setpoint posisi contohnya pada
setpoint 10 – 80 cm robot dapat menuju posisi tersebut dengan settling time 6,7 –
12,9 s dengan mengalami overshoot 13,2 – 10,1 cm dan memiliki simpangan
posisi akhir terhadap setpoint 0,5 – 0,9 cm.
Saran
01 Memperhatikan parameter settling time dan overshoot agar sekecil mungkin saat
melakukan manual tuning PID
05 Dalam tuning konstanta PID posisi sebaiknya tetap menjaga respon osilasi
serendah mungkin dan kondisi steady state error sekecil mungkin dan settling
time yang kecil untuk mendapatkan respon robot yang responsif dan akurat.
Terima Kasih
Infographic Style
Content Here
You can simply
impress your
Content Here audience and add
Content Here
a unique zing and
You can simply You can simply
appeal to your
impress your impress your
Presentations.
audience and add audience and add
a unique zing and Content Here
a unique zing and
appeal to your You can simply appeal to your
Presentations. impress your Presentations.
Content Here audience and add
a unique zing and
You can simply
appeal to your
impress your
Presentations.
audience and add
a unique zing and
appeal to your
Presentations.
Content Here Content Here Content Here Content Here Content Here
Columns Infographic
Get a modern PowerPoint Presentation that is beautifully designed. I hope and I believe
that this Template will your Time.
You can simply impress your audience and add a You can simply impress your audience and add a
unique zing and appeal to your Presentations. I unique zing and appeal to your Presentations. I
hope and I believe that this Template will your hope and I believe that this Template will your
Time, Money and Reputation. Get a modern Time, Money and Reputation. Get a modern
PowerPoint Presentation that is beautifully PowerPoint Presentation that is beautifully
designed. Easy to change colors, photos and designed. Easy to change colors, photos and
You can simply im- Text. You can simply impress your audience and Text. You can simply impress your audience and
add a unique zing and appeal to your add a unique zing and appeal to your
press your audience Presentations. You can simply impress your Presentations. You can simply impress your
and add a unique zing audience and add a unique zing and appeal to audience and add a unique zing and appeal to
and appeal to your your Presentations. I hope and I believe that this your Presentations. I hope and I believe that this
Presentations. Template will your Time, Money and Reputation. Template will your Time, Money and Reputation.
You can simply impress your audience and add a You can simply impress your audience and add a
unique zing and appeal to your Presentations. unique zing and appeal to your Presentations.
Column Infographic
Get a modern PowerPoint Presentation that is beautifully designed. I hope and I believe
that this Template will your Time.
Get a modern PowerPoint Presentation that is beautifully designed. I hope and I believe that this Template will your Time, Money and
Reputation. Easy to change colors, photos and Text. You can simply impress your audience and add a unique zing and appeal to your
Presentations. Easy to change colors, photos and Text.
I hope and I believe that this Template will your Time, Money and Reputation. You can simply impress your audience and add a unique
zing and appeal to your Presentations. You can simply impress your audience and add a unique zing and appeal to your Presentations.
Easy to change colors, photos and Text.
Fully Editable Shapes
Fully Editable Shapes
Fully Editable Icon Sets: A
FREE
PPT
TEMPLATES
www.allppt.com
Fully Editable Icon Sets: B
FREE
PPT
TEMPLATES
www.allppt.com
Fully Editable Icon Sets: C
FREE
PPT
TEMPLATES
www.allppt.com