Next Article in Journal
Real-Time Correction and Stabilization of Laser Diode Wavelength in Miniature Homodyne Interferometer for Long-Stroke Micro/Nano Positioning Stage Metrology
Previous Article in Journal
Integrated Robotic and Network Simulation Method
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Augmented Reality Based Human-Robot Interaction Interface Using Kalman Filter Sensor Fusion

1
ASTUTE 2020 (Advanced Sustainable Manufacturing Technologies), Swansea University, Swansea SA1 8EN, UK
2
School of Automation and Electrical Engineering, Qingdao University of Science and Technology, Qingdao 266042, China
3
Department of Electrical Power and Machines, Helwan University, Helwan 11795, Egypt
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(20), 4586; https://doi.org/10.3390/s19204586
Submission received: 20 August 2019 / Revised: 30 September 2019 / Accepted: 17 October 2019 / Published: 22 October 2019
(This article belongs to the Section Intelligent Sensors)

Abstract

:
In this paper, the application of Augmented Reality (AR) for the control and adjustment of robots has been developed, with the aim of making interaction and adjustment of robots easier and more accurate from a remote location. A LeapMotion sensor based controller has been investigated to track the movement of the operator hands. The data from the controller allows gestures and the position of the hand palm’s central point to be detected and tracked. A Kinect V2 camera is able to measure the corresponding motion velocities in x, y, z directions after our investigated post-processing algorithm is fulfilled. Unreal Engine 4 is used to create an AR environment for the user to monitor the control process immersively. Kalman filtering (KF) algorithm is employed to fuse the position signals from the LeapMotion sensor with the velocity signals from the Kinect camera sensor, respectively. The fused/optimal data are sent to teleoperate a Baxter robot in real-time by User Datagram Protocol (UDP). Several experiments have been conducted to test the validation of the proposed method.

1. Intruduction

1.1. Background

Rapid development in robot technologies has necessitated the development of the robot’s locomotive capacities. In light of the myriad of uses, robots can serve in modernized hospitals, schools, business and other fields, the research regarding human-robot skill transfer has flourished during the last decades. Currently, robots are already being utilized with greater efficiency in the industrial field and it has been made possible to transfer human motor skills to robots after the motion signals of the operator have been captured by a computer. According to Reference [1], the human-robot interaction (HRI) is a sub-area of the human-computer interaction (HCI), which studies the interaction between humans and robots and focuses on developing more intelligent and anthropomorphic robots. HRI is widely used in the research and implementation of robot systems in hazardous zones where human involvement needs to be minimized and remote operation of robots is required. These inventions can also apply to care for the elderly and the disabled as well as for entertainment purposes [2]. There are various methods of HRI, among which, two are considered the main methods—physical interaction and teleoperation interaction.
Generally, the objective of HRI is to enable robots to have human motion capabilities; by doing this, robots can manipulate their movements with better dexterity and versatility like human beings [3]. To this end, two approaches have been adopted. One is by modelling human motor control which can be adapted and implemented on a robot. The other is to facilitate robot learning through demonstration, in which the human operator plays the role of a tutor and the robot, a tutee [4]. Development in this field started with the fixed trajectory based skills transfer from humans to robots. Thereafter, a hybrid mode was developed combining both position and force, which was further upgraded into an interactive mode by involving online feedback [5]. Recent progress includes the enhanced skill transfer via the use of bio-signals and physiological signals of the human body. These signals can provide us with a richer and deeper account of the mechanism for human muscle activities compared with physical signals [6]. Nowadays, with the advance of technology for HRI, demand for human operators has increased. Meanwhile, robot’s training processes have also significantly reduced. In Reference [7], an approach was developed for transferring skills between tutor and tutee by capturing the movements of the tutor on a sensory-based computational model. This information was then used to produce online master commands for developing the learning process of the less-skilled tutees. In other research [8], a research group employed a neural network to record human skills on a computer and then tried different ways to minimize the time taken for transferring skills from a human tutor to a tutee.
In recent years, motion capture technology has been developed and utilized in a wide range of areas, including HRI, computer animation and 3D film production. It serves to accurately record the 3D motion trajectory of each part of a moving object. Based on this information, accurate modelling of moving objects and concurrent semantic analyses of the movements can be achieved, which is of great help in technological fields such as animation [9]. In some special cases, for example the hazardous/toxic chemical manufacturing process or medical operations, robots are required to carry out tasks remotely and not under closed supervision by human operators for safety considerations. To this end, the traditional HRI methods and automation strategies are not applicable because the former requires a shared workspace between human operator and the robot, the latter is in a completely non-supervisory environment and lacks flexibility in terms of the emergent situation. Moreover, motion capture is an extremely time-consuming process, due to the fact that the captured movement data require a huge amount of both pre-processing and manual segmentation of the action sequences and also requires the accurate identification of semantics for each segment, which can cause the delaying problem. Sensor noises also exist in the tracking process.
In this paper, our proposed control strategy employs the AR based teleoperation method to monitor and control the robot in real-time, the Kalman filtering (KF) method to fuse the signals from the LeapMotion sensor and a Kinect V2 sensor, in order to reduce the sensor noises and improve the tracking accuracy. Figure 1 shows the control block of our designed system.

1.2. Related Works

