Journal of Applied Research and Technology ISSN: Centro de Ciencias Aplicadas y Desarrollo Tecnológico.

Similar documents
Inteligencia Artificial. Revista Iberoamericana de Inteligencia Artificial ISSN:

Journal of Applied Research and Technology ISSN: Centro de Ciencias Aplicadas y Desarrollo Tecnológico.

Journal of Applied Research and Technology ISSN: Centro de Ciencias Aplicadas y Desarrollo Tecnológico.

GUÍAS COMPLEMENTARIAS

Jukebox Hero. Group #41. James Brewster Ross Bulkley Zach Glueckert Kevin Wills

Impact of 3D EM model configuration on the direct optimization of microstrip structures

OMNIDIRECTIONAL MOBILE PLATFORM DRIVEN BY TWO DIFFERETIALLY DRIVEN WHEELED MOBILE ROBOTS FOR MOVING HEAVY LOADS

Programming Algorithms of load balancing with HA-Proxy in HTTP services

Revista de Topografía Azimut

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Redalyc. Disponible en:

Development of a digital instrument as a motivational component in teaching embedded computers

REAL-TIME PROCESS MANAGER AND ITS APPLICATION IN ROBOTICS

Wireless Control and transmission of Data for underwater Robot

Sensor Based Color Identification Robot For Type Casting

Anexos. Diseño y construcción de un puente grúa automatizado de precisión

International Journal of Scientific & Engineering Research, Volume 6, Issue 4, April-2015 ISSN

DIGITAL TELEPHONE SWITCH: SOFTWARE

GOPALAN COLLEGE OF ENGINEERING AND MANAGEMENT Department of Mechanical Engineering COURSE PLAN

Further Programmable Logic Controllers (PLCs)

Modules For Six Months Industrial Training On WIRELESS EMBEDDED SYSTEM DESIGN

Important Change to the Year End W2 Process

THE DYNAMIC MODEL OF A FOUR CONTROL MOMENT GYROSCOPE SYSTEM MODELO DINÁMICO DE UN SISTEMA DE CONTROL DE PAR POR CUATRO GIRÓSCOPOS

Guidelines. Table of Contents. Welcome Letter

Design Progress Report: x10 Environmental Control System Brian Kennedy, David Ramsay University of Rhode Island, Department of Biomedical Engineering

DOC // SOLIDWORKS 2007 COSMOSXPRESS ARCHIVE

Interaction with the Physical World

Resumen. Una sola cámara Robot móvil Visión computacional Resultados experimentales

AC : INFRARED COMMUNICATIONS FOR CONTROLLING A ROBOT

WIND VELOCITY AND DIRECTION MEASUREMENT Chingunde Sheetal Laxman, Choudhary Manju Nenaram, Gaikwad Prajakta Prashant

DESIGN AND IMPLEMENTATION OF FPGA BASED MULTIPURPOSE REAL-TIME CONTROLLER FOR HYBRID STEPPER MOTOR

Speed Control of A DC Motor Through Temperature Variation Using NI ELVIS LabVIEW

WIRELESS EMBEDDED SYSTEM DESIGN

Real Time Operating Systems Application Board Details

MicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor

Department of Mechatronics Engineering, International Islamic University Malaysia Jalan Gombak, 53100, Kuala Lumpur, Malaysia

Laboratory: Introduction to Mechatronics. Instructor TA: Edgar Martinez Soberanes Lab 1.

Automation of wafer handling

WIFI ENABLED SMART ROBOT

Autor: Mary Luz Roa SUPPORT GUIDE FOURTH TERM

GENERALIDADES INICIAR DE LA HOJA DE CALCULO TEMPORIZADOR. This guide is of virtual use, so it is not necessary to print

Universidad Salesiana de Bolivia Ingeniería de Sistemas Redes y Comunicaciones LABORATORIO 2

DESIGN AND IMPLEMENTATION OF A SPECTATOR COUNTING SYSTEM

Developement of Multi Interface Board for Educational Trainer Kit

Moving-Object management method of combat system using main memory DBMS

Keywords - PIC Microcontoller, Epic Software, RF transmitter and receiver.

Scara Robot Path Planning Through flood fill Algorithm

AUTONOMOUS CONTROL OF AN OMNI-DIRECTIONAL MOBILE ROBOT

Development of a MATLAB Data Acquisition and Control Toolbox for PIC Microcontrollers

Rendering of Virtual Tours of Three Dimensional Model for Application in Higher Education

Keywords: Data acquisition card, manipulator robots and bluetooth. Fig. 1. Bluetooth Stack

Inyección de Dependencias en el Lenguaje de Programación Go

Design of the Control System for Step Motor Based on MCU

Paul E Tippens Physics Solution Manual File Type

Model PCL Bit Digital I/O Card

