<?xml version="1.0" encoding="UTF-8"?>
<TEI xml:space="preserve" xmlns="http://www.tei-c.org/ns/1.0" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://www.tei-c.org/ns/1.0 https://raw.githubusercontent.com/kermitt2/grobid/master/grobid-home/schemas/xsd/Grobid.xsd"
 xmlns:xlink="http://www.w3.org/1999/xlink">
	<teiHeader xml:lang="en">
		<fileDesc>
			<titleStmt>
				<title level="a" type="main">IoT and Robot Control Interoperability in Human-Robot Collaboration Environments</title>
			</titleStmt>
			<publicationStmt>
				<publisher/>
				<availability status="unknown"><licence/></availability>
			</publicationStmt>
			<sourceDesc>
				<biblStruct>
					<analytic>
						<author>
							<persName><forename type="first">María</forename><surname>Del Mar Plaza</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Instituto Universitario de Automática e Informática Industrial</orgName>
								<orgName type="institution">Universitat Politècnica de València</orgName>
								<address>
									<addrLine>Camino de Vera S/N</addrLine>
									<postCode>46022</postCode>
									<settlement>Valencia</settlement>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Francisco</forename><surname>Blanes</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Instituto Universitario de Automática e Informática Industrial</orgName>
								<orgName type="institution">Universitat Politècnica de València</orgName>
								<address>
									<addrLine>Camino de Vera S/N</addrLine>
									<postCode>46022</postCode>
									<settlement>Valencia</settlement>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Alberto</forename><surname>Delgado</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Instituto Universitario de Automática e Informática Industrial</orgName>
								<orgName type="institution">Universitat Politècnica de València</orgName>
								<address>
									<addrLine>Camino de Vera S/N</addrLine>
									<postCode>46022</postCode>
									<settlement>Valencia</settlement>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Eduard</forename><surname>Conesa</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Instituto Universitario de Automática e Informática Industrial</orgName>
								<orgName type="institution">Universitat Politècnica de València</orgName>
								<address>
									<addrLine>Camino de Vera S/N</addrLine>
									<postCode>46022</postCode>
									<settlement>Valencia</settlement>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<author>
							<persName><forename type="first">Patricia</forename><surname>Balbastre</surname></persName>
							<affiliation key="aff0">
								<orgName type="department">Instituto Universitario de Automática e Informática Industrial</orgName>
								<orgName type="institution">Universitat Politècnica de València</orgName>
								<address>
									<addrLine>Camino de Vera S/N</addrLine>
									<postCode>46022</postCode>
									<settlement>Valencia</settlement>
									<country key="ES">Spain</country>
								</address>
							</affiliation>
						</author>
						<title level="a" type="main">IoT and Robot Control Interoperability in Human-Robot Collaboration Environments</title>
					</analytic>
					<monogr>
						<imprint>
							<date/>
						</imprint>
					</monogr>
					<idno type="MD5">A1165743F8113AC761315AD53E050D19</idno>
				</biblStruct>
			</sourceDesc>
		</fileDesc>
		<encodingDesc>
			<appInfo>
				<application version="0.7.2" ident="GROBID" when="2023-03-25T07:21+0000">
					<desc>GROBID - A machine learning software for extracting information from scholarly documents</desc>
					<ref target="https://github.com/kermitt2/grobid"/>
				</application>
			</appInfo>
		</encodingDesc>
		<profileDesc>
			<textClass>
				<keywords>
					<term>UWB</term>
					<term>RTLS</term>
					<term>positioning</term>
					<term>industry</term>
					<term>HRI</term>
					<term>robot</term>
					<term>ROS</term>
					<term>logistics</term>
					<term>IoT</term>
					<term>MQTT</term>
					<term>IPS</term>
				</keywords>
			</textClass>
			<abstract>