Mixed reality technology has attracted wide research interest in recent times. As a new computer technology, it has been applied in various fields. In Reference [10], authors developed an augmented reality-aided tele-presence system for robot manipulation for the usage of industrial manufacturing, where a robot was successfully controlled remotely to pick a known object from a starting position and placing it in different target positions. In Reference [11], a telepresence system that allows the immsersive remote control of a working machine was developed, where an omnidirectional stereo vision head mounted on the machine to interact with the operator who wears a head-mounted display. In Reference [12], the authors developed a novel wearable controller with haptic function which is suitable for various robotic platforms. According to Reference [13], authors developed an AR based interface for telerobotic operation using two robot programming modalities—free space trajectory and contact surface trajectory. In Reference [14], the authors investigated an AR operator interface for telerobotic operation based on Robot Operating System (ROS). All the above research has enhanced user experiences; however, they have not taken the sensor noises into account.
Since the data obtained from multiple sensors’ fusion are more accurate than a single sensor, in recent years, multi-sensor information fusion technology has been widely researched in many domains. In [15], authors developed a data fusion based multiple Kinect cameras framework that allows the human operator to interact with a robot safely. According to [16], human motion was tracked in real-time by multiple depth camera sensors and the KF sensor fusion was used to estimate the kinematic configuration of the human operator. In addition, particle filter algorithms are able to estimate the human pose [17], authors validated the proposed method on a realistic robotic platform. It can be concluded that, after the employment of the multiple sensors fusion technologies, the system becomes more robust. However, that research can also be promoted by adding the immersive monitoring technologies to enhance user experiences.
The above-mentioned research employed the KF algorithm to fuse homogeneous type data from multiple sensors such as the Kinect camera sensor. In the practical situation, the information output by Kinect is accompanied by noises, which can even be filtered out by data smoothing filtering, which results in a worse real-time performance of the system and these interferences are not able to obtain an accurate angular value. For multiple sensors fusion, according to Reference [18], the heterogeneous data fusion has stronger reliability than the homogeneous data fusion. Compared with the traditional filtering and robotic teleoperation methods, the contributions of our paper can be summarized as follows:
(1)
the position from the LeapMotion was fused with the corresponding motion velocity instead of the position data measured by Kinect V2 sensor to improve the reliability of our proposed HRI interface;
(2)
the AR telepresence was designed for the robot teleoperation to enhance user experiences.

2. System Description and Theory

2.1. Unreal Engine Base Augmented Reality Technology

According to Reference [19], augmented reality is a technology that combines virtual information with the real world. It uses a variety of techniques such as multimedia, 3D modeling, real-time tracking and registration, intelligent interaction and sensing. The computer-generated text, image, 3D model, music, video and other virtual information are simulated and applied to the real world. Google Glass in 2013, which is a wearable technology that used a small screen attached to a wearable structure to overlay useful information onto a person’s view and can be interacted with via human voice [20]. Compared with Virtual Reality, AR attracts more people because it is a reasonable complement to people’s daily lives. AR is a practical application of superimposed computer-generated virtual world in the real world. Various practical applications in medicine, education and industry have proved that AR has a significant impact on humans. It does not create a completely virtual world outside of the real world compared to VR.
Unreal Engine 4 is a complete suite of game development tools, see Reference [21]. It is mostly used for the creation of numerous video games but is also used in other applications such as training simulations. This development environment provides two different programming methods. Blueprint programming is a block based programming method that allows the user to use pre-made function blocks provided by Unreal to create a programme by linking blocks together, as well as adding other blocks for items such as variables [22]. The engine also supports raw C++ coding which gives more flexibility and completely customised functions; however, greater programming knowledge is required compared to when using the Blueprint coding. Unreal Engine supports plug-ins from other developers such as LEAP Motion, making it easy to interface external software and devices with Unreal. This also gives the user pre-made Blueprint function blocks for use with these devices pre-made by the developers.

2.2. Augmented Reality Environment Generation

In this paper, the Unreal Engine 4 Editor is used to create an AR environment, wherein the LeapMotion plug-in needs to be built into Unreal, which enables the functions of LeapMotion sensor in the Unreal Engine. Following this, the next step is to create a new Blueprint in LeapGameMode, which activates the LeapMotion characters as its default pawn. According to Reference [23], a pawn is an actor that can be controlled by either the player or the games AI. In our paper, the selected pawn is LeapFloatingHandsCharacter, which is a character easy to manipulate for floating hand models. Once the game mode has been successfully established, a webcam needs to be fed from the outside world into the AR environment,; to this end, Unreal4AR plug-in is employed. In addition, there is also a tool named ARToolkitBase which can be used for the view adjustment, such as the size of the display window and the position of the display window in the Unreal environment.
Up to now, a pair of virtual hands generated by the LeapMotion plug-in, and the display window fed with the webcam in the Unreal environment, have been obtained. The next stage is combining them. For this reason, a lesser LeapMotion hand component LeapRiggedEchoHandsActor is required, which lays the hands in the correct positions in front of the virtual camera component of the Blueprint [24]. By doing this, the hands are created as an item in the Unreal Engine game mode and are displayed persistently. So far, when we run the project created by Unreal Engine 4 Editor, the human operator could finally see their hands in the camera view (shown in Figure 2) with full LeapMotion movable functions.

2.3. Hand Tracking Using Leap Motion & Kinect