Journal of Applied Research and Technology ISSN: Centro de Ciencias Aplicadas y Desarrollo Tecnológico.

HOND-i INTEGRATED TECHNOLOGIES PVT LTD

ACCESS SECURITY SYSTEM USING RFID TAG

Keywords: PIC18F452 microcontroller, Stepper motor, Rotary encoder, Visual Basic. Net, MikroC Pro.

Estrategia de Protección de Datos Cloud & DRaaS

Evaluation of the performance of coordinate measuring machines in the industry, using calibrated artefacts

LABORATORY MANUAL Interfacing LCD 16x2, Keypad 4x4 and 7Segment Display to PIC18F4580

Secured Data Transfer using ZigBee


Design Of Stepper Motor Control Interface With Embedded Systems

Vivat Turn Table D-26 User manual

Journal of Applied Research and Technology ISSN: Centro de Ciencias Aplicadas y Desarrollo Tecnológico.

Experimental Analysis for BLER / Data Transmission Parameters in Mobile Terminals for EDGE and WCDMA Networks

ME456: Mechatronics. Prof. Clark Radcliffe. Do you have the knack? Joonho Lee, TA. What s Mechatronics? Mechatronics

Journal of Applied Research and Technology ISSN: Centro de Ciencias Aplicadas y Desarrollo Tecnológico.

ISSN Vol.03,Issue.06, May-2014, Pages:

Cold Store Remote Control Using X-BEE technology

EMTECH_3P_A_1_v4. Descripción de la placa.

WIRELESS VEHICLE WITH ANIMATRONIC ROBOTIC ARM

Analysis of the image quality transmitted by an IPTV system

Colour And Shape Based Object Sorting

Wall-Follower. Xiaodong Fang. EEL5666 Intelligent Machines Design Laboratory University of Florida School of Electrical and Computer Engineering

Microcontroller & Interfacing

Control System Consideration of IR Sensors based Tricycle Drive Wheeled Mobile Robot

CENTRO UNIVERSITARIO EUSA. Course lists. 2016/17 Semester 2

Mechatronics and Measurement. Lecturer:Dung-An Wang Lecture 6

OCTOBEAM. LED Lighting Effect USER MANUAL / MANUAL DE USUARIO

OBSTACLE AVOIDANCE ROBOT

Design and Development of an Asynchronous Serial Communication Learning Media to Visualize the Bit Data

Handy Board MX. page 1

CCE RR REVISED & UN-REVISED KARNATAKA SECONDARY EDUCATION EXAMINATION BOARD, MALLESWARAM, BANGALORE G È.G È.G È..

Affiliated with University of Seville. Audiovisual Communication Journalism Advertising & Public Relations Tourism Semestre 1

Industrial Appliances Control Using Android Mobile & Bluetooth Technology

UNIVERSIDAD TÉCNICA DEL NORTE

Wireless Colour Sensing Arm Robot

Mobile Broadband Caribbean & Central America

Matrix multiplication with a hypercube algorithm on multi-core processor cluster

Pick and Place ABB Working with a Liner Follower Robot

Linear Data Structure

Bolt 18F2550 System Hardware Manual

Configuration of Local Interconnect Driver Based on AUTOSAR Standard

GSM MODULE BASED SMART NOTICE BOARD

Project Planning. Module 4: Practice Exercises. Academic Services Unit PREPARED BY. August 2012

Development of Prototype Model for Wireless Based Controlled Pick and Place Robotic Vehicle

SELECCIONES MATEMÁTICAS

Transcription:

Journal of Applied Research and Technology ISSN: 1665-6423 jart@aleph.cinstrum.unam.mx Centro de Ciencias Aplicadas y Desarrollo Tecnológico México Medina-Santiago, A.; Camas Anzueto, J. L.; Pérez-Patricio, M.; Valdez-Alemán, E. Programming Real-Time Motion Control Robot Prototype Journal of Applied Research and Technology, vol. 11, núm. 6, diciembre-, 2013, pp. 927-931 Centro de Ciencias Aplicadas y Desarrollo Tecnológico Distrito Federal, México Disponible en: http://www.redalyc.org/articulo.oa?id=47430518015 Cómo citar el artículo Número completo Más información del artículo Página de la revista en redalyc.org Sistema de Información Científica Red de Revistas Científicas de América Latina, el Caribe, España y Portugal Proyecto académico sin fines de lucro, desarrollado bajo la iniciativa de acceso abierto

