\documentclass[11pt,twoside]{article}\makeatletter

\IfFileExists{xcolor.sty}%
  {\RequirePackage{xcolor}}%
  {\RequirePackage{color}}
\usepackage{colortbl}
\usepackage{wrapfig}
\usepackage{ifxetex}
\ifxetex
  \usepackage{fontspec}
  \usepackage{xunicode}
  \catcode`⃥=\active \def⃥{\textbackslash}
  \catcode`❴=\active \def❴{\{}
  \catcode`❵=\active \def❵{\}}
  \def\textJapanese{\fontspec{Noto Sans CJK JP}}
  \def\textChinese{\fontspec{Noto Sans CJK SC}}
  \def\textKorean{\fontspec{Noto Sans CJK KR}}
  \setmonofont{DejaVu Sans Mono}
  
\else
  \IfFileExists{utf8x.def}%
   {\usepackage[utf8x]{inputenc}
      \PrerenderUnicode{–}
    }%
   {\usepackage[utf8]{inputenc}}
  \usepackage[english]{babel}
  \usepackage[T1]{fontenc}
  \usepackage{float}
  \usepackage[]{ucs}
  \uc@dclc{8421}{default}{\textbackslash }
  \uc@dclc{10100}{default}{\{}
  \uc@dclc{10101}{default}{\}}
  \uc@dclc{8491}{default}{\AA{}}
  \uc@dclc{8239}{default}{\,}
  \uc@dclc{20154}{default}{ }
  \uc@dclc{10148}{default}{>}
  \def\textschwa{\rotatebox{-90}{e}}
  \def\textJapanese{}
  \def\textChinese{}
  \IfFileExists{tipa.sty}{\usepackage{tipa}}{}
\fi
\def\exampleFont{\ttfamily\small}
\DeclareTextSymbol{\textpi}{OML}{25}
\usepackage{relsize}
\RequirePackage{array}
\def\@testpach{\@chclass
 \ifnum \@lastchclass=6 \@ne \@chnum \@ne \else
  \ifnum \@lastchclass=7 5 \else
   \ifnum \@lastchclass=8 \tw@ \else
    \ifnum \@lastchclass=9 \thr@@
   \else \z@
   \ifnum \@lastchclass = 10 \else
   \edef\@nextchar{\expandafter\string\@nextchar}%
   \@chnum
   \if \@nextchar c\z@ \else
    \if \@nextchar l\@ne \else
     \if \@nextchar r\tw@ \else
   \z@ \@chclass
   \if\@nextchar |\@ne \else
    \if \@nextchar !6 \else
     \if \@nextchar @7 \else
      \if \@nextchar (8 \else
       \if \@nextchar )9 \else
  10
  \@chnum
  \if \@nextchar m\thr@@\else
   \if \@nextchar p4 \else
    \if \@nextchar b5 \else
   \z@ \@chclass \z@ \@preamerr \z@ \fi \fi \fi \fi
   \fi \fi  \fi  \fi  \fi  \fi  \fi \fi \fi \fi \fi \fi}
\gdef\arraybackslash{\let\\=\@arraycr}
\def\@textsubscript#1{{\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}}
\def\Panel#1#2#3#4{\multicolumn{#3}{){\columncolor{#2}}#4}{#1}}
\def\abbr{}
\def\corr{}
\def\expan{}
\def\gap{}
\def\orig{}
\def\reg{}
\def\ref{}
\def\sic{}
\def\persName{}\def\name{}
\def\placeName{}
\def\orgName{}
\def\textcal#1{{\fontspec{Lucida Calligraphy}#1}}
\def\textgothic#1{{\fontspec{Lucida Blackletter}#1}}
\def\textlarge#1{{\large #1}}
\def\textoverbar#1{\ensuremath{\overline{#1}}}
\def\textquoted#1{‘#1’}
\def\textsmall#1{{\small #1}}
\def\textsubscript#1{\@textsubscript{\selectfont#1}}
\def\textxi{\ensuremath{\xi}}
\def\titlem{\itshape}
\newenvironment{biblfree}{}{\ifvmode\par\fi }
\newenvironment{bibl}{}{}
\newenvironment{byline}{\vskip6pt\itshape\fontsize{16pt}{18pt}\selectfont}{\par }
\newenvironment{citbibl}{}{\ifvmode\par\fi }
\newenvironment{docAuthor}{\ifvmode\vskip4pt\fontsize{16pt}{18pt}\selectfont\fi\itshape}{\ifvmode\par\fi }
\newenvironment{docDate}{}{\ifvmode\par\fi }
\newenvironment{docImprint}{\vskip 6pt}{\ifvmode\par\fi }
\newenvironment{docTitle}{\vskip6pt\bfseries\fontsize{22pt}{25pt}\selectfont}{\par }
\newenvironment{msHead}{\vskip 6pt}{\par}
\newenvironment{msItem}{\vskip 6pt}{\par}
\newenvironment{rubric}{}{}
\newenvironment{titlePart}{}{\par }

\newcolumntype{L}[1]{){\raggedright\arraybackslash}p{#1}}
\newcolumntype{C}[1]{){\centering\arraybackslash}p{#1}}
\newcolumntype{R}[1]{){\raggedleft\arraybackslash}p{#1}}
\newcolumntype{P}[1]{){\arraybackslash}p{#1}}
\newcolumntype{B}[1]{){\arraybackslash}b{#1}}
\newcolumntype{M}[1]{){\arraybackslash}m{#1}}
\definecolor{label}{gray}{0.75}
\def\unusedattribute#1{\sout{\textcolor{label}{#1}}}
\DeclareRobustCommand*{\xref}{\hyper@normalise\xref@}
\def\xref@#1#2{\hyper@linkurl{#2}{#1}}
\begingroup
\catcode`\_=\active
\gdef_#1{\ensuremath{\sb{\mathrm{#1}}}}
\endgroup
\mathcode`\_=\string"8000
\catcode`\_=12\relax

\usepackage[a4paper,twoside,lmargin=1in,rmargin=1in,tmargin=1in,bmargin=1in,marginparwidth=0.75in]{geometry}
\usepackage{framed}

\definecolor{shadecolor}{gray}{0.95}
\usepackage{longtable}
\usepackage[normalem]{ulem}
\usepackage{fancyvrb}
\usepackage{fancyhdr}
\usepackage{graphicx}
\usepackage{marginnote}

\renewcommand{\@cite}[1]{#1}


\renewcommand*{\marginfont}{\itshape\footnotesize}

\def\Gin@extensions{.pdf,.png,.jpg,.mps,.tif}

  \pagestyle{fancy}

\usepackage[pdftitle={Passive Sensing Jaw for Grasping and Orienting},
 pdfauthor={}]{hyperref}
\hyperbaseurl{}

	 \paperwidth210mm
	 \paperheight297mm
              
\def\@pnumwidth{1.55em}
\def\@tocrmarg {2.55em}
\def\@dotsep{4.5}
\setcounter{tocdepth}{3}
\clubpenalty=8000
\emergencystretch 3em
\hbadness=4000
\hyphenpenalty=400
\pretolerance=750
\tolerance=2000
\vbadness=4000
\widowpenalty=10000

\renewcommand\section{\@startsection {section}{1}{\z@}%
     {-1.75ex \@plus -0.5ex \@minus -.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\Large\bfseries}}
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
     {-1.75ex\@plus -0.5ex \@minus- .2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\Large}}
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
     {-1.5ex\@plus -0.35ex \@minus -.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\large}}
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
     {-1ex \@plus-0.35ex \@minus -0.2ex}%
     {0.5ex \@plus .2ex}%
     {\reset@font\normalsize}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
     {1.5ex \@plus1ex \@minus .2ex}%
     {-1em}%
     {\reset@font\normalsize\bfseries}}