In this paper, we employ the Leap Motion somatosensor (shown in Figure 3) produced by Leap Motion Inc., an American somatosensory controller manufacturer in San Francisco, California, released in February 2013. It features a natural gesture function to control computer programs that replaces the need for traditional mouse and keyboard controls [25]. By acquiring user gestures in spatial motion data, we can naturally manipulate 3D objects using familiar gestures. The Leap Motion was a major breakthrough in accuracy, efficiency and portability with the accuracy of the Leap Motion being up to 200 times greater than other somatosensory products such as Microsoft’s Kinect [26]. It has been applied in many human-computer interaction roles, such as education, medicine, games, and Google Maps 3D, due to its intuitive nature and depth of control that can allow for the circumvention of the requirements for a mouse or touch screen.
Internally, a Leap Motion device consists of two narrow-band filters, two mid-low-pixel cameras, three infrared LEDs and a USB high-speed chip. The principle operation of Leap Motion is to capture a hand image illuminated by the infrared LED lamp through two cameras and establish a three-dimensional model of the hand by analysing the change of gesture in the stereo camera images. When the hand enters the field of view of the device, the stereo camera system begins capturing the target and calculates the parallax of the target in real time so that its spatial information is obtained [25]. The built-in communication chip in the body uses standard USB transmission technology to digitise the collected image information and transmit the converted data to the computer. The computer then restores the gesture changes through image recognition and calculation and resubmits hand motion to a PC application for use by the programmer.
The Kinect v2, released by Microsoft, is a camera sensor with RGB-D information and it can be used to capture IR images, colour and sound by developing new functions in the software development kit (SDK). The image and sound information is significantly better than those obtained using the first generation Kinect v1. Using the SDK, the obtained information can be transformed into camera space, which is in the real-world coordinates [27]. We can still employ the skeletal tracking function using the Kinect 2.0 SDK and this function has been widely used in our previous projects. Consequently, this technique is used to track the position data of a human operator, who needs to stand in front of the Kinect device. When a point in the Kinect colour image is selected by the operator, its depth information is acquired in the Kinect depth image. In the frame that is constructed, both the colour image, and depth image are put into the same frame and its origin is located at the centre of the depth camera. In this regard, the coordination system of the camera space follows a right-hand convention (see Figure 4).

3. Calibration

Before performing the tracking task, the transformation between the Baxter robot’s coordination and the LeapMotion’s is needed, according to our previous work [28], as shown in (1):
X i = T X i
where T denotes the transformation matrix. Hence, mathematically X i = [ x i y i z i 1 ] T is the position data under the robot coordinates system, X i = [ x i y i z i 1 ] T is the one under the LeapMotion system.
The transformation matrix T can be calculated by selecting four points under both coordinates systems. Assuming the four points are— p 1 , p 2 , p 3 and p 4 , lie in the robot coordinate system and the LeapMotion coordinate system, respectively. Figure 5, as an example, demonstrates one of those four points in the relationship between the Baxter robot and the LeapMotion’s coordinate system. Equation (2) illustrates the formula to obtain the transfer matrix T between the LeapMotion coordinates and the robot coordinates [29].
T = x 1 x 2 x 3 x 4 y 1 y 2 y 3 y 4 z 1 z 2 z 3 z 4 1 1 1 1 x 1 x 2 x 3 x 4 y 1 y 2 y 3 y 4 z 1 z 2 z 3 z 4 1 1 1 1 1
In Reference [30], the authors presented a method that is able to obtain accurate calibration matrices for a robotic manipulator. There are still existing limitations for a dual arm robot, for example, the Baxter robot. It is difficult to achieve because the origin of the Baxter coordinate system is inside Baxter’s body, which is not visible and is not the same as the single arm based robotic manipulator whose coordinate system origin is located in the central point of the base. Thus, manual measurement using rulers to find the coordinate system is a commonly used method for the Baxter robot. However, it is hard to keep the ruler horizontal and vertical all the time. In this paper, to overcome the aforementioned issues, the kinematics of Baxter are employed. As a consequence of kinematics application, we can obtain the established reference coordinates and then order Baxter’s end-effector to move to these positions, from our previous work [28]. By doing this, the Baxter end-effector’s coordinates system can be obtained without measurement. After that, we use LeapMotion to define the Baxter end-effector’s coordinates in the LeapMotion’s coordinate system.
Coordinates measurement process under the LeapMotion’s coordinate system was shown in Figure 6. To acquire the positions under the LeapMotion coordinate system, a person located in front of a table where a LeapMotion sensor is on it and put his hand over the LeapMotion to assure the virtual hand created by the Unreal Engine in the same position as that of the Baxter robot’s end-effector, which is for the LeapMotion sensor to collect the position data of the human operator’s hand palm in 3D space. The selected four positions under Baxter robot coordinate system are: ( x 1 , y 1 , z 1 ) , ( x 2 , y 2 , z 2 ) , ( x 3 , y 3 , z 3 ) , ( x 4 , y 4 , z 4 ) , which corresponding to the positions under the LeapMotion coordination: ( x 1 , y 1 , z 1 ) , ( x 2 , y 2 , z 2 ) , ( x 3 , y 3 , z 3 ) , ( x 4 , y 4 , z 4 ) , respectively. So far, the points’ coordinates in both Baxter’s and LeapMotion’s coordinate system in (2) are easily obtained.
However, when we apply kinematics, there are still stochastic errors existing. Owing to reducing these errors, the least squares method is introduced in Reference [29]. To find an overall solution for minimizing the sum of the square errors from the known data is the working principle of this algorithm. For the employment of the least squares method during the calibration process, it is ideal to transform (1) into the format in (3).
We define A= x 1 I 4 y 1 I 4 z 1 I 4 I 4 x 2 I 4 y 2 I 4 z 2 I 4 I 4 x 3 I 4 y 3 I 4 z 3 I 4 I 4 x 4 I 4 y 4 I 4 z 4 I 4 I 4 , X= T c 1 T c 2 T c 3 T c 4 , B= x 1 y 1 z 1 1 x 4 y 4 z 4 1 , we can rewrite the equation below into [29]:
A X = B
where A is a 16 × 16 dimension matrix, X denotes the 16 × 1 dimension transformation matrix T, B is a 16 × 1 dimension column vector, initially from [29]:
x 1 I 4 y 1 I 4 z 1 I 4 I 4 x 2 I 4 y 2 I 4 z 2 I 4 I 4 x 3 I 4 y 3 I 4 z 3 I 4 I 4 x 4 I 4 y 4 I 4 z 4 I 4 I 4 T c 1 T c 2 T c 3 T c 4 = x 1 y 1 z 1 1 x 4 y 4 z 4 1
where I 4 R 4 × 4 is the identity matrix, T c i is the column vector in transformation matrix.
Commonly, it is easy to find that the equation is difficult to obtain a solution; however, according to Reference [29], the least square solution of this equation can be calculated. Subsequently, the solution of Equation (4) can be obtained by substituting ( x i , y i , z i ) and ( x i , y i , z i ) (i = 1,2,3,4) in, which is employed to collect the operator’s hand palm centroid position. These position signals are sent to fuse with the Kinect V2 camera by KF.