<div xmlns="http://www.tei-c.org/ns/1.0"><p>With humans and robots working in closer proximity in many industrial applications, there is a need to merge data from both. But robots typically manage information in middleware or control environments separate from the IoT, which is often the framework for human data information. This paper presents the advantages of IoT and robot control interoperability in human-robot collaboration environments for real-time logistic applications.</p></div>
			</abstract>
		</profileDesc>
	</teiHeader>
	<text xml:lang="en">
		<body>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>With the growth of Industry 4.0 and information technologies, there is increasing interest in process automation to optimize resources. Humans and robots must coexist in production plants. However, to increase staff performance rates, it is necessary to ensure comfortable and safe working conditions and balance economic goals and employee motivation. For many years, there has been a stream of research dedicated to Real-Time Location Systems (RTLS) to achieve this balance in industry human-robot interactions (HRI).</p><p>The functionalities of indoor positioning systems (IPS) are varied and can respond to needs or opportunities in a wide range of applications. Some of the most common functionalities are the following:</p><p>• Real-time tracking of users, devices, or both. Typically for the control of production plants, presence control, and location of heavily transited areas in different time zones. • Implementation of proximity alerts. Sometimes it is convenient to know when an operator or a device is close to a defined area to execute an action. For example, in the field of industrial safety, if a worker approaches an area where there is an industrial robot in motion, it is desirable to stop the robot. • Warehouse management. A handy application is the automatic management of stocks in current resource management programs. For example, when a device enters/leaves the warehouse, its availability is automatically updated in the program's database. • Process optimization. For example, when a device enters a specific production area, it can start another production zone and start running another process. This reduces waiting times at workstations. • Routing and navigation. These types of applications are similar to those offered by global positioning systems. It tries to select the shortest route from one point to another, but inside buildings.</p><p>Proceedings of the Workshop of I-ESA'22, March 23-24, 2022, Valencia, Spain. EMAIL: maplaca@upvnet.upv.es (M.M. Plaza); pblanes@ai2.upv.es (F. Blanes); aldelro@ai2.upv.es (A. Delgado); edcogue@upv.es (E. Conesa); patricia@ai2.upv.es (P. Balbastre) ORCID: 0000-0002-2039-5113 (M.M. Plaza); 0000-0002-9234-5377 (F. Blanes); 0000-0001-7314-5743 (A. Delgado); 0000-0002-5938-1253 (E. Conesa); 0000-0001-9458-4083 (P. Balbastre)</p><p>• Study of behavioral patterns. Much research is currently being invested in this area, especially in marketing. The aim is to determine how long users spend in certain areas to increase sales, improve infrastructures, or modify the processes. There are various positioning technologies that operate based on radio waves, magnetic waves, acoustic waves, infrared, or satellites. However, the current trend is the implementation of radio-wave positioning systems in enclosed spaces. These are divided into narrowband radio communication systems, such as Bluetooth or WiFi, and ultra-wideband systems. In addition, 5G positioning should be considered, but this technology is not fully mature nowadays, there are still many limitations that need to be addressed before we see the technology widely deployed.</p><p>Ultra-wideband (UWB) technology has gained significant importance in the field of indoor positioning because it allows, in most cases, direct distance measurements with various calculation methods, not merely employing the received signal strength (Figure <ref type="figure" target="#fig_0">1</ref>). This technology can generate positioning data with accuracies of less than 10 centimeters. It also provides greater robustness in environments where the presence of obstacles between transmitter and receiver is significant, as radio waves are very short signal pulses (in the order of nanoseconds) in an ultra-wide frequency band that hardly interfere with the signals of other positioning technologies and can pass through many structures <ref type="bibr" target="#b0">[1]</ref>. This makes it easier to measure the signal's arrival time at the receiver, which makes this technology ideal for precise positioning calculations. On the other hand, the radiated power levels of UWB chips are very low, in the order of half mW compared to several hundred mW for Bluetooth and tens of mW for WiFi. This means that the autonomy of the devices where the UWB chip is integrated is practically unaffected.</p><p>A comparative table with the technical data of the aforementioned indoor positioning technologies is summarized in the Table 1 <ref type="bibr" target="#b2">[3]</ref>. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Not very sensitive to Multipath and interferences</head><p>These UWB localization systems allow greater human-robot interaction while providing relevant information on the efficiency of production systems. The integration of data from all points of a production process (machines, humans, products) allows the control, monitoring, and analysis necessary to achieve efficient systems. In the case of IoT systems, the use of communication brokers with MQTT protocol is one of the widely standardized solutions due to its simplicity and lightness.</p><p>On the other hand, using the ROS (Robot Operating System) platform as middleware for interaction with robots is also a widely accepted solution within robotics applications. This middleware provides standard operating system services such as hardware abstraction, low-level device control, implementation of commonly-used functionality, inter-process message passing, and packet maintenance.</p><p>This article evaluates a UWB localization system and its application to determine the position of humans and robots in industrial environments with high accuracy for its integration into the ROS architecture of a mobile robot to track operators in their logistic tasks.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Interoperability between ROS and UWB</head><p>In this paper, we have an IoT indoor positioning system with UWB technology with which the location of assets in a given workspace can be obtained with high precision. On the other hand, the aim is to implement a logistics application for tracking operators by mobile robots to facilitate working conditions and comfort. There is also a mobile robot with the ROS software architecture. The main objective here is to achieve the interconnection of both systems (robot control and IoT system) to implement such an application.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1.">UWB positioning system by Pozyx configuration</head><p>The system is composed of three different parts (Figure <ref type="figure" target="#fig_1">2</ref>). Firstly, a network of antennas and tags form the main structure of the communication system to obtain the real-time positioning of people or mobile objects. The tags are mobile devices whose position is to be known as well as the orientation if needed. At the same time, the antennas are devices that are fixed at a given position and receive the information emitted by the tags.</p><p>Secondly, a gateway. This device is the positioning server and connects the antennas via Ethernet. It also collects the data it receives from the antennas and converts it into positions. The Gateway enables the connection to the Pozyx web application and the ROS module developed to access the data generated by the positioning system. To do this, an MQTT bridge must be made through the public IP generated by the Gateway when it connects to the Internet and through port 1883.</p><p>Finally, the web interface. Here the devices can be configured, and it allows us to view the trajectories followed by the tags connected to the server in real-time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2.">RB-1 mobile robot from Robotnik company</head><p>RB-1 is an autonomous mobile robot for transporting loads indoors that supports loads of up to 50 kg and has up to 10 hours of autonomy <ref type="bibr" target="#b4">[5]</ref>. The Figure <ref type="figure" target="#fig_2">3</ref> shows the laser sensor used for navigation and localization and a Red Green Blue Depth (RGB-D) sensor for obstacle detection. RB-1 is based on ROS, an open-source framework based on a graph architecture where processing takes place in nodes that can receive, send and multiplex messages from sensors, control, states, schedules, and actuators, among others <ref type="bibr" target="#b5">[6]</ref>. These nodes communicate with each other under the hierarchy of the Master node, as shown in the above diagram. Thus, each node sends messages to a particular topic. Sending messages to a topic is called "publishing," and reading the data of a topic is called "subscribing." Messages can be of integer, floating-point, or Boolean type, but a given topic can only send or receive one type of message at a time.</p><p>On the other hand, there are services when an interaction between nodes is required. Services have a message type definition, so we can send a service request to another node that performs it. The result of the service is sent as a response. The node must wait until the result is received at the other node. This is also shown in the diagram above.</p><p>The library is oriented for a UNIX system (Ubuntu -Linux) although it is also being adapted to other operating systems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3.">Interconnection module between the localization system and the robot</head><p>For the two systems to interoperate, it is necessary to create an interconnection module to be executed in the mobile robot. First of all, the antennas read the position of the active tags, in this case, the operator tag and the mobile robot tag. This information is processed in the Gateway or server, where the MQTT broker is. Now, it is possible to subscribe to the topic that the broker raises with the positions of the tags. Next, a module is developed in ROS with an MQTT client to receive the position data of the tag carried by the operator and the robot tag. This position data can be filtered to calculate the trajectory that the robot must follow to stay close to the operator at all times, always maintaining a safety margin. The functional diagram is shown in Figure <ref type="figure" target="#fig_3">4</ref>. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Application</head><p>Service robotics is booming in the logistics sector. The automation of processes and optimization of resources is constantly growing, aiming to reduce heavy or tedious tasks for operators. The industry increasingly requires autonomous robots to move freely around the work environment without being constantly supervised by operators.</p><p>However, in order to be able to track the human, the robot first needs to identify the human. Taking advantage of the UWB localization system makes it easier to track using tags without integrating artificial vision into the robot, as is usually the case. This system provides the robot with information on the human's position without processing the data obtained by its sensors. Moreover, as each tag has its identifier, the robot only needs to be told which tag to follow.</p><p>This application aims to free operators from transporting small or medium-sized loads through production areas, which guarantees greater comfort for the operator and improves risk prevention in terms of industrial safety (Figure <ref type="figure" target="#fig_4">5</ref>). The robot tracks the operator (tag holder) employing the UWB localization system, always respecting a safety margin between the robot and the operator. The robot continuously reads the operator's position through an MQTT client implemented in the ROS module developed and tries to stay close to the last position read. Thus, when the operator stops to perform a task, the mobile robot stops, and the operator can place the load to be transported on its platform. Once the load has been deposited, the operator starts his trajectory again, followed by the robot towards a new destination point where the load will be deposited. It is important for the navigating robot map and the map loaded in the Pozyx interface to calculate the coordinates of the tags to have the same origin, so the coordinates in the robot map are the same as the coordinates in the Pozyx map. The code developed to achieve this application would be as follows. Firstly, establishing the identifier of the tag that the robot carries and the identifier of the tag that it must follow. Secondly, the user has to create an MQTT connection thread to the broker in the ROS module (Figure <ref type="figure" target="#fig_5">6</ref>) to obtain the data collected by the UWB localization system. This data is classified according to the identifier of the tag that emits it. Thus, the operator's position is continuously published in the robot's path planning algorithm in another thread because the update frequency of the Pozyx positioning data is higher than the frequency of the robot control loop. In this case, as the robot receives the operator's position at a high frequency, it can shorten the trajectory to be followed if, instead of saving all the positions received, it gives priority to the last one. Therefore, despite the trajectory followed by the human, the robot will track with a longer sampling period than the one for the positioning reading with the UWB location system.</p><p>The robot, knowing its position, moves in the direction of the operator's tag, respecting a safety margin around it. However, the robot moves only if the change in actual coordinates compared to previous coordinates is bigger than a specific tolerance, to avoid the robot moving due to the positioning noise of UWB positioning data when it is in a static position. Thus, the mobile robot tracks the operator employing a virtual sensor, maintaining the robot's autonomy to avoid any obstacles that may come between the robot and the operator during the tracking of the trajectory, in this case, with the conventional sensors installed in the robot.</p></div><figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_0"><head>Figure 1 :</head><label>1</label><figDesc>Figure 1: Common signal and UWB signal [2]</figDesc><graphic coords="2,184.00,294.97,240.95,104.03" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_1"><head>Figure 2 :</head><label>2</label><figDesc>Figure 2: Components of the Pozyx positioning system<ref type="bibr" target="#b3">[4]</ref> </figDesc><graphic coords="3,88.40,364.56,417.79,71.70" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_2"><head>Figure 3 :</head><label>3</label><figDesc>Figure3: RB-1 base from Robotnik company / Basic operating scheme of ROS<ref type="bibr" target="#b6">[7]</ref> </figDesc><graphic coords="4,267.42,66.10,239.23,153.43" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_3"><head>Figure 4 :</head><label>4</label><figDesc>Figure 4: Interoperability scheme between ROS and UWB system</figDesc><graphic coords="4,117.25,565.44,374.64,188.95" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_4"><head>Figure 5 :</head><label>5</label><figDesc>Figure 5: Operator tracking using ROS module developed for logistics applications.</figDesc><graphic coords="5,166.75,395.37,275.30,128.24" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" xml:id="fig_5"><head>Figure 6 :</head><label>6</label><figDesc>Figure 6: Logical structure for developed ROS module</figDesc><graphic coords="6,146.13,72.00,317.22,364.30" type="bitmap" /></figure>