Programming Real-Time Motion Control Robot Prototype A. Medina-Santiago* 1, J. L. Camas Anzueto 1, M. Pérez-Patricio 1, E. Valdez-Alemán 2 1 Instituto Tecnológico de Tuxtla Guitérrez División de Posgrado e Investigación Tuxtla Gutiérrez, Chiapas., México *amedina@ittg.edu.mx 2 Tecnológico de Estudios Superiores de Ecatepec División de Ingeniería Electrónica y Telemática Ecatepec de Morelos, Estado de México., México ABSTRACT This item presents the real-time programming of a prototype robot to control its movement from one moment to another without showing response delays. Contributing to this is the communication protocol developed in our laboratories and feasibility of being implemented in the future with wireless control via radio frequency, and to present the progress to date have been obtained. Keywords: microcontroller, sensors, actuators, C languages, graphical interface, control, protocols, transmission, reception. RESUMEN Se presenta la programación en tiempo real de un auto prototipo para controlar su movimiento de un momento a otro sin presentar retardos de respuesta. La contribución a este mismo es el protocolo de comunicación desarrollado en nuestros laboratorios y la factibilidad de ser implementado en un futuro con control inalámbrico, a través de radio frecuencia, así como presentar los avances que hasta el momento se han obtenido. 1. Introduction Nowadays the majority of mechatronic systems are developed and manufactured have constant changes in design or being designed with technology circuits or transistor logic gates which it could operate an electronic system. Constant changes in technology impact manufacturing processes of electronic devices making them increase its potential in its operation, such as microcontrollers. Today all electronic system tends to be simplified at low cost components with a reduced manufacturing time. The microcontrollers achieves perspectives, and has a better control in mechatronic systems. For example, this can be seen in DVD S, digital cameras, automotive control systems, satellites, television, washing machines, and others. The use of microcontrollers for the design and implementation of mechatronic systems aims to maintain a better control and reduce the manufacturing cost, and increase performance. The prototype design will be controlled automatically without the need a person is aware or its performances with the appliance of sensors. In this first report we present the prototype robot control by software (graphical atmosphere, the prototype perimeter movement, etc.), and submit the final implementation of the project will be introduced in events like this. With this kind of project we can make some applications, for example, measurement of distances using the diameter of the cars tires to calculate the distance it has travelled and to be able to display information on an LCD screen, in the same way moving heavy objects from one location to another without coalition, etc. In section II of this item presents the description block of the system, components parts in hardware and software. Section III shows the code used to control the robot. Section IV shows the results and comments. Section V presents the conclusions of the work and future work. 2. Description The development of the project becomes from the necessity to handle a car with a microcontroller Journal of Applied Research and Technology 927

(microcontrollers) for our case we use the PIC16F84, the first stage is a program that is developed and communication protocol to conduct self-control from the PC using the language C programming and the development of the communication protocols, protocols for data transmission and reception. Control of the car through the hardware and software is described below. From the keyboard of the PC we will have the total control of the prototype with a small settled graphic that has been developed in C language menu hardware containing the car is a 16f84 PIC microcontroller, which contains a program that translates data from the computer to the car robot would shift in a definite sense autonomy purposes the car must have four sensors, two sensors will be found to the left and two sensors to the right opposite a third sensor is placed at the bottom and the fourth sensor will be placed as shown in figure 1. Figure 1. The sensors operate by reflection of signals The sensors that were used are the type of infrared sensors, a LED was placed (transmitter) and a photodiode (receiver), the functioning of the devices is simply reflected at the nearest surface of the car, a treatment is given to the signal to give us 5volts to enter by the port to the microcontroller, which in this case this is the input port and port B is output. The following concept describes the connection in each of the pins of the input and output ports of the microcontroller. PortA. (Input). The products are connected to porta the following sensors: Bit0 upper front sensor Left sensor bit1 Right sensor Bit2 Bit3 inferior frontal sensor Bit4 not used Bit5 not used PortB. (Output). In the port B is connected to the following sensors: Bit0 1 st line stepper motor Bit1 2nd line stepper motor Bit2 3rd line of stepper motor Bit3 4th line of stepper motor Bit4 direction of the cart Bit5 direction of the cart Bit6 not used Bit7 not used 2.1. Circuit operation. When a photodiode detected the infrared, it ceases to flow a small amount of current which is amplified by means of a first transistor, which in turn, said current continues to circulate in a second transistor, which will provide a voltage, so that we give treatment to the voltage to keep it and treat 5volts now as a logic level high (1 logic) 5volts and low (0 logic) when the voltage is zero volts. Under these conditions the data are provided in the form of logical ones and zeros, for the port to the microcontroller to manipulate the engine that gives traction or displacement of the car and the address. The control stage stepper motor, consisting of four small power transistors receiving the pulses that are transmitted from the port B with the first four transistors is increased the current will be used to activate the bases of the second stage transistors medium power, which manipulate the current demanded the stepper motor. In Figure 2 shows the block diagram indicating the operation mode of the car because a sensor with other sensors performs the same function. As shown in Figure 2, the order is maintained in a state that can be static, rotating one turn, moving in reverse or forward correctly, so that when a sensor detects the infrared, the microcontroller will be processing the first information that arrives at port A, according to data that is taken into the port, the microcontroller will compare the data in and send new data on port B, four bits are taken from this port, connect to the amplifier stage to command the four bits to the actuator in this case the stepper motor in such a way that causes the movement of the car. The microcontroller is constantly monitoring the status of sensors to make decisions by varying the state of the actuator and therefore the motion of the car. 928 Vol. 11, December 2013