4. Measurement of Montion Velocity

4.1. Depth Information Acquisition

The depth data that the Kinect V2 camera can acquire has the shortest and largest distances, but the accuracy of the depth data after 4 m from the camera will decrease. In order to obtain accurate data, we choose to detect near the shortest detection range of the Kinect V2 camera. The method used in this paper is to first calculate the minimum value of all the depth data obtained and then calculate other depth data based on this. The advantage of this is that the range of data acquired can change dynamically when the distance from the camera changes.

4.2. Pixel Matrix Generation

This step requires processing the depth data, which is the data that is used for tracking. Kinect V2 offers three resolutions which are 80 × 60 , 320 × 240 and 640 × 480 . In order to reduce the amount of calculation, here 320 × 240 resolution is selected. This resolution is sufficient for distinguishing between human hands and also improves code execution efficiency. Because algorithms consider the relationship of adjacent points, once the depth data is acquired, a matrix of the corresponding size should be generated. The boundary value of the matrix is set as “False”, which eliminates the problem of checking whether the access is out of bounds every single time.

4.3. Hand Palm Tracking

In this paper, the skeleton of the human body is tracked by Kinect V2 camera sensor to obtain the spatial coordinates of the joint points of the human palm center in the camera space using Kinect SDK 2.0. Assuming x, y, z coordinates are the operator’s hand palm centroid position vectors over n frames, the instantaneous motion velocity of the human palm center can be calculated as [31]:
u = d x , y , z d t t = n f s = f s × [ x ( n ) x ( n 1 ) ] 2 + [ y ( n ) y ( n 1 ) ] 2 + [ z ( n ) z ( n 1 ) ] 2
where f s denotes the sampling frequency, n is the number of frames, u is computed as a result of the x, y, and z positions on all frames representing motion. The velocity component vectors of u in 3 directions are defined u x , u y , u z , respectively, which are used to fuse with the positions signals outputted by LeapMotion.

5. Kalman Filtering Based Sensor Fusion

The core idea of the KF algorithm is to calculate the current optimal amount based on the current “measured value”, the “predicted value” and the "error" of the previous moment and then predict the value of the next moment. The more prominent point is that the error is included in the calculation and it is divided into two types—prediction error and measurement error, which is commonly called noise. If there is a linear dynamic model, the noises can be represented using white noise models that obey the Gaussian distribution. Another notable feature is that the error exists independently and is always unaffected by the measured data. In this regard, KF is able to fuse data with a unique statistically optimal estimate. The recursive KF reduces the computational burden and it is divided into two types—continuous-time KF and discrete KF.
The temporal mathematical model of the continuous-time KF is produced below [32]:
X s v ˙ ( t ) = A ( t ) X s v ( t ) + B ( t ) u s v ( t ) + G ( t ) W ( t ) Z m v ( t ) = H ( t ) X s v ( t ) + V ( t )
where X s v ( t ) = [ x ( t ) y ( t ) z ( t ) ] , u s v ( t ) = [ u x ( t ) u y ( t ) u z ( t ) ] are the n-dimensional state vectors at time t; Z m v ( t ) is the measurement vector with m-dimension at time t; A ( n × n ), G and B ( n × r both) denote system matrices; H is the measurement matrix with m × n -dimensional; W represents the n-dimension continuous system’s white noise vector; V is an r-dimension vector denoting the potential white noise among the measured data.
The continuous-time KF status equation, based on Reference [33] is stated as follows,
X s v ^ ˙ ( t ) = A ( t ) X s v ^ ( t ) + B ( t ) u s v ( t ) + K ( t ) Z m v ( t ) H ( t ) X s v ^ K ( t ) = P ( t ) H T ( T ) Γ 1 ( t ) P ˙ ( t ) = P ( t ) H T ( t ) + A ( t ) P ( t ) P ( t ) H t ( t ) Γ 1 H ( t ) P ( t ) + G ( t ) s ( t ) G T ( t )
where K is the gain matrix of KF, P is the estimated covariance matrix and x ^ is the estimated value of x. We are able to obtain the continuous-time KF, once we have the measured values of the continuous-time series. This solution is required to estimate the system state variable, which solves the differential equation of the matrix. Moreover, the continuous-time KF does not require complex recursive calculations. The working principle of KF is illustrated in Figure 7.
In order to employ the KF algorithm, there are two standard requirements that need to be satisfied: (1) the system model is dynamically time-varying excited by white noise; (2) there are white noise components existing in the measurement signal.
In this paper, the pre-collected signals from the LeapMotion sensor and Kinect V2 camera fulfilled the above stated requirements, hence we incorporate signals from multiple sensors via the continuous-time KF algorithm.
Assuming X s v ( 0 ) , W and V are not related to each other, in References [32,33], the expected values of the continuous-time KF satisfy the following statistical characteristics,
E X s v ( 0 ) = e ( 0 ) ; E W ( t ) = E V ( t ) = 0 ; E X s v ( 0 ) e ( 0 ) X s v ( 0 ) e ( 0 ) T = P ( 0 ) ; E X s v ( 0 ) W T ( t ) = E X s v ( 0 ) V T ( t ) = E W ( t ) V T ( t ) = 0 ; E W ( t ) W T ( τ K F ) = s ( t ) δ ( t τ K F ) ; E V ( t ) V T ( τ K F ) = Γ ( t ) δ ( t τ K F ) ;
where Γ and s represent the continuous system’s measurement noise variance intensity and its noise variance intensity matrix, receptively; P ( 0 ) denotes the initial covariance matrix of the state vector X s v ; e ( 0 ) is its the initial mean value; δ ( t τ K F ) is the Dirac δ function.
We assume that every single joint of the human arm is taken into account separately and not depending on each other, which shows that all the KF parameters are in first order. According to our previous work [34], this is the main reason behind the de-coupling of the different position coordinates within the KF, thus we have A=B=G=H=1. In addition, since the measurement errors are not correlated in the x direction, the y direction and the z direction, the filtering can be performed separately in three directions. The KF equations are simplified as below,
x ˙ ( t ) = x ( t ) + u x ( t ) + W ( t ) y ˙ ( t ) = y ( t ) + u y ( t ) + W ( t ) z ˙ ( t ) = z ( t ) + u z ( t ) + W ( t ) Z m v , x ( t ) = x ( t ) + V ( t ) Z m v , y ( t ) = y ( t ) + V ( t ) Z m v , z ( t ) = z ( t ) + V ( t )
where in this special case, Z m v , x , Z m v , y , Z m v , z are the arm end-effector’s position along x, y and z directions, respectively, collected by the LeapMotion sensor. And u x , u y and u z are the 3 directions related motion velocities of hand palm, collected from Kinect V2 camera.
x ^ ˙ ( t ) = x ^ ( t ) + u x ( t ) + K ( t ) Z m v , x ( t ) x ^ ( t ) y ^ ˙ ( t ) = y ^ ( t ) + u y ( t ) + K ( t ) Z m v , y ( t ) y ^ ( t ) z ^ ˙ ( t ) = z ^ ( t ) + u z ( t ) + K ( t ) Z m v , z ( t ) z ^ ( t ) K ( t ) = P ( t ) Γ 1 ( t ) P ˙ ( t ) = 2 P ( t ) P ( t ) Γ 1 ( t ) P ( t ) + s ( t )
where K is the filter gain matrix along one of those 3 directions, P is the estimated covariance matrix along one of those 3 directions, x ^ , y ^ and z ^ are the required (satisfied) data obtained from KF based sensor fusion for all of the x, y and z directions, which are also the statistics that needs to be sent to the robot for the hand motion following via UDP.

