Full text
Master’s Thesis Master's Degree in Automatic Control and Robotics Control of a hand prosthesis using mixed electromyography and pressure sensing MEMORY Author: Eduardo Ruiz Ramírez Supervisors: Cecilio Angulo Bahón and Claudio Castellini Call: September 2016 September 2016 Master's Degree in Automatic Control and Robotics Eduardo Ruiz Ramírez Escola Tècnica Superior d’Enginyeria Industrial de Barcelona
CONTROL OF A HAND PROSTHESIS USING MIXED ELECTROMYOGRAPHY AND PRESSURE SENSING eduardo ruiz ramírez Master’s Degree in Automatic Control and Robotics Universitat Politècnica de Catalunya Escola Tècnica Superior d’Enginyers Industrials de Barcelona (ETSEIB) Deutsche Zentrum für Luft- und Raumfahrt Robotics and Mechatronics Center September 2016
supervisors: Claudio Castellini Cecilio Angulo Bahón submitted: September 2016 Eduardo Ruiz Ramírez: Control of a hand prosthesis using mixed electromyography and pressure sensing, © September 2016
ABSTRACT During the last years, new technologies approaches have helped to develop realistic robotic hands for prosthetic use. Even so, the strategies to control them (input signals, prediction algorithms) are still limiting a complete match between the robotic hand and the real hand movements and behaviors. On this thesis, two different input signals (FMG and sEMG) were evaluated. From this analysis characteristic properties from each kind of signal were obtained, related with wrist and hand movements. In this way two different learning methods were implemented for the first time on robotic hand research. The goal of these two methods was to combine both kind of input signals, supported by the feature analysis previously done, in order to improve the movements prediction performance. The methods’ performance were compared with the separate input signals methods, so the improvement could be measured. Both mixing methods presented better results than the single input signal ones. These results along with other considerations defined, could lead to a robotic hand performance improvement from different perspectives. iii
ACKNOWLEDGEMENTS First of all, I would like to thank God for the experiences lived, for the opportunities given. God’s timing is perfect timing. In the same way I want to thank my parents and my sister for all their support during the two years abroad. In spite of the ten thousand kilometers between us, they were always at my side. I want to express my gratitude to Dr. Claudio Castellini, not just for giving me the chance to develop this thesis on DLR, but for all the knowledge shared, the advices given and the support provided. Thanks a lot to all the DLR’s people who contributed in the development of this project. Specially to Mathilde Connan and Bernhard Vodermayer for their collaboration on the first experiment and to Markus Nowak for his collaboration on the second experiment. Furthermore I want to thank Dr. Cecilio Angulo Bahón, for all the help given since the beginning of my Master’s until the supervision of this work. I also want to thank Tamara von Sawitzky for reviewing this thesis even she did not have to do it. It came as a great relief. Last but not least, my deepest gratitude to CONACYT for giving Mexican students the opportunity to rise above ourselves, having as goal the development of our country. v
CONTENTS 1 introduction 1 1.1Objectives and hypothesis . . . . . . . . . . . . . . . . . . . . . . 2 1.2Thesisstructure............................ 3 2 state of art 5 2.1Human hand structure and movements . . . . . . . . . . . . . . 6 2.2Robotic hand prosthesis . . . . . . . . . . . . . . . . . . . . . . . 7 2.3Non-invasive sensing methods . . . . . . . . . . . . . . . . . . . 9 2.3.1sEMG.............................. 9 2.3.2FMG .............................. 10 2.3.3Ultrasoundimaging ..................... 10 2.3.4OMG.............................. 11 2.3.5IMU and accelerometers . . . . . . . . . . . . . . . . . . . 11 2.3.6Discussion........................... 11 2.4Machine learning algorithms . . . . . . . . . . . . . . . . . . . . 12 2.4.1Pattern classification . . . . . . . . . . . . . . . . . . . . . 12 2.4.2Extreme Learning Machine . . . . . . . . . . . . . . . . . 13 2.4.3Linear Least Squares Regression . . . . . . . . . . . . . . 13 2.4.4Random Fourier Features Regularized Least Squares . . 13 2.4.5EnsembleLearning...................... 14 3 previous work on dlr 17 3.1Acquisitiondevice .......................... 18 3.1.1Sensors............................. 18 3.1.2Data acquisition wireless device . . . . . . . . . . . . . . 20 3.2 3Dhandmodel ............................ 20 3.3GUI................................... 21 3.3.1PCGUI............................. 21 3.3.2MobilephoneGUI ...................... 23 3.4Machinelearning ........................... 24 4 qualitative analysis of fmg and semg signals and device user experience 27 4.1Experiment 1definition ....................... 28 4.2Experiment 1results ......................... 30 4.2.1Qualitative signal analysis . . . . . . . . . . . . . . . . . . 30 4.2.2Device user experience . . . . . . . . . . . . . . . . . . . . 36 4.3Experiment 1discussion....................... 39 4.3.1Comparison between sEMG and FMG . . . . . . . . . . . 39 4.3.2Usersatisfaction ....................... 40 5 prediction performance improvement by sensors mixture 43 5.1Ensemblelearning .......................... 44 5.2Further first experiment analysis . . . . . . . . . . . . . . . . . . 45 5.2.1σparametertuning...................... 46 5.2.2Prediction performance . . . . . . . . . . . . . . . . . . . 47 vii
5.3Experiment 2definition ....................... 50 5.3.1Variablesortdesign ..................... 54 5.3.2Modifications to DLR’s previous work . . . . . . . . . . 56 5.4Experiment 2results ......................... 57 5.4.1Learning method performance results . . . . . . . . . . . 57 5.4.2User experience surveys results . . . . . . . . . . . . . . . 64 5.5Experiment 2discussion....................... 65 5.5.1Experiment performance . . . . . . . . . . . . . . . . . . 65 5.5.2User experience surveys . . . . . . . . . . . . . . . . . . . 68 6 social,environmental and economical commitments 71 6.1Socialcommitment .......................... 72 6.2Environmental commitment . . . . . . . . . . . . . . . . . . . . . 72 6.3Economicalcommitment....................... 72 6.3.1Costs.............................. 72 7 conclusions and future work 75 i appendix.usability and user experience surveys 79 bibliography 85 viii
1 INTRODUCTION Around 49 million people are living with limb loss around the world [6,18]. 35% of them have an upper limb amputation [6], and according to British statistics [15], 2% have a wrist disarticulation (hand amputation). The most common causes for amputation are vascular diseases and trauma at work or car accidents [6], but also diabetes is taking strength being nowadays one of the main causes too. Furthermore, in war-torn countries losses caused by war effects are a considerable quantity on amputees statistics [32]. The scope of the amputee statistics is most of the times only focused to the United States and, even there, it is limited and sometimes non-existing. Even so, LeBlanc [18] proposes that the global statistics could be scaled for each country according the rate between the country population and the world population. If this approach is applied, then global and country statistics can be estimated (was this the way the very first statistic of this work was calculated). Through the years, prostheses have been created for replacing the amputated limbs. With the development and improvement of technology, robotic prosthesis appeared. In this way the user can move an automatic device by using signals from the rest of his/her body (bio-signals). Despite this fact, there are not enough users who prefer to use a bio-signal control prosthesis. Just 25% of them are using myoelectric prostheses for instance [16]. The main reason of this gap is the fact that most of the prosthesis control are not robust, they sacrifice robustness for more joint movements accuracy, losing at the same time potential real life applications. As mentioned in Jiang et al. [16], this gap can disappear by mixing the advantages that both, commercial and academic prostheses, offer: on one hand a robust system, and on the other hand an intuitive control. This gap is the starting point for upper limb prosthetics control research, based on the experimentation with different kind of sensors or acquisition methods. The replacement of a human limb with an artificial one implies several challenges. The human involved needs to interact with the prosthesis the same way with a real limb. The main key for a successful interaction is communication [9]. Communication can be understood as the link between what the human wants to do and what the prosthesis can do, in other words how similar the artificial limb compared with a human one is. Although in the last years there have been significant improvements in the electronics, mechanics and materials of the prosthetics limbs, managing to build for instance robotic hands with 22 joints that approximates to the human hand dexterity [9], if this communication feature is not the proper one, then the patient would have a limited performance using the robotic hand, reducing completely the real life application of the prosthesis. 1
2 introduction This is the main problematic in prosthetics field, great mechanical designs close to a real hand, with innovative materials built in innovative ways (3D printed for instance), but they cannot be controlled properly by users who need more robust and real behavior from their new limbs. Hence, instead of really working as physiologically replacement of the human hand, most of the prosthesis work only as tools, to provide some functions that were lost (like grasping), but then, after the desired task performance, they could be ignored, as they are not working for something else. Despite those facts actual research is doing a hard work to focus the field progress toward the creation of true hand replacements [35]. The main goal of robotic prostheses development is to help people with limb loss to recover at least some of their usual tasks and activities that were used to do before their loss. Just as an example, 36% of people living with limb loss experience depression [6]. Here lies one of the main motivations for this project. The German Aerospace Center (DLR) in Oberpfaffenhofen, by its Robotic and Mechatronics Center (RMC), has been working in the research of upper limbs improvement, has been working to reduce the gaps, to overcome the challenges and limitations previously defined. The development of this project is just a small part of the entire research. 1.1 objectives and hypothesis Following the motivation line, and based on the work previously done on DLR, the next objectives were established for being accomplished by the current project: Test and design a software suite for acquisition and control devices. Design two experiments:The first one to make a comparison between two different bio-signals (FMG and sEMG). The second experiment has as objective the effectiveness test of a multi-sensor control, as opposed to the singlesensor one used on the first experiment. Identify from the first experiment, what type of sensor (sEMG or FSR) has better response to different hand and wrist movements. Apply the results of the second experiment to predict movements and test the results in a 3D hand model. Improve the user interface, adapting it to the needs of the experiment. Finally, improve the machine learning algorithm for better prediction. All these goals are focused to deal with the limitations exposed previously in this section. The main hypothesis of this porject is that the hand movements prediction performance could be improved by combining the defined bio-signals from the two kind of sensors, as those signals are presenting different features and behaviors. It is important to remark that due to the unavailability of the robotic prosthesis hand, this project is limited by the tests on a 3D hand model, however the project is still focused on the goals appliance on a robotic hand. In fact
1.2 thesis structure 3 it is relatively simple to move from the 3D hand model control to a real prosthesis one. 1.2 thesis structure This thesis is composed by seven chapters.Chapter 1is the current introduction. Chapter 2is a literature review showing the background and state of art of the hand anatomy, robotic hand prostheses, sensing methods and machine learning algorithms. Chapter 3presents the state of art of the work previously done on DLR, as much of the work used on this project was already used in other projects. This chapter is important as it is a direct background of the project, definitely needed for a proper understanding of it. On Chapter 4, the first experiment is executed and evaluated. This experiment is considering the use of sEMG sensors and FSR in order to compare their signals and identify special characteristics and properties for each of the sensors. This chapter also contains a study about the usability and user experience of the device. On Chapter 5, on a similar way as in the previous chapter, the second experiment is exposed, showing first the work done for a better experiment design, then is presented the experiment definition, the results and the discussion. Chapter 6exposes the social, environmental and economical commitments this project has. Additionally a cost analysis is evaluated. Finally on Chapter 7the conclusions and recommended future work are presented. Going further, the project work was planned to be done on six months, dividing it into four stages: Familiarization with the work previously done on DLR, which corresponds to Chapters 2and 3, this stage was performed on two months. Feature analysis of the two types of sensors (sEMG and FSR), the goal of this stage was the development of Chapter 4, along with it a publication was written with the research findings. This stage took one and a half month. Machine learning development for prediction performance improvement by combining sensors, the work done in this stage is documented on Chapter 5. It was performed on two months. Thesis Documentation, even though the thesis writing was done during the 6months, supported also by the publication of the second stage results, the last two weeks of the project were used for a final arrangement.
2 S TAT E O F A RT This chapter is a literature review showing the background and state of art of the hand anatomy, robotic hand prostheses, sensing methods and machine learning algorithms. All this information is needed for the project development. 5
6 state of art (a) Hand bones [11] (b) Hand joints [27] Figure 1: Hand bones and joints 2.1 human hand structure and movements The anatomical explanation is based on the work completed by Chen [5]. In prosthetics field, the system of the hand considered, at least in most of the prosthesis, is the skeletal system, considering that there are also integumentary, muscular, lymphatic, nervous and cardiovascular systems. The skeletal system includes bones and tendons. For the purposes of this project, the main goal is the performance of wrist movements, so there will be considered also the forearm and wrist skeletal systems. The interested skeletal region goes from the elbow passing through the forearm, where the Ulna and Radius bones are located, then goes across the wrist, which works as a connection for the hand and forearm (the Scaphoid, Lunate, Triquetrum, Pisiform, Hamate, Capitate, Trapezoid and Trapezium bones are located in this part). Finally there is the hand, which is first composed of five Metacarpals
2.2 robotic hand prosthesis 7 (palm bones) and five Digits. Each Digit is built by three bones, the Proximal, Distal and Middle phalanxes; except for the thumb that has just two bones. If the anatomical terms are translated to robot kinematics, then each bone can be considered as a link. Connecting those links, as always, there are joints. Starting with the Radiocarpal one at the wrist, then the Carpo-metacarpal that is connecting the Hamate, Capitate, Trapezoid and Trapezium with the Metacarpals; after that, there is the Metacarpal-phalangeal, that is located between metacarpal and the proximal phalange bones, and finally the proximal and distal interphalangeal joints that separates the phalangeal bones. This hand anatomy explanation is important for a 3D Hand Model construction, and, in a closer way to this project, with the wrist and finger movements explained in the next paragraph. For a better understanding, Figure 1 shows in a detailed and graphical way the human hand bones and joints. The joints can perform gliding movements, angular movements, circular movements and special movements (like inversion, eversion, protraction, and retraction). This thesis deals with the angular (flexion/extension) and circular (rotation and pronation/supination) movements. These movements are shown on Figure 2for both, fingers and wrist joints. Each joint can be able to perform one or more movements, but the joints and movements which this project focuses on are the following: Wrist Flexion/Extension, wrist (Forearm) Pronation/Supination and grasping movement (which includes fingers and thumb flexion and thumb rotation). Summarizing, the human hand is composed by 27 bones and 33 muscles, which result in a total of 22 DOFs [8]. The hand system is able to perform basically the following tasks, which are the ones that the robotic prosthesis hand tries to emulate [39]: Reaching and pre-shaping, grasping, manipulation with stable grasp, exploration with sensori-motor coordination and gesture expressiveness. 2.2 robotic hand prosthesis In order to control let a user control a prosthesis, Craelius [9] proposes two basic requirements.The first requirement prescribes, that the user must have control over the motor function somewhere in the residual limb, such that he could sense and imagine the manipulation of the lost limb. If the residual muscles are damaged, there is the option of surgery to restore the nerves or reroute them to healthy areas, for example, the hand residual signals could be rerouted to the pectoral muscles, so then the muscular activity is easier to access. The second requirement implies that a device can acquire and decipher the information generated in the previous requirement. This requirement is more challenging because of the complexity of the human movement control. Our smooth and precise movements are the result of functioning sensor-monitor system, that transforms the result of all senses (tactile, positional, visual) into fine movements via millions of electrical impulses. The
8 state of art (a) Wrist movements (b) Finger movements Figure 2: Hand and wrist joints movements [11] challenge for the prostheses is to restore the lost sensor-monitor function by the assistance of an artificial limb. There are four functional issues that need to be considered for the design and construction of a prosthetic hand: grasping, sensing, actuation and control strategy. These four issues should be combined in order to fulfill some of the tasks listed section 2.1. For instance, the hand should provide a natural grasping capability, a natural appearance, secure grasping, and a natural and friendly command interface [4]. grasping: Grasping, holding an object, is a complex task because does not involve just kinematic motion, but also force control. This action depends on the goal object geometry, strength, stiffness, and surface finish; as well as on the fingertips features. For a successful grasping, the robotic hand should be robust and compliant, must have control of the force and slippage of the object and also needs to be manipulable while grasping [17]. sensing: The sensing in a prosthetic hand could be divided in two types: The first one are the sensors used for acquiring body signals for the hand joints movement, this kind of sensors ideally should be non invasive, and actually are present din the next section. The second type are the internal sensors of the , not just the ones for used in the joints for hard control, but also other sensors that could give feedback
2.3 non-invasive sensing methods 9 to the user so he or she could feel a more real sensation with the hand, this kind of sensing is called exterioceptive sensing.[17] actuation: The actuators should occupy as least amount of space inside the hand structure. The most common actuators used are DC motors and minimotors coupled with gear reductions, both of them are used for joints movements. Nevertheless, other actuators have been tried, artificial muscles for example. These artificial muscles are built using pneumatic devices or different materials like shape memory alloy, or ionic polymer metal composite. The problem with the artificial muscles actuators is that they are still under development, facing problems in the size of auxiliary elements and the power of actuation. Finally need to be considered the power storage and supply issues.[17] control strategy: The main goal of the hand prosthesis, is to move and react as a human hand. In order to reach that goal the robotic hand should apply control strategies that convert the sensed signals into output signals that are able to move the joints and links and produce natural flow and forces. According to Naidu et al. [23], there are two kind of control strategies: the hard and soft ones. The hard computing includes: multivariable feedback, optimal, nonlinear, adaptive and robust control techniques; applied, for instance, in impedance control (moment of inertia, joint stiffness or viscosity of a muscle model). The soft computing involves: artificial intelligence, neural networks, machine learning, fuzzy logic, genetic algorithms. Some applications of this techniques are the prediction of the joints movements depending the sensing of a body signal. After all, the final goal for robotic hand control is the fusion of both approaches to achieve a more realistic behavior of the hand. 2.3 non-invasive sensing methods Different sensing methods are described in this chapter apart of the chosen sEMG and FMG. These last two methods are compared with each other in subsection 2.3.6. 2.3.1sEMG Electromyography is evaluating and recording the electrical manifestation of the human muscle movements, it is possible to get information about the neural signals that control the muscles from the central nervous system [16]. In prosthetics the sEMG signals are used due to the relation between the neural drive to the desired movement and the power intensity of the signal. The sEMG signals are acquired by surface sensors located in the remnant muscles of the stump, they are processed and after that activate certain prosthetic functions or movements. Although there are researches with other bio-signals for the prosthesis control, the surface sEMG signals have been
10 state of art the only one that have worked with practical uses of multifunction upper limb prosthesis since the middle of the last century, consequence of the easy acquisition of the signal (non invasive, commercial sensors), and it is likely to be a trend in the near future [16]. 2.3.2FMG Forcemyography is a relatively unexplored technique that captures, by using Force Sensor Resistors(FSR), the expansion/contraction of the muscle surface by registering its pressure. Before they were applied in the prosthetics area, FMG signals were used to monitor physical activity. They were able to distinguish different limb movements and predict them. Although this analysis was done in a non real time mode, those applications showed the feasibility of using FMG for muscle movement capture.[38] The main difference between FMG and sEMG is that the first one is sensing mechanical signals, which represents a low-bandwidth and degraded version of the neuroelectrical signals, due to this fact, it cannot define activities for individual muscles [36]. A force sensor resistor (FSR) is made of a polymer film that decreases its electrical resistance when a force is applied over its sensing area [38]. That means that the output voltage is inversely proportional to the force applied, additionally, the output response is not linear, presenting different curves shape depending the resistor used in the voltage divisor of the signal conditioning circuit. Until the date of the publication of [36], FMG was the only neuromuscular imaging method that had worked with simultaneous, multifunctional and multi-DOF control of prosthetic hands. But what is really important about the FMG is that it needs to fulfill practical needs. For example the sensors and wearing devices must be reliable and durable, easy to calibrate and compatible with control and learning interfaces so earlier works with other sensors could be applied for FMG and also the new work done with FMG could be used in other devices. Preliminary trials have demonstrated that the FMG devices are easy to wear and calibrate and have had a good performance with several damaged amputees residual limbs [36]. 2.3.3Ultrasound imaging The ultrasound waves have a frequency over 20kHz. They can penetrate soft tissues without harming them, due to this fact, they are used a diagnostic tool to visualize innards of the human body. Ultrasound Imaging (US imaging) builds 2D- or 3D-live images from the interest body parts by the partial reflection of the waves at the tissues with different acoustic impedance. Until now US imaging does not have any known side effect, so it is used in most hospitals. US imaging detects conditions of the muscoloskeletal system, the information obtained is starting to be exploited to build a Human-Machine Interface with clear and potential future applications, like advanced hand prosthetics
3 PREVIOUS WORK ON DLR As was mentioned in the Introduction, this project is the continuation of the work previously done in the DLR related with upper limb prostheses control. Most of the devices and software used for the project’s experiments were already developed. This chapter presents a more specific background in which this work was directly based. 17
18 previous work on dlr This chapter is structured in 4parts, the first one explains the acquisition device used, a second part explaining the 3D Hand Models used , then a section that shows the GUI applied and finally a fourth part that presents the learning approach applied. 3.1 acquisition device 3.1.1Sensors For the previous projects done in DLR, sEMG sensors and FSRs were used. For the sEMG acquisition signal, the Ottobock MyoBock 13E200 sensors were used (Figure 3). This sensors already provide an on-board amplification, rectification and filtering, in order to give a high-quality signal. Additionally this sensors are the standard ones used for clinical prosthetic applications, furthermore they are commercially available. (a) FSR [8] (b) sEMG sensor Figure 3: FSR and sEMG sensor For the FMG signal acquisition, the FSRs 400 Short (Figure 3) manufactured by Interlink Electronics were used . They are made of a polymer thick film, having a 5.6mm diameter sensitive area. They have a large force sensitivity range (0.2N-40N), despite of these facts, FMG also presents some drawbacks: a non-linear behavior, a non-negligible hysteresis at high force appliance, and no guarantee of repeatability through sensors. Even so, it has been shown that this drawbacks are reduced for small forces (0N- 15N), so the sensors behavior is comparable and almost linear [29]. In order to condition and process the FSR signal, a circuit board was made. It consists in a voltage amplifier which voltage output corresponds to: Vout =R2VCC R1+R2−R1R4VCC R1+R2 ×1 RFSR , where RFSR is the lowest admissible resistance and its equal to RFSR =R1R4 R2=6kΩ, this value corresponds to a theoretical maximum force applied to the FSR surface of 3.33N.(Figure 4) Both kind of sensors are arranged in Velcro straps, so can be created sensors bracelets that are tightened to the user’s forearm. In order to allow the attachment of the sensors to the strap, 3D-printed housings have been designed. These housings are made of flexible thermoplastic polyurethane (Figure 5). They are designed with braces to allow them sliding on the strap, so the sensor position can be individually adjusted, changed and maintained,
3.1 acquisition device 19 Figure 4: FSR amplifier circuit diagram [8] having a big range of possibilities for the sensor arrangement. This feature allows any combination of FSR and sEMG, so a complete forearm circumference signal acquisition could be performed. For the experiments done, the sensors were arranged in a low-density surface electrode layout or uniform electrode positioning approach, that basically puts the sensors in an evenly spaced placement around the forearm (Figure 5). This approach has already been proved to be effective and useful for robotic hand prosthesis in a number of previous publications. The FSR housings are not only useful as a retainer, but also have a structure that concentrate the force produced by the muscles on the FSR sensitive area. This concentration is possible thanks to a cone shape in the housing that points inwards to the sensor sensitive area. The real impact of this structure in the force signal has not been object of study, so it is assumed that it increases the signal stability, and hypothetically could add some mechanical filtering to the signal. A detailed information about the sensors and housing design can be found in [8] (a) Bracelet with sensor arrangement (b) Sensors’ housings (Left FSR, right sEMG) Figure 5: Sensors’ housings and bracelet arrangement [8]
20 previous work on dlr 3.1.2Data acquisition wireless device The device used for the sensors’ signals acquisition(Figure 6) was designed and built in DLR and is presented in [8]. It is sending the sensors’ data to a GUI in a wireless way, by using Bluetooth communication. Going deeper in its structure, the device consists, first, in a multiplexing stage, so a sensor number higher than 15 (microcontroller analog inputs) could be used. The multiplexed signals are then sent to a microcontroller, that converts the analog signals into digital ones. In this way, the signals could be sent via serial communication to the Bluetooth chipset, which in turn sends the signal to the device where the GUI is running. This chipset allows data emission and reception. In fact this device can also send the prediction obtained in the machine learning to a robotic hand (iLimb1), so its Bluetooth chipset is working in a two communication channels way (one for the iLimb, and the other for the GUI). However as will be later explained, for this project purposes, the device is used just for data acquisition, so it is working just in with the GUI communication channel. It is important to remark that the device is just a communication/acquisition device, the training and prediction tasks, the data saving, and other signal condition features are performed by the device in charge of the GUI. Figure 6: Wireless device 3.2 3d hand model There are two ways to test the prediction and have visual feedback of the performance. One way is to apply the predicted output to a real prosthetic hand, the other one to use a 3D hand model. The latter option is also used for having a visual feedback during training. 1Robotic hand manufactured and distributed by Touch Bionics, for more information please consult the product datasheet [Bionics2016]
3.3 gui 21 The values representing the DOF of the training 3D hand model, which will be called stimulus in this thesis, are acting as the ground truth for the machine training and for performance calculation. The hand model was designed in Blender. To control it, the degrees of freedom from the stimulus (9or 12) are coupled with the real hand degrees of freedom (26, now including also wrist DOF). Each of the real hand DOF is matched also with a model bone, so for instance the wrist pronation/supination DOF is matched with the forearm bone, or both the finger metacarpophalangeal adduction and the metacarpophalangeal flexion DOF are matched to the proximal phalange bone. Figure 7:3D hand model (Left:Training/performance. Right:Prediction) On the screen there are two hands displayed. The purpose of displaying two hands is to use one for a stimulus ground truth for training or for performance measurement, while the other hand is used for prediction, so the user can have a visual feedback about what the machine learning is performing. The communication between the model and the GUI is done using a UDP protocol, so for each hand model (training / performance and prediction) a UDP Port is assigned. 3.3 gui In this approach, a mobile phone or a PC can be used for visualizing the GUI. For each of the options was developed a different GUI, with common and specific tasks. 3.3.1PC GUI Basically the GUIs previously programmed on DLR, offered a training and prediction stage, fingers and wrist movement selection, data storage, and communication to different applications (iLimb prosthesis, the 3D hand model), it allows also to use not only the sEMG sensor or FSRs, but additionally other types of sensors for different kind of measurements, such as fingertip forces or position tracking. The language used for the GUI programming was C#
22 previous work on dlr Figure 8: PC GUI The GUI is shown on Figure 8. As could be appreciated, it has a Radial Plot that shows all the sensors’ values, the name of the subject can be assigned, and also has options for storing the sensors data and the stimulus one. The GUI provides information about the data capture rates, so the user can know if the stimulus or the acquisition device is having any delay or lag. It is important to say, that this code was designed for working not only with the wireless device already presented, but with the sEMG bracelet Myo and with a PC signal generator (so the GUI could be tested without any acquisition device). Continuing with the GUI, the user can select the actions to train from a list of possible ones, and the number of repetitions the training will perform. This training could be done in automatic mode (the data capture for training is done in a previously established time) or manual mode (the user decides how long the capture stage will last). The GUI is user-friendly, in the way that it displays in the radial plot also the representations of previous repetitions, so the user can have a reference when he or she is performing the movements. Additionally the GUI shows two progress bars, one showing the progress of the entire learning stage, and a second one showing the progress of the data capture stage. Finally the GUI allows the use of other sensors for hand position tracking (not used for this project). Internally the GUI code performs the training and prediction of finger and wrist movements considering all the sensors of the device as input data and using the incremental Ridge Regression (iRR) algorithm and its non linear representation, the using Random Fourier Features (iRRRFF) algorithm, as machine learning approaches (explained in the last section of this chapter). Apart of that, the code creates and manage the communication between the Hand Model and the PC using the already mentioned UDP protocol. In this
3.3 gui 23 way the data used by the code could be sent for visual feedback to the hand model. This GUI was used for the second part of the thesis that is presented on Chapter 5. 3.3.2Mobile phone GUI The code for this approach was developed in the Xamarin Studio software, which allows the development of Android applications using C# (and other languages) syntax, so the code structure previously done could be used for the mobile phone application. This GUI, shown on Figure 9, is a simplified version of the PC one, mainly because of the mobile phone limitations (processor speed, screen size). Its advantage over some previous C# codes is that this GUI was designed specially for the wireless device, which main purpose was the use not only of the sEMG sensors but also of FSRs, that is why the interface included some features for the FSR management. Figure 9: Mobile phone GUI The GUI has, as the PC one, a radial plot for sensor readings, a list for the actions selection, the modifiable number of repetitions, the storing feature, and some text labels showing instructions for the user. Internally the training and prediction were performed using the same iRRRFF approach. The difference compared with the PC GUI, as was mentioned, is the possibility to manage in different ways both kind the sensors. First of all the
24 previous work on dlr user can select the number of sensors and which of them are FSR. It is important to differentiate them due to the inverse behavior compared with sEMG, so then can be applied some kind of signal conditioning to convert the FSR signals to a similar behavior compared with the sEMG ones. Thanks to the sensors selection features, the bracelets can be customized, changing the number of sensors on them or their arrangement. While the system is used in the training stage, there is a stimulus signal generated, that represents the movement that is followed by the user. This signal has as elements as DOF (12 in this case), and the element’s values go from 0to 1. The drawback of this interface, at least when it was used for this project experiments, was the lack of visual feedback for the user. First of all there was not a display of previous repetitions (as in the PC GUI), also there was not possible the connection with the PC to move and work with the 3D Hand Models. The only visual feedback was the normal sensor data polar plot, and the text labels indicating the movement to perform. This fact could produce some uncertainty in the measures, nonetheless this uncertainty is reduced depending the user performance. After all this lack of visual feedback did not affect the experiment performance, as will be explained in the next chapter. This GUI was used for the development of the experiment presented on Chapter 4. 3.4 machine learning There has been used a machine learning approach to predict the prosthesis movements for a number of hand prosthesis works, experiments and papers in DLR, this approach is the incremental Ridge Regression Random Fourier Features (iRRRFF), already introduced on Chapter 2. In order to understand how it is applied to hand prosthesis control, it is necessary to start with the Ridge Regression(RR) approach. RR is a regularized variant of least squares regression. It builds a linear output model of the form: f(x) = wTx(1) where xrepresents the input space (sensors values) and wis a weighting vector, trained from a set of input/target pairs (training set) previously collected. The way to train wfollows the next equation: w= (XTX+λI)−1XTy)(2) Here Xdenotes the input training set, and yis a vector collecting the target values for each collected sample, this vector is considered as the ground truth and is obtained by the stimulus values gotten in the training stage. The regularization coefficient λis normally set at a standard value of 1.[29] One of the motivations found to use RR algorithm is that it allows incremental updates (from this fact the incremental name of the algorithm) of the model without the storage of any training samples. A more detailed expla-
3.4 machine learning 25 nation of the RR algorithm (specially the incremental part) could be found in Gijsberts et al. [14]. For sEMG and FSR prediction, a linear approach is not enough, so RR is limited due its linearity, this limitation is overcome by using the Random Fourier Features applied to least squares regression (in this case the regularized RR)also already explained on Chapter 2. The goal of this improvement is to perform the algorithm implicitly in a n-Dimension feature space, using for that kernel functions. As standard kernel functions(Radial Basis Function for instance) requires high computational time due to its potentially infinite dimension, a solution found was to perform a finite dimensional feature mapping.Rahimi and Recht [28] applied this strategy and proposed to take a finite number of random samples in the Fourier domain. The Random Fourier Feature is represented by: φ(x) = cos(ωTx+β)(3) It produces an unbiased estimation of a kernel if ωis drawn from a normal distribution with mean 1and if βis drawn from a uniform distribution from 0to 2π. Furthermore this ωvalue could be scaled by a learning architecture parameter σ, that can be tuned for a better algorithm performance. Anyway, such as the λparameter, normally σis set at a value of 1. To make RR non-linear, should be replaced the input vector (x,Xfrom equations 1and2) with its projection φ(x), so the new, and final equations for RR involving RFF are: f(x) = wTφ(x)(4) w= (φ(X)Tφ(X) + λI)−1φ(X)Ty(5)
4.2 experiment 1 results 33 sensor), the values are clustered depending the movement performed and was assigned a different color for each cluster. It is important to remark that , in fact, the clusters are 10-dimensional (number of sensors), so even though in the PCA projection the clusters could be seen separable, in the complete dimension representation they are not. Furthermore, this PCA projection was just performed for visualization purposes, for the analysis that will be presented in the next paragraphs, there was used the complete dimensional data. With the idea of separability already explained, there was defined a method for evaluating it and obtain a more quantitative approach. The Safety Index value [31], is based on the idea that the separation between the movement clusters could be defined as the relation between the maximum standard deviation of each cluster and the Euclidean distance between each them. The Safety Index sij was obtained for each subject and each pair of clusters (Ci,Cj), a precise definition of it is given by the Equation 6: sij =max(σi) ||Ci−Cj|| (6) where σiis the standard deviation of cluster Ciand Cis the mean of cluster C. With Eequation 6it is implied that the lower the Euclidean distance or the higher the standard deviation, then the closer the clusters could be; the same the other way. After the Safety Index calculation, the values were arranged in a matrix where the rows represented the Ciclusters and the columns the Cjones, of course if Ciand Cjare the same movement, the Euclidean distance between them is 0so the separation index is undefined. In order to avoid that fact, the Safety Index for same movement pairs was considered as zero. On Table 2, the means of all Safety Index matrix values for each subject are shown (the diagonal zero values are not considered for the mean). All the subjects Safety Index matrices were averaged, so a mean Safety Index matrix was obtained for both, sEMG and FSR sensors. Additionally was obtained the standard deviations of those movement pairs means. To visualize those matrices was used a color-map image, so the darker red the cell, the closer the movements are; on the other hand, the darker blue the cell, the more separate the clusters are (Figure 14). The standard deviation values were also visualized in a colormap, so in this way could be evaluated which movements were more different performed by the subjects through the experiment (Figure 15). Finally, the last analysis performed was a prediction performance one. Considering all the sensors data as a data set, it was divided in three sets, the first one just including the FSR data, another one just including the sEMG data, and the third one was the same as the original data set, that means that it was including both kind of signals (called stack approach from now). The learning algorithm chosen for this analysis, was the Incremental Ridge Regression with Random Fourier Features (as was already mentioned in
34 qualitative analysis of fmg and semg signals and device user experience (a) FSR S-Index (b) sEMG S-Index Figure 14: Mean Safety Index matrices for each type of sensor. Lower is better. (a) FSR S-Index SD (b) sEMG S-Index SD Figure 15: Standard deviation of the Safety Index matrices for each type of sensor. Table 2: Mean of the Safety Indexes (without counting the diagonal) for each user, and their total means. 12345 FSR 0.158±0.14 0.108±0.06 0.133±0.08 0.216±0.15 0.164±0.06 sEMG 0.149±0.1 0.141±0.09 0.152±0.07 0.279±0.15 0.143±0.09 6 7 8 9 10 AVG±SD FSR 0.16 ±0.12 0.156±0.09 0.158±0.11 0.115±0.08 0.134±0.08 0.15±0.03 sEMG 0.344±0.33 0.182±0.11 0.217±0.15 0.114±0.06 0.176±0.08 0.189±0.07 the previous chapter, the algorithm was already successfully used multiple times, for instance in Gijsberts et al. [14] and Ravindra and Castellini [29]. Before continuing, it is needed to explain a concept that will be used not only on this chapter, but also will be an important part of the next one, this concept is K-Fold Cross-Validation. Cross-Validation is a model performance measurement technique, it tries to give a better approach of the performance by training and validating the model through the entire dataset.
4.2 experiment 1 results 35 In K-Fold Cross-Validation, the interested dataset is divided into Kequalized parts (folds). A training set and validation are generated by leaving one of the folds out (validation set) and combining the remaining folds to build the training set. This separation should be done Ktimes, each time keeping out a different fold for the validation. There are two main disadvantages of this method. The first one, in order to keep the training set large enough, the validation set must be small. Second one, the training sets overlap through the repetitions, sharing K-2folds. Normally the value of Kis 10 or 30, as Kincreases the estimator is more robust, but as mentioned, the validation becomes smaller . [1]. In spite of this facts, actually cross-validation was applied, just for a general-overview of the prediction, covering statistically all the data set. Table 3: Prediction accuracy (nRMSE) obtained by each subject for a movement sequence repetition prediction. Were considered the FSRs, the sEMG sensors and both of them together. 12345 FSR 0.17±0.016 0.1687±0.0173 0.1495±0.007 0.1636±0.011 0.1762±0.0087 sEMG 0.1494±0.0138 0.1573±0.0175 0.1458±0.0123 0.2056±0.047 0.1673±0.0098 ALL 0.1649±0.0137 0.1608±0.0199 0.1385±0.0083 0.1595±0.0161 0.1636±0.0066 6 7 8 9 10 FSR 0.173 ±0.0184 0.1728±0.0121 0.1893±0.0352 0.1548±0.0133 0.1803±0.0222 sEMG 0.1857±0.0126 0.1736±0.0193 0.2037±0.0343 0.1346±0.0061 0.1801±0.045 ALL 0.1658±0.0139 0.1736±0.0139 0.2054±0.0267 0.1367±0.0048 0.1526±0.013 For the experiment, a 10-fold “"leave-one-repetition-out”" cross-validation was applied by training each machine on nine of the ten repetition and validating on the remaining one. The input space was chosen from the three data sets already explained (just FSR, just sEMG and both stacked). The prediction accuracy was measured by the normalized Root Mean-Squared- Error (nRMSE) between the predicted values and the stimulus file generated by the cell phone application, that worked as the ground truth. Notice that the stimulus values were from 0to 1, as was explained in the Cell Phone GUI section, so the normalization of the RMSE is done considering those values. For general information the RMSE equation is given by: RMSE = v u u u t n P i=1 (y−ˆy)2 n(7) where yis the ground truth value and ˆyis the predicted value. For nRMSE was just divided the RMSE by the difference of the maximum and minimum valued of the stimulus values: nRMSE =RMSE ymax−ymin .
36 qualitative analysis of fmg and semg signals and device user experience Table 3shows the prediction accuracy obtained by each subject measured in the just explained way. Here the nRMSE value showed is a mean of all the nRMSE obtained by the cross-validation. The same values are showed in a bar graph representation in Figure 16. Figure 16: Prediction accuracy plot, separated by FSRs, sEMG sensors and both of them mixed. 4.2.2Device user experience 4.2.2.1Acquisition time analysis Before going through the surveys result, an off-line sample time period analysis was done, looking for any lag problem that could affect the device performance. This analysis was done considering the time stamps printed for each sample. There were two kind of behaviors in the experiment (Figure 17). The first one presents a time increase in the last repetitions , the second one presents also a lag but at the middle of the experiment and also at the end. Despite of this, those lags were so small and were not perceptible during the experiment performance. 4.2.2.2User satisfaction survey results The results of the surveys are presented in the same order as they were presented in the previous section. For the SUS, the total result of each subject and the mean score are presented in Table 4. Notice that the higher the score, the more usable the user judged the device. In this survey the statements that had the worst scores were I think that I would need the support of a technical person to be able to use this device and I felt very confident using the device. For the NASA TLX, the total result for each subscale of each subject and overall workload are shown in Table 5. In this case, the highest the score, the more workload the user had when using the device. A plot with average percentages of the workload by subscale is visible in Figure 18.
4.2 experiment 1 results 37 (a) Incremental lag (b) Double incremental lag Figure 17: Samples time period plots. Table 4: Subject’s system usability total scores. ID 1 2 3 4 5 6 7 8 9 10 AVG SUS 85 90 100 77.5 92.5 67.5 75 85 100 75 84.75 The first two surveys applied threw suitable results with an usability score of almost 85 points and an overall workload of 25%. Finally, for the desirability survey proposed by Travis, there were obtained two kind of results, the first one using all the words chosen by the user in the first selection, and the second one considering only the 5final selections. In order to have a different visualization, a word cloud for each result was created (Figure 19), where the bigger and darker the font is, the more often the word was selected.
38 qualitative analysis of fmg and semg signals and device user experience Table 5: NASA TLX workload percentages. ID 1 2 3 4 5 6 7 8 9 10 AVG Mental Demand 66.66 19.04 9.52 14.28 23.8 28.57 9.52 14.28 4.76 9.52 20 Physical Demand 33.33 23.8 14.28 14.28 23.8 23.8 9.52 14.28 4.76 76.19 23.8 Temporal Demand 71.42 61.9 52.38 14.28 52.38 57.14 14.28 61.9 4.76 33.33 42.38 Performance 28.57 28.57 19.04 14.28 14.28 19.04 52.38 14.28 4.76 38.09 23.33 Effort 52.38 19.04 23.8 9.52 52.38 19.04 52.38 14.28 4.76 38.09 28.57 Frustration 19.04 14.28 4.76 19.04 23.8 9.52 9.52 9.52 4.76 14.28 12.85 Overall WL 45.2381 27.77 20.63 14.28 31.74 26.19 24.6 21.42 4.76 34.92 25.15 Figure 18: Workload percentage plot. (a) First selection word cloud (b) Final 5words selection cloud Figure 19: Word clouds from the results of the desirability survey . Considering just the most common adjectives in the final selection, the reasons given by the subject for choosing them were: The word simple was chosen due to the device setup and the experiment performance. The adjective intuitive because the cell phone application shows what to do. The subjects
4.3 experiment 1 discussion 39 considered the word easy to use because the device has an easy setup. For the subjects the experiment was familiar as they had done previously similar ones, furthermore the device can be used for daily life. The adjective reliable was chosen due to the sensor responses which are consistent, additionally the device works all the time. Finally subjects felt the device was stable giving similar reasons as the ones given for the reliable adjective, also the system presents none errors. As could be already noticed, an important thing to mention about the surveys is that even the instructions and the questions were oriented to the device, some answers referred to the experiment performance. So for instance the familiar adjective was chosen in some cases because the subject had already done some experiments with sEMG sensors. 4.3 experiment 1 discussion 4.3.1Comparison between sEMG and FMG There are marked differences between both kind of signals, proving in that way one part of the hypothesis statement defined in the Introduction. Even though the amplitude and features of the sensors change significantly across all subjects, can be established important remarks about the comparison of sEMG and FMG signals. Focusing first on an amplitude signal analysis and looking again to the Figure 11, can be set that: FSR measurements present an oscillating and different amplitude behavior in the rest stage, so the signal amplitude was rising if the subject was changing his/her initial rest position (actually the changing of position is natural, as it is really difficult to go back always to the same position after a movement performance), creating in this way a noisy rest measurement. This behavior was expected, due to the stable behavior of the FMG signal and perhaps also due to the inherent hysteresis that the FSRs have. On the other hand, sEMG resting phase remains almost in the zero value, it is not oscillating, even if the user was changing the initial position, again this behavior was expected, as none considerable impulse muscle activation was performed. Supported also by the Safety Index, the movements with the lowest amplitude (apart of the rest of course) were: for FSR signals was the wrist extension, having values comparable with the resting stage on some subjects. for the sEMG signals, the weakest movement was the wrist supination. Thanks to the signal conditioning performed in the cell phone application, the FMG and sEMG produce similar amplitudes inside the same voltage range (0-5V). However, as was already established this amplitude is reduced in the sEMG case across the movement performance, reaching sometimes almost half of the initial movement amplitude.
40 qualitative analysis of fmg and semg signals and device user experience In a general overview, the FSRs shows more sensibility to the muscle movements than the sEMG sensors, in the way that each FSR is excited by each pattern while with sEMG sensors just some of them are considerable excited. Going deeper, an average of six FSRs present amplitudes over 25% of the maximum sensor amplitude, whereas just an average of three sEMG sensors have this behavior. The Safety Index is really helpful as it is showing unit-less values, independent of the sensors voltages, so could perform a more confident analysis through the subjects. Considering the Safety Index mean and standard deviation colormap images, the FSR matrices show an average better performance over the sEMG ones. Some remarks about this comparison are: FSR Safety Index showed a higher number of considerable separated values (blue-dark blue), and a lower number of poor separated values (red-dark red) than the sEMG Safety Index. Separation between rest position and all the other movements using sEMG is poor. There is a poor separation for the FSR signals only between extension and rest, and extension and supination. Looking at the standard deviation matrices, the FSR matrix just had 4 high values, on the other hand sEMG matrix presented 7. From this, can be conclude that the users were performing more similar FSR Safety Index values than sEMG, in other words FSR movements separation were more constant through the subjects, supporting with this fact the idea of high stability of the FSR measurements. According to all the previous remarks, there can probably be settled that FMG enforces a better overall performance than sEMG, although not uniformly. The defined pros and cons, combined with the fact that there is not apparent significant difference in the prediction accuracy, even considering the combined input space( the nRMSE values range goes from 0.13 to 0.21); support the idea of interleave or fuse the two type of signals, defining as an hypothesis the consideration of the best movements performed by each sensor type. 4.3.2User satisfaction Even though there was already done an analysis on the survey results, a better way to visualize those results is a radial chart (Figure 20), which separates the results in different categories (Low Workload Demand, Stability, Task Accomplishment, Interface, Easy to Use, Comfort and Setup) that represent the main features appreciated by the subjects. Just as a special remark, the representation of the Low Workload Demand has been inverted to perform a better and easier comparability measure with the other categories. Additionally, the categories are clustered in two main classes: the usability related features (Interface, Easy to Use, Comfort and Setup) and performance related features (Workload Demand, Stability and Task Accomplishment). Those classes are present in the radial chart, where the categories are ar-
4.3 experiment 1 discussion 41 ranged in that way, the performance features on the top of the chart, and the usability ones on the bottom. From the radial chart, can be stated that: The wireless device has a consistent, reliable and stable operation. The device and interface setup are easy, simple and comfortable, creating with that a low frustration rate; The user interface is helpful and useful, as it is also friendly, intuitive and well structured; The experiment performance took a considerable amount of time (from this fact the highest workload demand). In fact this workload demand could become much lower, as in real applications the subject is not expected to perform several number of repetitions for training, avoiding with this a huge amount of repetitive movements. In general the experiment presented a high successful task accomplishment rate, all the subjects were able to achieve the experiment goal. Low Workload Demand Stability Accomplishment Interface Easy to Use Comfort Setup Figure 20: Radial chart showing the user satisfaction surveys’ results summarized in different device features. The survey results supported the idea, form different perspectives, of using this device for future applications and experiments, including the final experiment done for this project, as the user was having positive sensations. However, the "good" results obtained in the surveys, as was already established back into this chapter, could have been influenced by the subject’s behaviors explained by Travis. Although the subjects considered on this experiment are not the potential real application subjects, their feelings and opinion about the device define a starting point for the device conditioning and possible modification to use it on amputees and real robotic hand control.
5.2 further first experiment analysis 49 qualitative analysis are expected to appear also in the online analysis, affecting each learning approach performance in the same way as here. (a) Stack method (b) EMG method (c) FSR method (d) Ensemble method Figure 24: Prediction performance on one repetition for each method considering the CV approach Figure 25: Prediction performance after a 10-fold CV using the generalized σfor each subject
50 prediction performance improvement by sensors mixture Table 8: Performance measurement using the generalized σand applying CV for each subject Subj. 1 2 Meth. Stack EMG FSR ENS Stack EMG FSR ENS nRMSE 0.175±0.033 0.173±0.031 0.207±0.030 0.164±0.043 0.181±0.034 0.178±0.034 0.203±0.029 0.167±0.037 Subj. 3 4 Meth. Stack EMG FSR ENS Stack EMG FSR ENS nRMSE 0.159±0.016 0.163±0.023 0.174±0.017 0.146±0.025 0.182±0.018 0.218±0.037 0.189±0.02 0.204±0.065 Subj. 5 6 Meth. Stack EMG FSR ENS Stack EMG FSR ENS nRMSE 0.19±0.013 0.193±0.013 0.207±0.014 0.179±0.031 0.185±0.03 0.21±0.035 0.204±0.04 0.164±0.036 Subj. 7 8 Meth. Stack EMG FSR ENS Stack EMG FSR ENS nRMSE 0.193±0.029 0.195±0.029 0.208±0.03 0.184±0.041 0.223±0.043 0.231±0.057 0.225±0.048 0.199±0.061 Subj. 9 10 Meth. Stack EMG FSR ENS Stack EMG FSR ENS nRMSE 0.161±0.017 0.154±0.016 0.182±0.024 0.151±0.026 0.175±0.023 0.2±0.041 0.211±0.038 0.163±0.049 Subj. AVG±SD Meth. Stack EMG FSR ENS nRMSE 0.1826±0.026 0.1886±0.031 0.2026±0.03 0.1687±0.039 Table 9: Average of all the subjects performance measurement (nRMSE) for each action using the generalized σ. Stack sEMG FSR Ens Act. Mean±SD Mean±SD Mean±SD Mean±SD Wr. Flex. 0.187±0.036 0.182±0.036 0.209±0.036 0.177±0.046 Wr. Ext. 0.187±0.034 0.188±0.039522 0.242±0.049 0.179±0.049 Wr. Pro. 0.191±0.025 0.208±0.03 0.199±0.024 0.173±0.037 Wr. Sup. 0.180±0.018 0.206±0.029 0.186±0.022 0.155±0.031 Grasp 0.168±0.02 0.164±0.020 0.176±0.019 0.159±0.032 5.3 experiment 2 definition The experiment was applied to twelve intact subjects, ten of which were right-handed. Summarizing, the subjects were 3females and 9males, with an average age of 27 ±6years old, an average weight of 70.66 ±12.34 kg, and an average height of 176.91 ±10.39cm tall. Each subject received a detailed description of the experiment, both in oral and written form. As in the first experiment, an informed consent was signed and the experiment was approved by the DLR’s Ethical Committee. For this experiment, the sensors were separated on two different bracelets, the first one with ten sEMG sensors and the second one with ten FSRs, but this time both bracelets were positioned on the right forearm. The bracelets were located approximately 10cm below the subject’s elbows, with the the FSR’s bracelet closer to the elbow. After the bracelets attachment, as in the previous experiment, there was asked to the subject to sit in a relaxed posi-
5.3 experiment 2 definition 51 Figure 26: Prediction performance after a 10-fold CV using the generalized σfor each action Figure 27: Second experiment setup and performance tion with their forearms over their thighs and the hands in a lateral position (Figure 27). The experiment consisted on three stages: the training, the performance and the user experience stage (Figure 28) As in the previous experiment, the subject had to perform a sequence of wrist and hand movements: wrist flexion, wrist extension, wrist pronation, wrist supination and power grasp. On the training stage the subject must perform three repetitions of the movements sequence, in the same order as presented in the last paragraph, with a rest training at the beginning of each repetition. The training data acquisition was done in a manual mode, that means that the data considered for the training of the Stack, EMG and FSR approaches was captured just after a button was pressed by the experimenter. In the case of the ensemble learning, this manual mode is only applied for the training of the first two learning machines (EMG and FSR), but the stacked outputs are obtained by predicting in the entire data set, that means that the final output estimation involves in some way the complete information of the training stage and not
52 prediction performance improvement by sensors mixture Figure 28: Experiment block diagram Figure 29: Training stage state diagram only the one obtained in the capture state, as in the case of the other three approaches. In order to understand better how each action was trained, Figure 29 presents the state diagram of the training stage, where rise and fall are the transition movements from rest to maximum position and vice versa, hold state represents the movement in a maximum level but without capturing data, event that happens in the capture state. dT is the elapsed time from the beginning of each state. All the states were performed by a predetermined time except for the hold state, which was acting until the capture button was pressed. For the training stage, the subject could follow the movements to perform using the 3D hand model (Figure 7). In this case the gray hand was the one showing the action and also the level of intensity, so the subject must follow exactly in the same way the 3D model. After the data acquisition, all the four learning methods were trained, obtaining in this way four different weight matrices used later for prediction. The next stage was the performance stage, which was the main part of the experiment. On this stage the user must perform two repetitions of five actions (wrist flexion, extension, pronation, supination; and grasp) considering
5.3 experiment 2 definition 53 Figure 30: Performance stage state diagram the four methods (Stack, EMG, FSR and Ensemble) and also three different movement degree levels (a complete movement level like in the training stage, two thirds the level of that movement and one third the level of the complete movement), in this way a total of 120 tasks must be performed to cover all the variables. In order to accomplish those tasks, the prediction was done by all the learning methods, but only was used the one selected for the task. In this stage the subject must follow the movement of the gray 3D Hand (Figure 7), but now the predicted movement is shown by the colored hand, then the subject must match both of the hands. The way this stage works is illustrated with the state diagram on Figure 30. The rest, rise and fall states worked as in the training stage, but instead of having a hold and capture states, they were called outGoal and inGoal states. The main idea of these new states is based on the absolute error between the stimulus values of the guide hand (gray) and the output values obtained by the prediction using the corresponding learning method. If this error was lower than a threshold (0.15) then the system moved from the outGoal state to the inGoal. The subject must keep the error under the threshold (errTh) for 1.5seconds (holdT), if he or she could manage to do it, then the task was considered a success, if the subject went over the error threshold before the 1.5seconds, then the system went back to the outGoal state and the inGoal time counter(dtGoal) was restarted. In total the subject had 30 seconds (timeout) to accomplish the goal, if he or she was not able to do it, then the task was considered as unsuccessful. From this stage were saved important information for posterior analysis, like the learning method used for the prediction of the task, the time elapsed during the task performance, and of course the times the task was successful. In order to get more reliable results, the learning method, the actions, and the movement sorts must be ordered randomly, but at the same time must have the same number of appearances in a distributed way through the tasks, in this way all the data could be covered by all the possible combinations. In the next subsection is proposed a variable sort design that offers a good enough statistical coverage across all the subjects data.
54 prediction performance improvement by sensors mixture Finally, the last stage was the user experience. In this stage were obtained again the predictions of all the methods, but was apply just the one chosen by the experimenter using the GUI. In this stage just the colored hand was acting, showing the prediction of the selected approach. The subjects must move their hand free, performing the movements that they wanted with the level they wanted, trying to cover all the possibilities. After some time the subject was asked for some questions about the stability, realism, and smoothness of the prediction 3D Hand, evaluating each factor from 1to 7, being 1the lowest value and 7the highest. In this way could be known the subject impressions about the prediction. After the experiment, the subjects filled the NASA TLX survey (the same as in the first experiment). It was a long experiment, so there was expected a considerable workload present, that actually could affect the experiment performance. 5.3.1Variable sort design This subsection describes the way all the tasks used in the performance stage were arranged. As there were four learning methods, the best idea would be to have 24 subjects (4! = 24). As this is a large number of subjects, was reduced to twelve, so just half of all the possible methods permutations were considered. Fortunately the number of movement levels was three, so could be fitted to the number of subjects without any problem. The real problem appeared with the number of actions, as there were five different actions, their permutations did not fit with the subjects involve. In order to overcome this problem, six different blocks including the five actions to perform were built, even was not possible to cover all the possible action combinations, these blocks allowed a close representation of the action’s permutations. The blocks were built trying to perform each action in a distributed way, that means that was avoid to repeat for instance the wrist flexion action always in the first position of the repetitions. The blocks built were: Table 10: Action blocks including different sorts of the actions to perform (1- Wrist Flexion, 2- Wrist Extension, 3- Wrist Pronation, 4- Wrist Supination, 5- Power Grasp) Block Actions B1 12345 B2 45123 B3 34251 B4 21354 B5 54213 B6 35142
5.3 experiment 2 definition 55 Now that the number of blocks (6) allows compatible permutations with the number of subjects, an overall experiment task sort design was purposed (Table 11), the order of each variable (method, action block and level) for the first subject was generated randomly. From there, the rest of the subject sorts are permutations from the first subject sort. According with Table 11, for the first six subjects on the first repetition were performed the action blocks from B1to B3related with a certain level sort, on the second repetition were performed the action blocks from B4to B6related with another level sort. As there are just 6possible permutations (3!=6), for the last 6subjects the action blocks and their assigned level were exchanged between repetitions. In this way the action blocks/levels done on the first 6subjects first repetition were performed on the second repetition for the last 6subjects and vice versa. Table 11: Methods, action blocks and level sort across the subjects (for the methods: 1- Stack, 2- sEMG, 3- FSR, 4- Ensemble) Repetitions 1 2 1 2 1 2 Subject Method Actions Levels 1 3241 3241 B2B1B3B4B5B6 1,0.33,0.66 1,0.66,0.33 2 2413 2413 B1B3B2B5B6B4 0.66,1,0.33 0.33,1,0.66 3 4132 4132 B3B2B1B6B4B5 0.33,0.66,1 0.66,0.33,1 4 1324 1324 B2B3B1B4B6B5 1,0.66,0.33 1,0.33,0.66 5 3421 3421 B3B1B2B6B5B4 0.33,1,0.66 0.66,1,0.33 6 4213 4213 B1B2B3B5B4B6 0.66,0.33,1 0.33,0.66,1 7 2134 2134 B4B5B6B2B1B3 1,0.66,0.33 1,0.33,0.66 8 1342 1342 B5B6B4B1B3B2 0.33,1,0.66 0.66,1,0.33 9 3142 3142 B6B4B5B3B2B1 0.66,0.33,1 0.33,0.66,1 10 1423 1423 B4B6B5B2B3B1 1,0.33,0.66 1,0.66,0.33 11 4231 4231 B6B5B4B3B1B2 0.66,1,0.33 0.33,1,0.66 12 2314 2314 B5B4B6B1B2B3 0.33,0.66,1 0.66,0.33,1 This overall arrangement does not show exactly how the tasks are performed inside each subject. That’s why Table 12 shows in a precise way how the tasks are sort for instance on subject 1. The two repetitions are performed for each method consecutively and the action blocks and levels are the same for each method, so the subject was doing a total of 30 tasks per method, 6 tasks per action and 10 tasks per level. As could be noticed was not pretended to cover all the possibilities on one subject, but considering all.
56 prediction performance improvement by sensors mixture Table 12: Experiment performance for the first subject Method Action Level Rep. 3B2, B1, B3 1,0.33,0.66 1 B4, B5, B6 1,0.66,0.33 2 2B2, B1, B3 1,0.33,0.66 1 B4, B5, B6 1,0.66,0.33 2 4B2, B1, B3 1,0.33,0.66 1 B4, B5, B6 1,0.66,0.33 2 1B2, B1, B3 1,0.33,0.66 1 B4, B5, B6 1,0.66,0.33 2 5.3.2Modifications to DLR’s previous work All the modifications were applied on the PC GUI C# code. The main change was the implementation of the ensemble algorithm, apart of that all the necessary changes for the application of the experiment were done, for instance for the training stage, all the four methods must be applied (the original code just performed the Stack method). For the performance stage a text file with all the task variable sorts was read (generated with MATLAB), also the modifications were done to just apply the prediction of the right method, finally the needed GUI elements for the stage start and the number of task monitoring were created. Additionally just for a better user-interface interaction two face drawings were used (Figure 31), the green face was appearing when the subject could successfully perform a task, the yellow one appeared in case of task failure. These faces were already used on previous works on DLR. Finally for the user experience stage, were created four check boxes, one for each learning method, so the experimenter could check the one to be tested by the subject. The experiment final PC GUI is shown on Figure 32. (a) Success! face (b) Keep trying face Figure 31: Visual feedback face drawings
5.4 experiment 2 results 57 Figure 32: Modified PC GUI 5.4 experiment 2 results 5.4.1Learning method performance results After data collection, it was evaluated from different approaches. The analyses considered were: Complete data set analysis, level analysis, performance evolution across the complete set and performance evolution across learning method set. There were considered some variables for the performance measurement. These variables are calculated for each learning method and are explained in the next paragraphs. completion time: It refers to the seconds needed for each method completion. Was just considered the time of the outGoal and InGoal states, in other words, was measured just the time inside the 30 seconds margin, this because some subjects wanted to make a pause during the experiment (the pause was made just on the rest state, if a task was being performed the subject must finish it and then pause), so a total experiment time would not be an objective measurement. effectiveness percentage: This value is obtained from the ratio between the number of successful tasks and number of total tasks. The number of total tasks can vary depending the analysis performed, for instance the number of total tasks for an overall approach considering all the actions the total task are 30, while for an action are 6. This value represents the main goal of the experiment: which approach is having better successfulness ratio. But in fact the other two values could give some strength to methods that did not have a good effectiveness percentage.
58 prediction performance improvement by sensors mixture unsuccessful tasks ingoal rate: This value shows the relation between the number of unsuccessful task samples that were inside the inGoal state and the total samples part of an unsuccessful task (again just considering the 30 seconds part). In other words, how many samples of the entire unsuccessful set were inside the goal zone. This value represents a stability measurement, so the higher the value, the more unstable the method. Then a possible solution could be an output filtering to avoid this event and increase the method performance. 5.4.1.1Complete data set analysis In this analysis, were considered all movement levels. The data was divided by actions, but also there was an overall approach including all of them. For this analysis were considered the three measurement variables: Completion time, effectiveness percentage and unsuccessful tasks InGoal rate. First of all, in order to see how the subjects were performing the experiment, on Table 13 and on Figure 33 are shown the overall measurement variables. This overall representation will be the only one done by subject, as the information quantity is really big. From now the measurement variables for the other analysis will be done using the average of the twelve subjects. Actually this action is justified by the fact exposed on the previous section, the complete statistical distribution can be seen just from an all subjects point of view. On Table 14 and on Figure 34 are shown the average results of the complete data set analysis for each movement and the overall approach. Table 13: Overall experiment 2performance (Experiment completion time, successful tasks percentage and unsuccessful tasks InGoal rate) Completion Time Subj. 1 2 3 4 5 6 7 8 9 10 11 12 AVG±SD STACK 352.40 521.09 347.83 538.26 365.99 417.93 219.66 586.92 452.57 743.20 595.77 432.94 464.55±140.67 EMG 366.52 629.31 660.78 679.49 489.62 654.81 502.54 770.17 567.56 691.91 438.24 429.06 573.33±126.27 FSR 489.87 788.35 644.93 739.55 525.70 599.19 755.01 604.48 630.53 569.04 567.76 667.53 631.83±92.44 ENS 521.24 625.59 345.87 705.66 440.85 578.26 518.23 645.73 699.86 559.84 524.80 651.81 568.14±106.57 Successful Tasks Percentage Subj. 1 2 3 4 5 6 7 8 9 10 11 12 AVG±SD STACK 83.3 60 93.3 63.3 83.3 80 93.3 56.6 73.3 36.6 60 80 71.9±16.9 EMG 80 56.6 43.3 40 66.6 46.6 66.6 26.6 60 36.6 73.3 73.3 55.8±16.9 FSR 63.3 23.3 53.3 30 63.3 46.6 26.6 50 53.3 63.3 66.6 50 49.1±15 ENS 70 53.3 83.3 43.3 80 56.6 63.3 56.6 46.6 60 70 56.6 61.6±12.2 Unsuccessful Tasks InGoal Rate Subj. 1 2 3 4 5 6 7 8 9 10 11 12 AVG±SD STACK 0.112 0.044 0.069 0.056 0.034 0.106 0.039 0.027 0.084 0.080 0.049 0.094 0.066±0.029 EMG 0.171 0.060 0.114 0.146 0.163 0.080 0.038 0.092 0.097 0.084 0.123 0.065 0.103±0.042 FSR 0.051 0.007 0.045 0.015 0.004 0.035 0.006 0.016 0.029 0.092 0.023 0.012 0.028±0.025 ENS 0.035 0.031 0.202 0.024 0.089 0.139 0.052 0.060 0.053 0.092 0.150 0.043 0.081±0.056 From the results previously presented, the stack method had an average better completion time (just three subjects were not having stack method as the fastest). Actually completion time inside actions was not so different be-
5.5 experiment 2 discussion 65 Table 17: Overall average effectiveness percentage evolution across the experiment tasks Task repetitions 1-10 11-20 21-30 26-30 STACK 72.50±18.15 73.33±24.25 70.00±21.74 66.67±27.41 EMG 55.00±23.16 55.00±16.79 57.50±19.60 60.00±24.12 FSR 47.50±18.15 48.33±14.67 51.67±23.68 56.67±25.35 ENS 59.17±9.00 64.17±17.82 61.67±18.50 61.67±21.67 Figure 37: Overall average effectiveness percentage evolution across the experiment tasks better impressions on the subjects, while the ensemble learning method had the lowest values of the survey. Meanwhile on the post-experiment NASA TLX survey, as can be noticed on Table 19 in a complete subject way or in Figure 38 in an average representation, the experiment was demanding a neutral workload, being the effort one the highest demanding category, this fact is affecting directly to the EMG and ensemble learning methods as will be explained on the next section. Figure 38: Experiment 2workload percentage plot 5.5 experiment 2 discussion 5.5.1Experiment performance Evidently the multi-sensors methods were having a better performance compared with the single-sensors methods, accomplishing in this way the main hypothesis of the project stated on Chapter 1. But was not expected the higher quality in the stack method performance compared with the other
66 prediction performance improvement by sensors mixture Table 18: User experience survey results Stack Subject 123456789101112AVG±SD Realism 646355323 3 4 6 4.17±1.40 Stability 457465134 2 5 7 4.42±1.83 Smoothness 567673132 4 6 5 4.58±1.98 EMG Subject 123456789101112AVG±SD Realism 554445623 5 2 5 4.17±1.27 Stability 252344543 3 2 4 3.42±1.08 Smoothness 464575332 2 3 5 4.08±1.56 FSR Subject 123456789101112AVG±SD Realism 346244263 6 3 6 4.08±1.56 Stability 346354654 7 2 5 4.50±1.45 Smoothness 566474653 6 3 6 5.08±1.31 Ensemble Subject 123456789101112AVG±SD Realism 634255232 2 3 5 3.50±1.45 Stability 622164132 1 2 5 2.92±1.88 Smoothness 651274132 1 2 5 3.25±2.09 Table 19: Experiment 2NASA TLX workload percentages. ID 1 2 3 4 5 6 7 8 9 10 11 12 AVG Mental Demand 4.76 57.14 66.66 28.57 85.71 28.57 38.09 52.38 19.04 76.19 52.38 4.76 42.85 Physical Demand 19.04 61.9 71.42 52.38 90.47 80.95 71.42 66.66 52.38 52.38 61.9 71.42 62.69 Temporal Demand 61.9 57.14 66.66 47.61 52.38 52.38 52.38 52.38 23.8 76.19 38.09 4.76 48.8 Performance 33.33 66.66 71.42 71.42 38.09 52.38 47.61 66.66 42.85 71.42 71.42 28.57 55.15 Effort 76.19 57.14 80.95 61.9 80.95 85.71 66.66 66.66 71.42 71.42 61.9 76.19 71.42 Frustration 52.38 57.14 52.38 61.9 66.66 66.66 66.66 61.9 52.38 71.42 52.38 4.76 55.55 Overall WL 41.27 59.52 68.25 53.96 69.04 69.04 57.14 61.11 43.65 69.84 56.34 31.74 56.08
5.5 experiment 2 discussion 67 three methods, especially when the stack approach was the easiest implemented method from the two multi-sensors ones. The success of the stack method happened because the method was based on a bigger input space. Then the movement patterns have a higher possibility to be different from each other. If the EMG signals are not so different or are bad trained they will be always supported by the different patterns the FSR could generate, and the same the other way, if the FSR intermediate values are not differentiable from other movements, then are supported by the EMG ones. The main difference with ensemble learning is that the last one is training with predictions, so if one of the sensors is not giving good signals, then the prediction considered for stacking will be bad, and the ensemble learning will be also not good. Maybe it will be better than the EMG and FSR approaches, but not good enough compared with the stack approach. Even the ensemble learning could have a better performance (basing on the off-line analysis with the first experiment data), the long experiment performance threw some interesting limitations of this method. Since it was tested in the off-line analysis, ensemble learning apparently was inheriting some EMG prediction features, like the oscillating output signal behavior. The fatigue sensibility could not be noticed, as there were just 10 repetitions in the previous experiment. Another point to consider is the way the learning is done in this approach. As was previously defined, first it is trained in the same way as the other approaches, but for the input space construction for the third machine learning model the entire data set is considered. Then, what is happening in the rise, hold and fall states on the training stage, is affecting the ensemble learning. So the training should be really clean, without any mistakes, following the stimulus. What happened in the experiments, is that experienced users were performing a really good training, but the others training were varying. This fact is actually good as it is giving robustness to the experiment. The main feature that affects the training are the EMG impulses. When the subject performs a movement, in the rise part there was a high impulse on the EMG signal that after some seconds decreases almost to rest (Figure 11). Some users could keep the high amplitude of the EMG by tensing the movement, but some others could not, then the capture stage was performed in a really different amplitude compared with the previous high impulse. Furthermore, the repetitions performed were so low compared with the first experiment ones (3against 9), this could be also affecting the ensemble learning performance. However one of the implicit goals of the online experiment was to try in some way the robustness of the methods for real applications, following this line it is not practical for a user to perform 10 repetitions of the five actions just for training. Even though there was the phenomena showed on the Performance evolution across the tasks set section, where the stack method was not having a good enough performance on the first section of the experiment, must be considered, and not just for this but for all the analyses, the length of the task set used for the analysis. For instance, the total number of tasks performed by all the users per method was 360, the complete overall approach is consid-
68 prediction performance improvement by sensors mixture ering the entire set, but the complete action approaches are considering just 72 tasks per method, an overall level analysis is taking into account 24 ,the section evolution overall analysis was done over 90 tasks per method and finally the section evolution action analysis was just considering 18 tasks. In spite of this fact and basing on the overall performance section evolution, can be stated that the stack method needs some adaptation in order to have a considerable good performance, based on the bad performance showed on the first section of the task set. Without leaving aside the EMG and FSR methods, there is still pending the explanation about the behavior of these method’s predictions on the different levels. First of all EMG sensors were presenting really defined patterns. Even they were going weaker, when the muscle activation happened the patterns were completely different from each movement. On the other hand, FSRs also presented differentiable patterns but with an interesting behavior, each movement was activating in different intensities the FSR sensors, but most of them were activating almost the same sensors, in other words the shape on the radial plot was almost the same for each action, the only thing that was changing was the size(amplitude) of that shape. This behavior can be appreciated even in Figure 11 from the first experiment. On the FSR signal, the highest amplitude sensor was always the same for each action, of course with different amplitudes, while in the EMG the highest amplitude sensor was different for almost all the actions. That is why FSR had better performance in high levels, as their patterns were differentiable. The problem appeared on intermediate levels, where, for instance, an intermediate level of one movement could have similar shape with a less intense movement, so the prediction was not done properly. This characteristic could be even more evident due to position of the bracelet, closer than usual to the elbow. Summarizing, both multi-sensor learning approaches were better than the single-sensor ones. Ensemble learning could have a good performance, but it depends on the way the training is done, what is related with the user expertise and also could be related with the number of repetitions for training. Additionally, ensemble approach presents the drawback of fatigue sensibility, and unstable output (that could be fixed with by filtering it). Stack approach seems to be more robust and evidently with better performance, even there was the fact of bad performance when it was done first. 5.5.2User experience surveys Starting with the online survey, the results are supported by the ideas established in the first part of this discussion section. Considering that this survey was applied at the end of the experiment, after the 120 tasks, it is understandable that the EMG and ensemble methods were the worst evaluated, as they are influenced by the fatigue. Also the unstable output feature of both methods was reflected not just in the stability statement but also in the smoothness one. Additionally as the ensemble method is more sensible in intermediate levels compared with the EMG, some users interpreted this
5.5 experiment 2 discussion 69 fact as an unreal behavior. On the other hand the results obtained on the FSR and stack methods just complement the conclusions obtained since the first experiment analysis. About the workload survey, the main remark to do is the high effort demand, which is close to the fatigue on the EMG and ensemble methods, this survey is not showing anything new, but just support the statements already defined.
6 SOCIAL, ENVIRONMENTAL AND ECONOMICAL COMMITMENTS The scope of this and all the projects done in robotic prosthetics field, goes beyond a scientific research. They must have social, environmental and economical commitments so then they can be considered, along with the technical achievements, real life applications. In this chapter are presented the ways this project impacts the three fields exposed. 71
72 social,environmental and economical commitments 6.1 social commitment As mentioned on the thesis introduction, one of the motivations of the robotic prosthetics researches is the life quality improvement of the amputee people, specially when the hand is a limb used for precise and daily life interaction tasks. The statistics show how the patients are affected in an emotional way. If the researches results are recovering at least some of the amputees usual tasks and activities, then these works are going on the right direction, and they are supported by a humanitarian cause. 6.2 environmental commitment The work done on this project was not presenting any menace to the environment, moreover was not considered as a potential danger project according the Directive 2011/92/EU of the European Parliament and of the Council on the assessment of the effects of certain public and private projects on the environment [25]. Although the project is not dangerous with the environment, it is taking care of it. As an example, the battery used for the wireless device is a rechargeable LiPo one, which can work, according to the provider, for a year. A considerable lifespan difference compared with the disposal alkaline batteries. Even if the LiPo life cycle finishes, it is possible to send it to a recycle batteries collector. 6.3 economical commitment Even though the work done in the DLR is focused on a high-technology device, which normally is not cheap, also focuses on a potential reduction of the device price. The main example of this commitment is the interest to research on new sensing methods different from the sEMG, not just for the performance improvement, but for the cost reduction (as mentioned on Chapter 2, each sEMG sensor costs around 150 e). In this way the possible future devices for real life application could be affordable to the people whom need it. As part of this section, an estimated cost analysis was done. It is important to say that this analysis is oriented just for this project research development, were not included device design, neither previous or parallel works costs. 6.3.1Costs In order to have a total cost approach (Table 23), the cost calculation was divided in four different categories: hardware (Table 20), software (Table 21), human resources (Table 22) and indirect costs. However, it is important to make some remarks for each of the categories for a better understanding. All the costs calculations are subject to the Spanish and the European Union legislation, as the master’s degree university is located on these country and political-economical union. For the hardware and software costs,
6.3 economical commitment 73 was considered the amortized amount corresponding to the weeks of use for each element, there was applied the constant amortization approach, as the depreciation across time is considered as continuous and homogeneous. As lifespan of some elements is undefined or unknown, were considered for the lifetime the maximum allowed for tax deductions in Spain according to the 27/2014 Law about the corporate tax. This law is allowing for instance a maximum lifetime of 10 years for electronic devices, 8years for IT devices and 6years for software. On the hardware costs were considered an approximate cost of the wireless device for a usage approach and not for a construction one, as this last task was not part of this project. Furthermore as the battery has a lifespan of 1year [2], was considered as a separated element. All the elements of the wireless device were considered as electronic devices. The PC used was considered as IT device for the amortization calculation. For the human resources was considered an average engineer salary of 35 000 eper year, also there was just considered one person working on the project (the thesis author), even there were actually supervisors and collaborators contributing to the project accomplishment. Considering a full time work (1800 billable hours per year), then the cost for each worked hour is 19.44 e. This amount was considered for the human resources costs, as the project tasks duration considered were defined by hours as the time unit. Finally as this thesis is a research project, it is difficult to determine indirect costs involved on the development. In order to help to the definition of those costs, every country establishes indirect costs rate that could be applied on research projects. In the case of the European Union countries, the Horizon 2020 framework programme for research and innovation, proposes an indirect cost flat rate of 25% of the direct costs [7]. As a final consideration the Spanish VAT (21%) was applied to get the project final estimated cost, which amounts to 28536.03 e. Table 20: Hardware resources costs Hardware resources costs Unit cost (e) Units Lifetime (years) Amortization (e) Wireless Device sEMG sensor 150.00 10 10 51.92 FSR 5.00 10 10 1.73 Others (incl. electronics board, case, bracelets, housings) 110.00 1 10 3.80 Battery 19.00 1 1 6.57 PC 195.00 1 8 12.18 TOTAL 479.00 - - 76.20
74 social,environmental and economical commitments Table 21: Software resources costs Software Costs Unit Cost (e) Units Lifetime Amortization (e) MATLAB Standard 2000.00 1 6 128.20 Microsoft Visual Studio Express 0.00 1 -0.00 Xamarin Studio 0.00 1 -0.00 WinShell 0.00 1 -0.00 ShareL A T EX0.00 1 -0.00 TOTAL 2000.00 - - 128.20 Table 22: Human resources costs Human resources costs Task Time (h) Cost (e) Literature review 120 2332.80 Software and device familiarization and tests 136 2643.84 Experiment 1 Development 64 1244.16 Test 32 622.08 Implementation 10 194.40 Results analysis 46 894.24 Experiment 2 Development 274 5326.56 Test 40 777.60 Implementation 24 466.56 Results analysis 30 583.20 Documentation 184 3576.96 TOTAL 960 18662.40 Table 23: Total costs Total costs Concept Cost (e) Hardware 76.20 Software 128.20 Human resources 18662.40 Total 18866.80 Indirect costs (25%) 4716.70 Subtotal 23583.50 VAT (21%) 4952.53 TOTAL 28536.03
SUS Please cross the cell that better fits with your device experience. (Leave the total column empty) NASA TLX How mentally demanding was the task? Very Low Neutral Very High How physically demanding was the task? Very Low Neutral Very High How hurried or rushed was the pace of the task? Very Low Neutral Very High How successful were you in accomplishing what you were asked to do? Perfect Neutral Failure How hard did you have to work to accomplish your level of performance? Very Low Neutral Very High How insecure, discouraged, irritated, stressed, and annoyed were you? Very Low Neutral Very High Strongly disagree Strongly Agree Total 1 2 3 4 5 I felt comfortable with the device I found the device unnecessarily complex I thought the device was easy to use I think that I would need the support of a technical person to be able to use this device I found the various functions in this system were well integrated I thought there was too much inconsistency in this device I would imagine that most users would learn to use this device very quickly. I found the device very cumbersome to use I felt very confident using the device. I needed to learn a lot of things before I could get going with this device.
Travis Survey Step 1: Read over the following list of words. Considering the device you have just used, tick those words that best describe your experience with it. You can choose as many words as you wish. o Unpredictable o Trustworthy o Easy to use o Inadequate o Comfortable o Convenient o Simple o Efficient o Innovative o Intuitive o Too technical o Effortless o Poor quality o Satisfying o Complex o Expected o Meaningful o Awkward o Distracting o Usable o Incomprehensible o Ordinary o Creative o Fast o Secure o Non-standard o Attractive o New o Comprehensive o Hard to Use o Accessible o Insecure o Impressive o Effective o Clear o Predictable o Stimulating o System-oriented o Motivating o Time-consuming o Professional o Friendly o Busy o Useful o Stable o Credible o Engaging o Fun o Slow o High quality o Unconventional o Sophisticated o Ambiguous o Understandable o Difficult o Confusing o Powerful o Rigid o Inconsistent o Intimidating o Ineffective o Frustrating o Advanced o Boring o Unattractive o Consistent o Contradictory o Stressful o Illogical o Reliable o Irrelevant o Time-saving o Familiar o Organised o Painful Step 2: Now look at the words you have ticked. Circle five of these words that you think are most descriptive of the product and write a simple reason about your decisions. Word Reason 1. 2. 3. 4. 5.
Learning Approach User Experience APPROACH 1 How real is the hand model movement? Unreal Moderate Real How stable is the hand model movement? Completely unstable Moderate Completely stable How smooth is the hand model movement? Low Moderate High APPROACH 2 How real is the hand model movement? Unreal Moderate Real How stable is the hand model movement? Completely unstable Moderate Completely stable How smooth is the hand model movement? Low Moderate High APPROACH 3 How real is the hand model movement? Unreal Moderate Real How stable is the hand model movement? Completely unstable Moderate Completely stable How smooth is the hand model movement? Low Moderate High APPROACH 4 How real is the hand model movement? Unreal Moderate Real How stable is the hand model movement? Completely unstable Moderate Completely stable How smooth is the hand model movement? Low Moderate High
BIBLIOGRAPHY [1] Ethem Alpaydin. Introduction to Learning Machine. Second. The MIT Press, 2010, p. 487. [2] Touch Bionics. i-limb ultra ™ultra Clinician Manual.2013.url:http : / / www . touchbionics . com / sites / default / files / i - limb _ultra _ clinician_manual_issue._2.pdf. [3] John Brooke. “Usability Evaluation in Industry.” In: ed. by Bernard A. Weerdmeester Patrick W. Jordan Bruce Thomas and Ian L. McClelland. Taylor & Francis, 1996. Chap. SUS: A "quick and dirty" usability scale, pp. 189–194. [4] M. C. Carrozza, B. Massa, S. Micera, M. Zecca, and P. Dario. “A "Wearable" Artificial Hand for Prosthetics and Humanoid Robotics Applications.” In: Proceedings of the 2001 IEEE-RAS International Conference on Humanoid Robots.2001. [5] Cheng-Hung Chen. “Hybrid Control Strategies for Smart Prosthetic Hand.” PhD thesis. Idaho State University, 2009. [6] Amputee Coalition. Limb Loss in the U.S.A. Web Page Infographic. 2016. url:http : / / www . amputee - coalition . org / wp - content / uploads / 2016/04/LLAM-Limb-Loss-in-the-USA-Web.pdf. [7] European Comission. Horizon 2020, The New EU Framework Programme for Research and Innovation. Informative presentation. 2013.url:http: //ec.europa.eu/research/horizon2020/pdf/press/horizon2020- presentation.pdf. [8] Mathilde Connan, Eduardo Ruiz Ramírez, Bernhard Vodermayer, and Claudio Castellini. “Assessment of a wearable force- and electromyography intent-detection system for prosthetic myocontrol.” In: Frontiers in Neurorobotics (2016). under review. [9] William Craelius. “The Bionic Man: Restoring Mobility.” In: Science 295 (2002), pp. 1018–1021.doi:10.1126/science.295.5557.1018. [10] Thomas G. Dietterich. “Ensemble Learning.” In: The Handbook of Brain Theory and Neural Networks. Second. 2002. [11] Richard L. Drake, A. Wayne Vogl, and Adam W. M. Mitchell. Gray’s anatomy for students. Second. Churchill Livingstone, 2010,650 to 755. [12] Yinfeng Fang, Nalinda Hettiarachchi, Dalin Zhou, and Honghai Liu. “Multi-modal Sensing Techniques for Interfacing Hand Prostheses: A Review.” In: IEEE Sensors Journal 15.11 (2015), pp. 6065–6076.doi:10. 1109/JSEN.2015.2450211. [13] Arjan Gijsberts and Giorgio Metta. “Real-time model learning using Incremental Sparse Spectrum Gaussian Process Regression.” In: Neural Networks (2012). doi:10.1016/j.neunet.2012.08.011. 85
86 Bibliography [14] Arjan Gijsberts, Rashida Bohra, David Sierra González, Alexander Werner, Markus Nowak, Barbara Caputo, Maximo A.Roa, and Claudio Castellini. “Stable myoelectric control of a hand prosthesis using non-linear incremental learning.” In: Frontiers in Neurorobotics 8(2014). doi:10.3389/ fnbot.2014.00008. [15] A S Jain and Douglas P H Robinson. Synopsis of Causation, Upper Limb Amputation. Ministry of Defence (UK). 2008. [16] Ning Jiang, Strahinja Dosen, Klaus-Robert Müller, and Dario Farina. “Myoelectric Control of Artificial Limbs-Is there a Need to Change Focus?” In: IEEE Signal Processing Magazine (2012), pp. 148–152.doi: 10.1109/MSP.2012.2203480. [17] J C K Lai, M P Schoen, A Perez Garcia, D S Naidu, and S W Leung. “Prosthetic devices: challenges and implications of robotic implants and biological interfaces.” In: Proceedings of the Institution of Mechanical Engineers. Vol. 221.2007, pp. 173–183.doi:10.1243/09544119JEIM210. [18] Maurice LeBlanc. "Give Hope - Give a Hand" The LN-4Prosthetic Hand. Lecture slides for the Prespectives in Assistive Technology course. Stanford University. 2011.url:https://web.stanford.edu/class/engr110/ 2011/LeBlanc-03a.pdf. [19] Joan Lobo-Prat, Peter N Kooren, Arno HA Stienen, Just L Herder, Bart FJM Koopman, and Peter H Veltink. “Non-invasive control interfaces for intention detection in active movement-assistive devices.” In: Journal of NeuroEngineering and Rehabilitation 11.1(2014), p. 168.doi: 10.1186/1743-0003-11-168.url:http://dx.doi.org/10.1186/1743- 0003-11-168. [20] R. Merletti, A. Botter, C. Cescon, M.A. Minetto, and T.M.M. Vieira. “Advances in surface EMG: Recent progress in clinical research applications.” In: Critical reviews in biomedical engineering 38.4(2011), pp. 347– 379. [21] R. Merletti, M. Aventaggiato, A. Botter, A. Holobar, H. Marateb, and T.M.M. Vieira. “Advances in surface EMG: Recent progress in detection and processing techniques.” In: Critical reviews in biomedical engineering 38.4(2011), pp. 305–345. [22] NASA. NASA TASK LOAD INDEX (TLX) v 1.0Paper and Pencil Package. Human Performance Research Group, NASA Ames Research Center. Moffett Field, California, 1986. [23] D. Subbaram Naidu, Cheng-Hung Chen, Alba Perez, and Marco P. Schoen. “Control Strategies for Smart Prosthetic Hand Technology: An Overview.” In: 30th Annual International IEEE EMBS Conference.2008. [24] Christian Nissler, Nikoleta Mouriki, and Claudio Castellini. “Optical Myography: Detecting Finger Movements by Looking at the Forearm.” In: Frontiers in Neurorobotics 10.3(2016). issn:1662-5218.doi:10.3389/ fnbot.2016.00003.url:http://www.frontiersin.org/neurorobotics/ 10.3389/fnbot.2016.00003/abstract.
Bibliography 87 [25] European Parlament and Council of the European Union. Environmental Impact Assessment (EIA) Directive (2011/92/EU). Official Journal of the European Union. Amended on April 2014.2011. [26] Eric C. Polley and Matk J. van der Laan. “Super Learner in Prediction.” In: U.C. Berkeley Division of Biostatistics Working Paper Series. University of California, Berkeley, 2010. [27] Institute for Quality and Efficiency in Health Care. How does the hand work? https://www.informedhealth.org/how-does-the-hand-work. 2223.en.html. [Online; accessed August 20th, 2016]. 2010. [28] Ali Rahimi and Ben Recht. “Random Features for Large-Scale Kernel Machines.” In: Advances in neural information precessing systems. 2007, pp. 1177–1184. [29] Vikram Ravindra and Claudio Castellini. “A comparative analysis of three non-invasive human-machine interfaces for the disabled.” In: Frontiers in Neurorobotics 8(2014). doi:10.3389/fnbot.2014.00024. [30] Martin Sewell. Ensemble Learning. Tech. rep. UCL Department of Computer Science, 2011. [31] David Sierra González and Claudio Castellini. “A realistic implementation of ultrasound imaging as a human-machine interface for upperlimb amputees.” In: Frontiers in Neurorobotics (2013). doi:10 . 3389 / fnbot.2013.00017. [32] Erin Strait. Prosthetics in Developing Countries. Prosthetic Resident Paper (American Academy of Orthotists & Prosthetists). 2006. [33] Freek Stulp and Oliver Sigaud. “Many Regression Algorithms, One Unified Model-A Review.” In: Neural Networks 69 (2014), pp. 60–79. doi:10.1016/j.neunet.2015.05.005. [34] David Travis. Measuring satisfaction: Beyond the usability questionnaire. http://www.userfocus.co.uk/articles/satisfaction.html. [Online; accessed June 10th, 2016]. 2008. [35] Richard F. ff. Weir. “Design of artificial arms and hands for prosthetic applications.” In: Standard Handbook of biomedical engineering and design. McGraw-Hill, 2004. [36] Michael Winiger, Nam-Hun Kim, and William Craelius. “Pressure signature of forearm as predictor of grip force.” In: Journal of Rehabilitation Research and Development 45.6(2008). [37] David H. Wolpert. “Stacked Generalization.” In: Neural Networks 5 (1992), pp. 241–259. [38] Zehn G Xiao and Carlo Menon. “Towards the development of a wearable feedback system for monitoring the activities of the upper-extremities.” In: Journal of NeuroEngineering and Rehabilitation 11.2(2014). doi:10 . 1186/1743-0003-11-2.
88 Bibliography [39] Loreda Zollo, Stefano Roccella, Eugenio Guglielmelli, M. Chiara Carozza, and Paolo Dario. “Biomechatronic Design and Control of an Anthropomorphic Artificial Hand for Prosthetic and Robotic Applications.” In: IEEE/ASME Transactions on Mechatronics 12.4(2007), pp. 418–429.