Function Block Algorithms for Adaptive Robotic Control

Detta är en Kandidat-uppsats från Högskolan i Skövde/Institutionen för ingenjörsvetenskap

Sammanfattning: The purpose of this project is the creation of an adaptive Function Block control system, and the implementation of Artificial Intelligence integrated within the Function Block control system, using IEC 61499 standard to control an ABB 6-axis virtual robot, simulated in the software RobotStudio. To develop these objectives, we studied a lot of necessary concepts and how to use three different softwares. To learn how to use the softwares, some tests were carried out. RobotStudio is a program developed by ABB Robotics Company where an ABB robot and a station are simulated. There, we designed and created a virtual assembly cell with the virtual IRB140 robot and the necessary pieces to simulate the system. To control the robot and the direct access to the different tools of RobotStudio, it is necessary to use an application programming interface (API) developed by ABB Robotics Company. C sharp (C#) language is used to program using the API, but this language is not supported by the Function Block programming software nxtStudio. Because of this, we used VisualStudio software. In this software, we use the API libraries to start and stop the robot and load a RAPID file in the controller. In a RAPID file the instructions that the robot must follow are written. So, we had to learn about how to program in C# language and how to use VisualStudio software. Also, to learn about IEC 61499 standard it was necessary to read some books. This standard determines how an application should be programmed through function blocks. A function block is a unit of program with a certain functionality which contains data and variables that can be manipulated in the same function block by several algorithms. To program in this standard we learnt how to use nxtStudio software, consuming a lot of time because the program is quite complex and it is not much used in the industrial world yet. Some tests were performed to learn different programing skills in this standard, such as how to use UDP communication protocol and how to program interfaces. Learning UDP communication was really useful because it is necessary for communication between nxtStudio and other programs, and also learning how to use interfaces to let the user access the program. Once we had learnt about how to use and program the different softwares and languages, we began to program the project. Then, we had some troubles with nxtStudio because strings longer than fourteen characters cannot be used here. So, a motion alarm was developed in VisualStudio program. And another important limitation of nxtStudio is that C++ language cannot be used. Therefore, the creation of an Artificial Intelligence system was not possible. So, we created a Function Block control system. This system is a logistical system realised through loops, conditions and counters. All this makes the robot more adaptive. As the AI could not be carried out because of the different limitations, we theoretically designed the AI system. It will be possible to implement the AI when the limitations and the problems are solved.

  HÄR KAN DU HÄMTA UPPSATSEN I FULLTEXT. (följ länken till nästa sida)