6. Experimental Study & Aanlysis

6.1. Experimental Setup

Several experimental studies have been conducted to validate the tracking performance of the our proposed method. The experimental platform includes: PC operation system windows 10, Kinect SDK 2.0 for Windows and Visual studio 2017. The experiment environment is an indoor and adequate illumination environment. One person seats aside by the LeapMotion sensor and put his hand over it, which is on a table. A Kinect V2 camera is facing the human operator to measure the velocity of the hand motion. A bluetooth webcam is put opposite the Baxter robot centrally to match the workspace between the Baxter end-effector and the pair of virtual hands. After all the above steps had been completely set up, as shown in Figure 8, the LeapMotion controller and the AR environment made by Unreal Engine then can be run, a view of Baxter and a pair of virtual hands tracked by LeapMotion sensor can be seen as shown in Figure 6. When the operator grasps his hands, the arms of the Baxter start to mirror the hand motion of the operator.
First of all, a blind test was taken to assess the easiness of the developed teleoperation system, where ten participants performed a set of different hand gestures five times each. There are only two gestures involved in this paper—the fist and the outstretched palm. When the operators made a fist, the robot started to be controlled and when they outstretched their hands, the robot stopped moving. Operators need to make fists during control of the Baxter robot. Thus, there are only two gestures that need to be detected.
In the second experiment, the operator smoothly moved his hands over the LeapMotion while making fists. The hand position data were sent to teleoprate the Baxter via UDP directly. At the same time, those data and their corresponding motion velocity of both hands’ palms were outputted by the LeapMotion and Kinect V2, respectively, to local files for recording and experimental result analysis purposes. For the third experiment, the recorded data from the second experiment were loaded to be fused by the KF algorithm, which was programmed by the Simulink function of MATLAB. The fused/optimal data were then sent to teleoperate the Baxter robot in real-time and outputted to local for recording as well.
The LeapMotion sensor had its own limitation. It is based on image recognition tracking and there are errors in the tracking process as the LeapMotion sensor has a limited light cover range. To keep the tracking accurate, the operator needs to keep his hand always in a small movable space. More significantly, there are still sensor noises; thus, the KF is employed to fuse the position data in 3D space collected from the LeapMotion sensor with the corresponding motion velocity measured by the Kinect camera sensor to reduce the sensor noises to the lowest level.

6.2. Experimental Result & Analysis