\def\l@section#1#2{\addpenalty{\@secpenalty} \addvspace{1.0em plus 1pt}
 \@tempdima 1.5em \begingroup
 \parindent \z@ \rightskip \@pnumwidth 
 \parfillskip -\@pnumwidth 
 \bfseries \leavevmode #1\hfil \hbox to\@pnumwidth{\hss #2}\par
 \endgroup}
\def\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\def\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\def\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
\def\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
\@ifundefined{c@section}{\newcounter{section}}{}
\@ifundefined{c@chapter}{\newcounter{chapter}}{}
\newif\if@mainmatter 
\@mainmattertrue
\def\chaptername{Chapter}
\def\frontmatter{%
  \pagenumbering{roman}
  \def\thechapter{\@roman\c@chapter}
  \def\theHchapter{\roman{chapter}}
  \def\thesection{\@roman\c@section}
  \def\theHsection{\roman{section}}
  \def\@chapapp{}%
}
\def\mainmatter{%
  \cleardoublepage
  \def\thechapter{\@arabic\c@chapter}
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \pagenumbering{arabic}
  \setcounter{secnumdepth}{6}
  \def\@chapapp{\chaptername}%
  \def\theHchapter{\arabic{chapter}}
  \def\thesection{\@arabic\c@section}
  \def\theHsection{\arabic{section}}
}
\def\backmatter{%
  \cleardoublepage
  \setcounter{chapter}{0}
  \setcounter{section}{0}
  \setcounter{secnumdepth}{2}
  \def\@chapapp{\appendixname}%
  \def\thechapter{\@Alph\c@chapter}
  \def\theHchapter{\Alph{chapter}}
  \appendix
}
\newenvironment{bibitemlist}[1]{%
   \list{\@biblabel{\@arabic\c@enumiv}}%
       {\settowidth\labelwidth{\@biblabel{#1}}%
        \leftmargin\labelwidth
        \advance\leftmargin\labelsep
        \@openbib@code
        \usecounter{enumiv}%
        \let\p@enumiv\@empty
        \renewcommand\theenumiv{\@arabic\c@enumiv}%
	}%
  \sloppy
  \clubpenalty4000
  \@clubpenalty \clubpenalty
  \widowpenalty4000%
  \sfcode`\.\@m}%
  {\def\@noitemerr
    {\@latex@warning{Empty `bibitemlist' environment}}%
    \endlist}

\def\tableofcontents{\section*{\contentsname}\@starttoc{toc}}
\parskip0pt
\parindent1em
\def\Panel#1#2#3#4{\multicolumn{#3}{){\columncolor{#2}}#4}{#1}}
\newenvironment{reflist}{%
  \begin{raggedright}\begin{list}{}
  {%
   \setlength{\topsep}{0pt}%
   \setlength{\rightmargin}{0.25in}%
   \setlength{\itemsep}{0pt}%
   \setlength{\itemindent}{0pt}%
   \setlength{\parskip}{0pt}%
   \setlength{\parsep}{2pt}%
   \def\makelabel##1{\itshape ##1}}%
  }
  {\end{list}\end{raggedright}}
\newenvironment{sansreflist}{%
  \begin{raggedright}\begin{list}{}
  {%
   \setlength{\topsep}{0pt}%
   \setlength{\rightmargin}{0.25in}%
   \setlength{\itemindent}{0pt}%
   \setlength{\parskip}{0pt}%
   \setlength{\itemsep}{0pt}%
   \setlength{\parsep}{2pt}%
   \def\makelabel##1{\upshape ##1}}%
  }
  {\end{list}\end{raggedright}}
\newenvironment{specHead}[2]%
 {\vspace{20pt}\hrule\vspace{10pt}%
  \phantomsection\label{#1}\markright{#2}%

  \pdfbookmark[2]{#2}{#1}%
  \hspace{-0.75in}{\bfseries\fontsize{16pt}{18pt}\selectfont#2}%
  }{}
      \def\TheFullDate{2022 1970-01-01 (revised: 27 Year 2022 01 January 1970)}
\def\TheID{\makeatother }
\def\TheDate{2022 1970-01-01}
\title{Passive Sensing Jaw for Grasping and Orienting}
\author{}\makeatletter 
\makeatletter
\newcommand*{\cleartoleftpage}{%
  \clearpage
    \if@twoside
    \ifodd\c@page
      \hbox{}\newpage
      \if@twocolumn
        \hbox{}\newpage
      \fi
    \fi
  \fi
}
\makeatother
\makeatletter
\thispagestyle{empty}
\markright{\@title}\markboth{\@title}{\@author}
\renewcommand\small{\@setfontsize\small{9pt}{11pt}\abovedisplayskip 8.5\p@ plus3\p@ minus4\p@
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus2\p@
\belowdisplayshortskip 4\p@ plus2\p@ minus2\p@
\def\@listi{\leftmargin\leftmargini
               \topsep 2\p@ plus1\p@ minus1\p@
               \parsep 2\p@ plus\p@ minus\p@
               \itemsep 1pt}
}
\makeatother
\fvset{frame=single,numberblanklines=false,xleftmargin=5mm,xrightmargin=5mm}
\fancyhf{} 
\setlength{\headheight}{14pt}
\fancyhead[LE]{\bfseries\leftmark} 
\fancyhead[RO]{\bfseries\rightmark} 
\fancyfoot[RO]{}
\fancyfoot[CO]{\thepage}
\fancyfoot[LO]{\TheID}
\fancyfoot[LE]{}
\fancyfoot[CE]{\thepage}
\fancyfoot[RE]{\TheID}
\hypersetup{citebordercolor=0.75 0.75 0.75,linkbordercolor=0.75 0.75 0.75,urlbordercolor=0.75 0.75 0.75,bookmarksnumbered=true}
\fancypagestyle{plain}{\fancyhead{}\renewcommand{\headrulewidth}{0pt}}

\date{}
\usepackage{authblk}

\providecommand{\keywords}[1]
{
\footnotesize
  \textbf{\textit{Index terms---}} #1
}

\usepackage{graphicx,xcolor}
\definecolor{GJBlue}{HTML}{273B81}
\definecolor{GJLightBlue}{HTML}{0A9DD9}
\definecolor{GJMediumGrey}{HTML}{6D6E70}
\definecolor{GJLightGrey}{HTML}{929497} 

\renewenvironment{abstract}{%
   \setlength{\parindent}{0pt}\raggedright
   \textcolor{GJMediumGrey}{\rule{\textwidth}{2pt}}
   \vskip16pt
   \textcolor{GJBlue}{\large\bfseries\abstractname\space}
}{%   
   \vskip8pt
   \textcolor{GJMediumGrey}{\rule{\textwidth}{2pt}}
   \vskip16pt
}

\usepackage[absolute,overlay]{textpos}

\makeatother 
      \usepackage{lineno}
      \linenumbers
      
\begin{document}

             \author[1]{Alessandro Luchetti, Mariolino De Cecco, Matteo Perotto, Paolo Bosetti, Daniele Fontanelli, Luigi Palopoli, Fabiano Zenatti, Matteo Zanetti, Luca Maule, Mattia  Tavernini}

             \affil[1]{  University of Trento}

\renewcommand\Authands{ and }

\date{\small \em Received: 1 January 1970 Accepted: 1 January 1970 Published: 1 January 1970}

\maketitle


\begin{abstract}
        


The goal of this work is to present an innovative design for a smart robotic gripper, which is able to grasp different randomly deployed prismatic and cylindrical packages and orient them through a mechanically passive alignment system with sensing capability. It consists in a new concept of end-effector combined with an ad-hoc path planning for aligning residual worst cases. The system uses gravity and an angular sensor embedded into the gripper to detect the object orientation and, if necessary, formulate a control strategy to align it before the release phase. An initial screening experiment was executed to find the parameters that most influence the alignment angle and execution time. Two worst-case pack ages were tested in different working conditions. The results show that the percentage of success of the system is high even in the worst operating conditions.

\end{abstract}


\keywords{}

\begin{textblock*}{18cm}(1cm,1cm) % {block width} (coords) 
\textcolor{GJBlue}{\LARGE Global Journals \LaTeX\ JournalKaleidoscope\texttrademark}
\end{textblock*}

\begin{textblock*}{18cm}(1.4cm,1.5cm) % {block width} (coords) 
\textcolor{GJBlue}{\footnotesize \\ Artificial Intelligence formulated this projection for compatibility purposes from the original article published at Global Journals. However, this technology is currently in beta. \emph{Therefore, kindly ignore odd layouts, missed formulae, text, tables, or figures.}}
\end{textblock*}


\let\tabcellsep& 	 	 		 
\section[{I. Introduction}]{I. Introduction}\par
icking, aligning, and placing objects of different shapes and sizes is a very common task in the automation industry. The most commonly used interfaces for picking involve vacuum force obtained via suction cups and sponges or mechanical friction provided by soft and rigid jaws \hyperref[b0]{[1]}, which have the higher capability to grip objects of different shapes, volumes, and masses without changing the jaw shapes. The jaws can be designed in different configurations and actuated either by pneumatic systems, which are noisy and expensive as they require a vacuum line, or by mechanical systems.\par
Parallel configuration is the most commonly used for picking objects of standard geometries, since higher dexterity configurations require a complex and expensive adaptive control strategy. One example of high dexterity configuration is the dexterous hand presented in \hyperref[b1]{[2]}, \hyperref[b2]{[3]} and \hyperref[b3]{[4]}. Examples of the complexity of the control strategy for this kind of solutions are reported in \hyperref[b15]{[5]} for rolling approach, in \hyperref[b4]{[6]} for sliding approach and \hyperref[b5]{[7]} for gaiting approach. The choice of using a parallel gripper is justified in the manufacturing field by Bracken \hyperref[b6]{[8]}, who proposed a geometrical classification of parts to be gripped into six shape categories (i.e., spherical, rectangular, cylindrical, triangular, holed and flexible) and stated that the gripper able to deal with most shapes is the parallel two-jaw gripper.\par
Assuming that a robotic system is composed of a robot and a mechanical parallel gripper, it is possible to solve the alignment problem with two strategies: using a high degree of-freedom manipulator equipped with a gripper that has no alignment capability or performing the alignment by using the gripper rather than robot kinematics. Holladay et al. \hyperref[b7]{[9]} demonstrated that the task can be solved in a shorter time and with a smaller work space using the second approach.\par
The orientation problem using only the gripper can be solved in several ways, but the most commonly used is pivoting \hyperref[b8]{[10]}. It consists in closing the gripper jaws in such a way that the object can rotate around the axis passing through the contact points. Rao et al. \hyperref[b9]{[11]} demonstrated the effectiveness of this orienting technique by making four degree of freedom robot to move a polyhedral part in space (along all the object's degrees of freedom). This approach takes advantage of gravity to complete the alignment so that the alignment system can be defined as passive. It also introduces a constraint on the gripping distance from the object's center of mass. Making the realignment system to be active allows to get rid of this constraint and to control the alignment angle, but the introduction of additional hardware decreases reliability while increasing costs.\par
In this paper, we propose and validate a new design with a passive realignment system to be integrated into parallel mechanical grippers. In addition, in pick and place operations it can be necessary to choose if the object has to be realigned or not, a problem that is addressed using a passive mechanical system integrating an angular sensor monitoring in real-time the inclination of the object and synthesising an appropriate control strategy based on planned actions. 
\section[{II. Related Works}]{II. Related Works}\par
An example of a passive system is given by \hyperref[b10]{[12]}, where each jaw has a vertical V-groove cavity with a small hard contact point attached to an elastic strip that orthogonally crosses the groove. When the gripping force is low, the rotation is obtained by pivoting the object around the axis created by hard contact points that are free to rotate. When the force increases, the strip goes into the groove, thus constraining the object. The interesting feature is that the type of contact between the object and the jaw is a function of the gripping force. Although not suitable for cubic objects, this solution can be retrofitted to different parallel jaws. Another possible detrimental effect is that the point-like contact may damage the object surface, which is also subject to wear, and requires high accuracy in sensing the object to grasp and in planning for the proper gripping point. Additionally, the proper grip ping force is another feature to be defined, which requires precise knowledge of the gripper-object friction coefficient.\par
Two other interesting examples are available in the literature, both based on pneumatic actuation. The one presented in \hyperref[b11]{[13]} solves the problem of the correct gripping force choice by introducing an active rubber diaphragm between the jaw body and the fingertip. A bearing allows the fingertip to freely rotate when the diaphragm is not inflated, then the inflation allows it to stop quickly at a given angle. This design has the advantages of being fast and independent on the object geometry and grasping force. Additionally, it is equipped with a rotary magnetic encoder that allows for feedback control. The main limitation is the need for a pneumatic system.\par
The other solution presented in \hyperref[b13]{[14]} uses an inflatable membrane to change the shape of the contact interface: when the pressure is high, the fingers have a prismatic shape and contact is restricted to a small area (ideally two points); when the pressure is low, the shape smoothly becomes a V-groove cavity, where cylindrical objects are held. The advantage of this design is that it is independent of the object geometry although it is only suitable to align cylindrical shapes and, again, it needs to be actuated by a pneumatic system.\par
The solution here presented is purely mechanical and passive, and integrates a sensing system. It can work with a wide range of object shapes while avoiding the use of a pneumatic system. It allows for a simpler, more reliable, and more cost-effective jaw design. The encoder also performs quick fault diagnosis, increasing robustness. 
\section[{III. The Passive-Sensing Jaws}]{III. The Passive-Sensing Jaws}\par
The jaws of the parallel gripper were designed with an innovative passive auto-alignment capability.\par
Each of the two jaws has a different design and accomplishes different functions in the alignment operation. The one in Fig. \hyperref[fig_0]{1} only works as a pivot to align the object, the other in Fig.  {\ref 2} has three additional features: 1. a v-groove cavity; 2. a counterweight at an offset to the rotation axis; 3. a rotation sensor. The v-shape, provided with an elastic film, is made to better secure cylindrical objects, the surrounding planar surface is instead used to improve contact with prismatic pack    {\ref (E-F}) releasing with the counterweight and v-shaped cavity moving parallel to the ground ping the magnetic strip on a 32 mm diameter cylinder be comes 1.15°, maximum speed is 16 m s ?1 (100 rad s ?1 ). The encoder is equipped with the external LIKA IF40 converter that performs interpolation and provides digital output. The angle sensor is added also with the purpose of making the system able to detect faults and misalignment. It enables the robot controller to move the end-effector so that the object can be aligned in the best possible way, in terms of time and final angle with respect to the vertical direction, before re leasing the package. In case of fault the system could drop the object and run again an alignment process. 
\section[{IV. Experimental Analysis on Pharmaceutical Packaging}]{IV. Experimental Analysis on Pharmaceutical Packaging}\par
The application fields of the developed system are many. In this work it has been tested for the alignment of packages for pharmaceutical use. In particular, their shape can be both prismatic and cylindrical with the geometric requirements of Fig.  {\ref 5}. As shown in Fig.  {\ref 5}, the average percentage (AVG) of cylindrical packages out of the overall worldwide packages depends on the country. Their weight is less than 800 g.\par
The packages has to be placed in a position of maximum-stability: the cylindrical have to be placed in vertical position; the prismatic maximizing the contact surface. 
\section[{V. System Design}]{V. System Design}\par
This section describes the important features of the hard ware components and the developed software used for statistical experiments. a) Hardware Components Fig.  {\ref 6} shows the components used for testing. 
\section[{Robot:}]{Robot:}\par
The robot is the HS-4345 4-axis SCARA robot designed by Denso robotics. It has four links connected with three revolute and one prismatic joints. 
\section[{Controller:}]{Controller:}\par
The RC8 controller is the interface between the robot and the PC. From a software point-of-view, the ORiN middleware is used to build the client application to communicate with the controller. In this work the coded client application requests a service sending a packet over TCP stream using b-CAP communication protocol. Server assigns commands and responds to the client to confirm the service execution is completed.\par
Laser: Keyence LK-G157 laser displacement was used to set the position of the object's center of mass with respect to the object's main axis. The repeatability of the instrument is 0.5 µm. Parallel gripper: The Shunk WSG 50 parallel gripper is used to actuate prototype jaws. It is equipped with force and position sensors and controlled sending commands via TCP/IP protocol. 
\section[{b) Software Description}]{b) Software Description}\par
A state machine was designed to control the whole alignment process, whose main states, summarised in Fig. \hyperref[fig_3]{7}, are:\par
Idle: In Idle state the system is waiting to receive the object information about its shape, dimensions, mass, position and orientation, and if it has to be placed in maximum stability condition or only its location has to be changed. For the test application presented in this paper, all these information in were provided manually as input, while, in actual operative conditions, a dedicated vision system connected to a database will be used.\par
Positioning: In positioning state, the robot moves to the gripping point specified with a final end-effector position in the operational space and following an optimal planned path.\par
Gripping: Here the gripper grabs the object and uses its force sensors to detect the presence of the object: in case the object is lost, an error is returned and the system goes back to Idle state.\par
Lifting: The robot lifts the object and, depending on the gripping point, the object will be aligned or not. The height at which the object is lifted depends on object dimension and on the gripping point. When package alignment is needed, the lifting and pivoting phases show a dumped second order dynamic with different characteristics for different medicine packages, as shown by the encoder signals time evolution in Fig.  {\ref 8} obtained with a sampling frequency of 100 Hz. 
\section[{Robot Moving:}]{Robot Moving:}\par
The robot moves the object to the release point. During this phase the gripper, with its alignment axis, must always be orthogonal to the tangent of the trajectory. The direction of the robot's motion is selected such that the inertial force caused by the robot's acceleration adds an alignment torque to the package (i.e. it pushes the object to the mechanical stroke limit). In this way, if the object is already at the end of its stroke, the lateral acceleration acts on a constrained degree of freedom and does not affect the final angle. Object Release: This final phase is crucial for the success of the orientation process and only depends on the final angle at the end of the motion phase. Fig.  {\ref 9} shows the geometric condition for correctly releasing the cylinder in its stable configuration (cone stability).\par
The critical value of ?, ? cr , is found making the ratio between the position of the object center of mass (CM) and the object diameter at the bottom surface.\par
Perception Loop: In the Perception loop the smart end effector perceives and combines information such as the current gripper position P 0 , the final desired one P p , the current object angle (? t ), the gripping distance (h) w.r.t. the center of mass (CM), the object diameter (D) and its height (H), to plan the trajectory. Those information are used to realign the package using a reference alignment vertical plate if the object needs to be further aligned before release.\par
In particular, by the perceived information, the robot moves the gripper to the plate at a distance based on the radius of the cylindrical envelope of the package increased by a safety factor (d f ). A parametric arc movement forces the gripper to be parallel to the vertical plate, Fig. \hyperref[fig_0]{10}. The path chosen in this way guarantees the packages to be tangential to the wall at the final point P p .\par
In this phase, the value of the object inclination (? t ) is constantly checked along the planned gripper trajectory to determine when the object can be correctly released.\par
In Fig. \hyperref[fig_0]{11} it is shown the sampled signal (100 Hz sampling frequency) of the rotary sensor during a full In particular, at 3.5 s the object is gripped and lifted, reaching a final angle of approximately 40°. The robot forward acceleration makes the angle to stabilize around 55° at 5.5s, but this is not sufficient for having a successful release because the critical angle for this particular package equals 68°.\par
As a consequence, the robot moves towards the vertical plate, that makes the final angle to be around 90 degrees allowing a safe release.\par
The code to manage the finite state machine for picking, positioning, aligning and releasing operations is written in C language on Microsoft Windows operating system. A multi-thread application was coded to simultaneously control the SCARA robot, the gripper and read the angle value, Fig. \hyperref[fig_0]{12}. 
\section[{VI. Design of the Experiments}]{VI. Design of the Experiments}\par
In this section we carry out a statistical analysis to validate the system design and present the obtained results. The design validation should verify the following hypothesis: system is able to pick up, perform pivoting and aligning of packages of different shapes and weights, in a reduced amount of time and with a low error percentage.\par
A first factorial screening experiment is performed in order to identify factors that have stronger influence on the pivoting capability. The response surface is then obtained and used to find the factors combination that leads to the worst final angle and the largest settling time.\par
In other terms, this first experiment allows to obtain the worst operating condition for pivoting success. In this condition the complete pick align-place operation is performed to check the robustness of the system with real drug packages. In this final study, the effectiveness of the system is assessed through the percentage of successfully completed alignment operations.\par
All the statistical analysis was performed in RStudio, an integrated development environment for R programming language.  The factorial experiment is the most efficient type of experiment for screening. After obtaining the factors significance, the objective is to obtain the response surface. The factorial design is augmented with several observations at the center to fit a model linear in all factors but one, which is quadratic. If the ANOVA shows that the quadratic term is significative, then we need to augment the factorial plan to a 3 n Central Composite Design, if not, a linear 2 n model is a reliable approximation. Blocking is used to perform sequential experimentation and augment the factorial design only if the second-order model is needed \hyperref[b14]{[15]}.\par
The choice of factors levels comes from prior and actual knowledge of the process and is made to fit the real operating conditions of the process when performing the central composite design. The design factors chosen for the factorial experiment with their low (L), center (C) and high (H) levels are reported below. Assuming that the gripper always makes the pivoting axis orthogonal to the cylinders longitudinal axis, the only gripper degree of freedom that is varied is the position along grip ping axis, all the others are held constant. Also the vertical distance of the grip from the plane is assumed fixed because, even if there is an error in estimating the diameter of the object, the V shape helps to center the grip.\par
When gripping an object, the gripping force rises from zero to its nominal value with a dynamics that depends on equivalent stiffness and damping at gripping interface. Here the transient is considered negligible and the force is assumed to ideally go from zero to its nominal value before gripping starts.\par
Mass, volume, inertia moment, diameter, height and gripping distance are not independent factors, so it is not possible to design an experiment taking all of them as factors.\par
Volume V, inertia moment, gripping distance d and material type are substituted with two factors: the relative distance of gripping point from the geometrical center of mass (A) and the relative distance of the center of mass of the inner material from the geometrical center of mass of the container (D). This is non zero when the material is non-homogeneous, while it is zero otherwise. For non-homogeneous materials, we refer to the unconstrained material contained within the package, e.g., pills or powders. On the other hand, for homogeneous material we refer to uniformly constrained materials such as fully filled liquid jars or thick creams.\par
The response variables of particular interest to characterize the alignment process are the final angle and the settling time. The first quantifies the alignment in steady state condition, when oscillations are completely damped, the second instead takes into account the alignment dynamics.\par
To satisfy the statistical requirements of the independence of observations, the matrix for the final design was generated randomizing the experiment order. A set of different 3D printed cylindrical objects is used to create all combinations of geometrical factors, shown in Fig. \hyperref[fig_7]{14}. They are filled with materials of different densities in order to obtain the same mass value. In Fig. \hyperref[fig_7]{14}, the orange and the black objects are filled with homogeneous and non-homogeneous material, respectively. In the latter case, the ratio between the position of the material center of mass w.r.t. the cylinder and the cylinder height is constant. 
\section[{i. Results}]{i. Results}\par
The analysis of variance is performed on the factorial design added with central points. The fitted model for angle response variable isAngle ? A * B * C * D * E * F * G + A 2 , the one for time variable is Time ? A * B * C * D * E * F * G+ A 2 .\par
The F values and p-values of the factors are reported in Tab. 1 and Tab. 2. The quadratic term is added to check if the 2 n factorial plan has to be augmented to a 3 n Central Composite Design. The high p-value of the quadratic term in both models proves that the linear model is sufficient to describe the system behaviour.\par
The analysis of variance response surfaces are then obtained fitting a first order model to the factorial data added to central points. Finally, the steepest descent path is determined to obtain the combination of factors that led to the worst condition for final angle and aligning time. A visual interpretation is given here reporting the values of factors when moving down the steepest descent path at 0.5 distance from the center point and at the factors high level (distance 1 from the center point). Results are reported in Tab.     These results are in accordance with the physics of the problem. The system can be modeled as a damped physical pendulum with additional energy loss caused by the bump against the stop screw. The amount of energy dissipated during the bump depends on the restitution factor. For what concerns the final angle, its value depends on the final balance between the torque of the gravity force that acts on the package center of mass and the unbalancing mass one. A short gripping distance implies a short lever arm for the gravity torque, resulting in a lower angle value. The unconstrained material moves to the bottom of the Analyzing the time variable, the high gripping distance con tribute to have a larger torque, while the non-constrained material adds an aligning torque to the system when the package starts to rotate. The large diameter and large height makes the inertia moment, and consequently the kinetic energy, to be higher. The kinetic energy is also increased by the large vertical acceleration. Since a larger kinetic energy implies to have more bumps and a longer transient, the final aligning time results to be longer.\par
The time needed for the entire aligning operation depends on several factors, one of the most relevant being the package initial and final position and orientation. Moreover, the aligning angle and time are highly depending on the robot lateral dynamics. By assuming that the robot will be operated to minimize the time of the process, next experiments to validate the gripper in the whole robotic system are performed fixing only the geometric conditions at their worst for the aligning angle: The worst-case drug package characteristics found for pivoting in Section 5.1 are not the same as those for the re lease operation. The latter case is influenced only by pure geometric considerations from the values of the position of the center of mass and the diameter of the object at the bottom surface as seen in section 4.1. In contrast with the diameter, the position of the center of mass is affected by uncertainty, especially if the material contained in the package is not homogeneous. We can assume that the center of mass in the geometric center of gravity is a good approximation and conservative. In fact, even though pharmaceutical packages contain heterogeneous material, due to the effect of gravity during rotations, the inside material would go to the lower part and this would lower the center of mass increasing the critical angle for stability. To have a small height and small diameter implies a lower critical angle, so another package of drugs was selected to take into account the worst case for release, which is reported in Fig. \hyperref[fig_9]{15(b)}.\par
In order to provide a complete analysis of the system, two test campaigns were carried out to validate the robustness of final design on both worst cases with packages of Fig. \hyperref[fig_9]{15}. The centres of mass of both packages correspond to the geometric centres due to the homogeneity of the material contained inside.\par
In order to take into account the most critical source of uncertainty related to the identification of the object position and therefore its center of mass estimation, both the previously defined drug packages are tested randomly varying the gripping point between 10\% and 90\% of their half eighth (Fig. \hyperref[fig_11]{16}). In both cases, 200 gripping positions are generated from a uniform distribution, and the releasing success is tested for both packages after pivoting only and also with the robot moving on a trajectory. 
\section[{i. Results}]{i. Results}\par
The results of these experiments are presented in Tab. 5 and Tab. 6. All the incorrect alignments occurs when the gripping distance is near 10\%. 
\section[{VII. Conclusion}]{VII. Conclusion}\par
In this paper, we have presented an innovative design for a smart robotic gripper able to grasp objects of cylindrical and prismatic shapes and then orient them through a mechanically passive alignment system. The gripper is endowed with sensors to detect object misalignment and, if necessary, uses an external vertical plate for re-orientation. The statistical performance analysis shows that the worst condition for the pivoting operation is represented by small height, large diameter packages filled with homogeneous material. Moreover, geometrical considerations on object stability are made to find the worst packages characteristics for release success: small height, small diameter, filled with homogeneous material.  Two commercial packages representing the two worst cases are tested in different working conditions. When both packages are released after the vertical motion of the robot, considering also the robot lateral motion and using an additional vertical plate as backup solution to complete the alignment operation, the success rate considering also the worst cases is around 99\%.\par
The cases in which the alignment is not successful are those in which the gripping point is close to the center of gravity. The probability of success consistently increase with a vision system that can reliably estimate the position of the centre of mass. The results shows that the percentage of success of the system is high even in the worst operating conditions, see Extension 1.\begin{figure}[htbp]
\noindent\textbf{1}\includegraphics[]{image-2.png}
\caption{\label{fig_0}Fig. 1 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{2334}\includegraphics[]{image-3.png}
\caption{\label{fig_1}Fig. 2 : 3 (Fig. 3 :Fig. 4 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{56}\includegraphics[]{image-4.png}
\caption{\label{fig_2}Fig. 5 :Fig. 6 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{7}\includegraphics[]{image-5.png}
\caption{\label{fig_3}Fig. 7 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{8910}\includegraphics[]{image-6.png}
\caption{\label{fig_4}Fig. 8 :Fig. 9 :Fig. 10 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{1112}\includegraphics[]{image-7.png}
\caption{\label{fig_5}Fig. 11 :Fig. 12 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{13}\includegraphics[]{image-8.png}
\caption{\label{fig_6}Fig. 13 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{14}\includegraphics[]{image-9.png}
\caption{\label{fig_7}Fig. 14 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{}\includegraphics[]{image-10.png}
\caption{\label{fig_8}}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{15}\includegraphics[]{image-11.png}
\caption{\label{fig_9}Fig. 15 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{}\includegraphics[]{image-12.png}
\caption{\label{fig_10}B}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{16}\includegraphics[]{image-13.png}
\caption{\label{fig_11}Fig. 16 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{}\includegraphics[]{image-14.png}
\caption{\label{figure14}}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{1} \par 
\begin{longtable}{P{0.46203319502074686\textwidth}P{0.20809128630705392\textwidth}P{0.17987551867219917\textwidth}}
Factor\tabcellsep F value\tabcellsep p-value\\
(A) Gripping distance\tabcellsep 341.46\tabcellsep 4.84e-13\\
(B) Diameter\tabcellsep \multicolumn{2}{l}{1448.04 < 2.2e-16}\\
(C) Height\tabcellsep 996.87\tabcellsep <2.2e-16\\
(D) Material\tabcellsep 37.57\tabcellsep 9.521e-09\\
(E) Vertical acceleration\tabcellsep 5.547\tabcellsep 0.02\\
(F) Friction coefficient\tabcellsep 14.14\tabcellsep 2.54e-4\\
(G) Gripping force\tabcellsep 0.38\tabcellsep 0.54\\
A 2\tabcellsep 0.60\tabcellsep 0.44\end{longtable} \par
 
\caption{\label{tab_0}Table 1 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{2} \par 
\begin{longtable}{P{0.44899193548387095\textwidth}P{0.2090725806451613\textwidth}P{0.19193548387096773\textwidth}}
Factor\tabcellsep F value\tabcellsep p-value\\
(A) Gripping distance\tabcellsep \multicolumn{2}{l}{3157.99 < 2.2e-16}\\
(B) Diameter\tabcellsep 280.32\tabcellsep < 2.2e-16\\
(C) Height\tabcellsep 232.70\tabcellsep < 2.2e-16\\
(D) Material\tabcellsep 15.73\tabcellsep 1.193-4\\
(E) Vertical acceleration\tabcellsep 11.31\tabcellsep 1e-3\\
(F) Friction coefficient\tabcellsep 10.71\tabcellsep 1.36e-3\\
(G) Gripping force\tabcellsep 142.88\tabcellsep < 2.2e-16\\
A 2\tabcellsep 2.43\tabcellsep 0.12\end{longtable} \par
 
\caption{\label{tab_1}Table 2 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{3} \par 
\begin{longtable}{}
\end{longtable} \par
 
\caption{\label{tab_2}Table 3 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{4} \par 
\begin{longtable}{P{0.06854838709677419\textwidth}P{0.7129032258064516\textwidth}P{0.006854838709677419\textwidth}P{0.006854838709677419\textwidth}P{0.006854838709677419\textwidth}P{0.006854838709677419\textwidth}P{0.006854838709677419\textwidth}P{0.034274193548387094\textwidth}}
Dist.\tabcellsep A\tabcellsep B\tabcellsep C\tabcellsep D\tabcellsep E\tabcellsep F\tabcellsep G\\
0\tabcellsep \multicolumn{6}{l}{0.00 0.00 0.00 0.00 0.00 0.00}\tabcellsep 0.00\\
0.5\tabcellsep \multicolumn{7}{l}{0.23 0.28 0.27 -0.09 0.00 -0.06 -0.19}\\
1\tabcellsep \multicolumn{7}{l}{0.47 0.55 0.54 -0.21 0.05 -0.13 -0.35}\end{longtable} \par
 
\caption{\label{tab_3}Table 4 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{5} \par 
\begin{longtable}{}
\end{longtable} \par
 
\caption{\label{tab_4}Table 5 :}\end{figure}
 \begin{figure}[htbp]
\noindent\textbf{6} \par 
\begin{longtable}{P{0.85\textwidth}}
Year 2022\\
35\\
(A ) Volume Xx XII Issue II V ersion I\\
Journal of Researches in Engineering\\
Global\end{longtable} \par
 
\caption{\label{tab_5}Table 6 :}\end{figure}
 			\footnote{Year 2022 © 2022 Global Journals Passive Sensing Jaw for Grasping and Orienting} 			\footnote{© 2022 Global JournalsPassive Sensing Jaw for Grasping and Orienting} 			\footnote{Year 2022 © 2022 Global Journals Passive Sensing Jaw for Grasping and Orienting} 			\footnote{© 2022 Global JournalsPassive Sensing Jaw for Grasping and Orienting(a) Package 1: 520x44 mm 52 gr (b) Package 2: 90x35 mm 175 gr} 			\footnote{https://www.gpi.it 2 https://www.lika.it} 		 		\backmatter   			 
\subsection[{Acknowledgements}]{Acknowledgements}\par
The authors thank GPI SpA 1 for providing the main requirements and hardware used for testing. Further thanks go to Lika 2 			  			  				\begin{bibitemlist}{1}
\bibitem[Holladay et al. ()]{b7}\label{b7} 	 		‘A general framework for open-loop pivoting’.  		 			A Holladay 		,  		 			R Paolini 		,  		 			M T Mason 		.  	 	 		\textit{2015 IEEE International Conference on Robotics and Automation (ICRA)},  				2015. p. .  	 
\bibitem[Chavan-Dafle et al. ()]{b10}\label{b10} 	 		‘A twophase gripper to reorient and grasp’.  		 			N Chavan-Dafle 		,  		 			M T Mason 		,  		 			H Staab 		,  		 			G Rossano 		,  		 			A Rodriguez 		.  	 	 		\textit{2015 IEEE International Conference on Automation Science and Engineering (CASE)},  				2015. p. .  	 
\bibitem[Rao et al. ()]{b9}\label{b9} 	 		‘Complete algorithms for feeding polyhedral parts us ing pivot grasps’.  		 			A Rao 		,  		 			D J Kriegman 		,  		 			K Y Goldberg 		.  	 	 		\textit{IEEE Transactions on Robotics and Automation}  		1996. 12  (2)  p. .  	 
\bibitem[Montgomery ()]{b14}\label{b14} 	 		\textit{Design and analysis of experiments},  		 			D C Montgomery 		.  		2017. John wiley \& sons.  	 
\bibitem[Bicchi and Sorrentino ()]{b15}\label{b15} 	 		‘Dexterous manipulation through rolling’.  		 			A Bicchi 		,  		 			R Sorrentino 		.  	 	 		\textit{Proceedings of 1995 IEEE International Conference on Robotics and Automation},  				 (1995 IEEE International Conference on Robotics and Automation)  		1995. IEEE. 1 p. .  	 
\bibitem[Dafle et al. ()]{b2}\label{b2} 	 		‘Extrinsic dexterity: In-hand manipulation with external forces’.  		 			N C Dafle 		,  		 			A Rodriguez 		,  		 			R Paolini 		,  		 			B Tang 		,  		 			S S Srinivasa 		,  		 			M Erdmann 		,  		 			M T Mason 		,  		 			I Lundberg 		,  		 			H Staab 		,  		 			T Fuhlbrigge 		.  	 	 		\textit{IEEE International Conference on Robotics and Automation (ICRA)}  		2014. 2014. IEEE. p. .  	 
\bibitem[Xu et al. ()]{b5}\label{b5} 	 		‘Finger gaits planning for multifingered manipulation’.  		 			J Xu 		,  		 			T J Koo 		,  		 			Z Li 		.  	 	 		\textit{RSJ International Conference on Intelligent Robots and Systems}  		2007. 2007. p. .  	 	 (IEEE) 
\bibitem[IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)]{b12}\label{b12} 	 		\textit{IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS)},  				IEEE. p. .  	 
\bibitem[Lundstrom ()]{b0}\label{b0} 	 		‘Industrial robot grippers’.  		 			G Lundstrom 		.  	 	 		\textit{Industrial Robot: An International Journal}  		1974.  	 
\bibitem[Salisbury ()]{b1}\label{b1} 	 		\textit{Kinematics and force analysis of articulated hands},  		 			J Salisbury 		.  		1982.  	 	 (phd thesis) 
\bibitem[Cherif and Gupta ()]{b4}\label{b4} 	 		‘Planning quasistatic fingertip manipulations for reconfiguring objects’.  		 			M Cherif 		,  		 			K K Gupta 		.  	 	 		\textit{IEEE Transactions on Robotics and Automation}  		1999. 15  (5)  p. .  	 
\bibitem[Chavan-Dafie et al. ()]{b13}\label{b13} 	 		‘Pneumatic shape-shifting fingers to reorient and grasp’.  		 			N Chavan-Dafie 		,  		 			K Lee 		,  		 			A Rodriguez 		.  	 	 		\textit{2018 IEEE 14th International Conference on Automation Science and Engineering (CASE)},  				2018. p. .  	 
\bibitem[Taylor et al. ()]{b11}\label{b11} 	 		\textit{Pnugrip: An active two-phase gripper for dexterous manipulation},  		 			I H Taylor 		,  		 			N Chavan-Dafle 		,  		 			G Li 		,  		 			N Doshi 		,  		 			A Rodriguez 		.  		2020. 2020.  	 
\bibitem[Hou et al. ()]{b8}\label{b8} 	 		\textit{Reorienting objects in 3d space using pivoting},  		 			Y Hou 		,  		 			Z Jia 		,  		 			M T Mason 		.  		2019.  	 
\bibitem[Mason et al. ()]{b3}\label{b3} 	 		\textit{Robot hands and the mechanics of manipulation},  		 			M T Mason 		,  		 			J K Salisbury 		,  		 			J K Parker 		.  		1989.  	 
\bibitem[Bracken et al. ()]{b6}\label{b6} 	 		\textit{The Interrelationship of Parts Classification and Gripper Design for Automated Assembly},  		 			F L Bracken 		,  		 			G E Insolia 		,  		 			E W Zimmers 		.  		1989. Berlin Heidelberg; Berlin, Heidelberg: Springer. p. .  	 
\end{bibitemlist}
 			 		 	 
\end{document}