Figure 2. Diagram block of the operation of the car prototype Figure 3 shows the electronic control diagram of the car. In this diagram you can see a serial connector for connection to PC, a program in C language controls i.e. the car, where by means of the keyboard have full control and you could see on the screen the behavior of the car PC. Figure 3. Diagram Electronic of self-control 2.2. C programming code Shows the programming code in C language used for the development of this work, which can observe the syntax and the implementation thereof, shown in Figure 4d. # Include <dos.h> # Include <conio.h> # Include stdio.h Stdlib.h main () { textcolor (10); textbackground (3); / * Int data; * / char key; do {/ * start menu * / gotoxy (10.3); gotoxy (10.4); ("= MOVING THIS PROGRAM CART ELECTRIC A = \ n"); gotoxy (10.5); gotoxy (10.6); ("= KEYPAD = \ n"); gotoxy (10.7); gotoxy (10.8); gotoxy (10,10); ("= MOVING FORWARD WITH THE KEY a = \ n"); gotoxy (10,11); ("= MOVING BACK TO KEY = r \ n"); gotoxy (10,12); ("= MOVING TO THE LEFT WITH THE KEY i = \ n"); gotoxy (10,13); ("= MOVING RIGHT WITH THE KEY d = \ n"); gotoxy (10,14); ("= STOP SHOPPING WITH KEY = p \ n"); gotoxy (10,15); ("= SOFTWARE TO EXIT PRESS se = \ n"); gotoxy (10,17); ("= NAMES OF STUDENTS: AGUILAR JOSE CARLOS ANASTACIO = \ n"); gotoxy (10,18); ("== \ n"); gotoxy (10,19); gotoxy (10.22); printf ("*** PRESS THE KEYS TO HANDLE THE Journal of Applied Research and Technology 929

CART *** \ n"); gotoxy (19,23); scanf ("% c", & key); / * Textcolor (4), * / / ************************************************* ******* / / * Scanf ("% d", & data); printf ("DATA input: \ n"); gotoxy (35.23) * / / ************************************************* ******* / gotoxy (10.24); printf ("decimal point is% d \ n", key); switch (key) { case 97: / * point to * / outportb (956.0 x01); case 105: / * point i * / outportb (956.0 x02); case 100: / * point d * / outportb (956.0 x08); case 114: / * letter r * / outportb (956.0 x04); case 112: / * point p * / outportb (956.0 x0); / * Case 101: outportb (956.0 x0); * / default: clrscr (), / * none of the letters of the menu * / gotoxy (15,10); printf ("*** CLICK THE OPTIONS THAT ARE IN THE MENU *** \ n"); gotoxy (35.12); scanf ("% d", & key); outportb (956.0 x0); / * Getche (), * / } } while (tecla! = 101); } 3. Results The results to this report are shown in Figures 4a to 4d, which describe the progress of each of the objectives achieved. a) b) c) d) Figure 4a to 4d. Prototype of The car to control and display programused 930 Vol. 11, December 2013

4. Conclusions The conclusions of the work are specifically: It shows a great performance in the management and control of the robot car. It was possible to communicate with the PIC C language, through a communication protocol. Migration to an improvement of the project is viable. Objectives achieved. We work on improvements to our design project. This project is open for further work on him, now implementing data transmission via radio frequency, other hands from the PC; you enter different data for each movement and the data obtained in the parallel port output to be introduced but other communication card. Radiofrequency data to send the air and the cart by means of an antenna will receive the data and execute the information so as to perform the movement of the car. Research is also self-control through the Internet, placing a video camera now, so you can appreciate the image where the car is traveling robot. References [1] Rafael K. [1] Rafael K. Control de movimiento de robots manipuladores, 1a edición, Ed. Pearson Educación Motion control of robot manipulators, 1st edition, Ed Pearson Education [2] http://www.ni.com/labview/esa/ [3] Richard C., Dorf R and Robert H. [3] Richard C., Dorf and Robert H. R Bishop Sistemas de control moderno 10a edición, Ed. Pearson Educación Bishop Modern Control Systems 10th edition, Ed Pearson Education [4] Lajara V., José R. [4] Lajara V., Joseph R. y Pelegrí SJ, LabView: Entorno gráfico de programación, Alfaomega Marcombo, Colonia del Valle, 2007. Pelegri and SJ, LabView: Graphical environment for programming, Alfaomega Marcombo, Colonia del Valle, 2007. Journal of Applied Research and Technology 931