Ten participants took turns to stand in front of the Kinect V2 camera and performed different gestures casually by putting their hands over the LeapMotion sensor. In order for the proposed tracking system to work well, the LeapMotion sensor needs to recognise the fist and outstretched palm gestures and the Kinect V2 needs to recognise the hand palm central point first. Figure 9 illustrates the result of the user study.
We can see from the bar chart, except for the second, fifth, sixth and eighth participants, all the other participants’ blind tests were fully passed. For the second and eighth participants, they did not perform the fist gesture during the test; the fifth participant did not perform the outstretched palm gesture. The sixth participant performed the casual gestures five times including those 2 desired gestures, however, our proposed tracking system failed to recognise the outstretched palm gesture twice. This may have been caused by the hand fluctuation or the over-fast switching between different gestures. It can be summarized that our proposed teleoperation system has high detection accuracy.
In order to start the control process, the operator was required to use their hands to seek and grasp the Baxter end-effector in the AR environment instead of in actual reality, where the points of virtual palms made by the Unreal Engine are difficult to completely overlap with the central point of Baxter’s end-effector in the display window. Thus, there is a displacement between the trajectories. Figure 10 illustrates the experimental results of the trajectories for both the human hand palm and the Baxter’s end-effector after the application of the KF-based sensor fusion. The LeapMotion sensor provides the real position trajectory of the human hands. Figure 10a,b represent the original position data of the human operator’s hands without the KF sensor fusion directly collected from the LeapMotion sensor; Figure 10c,d represent the optimal position data after the KF sensor fusion. From the images above, we can see that the trajectories for both hands were better fitted by applying the KF based sensor fusion. Figure 11 and Figure 12 demonstrate the real-time instantaneous motion velocities of the human hands in 3 directions. The Kinect camera provides the motion velocities along x, y, z directions accordingly before they are fused together via KF.
The average ratio of position data difference in Cartesian space between the human hand palm and the Baxter’s end-effector and the original raw position data obtained from LeapMotion was selected as the performance index, which was defined as r e as formulated in Equation (11). Table 1 represents how the performance index changed with and without the KF based sensor fusion for all 3 directions.
r e = H u m a n x , y , z B a x t e r x , y , z H u m a n x , y , z
where H u m a n x , y , z and B a x t e r x , y , z are the experimental position data in Cartesian space of the human operator hand palm and the end-effector of the Baxter robot, respectively. From Table 1 we can see that the Baxter robot with KF sensor fusion can follow the human operator’s motion with the promotion ratio at about 33 % in all 3 directions, compared to the situation without KF sensor fusion technology. We can draw a conclusion that the proposed tracking system has better performance after employing the KF based sensor fusion.

6.3. Remark

The usage of a LeapMotion and a Kinect after KF based sensor fusion to interact with a Baxter robot has been developed and verified. From the first experiment, the conclusion can be drawn that our proposed tracking system has great recognition performance for hand gestures from different users. For the second and third experiments, the results shown in Table 1 demonstrate a series of ratios, which are the promotion percentages in 3 axis directions between those returned by the Baxter robot and those directly collected from LeapMotion because the values filtered by KF are optimally estimated and the noise during the teleoperation process is suppressed. The performance index shown in Table 1 is averagely promoted at about 33 % after employing the KF based sensor fusion. Thus, it can be summarised that our proposed teleoperation strategy has better tracking performance after the application of the KF based sensor fusion. How to improve the robustness of the proposed control system against control parameters, and reduce the overall sensitivity of the method relative to parameter perturbations will be systematically investigated in our future work.

7. Conclusions

In this paper, an AR based human-robot interaction technology has been developed. Unreal Engine is used to create a pair of virtual hands tracked by the LeapMotion sensor. The LeapMotion is also used to collect the central point position of the human hand palm and map with the end-effector of the Baxter robot for the hand motion following the task. In addition, a KF based sensor fusion method is used to improve the tracking performance. This involved using the LeapMotion sensor to capture the motion of an operator’s hand after the calibration process. Moreover, the velocities in 3 axis directions of the human operator’s hand motion is measured by the Kinect V2 camera. The fused data are thereafter sent to the Baxter robot for teleoperation. Experimental studies have been conducted to test the validation of our proposed method. The experimental results show that the performance index evidently changes after the application of KF based sensor fusion, and the employment of the AR environment greatly enhanced the user experiences during the teleoperation process.

Author Contributions

Conceptualization, C.L., A.F. and J.S.; methodology, C.L. and A.F.; validation, C.L.; formal analysis, C.L.; resources, A.F. and J.S.; writing—original draft preparation, C.L.; writing—review and editing, C.L. and A.F.; supervision, J.S.; project administration, A.F.; funding acquisition, J.S.

Funding

