<<

SIN: A Programmable Platform for Swarm

Ali Foroutannia Milad Shoryabi Amirali Alizadeh Anaraki Intelligent Systems & Robotics Lab Intelligent Systems & Robotics Lab Intelligent Systems & Robotics Lab Department of Electrical Engineering Department of Electrical Engineering Department of Electrical Engineering University of Neyshabur University of Neyshabur University of Neyshabur Neyshabur, Iran Neyshabur, Iran Neyshabur, Iran [email protected] [email protected] [email protected]

Alireza Rowhanimanesh Intelligent Systems & Robotics Lab Department of Electrical Engineering University of Neyshabur Neyshabur, Iran [email protected]

Abstract— is an inspiration from nature visual display. The latest version of this platform has been and incorporates to help collective robotics. widely employed in various educational and research This recent technology is usually characterized by a swarm of purposes [32, 33]. AMiR designed at Putra Malaysia simple, low-cost, and small instead of a complicated and University, 6.5 cm in size, is a low-cost but robust and expensive . Designing optimal and reliable swarm mobile platform for swarm robotics [34]. Kilobot was intelligence algorithms require real-world test environments. developed at Harvard University, is another applied As a practical solution, physical platforms can efficiently platform with capabilities such as grouping and group address this issue. In this paper, a programmable physical planning. Due to its simplicity and low energy consumption, platform, called SIN, is introduced for swarm robotics. Kilobot can work up to 24 hours without any need for Different design parameters such as communication range, battery recharging [35, 36]. ARGoS is another platform signaling pattern, types of sensors and actuators, cooperation rules, and degree of uncertainty and noise can be simply designed and simulated by Marco Dorigo's research team adjusted by user. The building blocks of each agent has been [37-40]. Also, Elisa-III is suitable for realizing distributed developed in a modular form to improve the hardware algorithms [41]. Bristle-bots is an efficient swarm micro- flexibility. To illustrate the efficiency of the proposed platform, robot with 8-bit microprocessors for motorized motion and a cooperative multi-robot target tracking problem is data transmission [42]. implemented on this platform as a case study, where the robots One of the well-known applications of swarm robotics is interacts by artificial attraction-repulsion forces based on nanorobotics, in which each robot is a straightforward short-range and noisy optical communication. The results demonstrate how the details of swarm behaviors such as nanoscale agent with limited capabilities. Hence, effective decentralized aggregation and collective target tracking can be cooperation among these agents through swarm intelligence successfully implemented on the proposed platform. is a vital need. Previous research on the application of swarm intelligence in nanorobotics has focused significantly Keywords— Swarm Robotics, Programmable Platform, on [43-48]. Designing optimal and reliable Swarm Aggregation, Cooperative Target Tracking. swarm intelligence algorithms require testing of the performance of the algorithm on a real swarm. Testing at I. INTRODUCTION microscopic scales is challenging and expensive. Also, Swarm Robotics is a synergic combination of two applied simulating real-world noise and uncertainty in research areas, swarm intelligence and robotics [1-5]. There software is hard. As a practical approach, a macroscopic exist some emerging behaviors that are not seen in individual physical platform can efficiently facilitate the optimal robots while they are observed in the presence of collective design. intelligence among robots. Flexibility, simplicity, In this paper, a programmable physical platform, called parallelism, scalability, sustainability, cost-effectiveness, SIN, is introduced for swarm robotics. Since all components energy efficiency, and robustness are crucial features of of agents are modular and programmable and can be easily swarm robotics [2, 6-14]. Swarm intelligence, inspired from activated or deactivated by user, different swarm nature, enables swarm robotics to deal with complex tasks intelligence algorithms and patterns of communication and and makes it attractive for different applications [11, 15-24]. cooperation in the swarm can be implemented on this Some of the previous works on this promising approach are flexible open-source platform. To illustrate the efficiency of reviewed [25-27]. the proposed platform, a cooperative multi-robot target A team at EPFL University designed Alice, 2.2-cm-wide tracking problem is implemented on this platform as a case swarm robots that have been used in many research study [45], where the robots interacts by artificial attraction- applications [28]. Another group at the University of repulsion forces based on short-range and noisy optical Stuttgart developed swarm robots called Jasmine, with a communication. size of 3 cm as an open-source swarm robotic platform This paper is organized as follows. In Section 2, a [29]. Another project was done at Lincoln University, mathematical model is presented for the case study of this entitled Colias swarm robots [30, 31]. Mona swarm robots paper. Then, this model is used for computer simulation in designed at Manchester University, 6.5 cm in size, is an Section 3. The hardware structure of each robot is explained open-source modular platform which allows the use of in Section 4. The details of real-world implementation and additional plugins such as wireless communications or a test results are demonstrated in Section 5. Finally, Section 6

