Efficient Surface Detection For Assisting Collaborative Robots
Efficient Surface Detection For Assisting Collaborative Robots
article info a b s t r a c t
Article history: Collaborative Robots need to read the surfaces they are walking on to keep their dynamic equilibrium,
Available online 12 December 2022 regardless of whether the ground is flat or uneven. Although accelerometers are frequently employed
Keywords:
for this task, previous efforts have centered on retrofitting the quadruped robots with new sensors.
COBOTs The second technique is to collect lots of samples for machine learning algorithms, which are not
Robotics widely implemented. Learning-based approaches altered the traditional way of data analytics. The
Deep learning advanced deep learning algorithms provide better accuracy and prove more efficient when the data
CNN size is large. This paper introduced a novel architecture of Convolutional Neural Network, a deep
LSTM learning-based approach for efficiently classifying the surface on which the robots are walking. The
dataset contains reading captured by Inertia Measurement Unit sensors. The proposed model achieved
an overall classification accuracy of 88%. The proposed architecture is compared with the existing deep
and machine learning techniques to show its effectiveness. The proposed model can be installed on
collaborative robots’ onboard processors to identify the surfaces effectively.
© 2022 Elsevier B.V. All rights reserved.
https://doi.org/10.1016/j.robot.2022.104339
0921-8890/© 2022 Elsevier B.V. All rights reserved.
S. Singh, M. Sajwan, G. Singh et al. Robotics and Autonomous Systems 161 (2023) 104339
pooling is that the former takes the maximum value from each 3. Proposed CNN architecture
local cluster of neurons in the feature map, and the latter takes
the average. In this section, the novel CNN architecture is proposed as
Fully Connected Layer shown in Fig. 3. The architecture employs two convolutional
layers with 3 × 3 kernel size and one max-pooling layer with
All neurons in one layer are linked to those in the other layers
2 × 2 kernel size. It is typical to stick with a kernel size of
in a fully connected structure. It is the same as any old-fashioned
3 × 3 or 5 × 5. Large sizes are often maintained during the
neural network built using multilayer perceptrons. The flattened
first convolutional layer. Since it is only one first layer and fewer
matrix passes through a fully linked layer to sort the photos into
input channels, its diminutive dimensions are less of an issue. As a
categories.
method for down-sampling feature maps, pooling layers provide
Weights a summary of feature presence in regions of the feature map. The
Each neuron has a receptive field in a neural network that re- two most frequent types of pooling are average pooling and max
ceives values from the layer above it. It then uses this information pooling, which summarize the typical occurrence of a feature and
to calculate an output value based on a function. A bias and a the maximum occurrence of a feature, respectively. We employed
weighted vector decide which function will be used on the data max pooling, afterwards the obtained output is flattened and
that comes in (typically real numbers). Changing these values and transferred to fully connected layers followed by a softmax layer
priorities over time is part of what it means to learn. for classification. In the end, the output is achieved and compared
3
S. Singh, M. Sajwan, G. Singh et al. Robotics and Autonomous Systems 161 (2023) 104339
with truth values to find the error. This process is repeated many Table 1
times to minimize the error and obtain a trained prediction CNN Hyperparameters employed in CNN.
Table 2
Hyperparameters.
SVM Tree LSTM/GRU
Parameters Values Parameters Values Parameters Values
Kernel RBF Minimum leaf size 4 No. of layers 2
Gamma 0.001 Surrogate splits 0ff Loss function Categorical crossentropy
C 10 Max features Auto Dense layer neuron 585
Degree 3 Criterion Squared error Dropout 0.1
Hidden neuron (128,64)
Activation Softmax
Optimizer Adam
comparison between the models, all the models are trained on parameter tuning. The grid search method is used to find the best
67% of the data and tested on the remaining 33% of the data. parameters in the case of all models. All the models are executed
The model evaluation is performed on the testing data. LSTM and 10 times, and the evaluation measures are approximated to show
GRU are sequential-based recurrent neural networks that perform the final results.
well when the data is sequential, like time series, audio, etc. The It can be seen from Table 3 that the proposed CNN architecture
difference between both models is that LSTM uses more gates outperforms all other popular models. The CNN model can effec-
for processing as compared to GRU. In contrast to LSTM’s three tively perform feature learning with the help of convolutional and
gates (input, output, forget), GRU’s bag only has two (reset and pooling layers, which other models cannot do. The proposed CNN
update). The model plots of the deep learning models GRU and can achieve an overall accuracy of 88% with an overall precision,
LSTM are shown in Fig. 4(b) and (c), respectively. Similarly, SVM Recall, and F1 score of 85%, which is far better compared to other
and Decision trees are machine learning-based models. The input deep learning models of LSTM and GRU, which have an overall
data is reshaped to 2D for training and testing purposes in these accuracy of 79% and 78%, respectively. The proposed CNN is also
models. The hyperparameters employed in the models are shown performing well compared to machine learning-based models
in Table 2. All the parameters employed are selected after the SVM and Decision Trees, which have overall accuracy of 57% and
5
S. Singh, M. Sajwan, G. Singh et al. Robotics and Autonomous Systems 161 (2023) 104339
Table 3
Comparison of proposed CNN with other existing Deep and Machine learning models.
Classes CNN GRU LSTM SVM Decision Trees
Precision Recall F1-Score Precision Recall F1-Score Precision Recall F1-Score Precision Recall F1-Score Precision Recall F1-Score
0 0.96 0.96 0.96 0.83 0.92 0.87 0.88 0.87 0.87 0.71 0.94 0.81 0.66 0.75 0.71
1 0.68 0.54 0.6 0.55 0.33 0.41 0.52 0.41 0.46 0.57 0.2 0.3 0.47 0.44 0.45
2 0.89 0.83 0.86 0.82 0.8 0.81 0.75 0.78 0.77 0.46 0.35 0.4 0.73 0.67 0.7
3 0.84 0.92 0.88 0.74 0.9 0.81 0.76 0.88 0.82 0.51 0.98 0.67 0.83 0.77 0.8
4 0.81 0.81 0.81 0.77 0.6 0.67 0.79 0.63 0.7 0.5 0.06 0.11 0.67 0.6 0.63
5 0.91 0.93 0.92 0.83 0.86 0.85 0.81 0.89 0.85 0.59 0.59 0.59 0.77 0.79 0.78
6 0.86 0.91 0.88 0.86 0.77 0.81 0.77 0.73 0.75 0.43 0.26 0.33 0.8 0.78 0.79
7 0.92 0.81 0.86 0.85 0.81 0.83 0.83 0.76 0.79 0.51 0.22 0.31 0.89 0.84 0.86
8 0.78 0.92 0.84 0.69 0.63 0.66 0.61 0.58 0.59 0.38 0.24 0.29 0.3 0.34 0.32
Overall 0.85 0.85 0.85 0.77 0.74 0.75 0.75 0.73 0.73 0.52 0.43 0.42 0.68 0.66 0.67
OA 0.88 0.79 0.78 0.57 0.72
Data availability
References
6
S. Singh, M. Sajwan, G. Singh et al. Robotics and Autonomous Systems 161 (2023) 104339
[11] Y.S. Liang, D. Pellier, H. Fiorino, S. Pesty, A framework for robot Dr. Simranjit Singh is working as Assistant Profes-
programming in cobotic environments: First user experiments, in: Pro- sor in the School of Computer Science Engineering
ceedings of the 3rd International Conference on Mechatronics and Robotics and Technology, Bennett University Greater Noida. He
Engineering, 2017, pp. 30–35. received his Ph.D. degree from the Department of
Computer Science and Engineering at the Thapar In-
[12] C. Prakash, S. Singh, R. Singh, S. Ramakrishna, B. Pabla, S. Puri, M. Uddin,
stitute of Engineering and Technology, Patiala, India.
Biomanufacturing, Vol. 20, Springer, 2019.
His research interests include Deep Learning, Machine
[13] S. Singh, C. Prakash, M. Singh, G.S. Mann, M.K. Gupta, R. Singh, S. Ramakr- learning, Hyperspectral Image Analysis, Security. He has
ishna, Poly-lactic-acid: potential material for bio-printing applications, in: more than 6 years of experience in research. He has
Biomanufacturing, Springer, 2019, pp. 69–87. developed various deep learning frameworks for the
[14] L. Barbazza, M. Faccio, F. Oscari, G. Rosati, Agility in assembly systems: a classification of Hyperspectral data. He also developed
comparison model, Assem. Autom. (2017). many quantification frameworks to quantify the various soil attributes. He
[15] J.E. Colgate, J. Edward, M.A. Peshkin, W. Wannasuphoprasit, Cobots: Robots recently completed a project named “HT-Pred: A complete defensive machine
for collaboration with human operators, 1996. learning tool for Hardware Trojan Detection” funded by Data Security Council
[16] M. Veloso, J. Biswas, B. Coltin, S. Rosenthal, T. Kollar, C. Mericli, M. Samadi, of India.
S. Brandão, R. Ventura, CoBots: Collaborative robots servicing multi-floor
buildings, in: 2012 IEEE/RSJ International Conference on Intelligent Robots Dr. Mohit Sajwan is working as Assistant Professor in
and Systems, 2012, pp. 5446–5447. Computer Science and Engineering Department, Ben-
[17] J. Biswas, B. Coltin, M. Veloso, Corrective gradient refinement for mobile nett University Greater Noida. He received his B.Tech.
robot localization, in: 2011 IEEE/RSJ International Conference on Intelligent degree in Computer Science Engineering from Amrapali
Robots and Systems, IEEE, 2011, pp. 73–78. Institute of Technology, Uttarakhand Technical Univer-
sity, Dehradun, and M.E. (software engineering) from
[18] J. Biswas, M. Veloso, Wifi localization and navigation for autonomous
Birla Institute of Technology, Mesra, Ranchi. He re-
indoor mobile robots, in: 2010 IEEE International Conference on Robotics
ceived his Ph.D. degree from Department of Computer
and Automation, IEEE, 2010, pp. 4379–4384. Science and Engineering at the NIT Delhi, India. His
[19] J. Biswas, M. Veloso, Depth camera based indoor mobile robot localization research interests include, wireless sensor networks,
and navigation, in: 2012 IEEE International Conference on Robotics and IoT, information security, Machine learning and image
Automation, IEEE, 2012, pp. 1697–1702. similarity. He also developed various energy efficient routing protocols for
[20] M. Veloso, J. Biswas, B. Coltin, S. Rosenthal, Cobots: Robust symbiotic wireless sensor networks. He recently completed a project named “HT-Pred:
autonomous mobile service robots, in: Twenty-Fourth International Joint A complete defensive machine learning tool for Hardware Trojan Detection”
Conference on Artificial Intelligence, 2015. funded by Data Security Council of India.
[21] L. Lafranca, J. Li, Humans and robots in times of quarantine based on first-
hand accounts, in: International Conference on Social Robotics, Springer, Dr. Gurbhej Singh is working as Assistant Professor
2020, pp. 688–707. in the department of Mechanical Engineering, Amrit-
[22] C.-Y. Su, H. Samani, C.-Y. Yang, O.N.N. Fernando, Doctor robot with physical sar Group of Colleges Amritsar, Punjab, India. He has
examination for skin disease diagnosis and telemedicine application, in: received his Ph.D. degree from CT University Ludhiana-
2018 International Conference on System Science and Engineering, ICSSE, India in 2021. His research areas include Surface
IEEE, 2018, pp. 1–6. Engineering (MICROWAVE CLADDINGS) || Currently
Working on, Microwave processing of materials. He has
[23] M.A. Hoepflinger, C.D. Remy, M. Hutter, L. Spinello, R. Siegwart, Haptic ter-
many SCI and Scopus indexed publications. He has been
rain classification for legged robots, in: 2010 IEEE International Conference
awarded a ‘‘Top Cited Paper Awards India 2022’’ by
on Robotics and Automation, IEEE, 2010, pp. 2828–2833.
@IOP Publishing, United Kingdom in Review Category.
[24] D. Vail, M. Veloso, Learning from accelerometer data on a legged robot, He has also published many conference papers and
IFAC Proc. Vol. 37 (8) (2004) 822–827. published book chapters.
[25] M. Marcinkiewicz, R. Kaushik, I. Labutov, S. Parsons, T. Raphan, Learning to
stabilize the head of a quadrupedal robot with an artificial vestibular sys-
Dr. Anil Kumar Dixit is working as Professor in the
tem, in: 2009 IEEE International Conference on Robotics and Automation,
department of Law, Uttaranchal University, Dehradun,
IEEE, 2009, pp. 2512–2517.
India. He has received his Ph.D. degree and master’s de-
[26] D.-J. Huang, W.-C. Teng, A gait based approach to detect directional bias gree from Bundelkhand University, India. His research
of four-legged robots’ direct walking utilizing acceleration sensors, in: areas include Constitutional Law, Media law, sports
International Conference on Knowledge-Based and Intelligent Information law. He has also published many conference papers and
and Engineering Systems, Springer, 2007, pp. 681–688. published book chapters.
[27] Y. Qin, X. Zang, X. Wang, J. Zhao, H. Cai, Posture detection system based
upon MEMS inertia sensor for robots, Chin. J. Sensor Actuators 20 (2007)
298–301.
[28] Y. Chen, C. Liu, Q. Chen, A vestibular system model for robots and its
application in environment perception, in: 2010 International Conference
on Computing, Control and Industrial Engineering, Vol. 2, IEEE, 2010, pp. Amrinder Mehta is an Assistant Superintendent in the
230–235. Division of Research and Development (DRD) at Lovely
[29] M. LLC, dataset kernel description, 2018. Professional University in Phagwara, Punjab, India. In
[30] C.-C.J. Kuo, Understanding convolutional neural networks with a 2015, he received his master’s degree from Lovely
mathematical model, J. Vis. Commun. Image Represent. 41 (2016) 406–413. Professional University in Phagwara, Punjab, India,
[31] V.E. Balas, R. Kumar, R. Srivastava, Recent Trends and Advances in Artificial and is currently pursuing his Ph.D. Surface Engineer-
Intelligence and Internet of Things, Springer, 2020. ing/Thermal Spraying is one of his research interests
(HVOF, FLAME SPRAY, COLD SPRAY, AND PLASMA
[32] R. Venkatesan, B. Li, Convolutional Neural Networks in Visual Computing:
SPRAY). He is currently working on Nano-structured
A Concise Guide, CRC Press, 2017.
|| Multi-modal || High entropy alloys coatings for
[33] D.C. Ciresan, U. Meier, J. Masci, L.M. Gambardella, J. Schmidhuber, Flexible, high-temperature oxidation and corrosion resistance —
high performance convolutional neural networks for image classification, Thermal Barrier Coatings (TBCs) and Microwave material processing. He has
in: Twenty-Second International Joint Conference on Artificial Intelligence, published numerous articles on thermal spray coatings in prestigious journals
2011. such as Materials Today Communications, Surface Review and Letters, Surface
[34] A. Krizhevsky, I. Sutskever, G.E. Hinton, Imagenet classification with deep Topography, MDPI: Metrology and Properties, and Journal of Failure Prevention
convolutional neural networks, Commun. ACM 60 (6) (2017) 84–90. and Control.