This work was supported by a grant from the ASTUTE 2020 in Future Manufacturing Research Institute, College of Engineering, Swansea University. Any opinions, findings, and conclusions or recommendations expressed in this paper are those of the authors and do not necessarily reflect the views of the Office of ASTUTE 2020.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Goodrich, M.A.; Schultz, A.C. Human–robot interaction: A survey. Found. Trends® Hum. Comput. Interact. 2008, 1, 203–275. [Google Scholar] [CrossRef]
  2. Bartneck, C.; Forlizzi, J. Shaping human-robot interaction: Understanding the social aspects of intelligent robotic products. In CHI’04 Extended Abstracts on Human Factors in Computing Systems; ACM: New York, NY, USA, 2004; pp. 1731–1732. [Google Scholar]
  3. Bremner, P.; Leonards, U. Efficiency of speech and iconic gesture integration for robotic and human communicators-a direct comparison. In Proceedings of the 2015 IEEE International Conference on Robotics and Automation (ICRA), Seattle, WA, USA, 26–30 May 2015; pp. 1999–2006. [Google Scholar]
  4. Solis, J.; Marcheschi, S.; Frisoli, A.; Avizzano, C.A.; Bergamasco, M. Reactive robot system using a haptic interface: An active interaction to transfer skills from the robot to unskilled persons. Adv. Robot. 2007, 21, 267–291. [Google Scholar] [CrossRef]
  5. Yang, C.; Zeng, C.; Liang, P.; Li, Z.; Li, R.; Su, C.Y. Interface Design of a Physical Human–Robot Interaction System for Human Impedance Adaptive Skill Transfer. IEEE Trans. Autom. Sci. Eng. 2018, 15, 329–340. [Google Scholar] [CrossRef]
  6. Pastor, P.; Hoffmann, H.; Asfour, T.; Schaal, S. Learning and generalization of motor skills by learning from demonstration. In Proceedings of the 2009 IEEE International Conference on Robotics and Automation, Kobe, Japan, 12–17 May 2009; pp. 763–768. [Google Scholar]
  7. Faion, F.; Friedberger, S.; Zea, A.; Hanebeck, U.D. Intelligent sensor-scheduling for multi-kinect-tracking. In Proceedings of the 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, Vilamoura, Portugal, 7–12 October 2012; pp. 3993–3999. [Google Scholar]
  8. Nechyba, M.C.; Xu, Y. Human skill transfer: Neural networks as learners and teachers. In Proceedings of the 1995 IEEE/RSJ International Conference on Intelligent Robots and Systems. Human Robot Interaction and Cooperative Robots, Pittsburgh, PA, USA, 5–9 August 1995; Volume 3, pp. 314–319. [Google Scholar]
  9. Li, C.; Yang, C.; Giannetti, C. Segmentation and generalization for writing skills transfer from humans to robots. Cognit. Comput. Syst. 2019, 1, 20–25. [Google Scholar]
  10. Peppoloni, L.; Brizzi, F.; Ruffaldi, E.; Avizzano, C.A. Augmented reality-aided tele-presence system for robot manipulation in industrial manufacturing. In Proceedings of the 21st ACM Symposium on Virtual Reality Software and Technology, Beijing, China, 13–15 November 2015; pp. 237–240. [Google Scholar]
  11. Tripicchio, P.; Ruffaldi, E.; Gasparello, P.; Eguchi, S.; Kusuno, J.; Kitano, K.; Yamada, M.; Argiolas, A.; Niccolini, M.; Ragaglia, M.; et al. A Stereo-Panoramic Telepresence System for Construction Machines. Procedia Manuf. 2017, 11, 1552–1559. [Google Scholar] [CrossRef]
  12. Jacinto-Villegas, J.M.; Satler, M.; Filippeschi, A.; Bergamasco, M.; Ragaglia, M.; Argiolas, A.; Niccolini, M.; Avizzano, C.A. A novel wearable haptic controller for teleoperating robotic platforms. IEEE Robot. Autom. Lett. 2017, 2, 2072–2079. [Google Scholar] [CrossRef]
  13. Quintero, C.P.; Li, S.; Pan, M.K.; Chan, W.P.; Van der Loos, H.M.; Croft, E. Robot programming through augmented trajectories in augmented reality. In Proceedings of the 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain, 1–5 October 2018; pp. 1838–1844. [Google Scholar]
  14. Lee, D.; Park, Y.S. Implementation of Augmented Teleoperation System Based on Robot Operating System (ROS). In Proceedings of the 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain, 1–5 October 2018; pp. 5497–5502. [Google Scholar]
  15. Morato, C.; Kaipa, K.N.; Zhao, B.; Gupta, S.K. Toward safe human robot collaboration by using multiple kinects based real-time human tracking. J. Comput. Inf. Sci. Eng. 2014, 14, 011006. [Google Scholar] [CrossRef]
  16. Ragaglia, M.; Zanchettin, A.M.; Rocco, P. Trajectory generation algorithm for safe human-robot collaboration based on multiple depth sensor measurements. Mechatronics 2018, 55, 267–281. [Google Scholar] [CrossRef]
  17. Casalino, A.; Guzman, S.; Zanchettin, A.M.; Rocco, P. Human pose estimation in presence of occlusion using depth camera sensors, in human-robot coexistence scenarios. In Proceedings of the 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain, 1–5 October 2018; pp. 1–7. [Google Scholar]
  18. Feng, J.; Wang, Z.; Zeng, M. Distributed weighted robust Kalman filter fusion for uncertain systems with autocorrelated and cross-correlated noises. Inf. Fusion 2013, 14, 78–86. [Google Scholar] [CrossRef]
  19. Jenny, S. Enhancing Tourism with Augmented and Virtual Reality; HAMK: Espoo, Finland, 2017. [Google Scholar]
  20. Milgram, P.; Takemura, H.; Utsumi, A.; Kishino, F. Augmented reality: A class of displays on the reality-virtuality continuum. In Telemanipulator and Telepresence Technologies; International Society for Optics and Photonics; Photonics for Industrial Applications: Boston, MA, USA, 1995; Volume 2351, pp. 282–292. [Google Scholar]
  21. Natephra, W.; Motamedi, A.; Fukuda, T.; Yabuki, N. Integrating building information modeling and virtual reality development engines for building indoor lighting design. Vis. Eng. 2017, 5, 19. [Google Scholar] [CrossRef] [Green Version]
  22. Dang, T.L. Level Designing in Game Engine; Helsinki Metropolia University of Applied Sciences: Helsinki, Finland, 2017. [Google Scholar]
  23. Sanders, A. An Introduction to Unreal Engine 4; AK Peters/CRC Press: Middlesex County, MA, USA, 2016. [Google Scholar]
  24. Tran, N.; Rands, J.; Williams, T. A Hands-Free Virtual-Reality Teleoperation Interface for Wizard-of-Oz Control. In Proceedings of the 1st International Workshop on Virtual, Augmented, and Mixed Reality for HRI, Chicago, IL, USA, 5–8 March 2018. [Google Scholar]
  25. Marin, G.; Dominio, F.; Zanuttigh, P. Hand gesture recognition with leap motion and kinect devices. In Proceedings of the 2014 IEEE International Conference on Image Processing (ICIP), Paris, France, 27–30 October 2014; pp. 1565–1569. [Google Scholar]
  26. Lu, W.; Tong, Z.; Chu, J. Dynamic hand gesture recognition with leap motion controller. IEEE Signal Process. Lett. 2016, 23, 1188–1192. [Google Scholar] [CrossRef]
  27. Amon, C.; Fuhrmann, F.; Graf, F. Evaluation of the spatial resolution accuracy of the face tracking system for kinect for windows v1 and v2. In Proceedings of the 6th Congress of the Alps Adria Acoustics Association, Graz, Austria, 16–17 October 2014. [Google Scholar]
  28. Li, C.; Yang, C.; Liang, P.; Cangelosi, A.; Wan, J. Development of kinect based teleoperation of nao robot. In Proceedings of the 2016 International Conference on Advanced Robotics and Mechatronics (ICARM), Macau, China, 18–20 August 2016; pp. 133–138. [Google Scholar]
  29. Yang, C.; Chen, J.; Ju, Z.; Annamalai, A.S. Visual servoing of humanoid dual-arm robot with neural learning enhanced skill transferring control. Int. J. Hum. Robot. 2018, 15, 1750023. [Google Scholar] [CrossRef]
  30. Zhuang, H.; Roth, Z.S.; Sudhakar, R. Simultaneous robot/world and tool/flange calibration by solving homogeneous transformation equations of the form AX= YB. IEEE Trans. Robot. Autom. 1994, 10, 549–554. [Google Scholar] [CrossRef]
  31. Elgendi, M.; Picon, F.; Magnenat-Thalmann, N.; Abbott, D. Arm movement speed assessment via a Kinect camera: A preliminary study in healthy subjects. Biomed. Eng. Online 2014, 13, 88. [Google Scholar] [CrossRef] [PubMed]
  32. Davari, N.; Gholami, A.; Shabani, M. Multirate Adaptive Kalman Filter for Marine Integrated Navigation System. J. Navig. 2016, 70, 1–20. [Google Scholar] [CrossRef]
  33. Särkkä, S.; Solin, A. On continuous-discrete cubature Kalman filtering. IFAC Proc. Vol. 2012, 45, 1221–1226. [Google Scholar] [CrossRef]
  34. Li, C.; Yang, C.; Wan, J.; Annamalai, A.S.; Cangelosi, A. Teleoperation control of Baxter robot using Kalman filter-based sensor fusion. Syst. Sci. Control Eng. 2017, 5, 156–167. [Google Scholar] [CrossRef]