<figure xmlns="http://www.tei-c.org/ns/1.0" type="table" xml:id="tab_0"><head>Table 1</head><label>1</label><figDesc>Comparison between indoor positioning technologies<ref type="bibr" target="#b2">[3]</ref> </figDesc><table><row><cell></cell><cell>Bluetooth</cell><cell>WiFi</cell><cell>UWB</cell></row><row><cell>Accuracy</cell><cell>1-5 m</cell><cell>1-15 m</cell><cell>5-30 cm</cell></row><row><cell>Frequency band</cell><cell>2.4 GHz</cell><cell>2.4-5 GHz</cell><cell>3.1-10.6 GHz</cell></row><row><cell>Coverage</cell><cell>&lt;100 m</cell><cell>&lt;150 m</cell><cell>&lt;250 m</cell></row><row><cell>Data transfer</cell><cell>&lt;20 Mb/s</cell><cell>&lt;1 Gb/s</cell><cell>&lt;100 Mb/s</cell></row><row><cell>Latency</cell><cell>&gt;3 sec</cell><cell>&gt;3 sec</cell><cell>&lt;1 msec</cell></row><row><cell>Scalability</cell><cell>&lt;1000 tags</cell><cell>&lt;1000 tags</cell><cell>&gt;10000 tags</cell></row><row><cell>Power consumption</cell><cell>Low</cell><cell>High</cell><cell>Low</cell></row><row><cell>Reliability</cell><cell>Very sensitive to</cell><cell>Very sensitive to</cell><cell></cell></row><row><cell></cell><cell>Multipath, obstacles</cell><cell>Multipath, obstacles</cell><cell></cell></row><row><cell></cell><cell>and interferences</cell><cell>and interferences</cell><cell></cell></row></table></figure>
		</body>
		<back>

			<div type="acknowledgement">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Acknowledgements</head><p>This research has been funded by the Agència Valenciana de la Innovació, under the program Projectes Estratègics en Cooperació 2021 (INNEST/2021/226). Action co-financed by the European Union through the European Regional Development Fund (ERDF) Operational Programme for the Valencia Region 2014-2020.</p></div>
			</div>

			<div type="references">

				<listBibl>