XXX-X-XXXX-XXXX-X/XX/$XX.00 ©20XX IEEE concludes the paper. be used [55].

II. MATHEMATICAL MODELING In this section, a mathematical model is presented for the case study of this paper [45]. The goal of the swarm is decentralized aggregation and cooperative target tracking in the presence of noise and uncertainty. The locomotion of robots is based on simple attraction/repulsion forces among agents and targets. The individual and collective behavior of agents is inspired by the Brownian motion of real microscopic biological agents. The following equations describe the governing dynamics of a swarm of N individuals:

(1)

Fig. 2. The velocity of each agent is a function of the distance-dependent In this equation, and are forces applied to it from the target and other agents. the position and velocity of robot 푖 in the n-dimensional III. COMPUTER SIMULATION space, xt is the position of the target that can move In this section, the performance of swarm formation and independently in the space, dt,i is the Euclidian distance between target and robot i, f (.):RR is a distance- target tracking is demonstrated through computer simulation t,i in MATLAB. Without loss of generality, simulation is dependent attraction force applied from target to robot i, dj,i is the Euclidian distance between robot j and robot i, performed in a two-dimensional space in the presence of f (.):RR is a distance-dependent attraction-repulsion force noise and uncertainty. The shape and structure of robots are j,i identical. The robots (blue circles) and target (red circle) are applied from robot j to robot i, and fn is a bio-inspired white noise. According to this equation and as shown in Fig.2, the initially positioned randomly. Fig.3 shows the temporal and velocity of each agent is a function of the forces applied to it spatial profiles of the swarm dynamics in six time-points. In from the target and other agents, and these forces are very Fig.4, the simulation is repeated from four distinguishing dependent on the distances between them. random initial points. As expected from the mathematical model of Section 2, in all cases, the robots could robustly The patterns of these forces play a crucial role in ensuring converge to the target. The simulation environment utilizes swarm stability, swarm aggregation, and target tracking [49- a user-friendly graphical user interface, depicted in Fig.5, 52]. In this paper, the following patterns are considered: such that the user can easily adjust all simulation parameters. (2)

(3) where a, b, c, A, B are positive constant parameters, and b > a. As shown in Fig.1, the value of fj,i is zero in the equilibrium distance. Also, it is repulsive if the distance between the two robots is less than the equilibrium distance. Conversely, if this distance is more than the equilibrium distance, the force will be attractive [53].

Fig. 3. The spatial and temporal profiles of the swarm at 6 time-points in computer simulation.

Fig. 1. The pattern of a noisy distance-dependent attraction-repulsion force used in this paper [54] It should be noted that a parameter has been defined as a neighborhood threshold in the simulator environment. It means that the robots have a short communication range, inspired from nature. If the distance between some robots becomes more than the threshold, no communication will be possible among them. In order to ensure fast swarm formation and target tracking, higher number of robots can Fig. 4. The final spatial profiles of the swarm in 4 different random runs Fig.7 shows the details of the hardware structure of each agent in the proposed swarm platform, which is a simple robot with a 20 cm diameter. All embedded sensors, actuators, processing units, and communication modules are represented in this figure. The mechanical structure of robots has been designed in SolidWorks. Inspired from nature, the default type of sensors and communication modules are assumed to be optical to be simple, short-range, and noisy. Fig. 8 depicts a real sample signal recorded from the optical communication between agents during swarm aggregation and target tracking. Due to the high flexibility of the proposed platform, other types of components can be Fig. 5. Graphical User Interface. easily activated by user.

IV. HARDWARE STRUCTURE Fig. 6 illustrates the functional architecture of each agent. All components, including sensors, actuators, and communication modules, have been designed in a modular manner. Thus, they can be independently activated or deactivated by user. Various types of transceivers have been embedded in the robots to realize different types of communication in the swarm, including ultrasonic and optical. Each robot has a Wi-Fi transceiver that enables it to communicate with server for and data logging. Furthermore, users can employ this interface to reprogram the swarm and upload specific swarm intelligence algorithms to the processing unit of robots.

Fig. 7. The Hardware Structure of Each Agent.

Fig. 6. The Functional Architecture of Each Agent. Fig. 8. Optical Communication among Agents.