Figure 1. Flowchart of the proposed control system.
Figure 1. Flowchart of the proposed control system.
Sensors 19 04586 g001
Figure 2. The Combination of LeapMotion Hands and the augmented reality (AR) environment: (a) Programme display without running; (b) Running programme display window without LeapMotion Hands; (c) Running programme display window with LeapMotion Hands in full screen size.
Figure 2. The Combination of LeapMotion Hands and the augmented reality (AR) environment: (a) Programme display without running; (b) Running programme display window without LeapMotion Hands; (c) Running programme display window with LeapMotion Hands in full screen size.
Sensors 19 04586 g002
Figure 3. Leap Motion sensor with its Cartesian coordinate system and its visualizer function.
Figure 3. Leap Motion sensor with its Cartesian coordinate system and its visualizer function.
Sensors 19 04586 g003
Figure 4. Illustration of the origin of the Kinect v2’s camera space. It is the same as its depth sensor origin.
Figure 4. Illustration of the origin of the Kinect v2’s camera space. It is the same as its depth sensor origin.
Sensors 19 04586 g004
Figure 5. Illustration of the relationship between Baxter Robot and LeapMotion coordinate system.
Figure 5. Illustration of the relationship between Baxter Robot and LeapMotion coordinate system.
Sensors 19 04586 g005
Figure 6. Illustration of the coordinates measurement process under the LeapMotion coordinate system.
Figure 6. Illustration of the coordinates measurement process under the LeapMotion coordinate system.
Sensors 19 04586 g006
Figure 7. Illustration of the continuous-time KF diagram.
Figure 7. Illustration of the continuous-time KF diagram.
Sensors 19 04586 g007
Figure 8. The experimental human robot interaction interface.
Figure 8. The experimental human robot interaction interface.
Sensors 19 04586 g008
Figure 9. The bar chart graph of the blinded test result.
Figure 9. The bar chart graph of the blinded test result.
Sensors 19 04586 g009
Figure 10. Graphical result of both hands between the human and robot with & without KF sensor fusion (in m).
Figure 10. Graphical result of both hands between the human and robot with & without KF sensor fusion (in m).
Sensors 19 04586 g010
Figure 11. Motion velocity of the left hand of the human operator in 3 directions.
Figure 11. Motion velocity of the left hand of the human operator in 3 directions.
Sensors 19 04586 g011
Figure 12. Motion velocity of the right hand of the human operator in 3 directions.
Figure 12. Motion velocity of the right hand of the human operator in 3 directions.
Sensors 19 04586 g012
Table 1. Performance index table in different directions with & without KF sensor fusion.
Table 1. Performance index table in different directions with & without KF sensor fusion.
Performance Index ValuesWithout KFWith KFPromotion Ratio
LeftRightLeftRightLeftRight
x direction5.297%2.652%3.587%1.763%32.272%33.522%
y direction5.438%2.786%3.609%1.815%33.628%34.852%
z direction4.973%2.541%3.304%1.655%33.573%34.868%

Share and Cite

MDPI and ACS Style

Li, C.; Fahmy, A.; Sienz, J. An Augmented Reality Based Human-Robot Interaction Interface Using Kalman Filter Sensor Fusion. Sensors 2019, 19, 4586. https://doi.org/10.3390/s19204586

AMA Style

Li C, Fahmy A, Sienz J. An Augmented Reality Based Human-Robot Interaction Interface Using Kalman Filter Sensor Fusion. Sensors. 2019; 19(20):4586. https://doi.org/10.3390/s19204586

Chicago/Turabian Style

Li, Chunxu, Ashraf Fahmy, and Johann Sienz. 2019. "An Augmented Reality Based Human-Robot Interaction Interface Using Kalman Filter Sensor Fusion" Sensors 19, no. 20: 4586. https://doi.org/10.3390/s19204586

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop