(For USM Staff/Student Only)

EngLib USM > Ω School of Electrical & Electronic Engineering >

Design of system measurement cricket bowling machine using microcontroller

Design of system measurement cricket bowling machine using microcontroller / Ahmad Anas Lutfi Mohmad Saluddin
Mesin kriket pelontar digunakan untuk melatih pemain memukul bola kriket tanpa bantuan pelatih atau pemain. Komponen utama mesin ini ialah motor dan roda, sesetengah model mesin jenis ini menggunakan pengawal mikro sebagai sebahagian daripada komponen utama. Kebanyakan kriket mesin pelontar tidak disertai dengan alat pengukur kelajuan sebagai salah satu fungsi yang terbina didalamnya. Oleh itu, melalui projek ini, alat pengukuran kelajuan dibangunkan untuk mengukur kelajuan bola yang ditembak keluar serta mengukur kelajuan putaran roda dan memaparkan pada paparan. Projek ini berkembang secara berperingkat - peringkat sebanyak empat peringkat, yang mana kelajuan dihasilkan dengan menggunakan PWM yang dijana daripada mikropengawal, reka cipta pengukur kelajuan dan pengukur kelajuan putaran motor, membangunkan pentas interaksi pengguna dan pembinaan model. Alat pengukur kelajuan menggunakan mikropengawal, motor, pemandu motor, pengesan Inframerah dan paparan. Sistem ini berfungsi dengan cara yang berikut: (1) mengesan pencetus dari pengesan Inframerah; (2) masa pecetusan dari pengesan Inframerah dicatatkan; (3) mikropengawal akan mengira kelajuan untuk putaran untuk roda dan bola keluaran; (4) kelajuan yang diukur di paparan pada monitor. Grafik Interaksi Pengguna ini juga direka untuk memaparkan nilai kelajuan dan mengawal motor dengan menghidupkan motor dan memghentikannye atau menukar kelajuan di tahap yang berbeza antara tahap satu hingga tahap sepuluh iaitu dari kelajuan putaran 515 rpm hinga 1350 rpm. Pada peringkat pertama dalam metodologi, isyarat PWM yang telah ditangkap menggunakan osiloskop dan tempoh dan lebar denyut diukur. Daripada data ini kitar tugas dikira. Satu eksperimen untuk mengawal motor menggunakan PWM dijalankan dan kelajuan putaran motor diukur menggunakan tachometer, hasil kajian ditunjukkan dalam bentuk graf. Hasil daripada reka cipta pengukur kelajuan dan pengukur kelajuan putaran litar dibincangkan, eksperimen dijalankan untuk memilih rekacipta pengesan IR yang sesuai untuk projek tersebut. Hasil kajian daripada pembangunan kod sumber untuk mengukur kelajuan ditunjukkan dan fungsi setiap kod sumber diterangkan. Selain itu, hasil kajian daripada pembangunan Grafik Interaksi Pengguna juga ditunjukkan dalam bahagian ini. Fungsi setiap butang dalam Grafik Interaksi Pengguna dijelaskan. Hasil kajian daripada ujian prototaip juga ditunjukkan, untuk bahagian ini terdapat tiga ujian iaitu ujian untuk mengukur kelajuan, ujian untuk mengukur kelajuan putaran dan model perkakasan ujian putaran. Kesimpulannya, objektif projek tercapai menjangkakan bilangan objektif dua ada untuk mengukur kelajuan putaran roda. Dari hasil kajian putaran ujian roda, ia menunjukkan bahawa ketepatan untuk prototaip ini adalah tidak tepat, penggunaan kaedah untuk mengira dalam pengaturcaraan tidak sesuai. Untuk mengukur kelajuan, hasilnya menunjukkan bahawa kelajuan yang diukur oleh prototaip ini adalah tepat. Grafik Interaksi Pengguna yang telah direka bentuk juga berjaya untuk mengawal motor dengan tahap yang berbeza dari tahap satu hingga sepuluh. Ia juga memaparkan nilai kelajuan untuk mengukur kelajuan dan kelajuan pengukuran putaran pada monitor. _______________________________________________________________________________________________________ Cricket bowling machine is a ball throwing device that replaces the bowler to train the batsman. The main components of the machine consist of a motor, and wheel some model also use a microcontroller as main components. Most of the cricket bowling machine do not have speed measurements as a feature built in it. Thus, through this project, the speed measurements is designed to measure the speed of the release ball and the speed of the wheel and displayed on the display. The project is progressed in four states, which are generated speed using PWM from a microcontroller, design speed and the rotational speed measurement circuit, development of graphical user interface and finally hardware implementation. The speed measurement model utilize Raspberry pi microcontroller, motor, motor driver, IR sensor and the monitor. The system works in the following way: (1) detect the falling edge trigger from the IR sensor; (2) the time at the detection is record in microsecond; (3) the microcontroller will calculate the speed for the rotation for the wheel and the release ball; (4) the speed measured is display on monitor. The GUI also is designed to display the value of speed and control the motor from start to stop or change the speed in a different level from one to ten there is from at the rotating speed 525 rpm to 1350 rpm. From the first stage in methodology, the PWM signal is captured using the oscilloscope and the period and the pulse width is measured. From this data the duty cycle is calculated. An experiment to control the motor using PWM is carried out and the rotational speed of the motor is measured using tachometer, the result is shown in the graph. The result from the design speed and rotational speed measurement circuit is discussed, the experiments are carried out to choose appropriated IR sensor design for the project. The result from the development of source code for speed measurement is shown and explained the function each source code. Also, the result from the development of Graphical User Interface also is shown in this section. The function for each button in the GUI is explained. The result from testing the prototype also shows, for this part there is three test namely testing for the speed measurement, testing for the rotational speed measurement and hardware model testing. As a conclusion, the objective of the project are achieved expect the objective number two there is to measure the speed of rotation of the wheel. From the result of the testing rotation of the wheel, it shows that the accuracy for this prototype is not accurate, the method use for calculate it in the programming is not suitable. For the speed measurement, the result shows that the speed measured by this prototype is accurate. The GUI that has been designing also successful to control the motor in different level one until ten. It also display the value of speed for the speed measurement and speed rational measurement on the monitor.
Contributor(s):
Ahmad Anas Lutfi Mohmad Saluddin - Author
Primary Item Type:
Final Year Project
Identifiers:
Accession Number : 875005816
Language:
English
Subject Keywords:
Cricket; machine; bowler
First presented to the public:
6/1/2015
Original Publication Date:
3/7/2019
Previously Published By:
Universiti Sains Malaysia
Place Of Publication:
School of Electrical & Electronic Engineering
Citation:
Extents:
Number of Pages - 124
License Grantor / Date Granted:
  / ( View License )
Date Deposited
2019-03-07 16:42:41.155
Submitter:
Mohd Jasnizam Mohd Salleh

All Versions

Thumbnail Name Version Created Date
Design of system measurement cricket bowling machine using microcontroller1 2019-03-07 16:42:41.155