<biblStruct xml:id="b0">
	<analytic>
		<title level="a" type="main">Ultra Wideband Indoor Positioning Technologies: Analysis and Recent Advances</title>
		<author>
			<persName><forename type="first">L</forename><surname>Mihaylova</surname></persName>
		</author>
		<author>
			<persName><forename type="first">B.-G</forename><surname>Kim</surname></persName>
		</author>
		<author>
			<persName><forename type="first">D</forename><forename type="middle">P</forename><surname>Dogra</surname></persName>
		</author>
		<idno type="DOI">10.3390/s16050707</idno>
	</analytic>
	<monogr>
		<title level="j">Sensors</title>
		<imprint>
			<biblScope unit="volume">16</biblScope>
			<biblScope unit="page">707</biblScope>
			<date type="published" when="2016">2016</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b1">
	<monogr>
		<author>
			<persName><surname>Sewio</surname></persName>
		</author>
		<ptr target="https://www.sewio.net/uwb-technology/" />
		<title level="m">UWB Technology</title>
				<imprint>
			<date type="published" when="2021">2021</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b2">
	<monogr>
		<author>
			<persName><surname>Decawave</surname></persName>
		</author>
		<ptr target="https://www.decawave.com/technology1/" />
		<title level="m">Our Technology</title>
				<imprint>
			<date type="published" when="2020">2020</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b3">
	<monogr>
		<author>
			<persName><surname>Pozyx</surname></persName>
		</author>
		<ptr target="https://docs.pozyx.io/enterprise/latest" />
		<title level="m">Flexible real-time location systems (RTLS) for indoor tracking based on UWB (ultra-wide band) technology</title>
				<imprint>
			<date type="published" when="2022">2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b4">
	<monogr>
		<author>
			<persName><surname>Robotnik</surname></persName>
		</author>
		<ptr target="https://robotnik.eu/es/productos/robots-moviles/rb-1-base/" />
		<title level="m">Robot Movil RB-1 Base</title>
				<imprint>
			<date type="published" when="2022">2022</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b5">
	<monogr>
		<author>
			<persName><forename type="first">Ros</forename><surname>Org</surname></persName>
		</author>
		<ptr target="https://Wiki.ros.org/ROS/Introduction" />
		<title level="m">Introduction</title>
				<imprint>
			<date type="published" when="2018">2018</date>
		</imprint>
	</monogr>
</biblStruct>

<biblStruct xml:id="b6">
	<monogr>
		<title level="m" type="main">Learning Robotics Using Python</title>
		<author>
			<persName><forename type="first">J</forename><surname>Lentin</surname></persName>
		</author>
		<imprint>
			<date type="published" when="2015">2015</date>
			<publisher>Packt Publishing Ltd</publisher>
			<pubPlace>Birmingham</pubPlace>
		</imprint>
	</monogr>
</biblStruct>

				</listBibl>
			</div>
		</back>
	</text>
</TEI>