Fig. 9. The spatial and temporal profiles of the swarm at 8-time points in practical tests. V. IMPLEMENTATION [6] C. Blum and X. Li, "Swarm intelligence in optimization," in Swarm Intelligence: Springer, 2008, pp. 43-85. Fig.9 illustrates a real-world implementation of the case [7] M. Dorigo and M. Birattari, "Swarm intelligence," Scholarpedia, vol. study of this paper on the proposed swarm robotic platform 2, no. 9, p. 1462, 2007. in 1.8m × 1.8m environment. This platform has been [8] S. Duan, J. Mao, J. Li, and L. Fu, "Design implementation and designed in Intelligent Systems and Robotics Laboratory of application of swarm intelligence algorithm optimization function University of Neyshabur from 2015 to 2018. Also, this simulation platform," in Software Engineering and Information project was selected and awarded in many national festivals Technology: Proceedings of the 2015 International Conference on Software Engineering and Information Technology (SEIT2015), 2016: [45]. The spatial and temporal profiles of the swarm are World Scientific, pp. 196-203. shown in 8 time-points. All of the parameters and settings [9] R. C. Eberhart, Y. Shi, and J. Kennedy, Swarm intelligence. Elsevier, which have been assumed in the mathematical modeling and 2001. computer simulation, including noise and uncertainty, have [10] A. P. Engelbrecht, Fundamentals of computational swarm been accurately considered in the practical realization. As intelligence. John Wiley & Sons, 2006. depicted in this figure, the swarm could successfully [11] S. Garnier, J. Gautrais, and G. Theraulaz, "The biological principles perform stable formation, find the target, and efficiently of swarm intelligence," Swarm Intelligence, vol. 1, no. 1, pp. 3-31, track it. The results demonstrate how the details of swarm 2007. behaviors such as decentralized aggregation and collective [12] M. Mavrovouniotis, C. Li, and S. Yang, "A survey of swarm target tracking can be successfully implemented on the intelligence for dynamic optimization: Algorithms and applications," Swarm and Evolutionary Computation, vol. 33, pp. 1-17, 2017. proposed platform. [13] J. C. Bansal, P. K. Singh, and N. R. Pal, Evolutionary and Swarm Intelligence Algorithms. Springer, 2019. VI. CONCLUSION [14] H. Faris, S. Mirjalili, I. Aljarah, M. Mafarja, and A. A. Heidari, "Salp In this paper, a programmable platform, called SIN, was Swarm Algorithm: Theory, Literature Review, and Application in introduced for testing robotic swarms. Robots are simple, Extreme Learning Machines," in Nature-Inspired Optimizers: low-cost, and small. All components of the robot, including Springer, 2020, pp. 185-199. sensors, actuators, and transceivers, are modular and [15] G. Beni, "From swarm intelligence to swarm robotics," in programmable. A user-friendly graphical user interface is International Workshop on Swarm Robotics, 2004: Springer, pp. 1-9. located on a server for monitoring and data logging. Also, [16] Z. Miao, J. Yu, J. Ji, and J. Zhou, "Multi-objective region reaching control for a swarm of robots," Automatica, vol. 103, pp. 81-87, 2019. users can easily activate, deactivate and reprogram each [17] L. Bayındır, "A review of swarm robotics tasks," Neurocomputing, module from the robots, and the user can easily upload vol. 172, pp. 292-321, 2016. different swarm intelligence algorithms to the swarm. In the [18] M. Ben-Ari and F. Mondada, "Swarm Robotics," in Elements of case study of this paper, interactions among agents was Robotics: Springer, 2018, pp. 251-265. based on programmable artificial attraction-repulsion forces. [19] J. Wen, L. He, and F. Zhu, "Swarm Robotics Control and Also, communication among agents employed short-range Communications: Imminent Challenges for Next Generation Smart and noisy signaling. The mathematical model of swarm Logistics," IEEE Communications Magazine, vol. 56, no. 7, pp. 102- dynamics was considered, and the performance of swarm 107, 2018. formation was studied through computer simulation. The [20] J. C. Barca and Y. A. Sekercioglu, "Swarm robotics reviewed," proposed platform was tested in a real-world Robotica, vol. 31, no. 3, pp. 345-359, 2013. implementation in the presence of noise and uncertainty. [21] H. Hamann, Swarm robotics: A formal approach. Springer, 2018. The practical results demonstrated that swarm aggregation [22] M. Brambilla, E. Ferrante, M. Birattari, and M. Dorigo, "Swarm robotics: a review from the swarm engineering perspective," Swarm and target tracking had been performed efficiently. Different Intelligence, vol. 7, no. 1, pp. 1-41, 2013. swarm intelligence algorithms can be implemented on this [23] E. Şahin, "Swarm robotics: From sources of inspiration to domains of flexible open-source platform. application," in International workshop on swarm robotics, 2004: Springer, pp. 10-20. CKNOWLEDGMENTS A [24] J. M. Lanza-Gutierrez, J. A. Gomez-Pulido, and M. A. Vega- Authors would like to thank the Research Office of Rodriguez, "Intelligent relay node placement in heterogeneous wireless sensor networks for energy efficiency," Int. J. Robot. Autom, University of Neyshabur for the financial support of this vol. 29, pp. 1-13, 2014. project. They also appreciate Dr. Ehasn Kamrani, the [25] J. Wiech and Z. Hendzel, "Overhead vision system for testing swarms associate research fellow at Harvard University, for his and groups of wheeled robots," Journal of Mobile helpful comments. Robotics and Intelligent Systems, vol. 13, 2019. [26] A. Derrar and A. Naceri, "Particle swarm optimization for tuning REFERENCES PSS-PID controller of synchronous generator," Journal of Automation Mobile Robotics and Intelligent Systems, vol. 11, 2017. [1] G. Beni and J. Wang, "Swarm intelligence in cellular robotic systems," in Robots and Biological Systems: Towards a New [27] B. Berbaoui, B. Ferdi, C. Benachaiba, and R. Dehini, "Control Bionics?: Springer, 1993, pp. 703-712. imrovement of shunt active power filter using an optimized-PI controller based on ant colony algorithm and swarm optimization," [2] J. Kennedy, "Swarm intelligence," in Handbook of nature-inspired Journal of Automation Mobile Robotics and Intelligent Systems, vol. and innovative computing: Springer, 2006, pp. 187-219. 4, pp. 19-25, 2010. [3] A. Slowik and H. Kwasnicka, "Nature Inspired Methods and Their [28] S. Garnier et al., "The embodiment of cockroach aggregation Industry Applications—Swarm Intelligence Algorithms," IEEE behavior in a group of micro-robots," Artificial life, vol. 14, no. 4, pp. Transactions on Industrial Informatics, vol. 14, no. 3, pp. 1004-1015, 387-408, 2008. 2018. [29] T. Schmickl et al., "Get in touch: cooperative decision making based [4] X. Chu, T. Wu, J. D. Weir, Y. Shi, B. Niu, and L. Li, "Learning– on robot-to-robot collisions," Autonomous Agents and Multi-Agent interaction–diversification framework for swarm intelligence Systems, vol. 18, no. 1, pp. 133-155, 2009. optimizers: a unified perspective," Neural Computing and Applications, pp. 1-21, 2018. [30] F. Arvin, J. Murray, C. Zhang, and S. Yue, "Colias: An autonomous micro robot for swarm robotic applications," International Journal of [5] X. Li and M. Clerc, "Swarm intelligence," in Handbook of Advanced Robotic Systems, vol. 11, no. 7, p. 113, 2014. Metaheuristics: Springer, 2019, pp. 353-384. [31] C. Hu, Q. Fu, and S. Yue, "Colias IV: the affordable micro robot [51] H. Shi, L. Wang, T. Chu, and F. Xiao, "Self-organization of general platform with bio-inspired vision," 2018. multi-agent systems with complex interactions," in Intelligent Robots [32] F. Arvin, S. Watson, A. E. Turgut, J. Espinosa, T. Krajník, and B. and Systems, 2006 IEEE/RSJ International Conference on, 2006: Lennox, "Perpetual Robot Swarm: Long-Term Autonomy of Mobile IEEE, pp. 3203-3208. Robots Using On-the-fly Inductive Charging," Journal of Intelligent [52] C. Sheng, Z. Lindu, and H. Ying, "Multi-agent aggregation behavior & Robotic Systems, pp. 1-18, 2017. analysis: The dynamic communication topology," Journal of Systems [33] F. Arvin, J. Espinosa, B. Bird, A. West, S. Watson, and B. Lennox, Science and Complexity, vol. 21, no. 2, pp. 209-216, 2008. "Mona: an affordable open-source for education and [53] V. Gazi and K. M. Passino, "A class of attractions/repulsion functions research," Journal of Intelligent & Robotic Systems, pp. 1-15, 2018. for stable swarm aggregations," International Journal of Control, vol. [34] F. Arvin, K. Samsudin, and A. R. Ramli, "Development of a 77, no. 18, pp. 1567-1579, 2004. Miniature Robot for SwarmRobotic Application," International [54] S. Sharif, and A. Rowhanimanesh, "Description of Attraction- Journal of Computer and Electrical Engineering, vol. 1, no. 4, p. 436, Repulsion Forces by Probabilistic Fuzzy Logic for Handling 2009. Uncertainty in Swarm Aggregations," International Journal of [35] M. Rubenstein, C. Ahler, N. Hoff, A. Cabrera, and R. Nagpal, Advanced Research inComputer Science and Software Engineering, "Kilobot: A low cost robot with scalable operations designed for vol. 5, no. 4, pp. 16-23, 2015. collective behaviors," Robotics and Autonomous Systems, vol. 62, no. [55] B. Pang, C. Zhang, Y. Song, and H. Wang, "Self-organized task 7, pp. 966-975, 2014. allocation in swarm robotics foraging based on dynamical response [36] C. Imrie and J. M. Herrmann, "Self-organisation of Spatial threshold approach," in Advanced Robotics (ICAR), 2017 18th Behaviour in a Kilobot Swarm," in Conference on Biomimetic and International Conference on, 2017: IEEE, pp. 256-261. Biohybrid Systems, 2017: Springer, pp. 551-561. [37] C. Pinciroli et al., "ARGoS: a modular, parallel, multi-engine simulator for multi-robot systems," Swarm intelligence, vol. 6, no. 4, pp. 271-295, 2012. [38] C. Pinciroli et al., "ARGoS: a modular, multi-engine simulator for heterogeneous swarm robotics," in Intelligent Robots and Systems (IROS), 2011 IEEE/RSJ International Conference on, 2011: IEEE, pp. 5027-5034. [39] M. Allwright, N. Bhalla, C. Pinciroli, and M. Dorigo, "Simulating Multi-robot Construction in ARGoS," in International Conference on Swarm Intelligence, 2018: Springer, pp. 188-200. [40] C. Pinciroli, M. S. Talamali, A. Reina, J. A. Marshall, and V. Trianni, "Simulating Kilobots within ARGoS: models and experimental validation," in International Conference on Swarm Intelligence, 2018: Springer, pp. 176-187. [41] R. M. de Mendonça, N. Nedjah, and L. de Macedo Mourelle, "Efficient distributed algorithm of dynamic task assignment for swarm robotics," Neurocomputing, vol. 172, pp. 345-355, 2016. [42] E. P. Fortunić, F. Becker, K. Zimmermann, and F. Cuellar, "Bristle- bots in swarm robotics-approaches on agent development and locomotion," in Advanced Intelligent Mechatronics (AIM), 2017 IEEE International Conference on, 2017: IEEE, pp. 1424-1429. [43] A. Rowhanimanesh and M.-R. Akbarzadeh-T, "Stigmergic cooperation of for swarm fuzzy control of low-density lipoprotein concentration in the arterial wall," Applied Soft Computing, vol. 34, pp. 799-812, 2015. [44] A. Hajizadeh-S, M.-R. Akbarzadeh-T, and A. Rowhanimanesh, "Dynamic swarm learning for nanoparticles to control drug release function using RBF networks in atherosclerosis," in 2015 The International Symposium on and Signal Processing (AISP), 2015: IEEE, pp. 112-117. [45] A. Foroutannia, A. Alizadeh Anaraki, M. Shouryabi, A. Rowhanimanesh, "Swarm intelligent microrobots based on artificial attraction-repulsion forces", (in Persian), The 1st International Conference on New Perspective in Electrical & Computer Engineering, 2016. [46] A. Hajizadeh-S, M.-R. Akbarzadeh-T, and A. Rowhanimanesh, "Swarm learning of interval nanoparticles to estimate the drug release function in atherosclerosis," in 2015 4th Iranian Joint Congress on Fuzzy and Intelligent Systems (CFIS), 2015: IEEE, pp. 1-5. [47] A. Rowhanimanesh, "Swarm control systems for nanomedicine and its application to the prevention of atherosclerosis," PhD Dissertation of Control Engineering, Ferdowsi University of Mashhad, 2013. [48] A. Rowhanimanesh, "Towards realization of intelligent medical treatment at nanoscale by artificial microscopic swarm control systems," International Journal of Body, Mind and Culture, pp. 39- 45, 2017. [49] V. Gazi and K. M. Passino, "Stability analysis of swarms," IEEE Transactions on Automatic Control, vol. 48, no. 4, pp. 692-697, 2003. [50] T. Chu, L. Wang, and S. Mu, "Collective behavior analysis of an anisotropic swarm model," in Proc. of the 16th International Symposium on Mathematical Theory of Networks and Systems, 2004, pp. 1-14.