<<

Tool-Assisted Humanoid Locomotion

Dissertation

Presented in Partial Fulfillment of the Requirements for the Degree Doctor of Philosophy in the Graduate School of The Ohio State University

By

Hongfei Wang, B.S.

Graduate Program in Electrical and Computer Engineering

The Ohio State University

2016

Dissertation Committee:

Professor Yuan F. Zheng, Advisor Professor David E. Orin Professor Vadim I. Utkin c Copyright by

Hongfei Wang

2016 Abstract

Biped locomotion has been an active research area since the 1970s. With the advent of advanced digital signal processing, high speed computing, high frequency electronics and a powerful actuation, biped (such as Asimo by Honda, by and HUBO by KAIST, etc.) can reliably walk on level surfaces with handsome speed. Recent research has been focused on improving energy effi- ciency and stability performance on different terrain. However, when the terrain is challenging with slippery, unevenness and deformation, stable biped walking places a high requirement on the robot’s power system. Until now, only the hydraulic sys- tem on Atlas is proved powerful enough to correct the disturbance brought by rough terrain. But for DC motorized , the tolerance on terrain roughness is usually limited due to limited power. The objective of this dissertation is to exploit a practical way to improve the traversing capabilities of the DC motorized humanoid robot without too many modifications to its existing design.

On the other hand, medical rehabilitative robots have been widely studied in recent years. Beneficial from the mass production of robot modules and accessories, personal medical robots have become increasingly affordable. One crucial category of rehabilitative robots is the lower-extremity exoskeleton, which is designed to help paraplegics recover walking. The design of such exoskeletons (Rewalk, SuitX etc.) is to attach a pair of motorized legs onto a human and recover the leg functionalities.

ii However, such an exoskeleton needs to bear the body weight and to prevent it from collapsing. Consequently, the motors need to be powerful and the battery capacity needs to be large. To address these issues, we propose two new types of robotic devices for the rehabilitation of paralyzed people: the swing-through exoskeleton and the robotic walker Sparrow.

The two rehabilitative robots we proposed are designed to reduce the power con- sumption in the corresponding tool-assisted locomotion. Different from the prevail- ing lower-extremity exoskeletons, we focus on the cooperation between robots and the human upper body. Through utilizing the human biochemical energy, the power requirement for robots is lowered. Analysis and simulation on the two types of loco- motion are covered in the dissertation. Moreover, a prototype of the robotic walker and preliminary experiments are presented.

In addition, this dissertation discusses robotic sensing using the inertial measure- ment unit (IMU). For the humanoid robot, an IMU is indispensable for whole-body motion planning. It provides the relative position and orientation between the robot and the environment. While for our proposed rehabilitative robots, the human and robot interaction (HRI) is the creative aspect. The IMU will provide sensing infor- mation on the human upper body. Then the rehabilitative robots can decide how to cooperate accordingly to fulfill the locomotion. A preliminary experiment on human motion detection is implemented. Inspired by the DARPA Robotics Challenge, we also perform degradation analysis of the DC motor due to radiation. Since the DC motor is the most common actuation in humanoid robots, we study the potential motion distortion brought by radiation. This will provide insight on designing robust locomotion in the irradiated environment.

iii This is dedicated to my parents

iv Acknowledgments

I would like to take this opportunity to express my deep gratitude to my advisor

Dr. Yuan F. Zheng, for his guidance and caring of my research. He is always there to offer insightful advices and guide me to the prospective directions. Moreover, he sets me an example to be positive and aggressive in life. During my Ph. D. study, I feel so lucky to learn so much from Dr. Zheng, which will benefit my whole life.

A special thank goes to Dr. David E. Orin and Dr. Vadim I. Utkin for serving on my candidacy and defense committees and providing invaluable advice to my research.

I also extend my gratitude and appreciation to Dr. Manoj Srinivasan, Dr. Dong Xuan,

Dr. Wei Zhang and Dr. Hooshang Hemami, who have offered help during my study at OSU.

Many thanks will go to my colleagues at The Ohio State University. I would like to thank Dr. Siyang Cao, Dr. Yiping Liu, Mr. Shimeng Li, Mr. Sihao Ding,

Mr. Qiang Zhai, Mr. Fan Yang, Ms. Ying Li, Ms. Ankita Sikdar for creating an excellent atmosphere for doing research. Moverover, many thanks go to Mr. Bo Liu,

Mr. Jingyin Gao, Mr. Shan Lu, Mr. Qi Hao, Dr. Zhicao Feng and Ms. Zixuan Guo for the friendship and shining memories over these years.

In addition, I am grateful to the DASL group in Drexel University led by Dr. Paul

Oh, who is now a professor at University of Nevada, Las Vegas. He was leader of our team DRC-HUBO in the DARPA Robotics Challenge (DRC). As a member of

v the team, I was able to research and experiment on the HUBO platform and get to know other researchers and state-of-the-art robots. Also, I would like to thank

Dr. Youngbum Jun and Dr. Kiwon Sohn for their help during my stay at Drexel

University.

Special thanks will go to the Casey’s, for their caring and support from the very time I landed in USA. Finally, I would like to thank my parents for their love and all they have done for me.

vi Vita

December 29, 1988 ...... Born - Zhumadian, Henan, China

2010 ...... B.S. Electronics & Information Eng., Beijing Institute of Technology, Beijing, China 2010-2011 ...... Graduate Research Associate, Electrical & Computer Engineering Beijing Institute of Technology Beijing, China 2011-present ...... Graduate Research Associate, Electrical & Computer Engineering The Ohio State University Columbus, Ohio, U.S.A.

Publications

Research Publications

H. Wang, S. Li and Yuan F. Zheng, “DARPA Robotics Grand Challenge Participation and Ski-Type Gait for Rough-Terrain Walking,” Engineering, vol. 1, no. 1, pp. 36-45, March 2015.

H. Wang and Yuan F. Zheng, “Crutch-Assisted Swing-Through Exoskeleton,” Dy- namic Walking, July 2015.

H. Wang, S. Li, Yuan F. Zheng and P. Oh, “Ski-type Self-balance Humanoid Walking for Rough Terrain,” IEEE Intl. Conf. Robotics and Automation (ICRA), vol. 2, pp. 1620-1626, 2015.

vii H. Wang, Yuan F. Zheng, Y. Jun and P. Oh, “DRC-Hubo Walking on Rough Ter- rains,” IEEE Intl. Conf. Technologies for Practical Robot Applications (TePRA), pp. 1-6, 2014.

Yuan F. Zheng, H. Wang and et.al., “Humanoid Robots Walking on Grass, Sands and Rocks,” IEEE Intl. Conf. Technologies for Practical Robot Applications (TePRA), pp. 1-6, 2013.

H. Wang, Shimeng Li, Yuan F. Zheng and L. Cao, “Analysis of Radiation Effects on DC Motorized Manipulator,” IEEE Intl. Conf. Control, Automation and Robotics (ICCAR) (in press), April 2016.

Shimeng Li, H. Wang, Yuan F. Zheng and L. Cao, “Performance Degradation Es- timation of Robot in Highly Radioactive Environment: Servo Motor Control,” Intl. Conf. Mechanical, System and Control Engineering (ICMSC) (in press), May 2016.

Fields of Study

Major Field: Electrical and Computer Engineering

Studies in: Robotics and Control Systems Signal Processing and Communication Systems

viii Contents

Page

Abstract...... ii

Dedication...... iv

Acknowledgments...... v

Vita...... vii

List of Tables...... xii

List of Figures...... xiii

1. Introduction...... 1

1.1 Fundamentals...... 3 1.1.1 Homogeneous transformation...... 3 1.1.2 Forward and inverse kinematics...... 5 1.1.3 Forward and inverse dynamics...... 6 1.1.4 Stability margin...... 6 1.1.5 DC motorized joint...... 7 1.1.6 Position sensing: encoders...... 8 1.1.7 Orientation sensing: IMU...... 9 1.2 Related Works...... 11 1.2.1 Tool-assisted locomotion in humanoid robots...... 11 1.2.2 Tool-assisted locomotion in human beings...... 12 1.3 Organization of this Dissertation...... 16

2. Ski-Type Gait for Humanoid Robot...... 18

2.1 Introduction...... 18 2.2 Birth of Ski-Type Gait...... 20

ix 2.2.1 Core strategies...... 20 2.2.2 Cane-assisted walking for human beings...... 23 2.2.3 Ski-Type gait...... 26 2.3 Stability Analysis...... 28 2.3.1 Assumptions in the modeling...... 28 2.3.2 Step sequence choice...... 29 2.4 Force/Torque Analysis...... 33 2.4.1 Foot pedal contact model...... 34 2.4.2 The parameters for analyzing the force/torque distribution. 35 2.4.3 Relationship of friction and joint torques...... 36 2.4.4 Determining the joint torques...... 39 2.4.5 Optimize the lower body energy consumption...... 39 2.5 Implement of Ski-Type Gait...... 43 2.5.1 Variables in cane length selection...... 43

2.5.2 Relationship between Lcane and Lstep ...... 45 2.6 Simulation and Experiment...... 47 2.7 Conclusion...... 49

3. Rehabilitative Robots for Human Tool-Assisted Locomotion...... 50

3.1 Introduction...... 50 3.2 Swing-Through Exoskeleton...... 51 3.2.1 Review of passive dynamic walking...... 51 3.2.2 Birth of swing-through exoskeleton...... 53 3.2.3 Modeling and simulation...... 55 3.2.4 Prototype design and preliminary experiments...... 58 3.3 Sparrow: the Robotic Walker...... 61 3.3.1 Birth of the Sparrow...... 61 3.3.2 Prototype design and experiment...... 63 3.4 Conclusion...... 68

4. IMU sensing...... 69

4.1 Introduction...... 69 4.2 Dynamic Analysis of Human Motions...... 70 4.2.1 SSP of different activities...... 73 4.2.2 Dynamic analysis...... 75

4.2.3 Relationship of θUB with L(θ) and Vx ...... 76 4.2.4 Impact in the transition between SSP and DSP...... 77 4.2.5 Identify the dynamic differences...... 79 4.3 Human Behavior Detection...... 80 4.3.1 Sensing principles using mobile phone...... 80

x 4.3.2 Distinguish static and dynamic states...... 82 4.3.3 Experimental Results...... 85 4.4 Conclusion...... 86

5. Radiation Effects on DC Motorized Joint...... 87

5.1 Introduction...... 87 5.2 DC Motor Variation after Radiation...... 88 5.2.1 DC motor model without load...... 88 5.2.2 Flux density (B-field) damage...... 89

5.2.3 Change of Ke and Kτ ...... 90 5.2.4 DC motor transfer function...... 91 5.3 Manipulator Motion Performance...... 93 5.3.1 Position control...... 93 5.3.2 Manipulator motion...... 97 5.4 Conclusion...... 103

6. Contributions and Future Work...... 104

Bibliography...... 106

xi List of Tables

Table Page

4.1 Experiment result of human behavior detection...... 86

5.1 U12M4T disk servo motor specifications...... 89

5.2 Mean and quantiles of motor parameters after radiation...... 94

xii List of Figures

Figure Page

1.1 Denavit-Hartenberg convention [1]...... 4

1.2 PWM illustration [2]...... 8

1.3 A 2-channel encoder installed on geared motor shaft...... 8

1.4 An IMU chip...... 10

1.5 Visualization of IMU sensing...... 10

1.6 Crawling iCub (left two pictures) and (right two pictures) [3].. 12

1.7 Pole vault motion adopted by human [4]...... 13

1.8 The enhancing exoskeleton: BLEEX [5]...... 13

1.9 Rehabilitative lower extremity exoskeletons: Rewalk (left)[6] and SuitX (right)[7]...... 15

2.1 HUBO2 (left) and DRC-HUBO (right)...... 20

2.2 HUBO2 forward quadruped (left) and DRC-HUBO backward quadruped (right)...... 22

2.3 Top view of one cane assisted walking showing variables...... 24

2.4 Stability performance of one cane assisted walking...... 25

2.5 Ski-Type walking concept...... 26

xiii 2.6 Ski-Type modeling in top view...... 28

2.7 Ski-Type gait of Crawl-1...... 31

2.8 Ski-Type gait of Crawl-2...... 32

2.9 Variables for force/torque analysis...... 34

2.10 Hard point contact modeling for the foot pedal...... 35

F F 2.11 Relation of joint torques and (fx , fz )...... 37

2.12 Side view for lower body torque optimization...... 41

2.13 Upper and lower extremity energy consumption under different Ski- Type configurations...... 42

2.14 Variables for cane design...... 44

2.15 Relationship between Lcane and Lstep under three configurations.... 45

2.16 HUBO Ski-Type gait on flat surface in OpenRAVE...... 47

2.17 HUBO biped gait on grass...... 47

2.18 HUBO Ski-Type gait on grass...... 48

3.1 Swing-through gait with crutches [8]...... 54

3.2 Three-link humanoid model for swing-through gait...... 55

3.3 Joint angles in swing phase (left) and rotation phase (right)..... 56

3.4 Zoomed in view of foot pedal in swing-through motion...... 57

3.5 Ground reaction forces in swing-forward phase...... 58

3.6 Knee joint of the swing-through exoskeleton...... 59

3.7 Passive damping strut across ankle...... 60

xiv 3.8 Robotic walker with passive pulling mechanism...... 64

3.9 Front view of Sparrow...... 66

3.10 Back view of Sparrow...... 66

3.11 Electronic structure and associated control scheme of Sparrow.... 67

4.1 Inverse pendulum model of human behavior...... 71

4.2 Illustration of three activities...... 73

4.3 Dynamic analysis ofz ˙,z ¨ and Fz ...... 75

4.4 θUB under different initials...... 77

4.5 Motion sensing using cellphones...... 81

4.6 The half sinusoid shape...... 83

4.7 Data before correlation...... 83

4.8 Correlation result for dynamic states...... 84

5.1 Marginal distributions of motor parameters...... 92

5.2 Scatter plot showing pairwise correlation of Ke, a and b ...... 93

5.3 DC motorized joint structure...... 94

5.4 Step response with θref = 1 rad...... 96

◦ 5.5 Step response with θref = 1 ...... 96

5.6 PUMA-500 manipulator in our lab...... 98

5.7 Simplified manipulator model...... 98

5.8 Desired angular position of θO, θA and θB ...... 99

5.9 Angle of joint O before and after radiation...... 100

xv 5.10 Steady state error of joint O before and after radiation...... 100

5.11 Angle of joint A before and after radiation...... 101

5.12 Steady state error of joint A before and after radiation...... 101

5.13 Angle of joint B before and after radiation...... 102

5.14 Steady state error of joint B before and after radiation...... 102

xvi Chapter 1: Introduction

Humanoid locomotion is the motion performed by a subject in the humanoid shape. It can be a human being, a humanoid robot or a hybrid system consisting of both a human being and robotic devices. Biped locomotion is the most common type of humanoid locomotion in daily practice. However, in case of some challenging terrain or people suffering injuries, the introduction of certain tools to help with the locomotion is the most popular approach. The tools utilized can provide more contact points with the ground to render the possibilities of dealing with these challenges.

The tool-assisted locomotion in human beings appears in many cases. In mountain climbing, the terrain is usually rugged and bears characteristics of slippery and defor- mation. Biped walking in this case may not provide satisfying stability performance.

Then trekking poles are introduced to extend the arms and enable ground contacts from the upper body. Locomotion with these additional contacts can be viewed as a variety of quadruped gait. Thus falling is less possible to happen. Another case is when a human carries heavy loads. With the help of a stick, a closed-chain system ex- ists no matter one leg or the stick is in the air. Consequently, the load redistribution is possible between upper and lower bodies to alleviate the high torque required in legs.

Also for people with impaired visual capabilities, a stick can help with the detection of terrain conditions. On the other hand, tools are helpful in case of human injuries.

1 When the leg cannot provide reliable contact with the ground, auxillary crutches can compensate the walking capabilities of the injured people. The synchronized crutches can be viewed as a substitute of the injured leg to provide contact with the ground.

As for humanoid robots, the focus has been primarily on biped locomotion. The prevailing approach is to design gaits and controllers for stable and natural walking [9].

Few works have been done to implement tool-assisted locomotion on humanoid robots.

The only related research is the crawling motion on small-size humanoid robots like

NAO [3, 10]. With hands on the ground, the resulting quadruped gait provides im- proved stability. However, such crawling motion is not suitable for full-size humanoid robots like ASIMO [11] or HUBO [12]. The heavy weight of such robots can cause po- tential damage to the mechanical components. Enlightened by human walking with trekking poles, introducing two canes held by the hands for assistance is believed to be advantageous for humanoid robots especially in rough terrain walking. In [13], we call this Ski-Type gait and studied the stability improvement. Canes are designed and comparison experiments with biped gaits are performed on grass terrain. The results validate the benefits of introducing tools in improving stability.

Lower-extremity prostheses and exoskeletons can also be categorized as tools to provide additional contact with the ground. Such prostheses are used to replace the missing leg and recover the original reliable contact with the ground. Lower- extremity exoskeletons are designed for people with limited control or strength in their legs. Suffering from the spinal cord injury, the paraplegic patients are incapable of controlling their lower body. Exoskeletons are attached to legs and thighs to make them move.

2 Since motion planning and designing robotic tools are the main parts of this dissertation, the basics of motion planning and robotic components are introduced in this chapter.

1.1 Fundamentals

1.1.1 Homogeneous transformation

A robotic system usually consists of multiple links. Each link can be viewed as a rigid body. The connection between links is called a joint, which enables the relative motion of the links connected to it. To represent the relative position and orientation between links, we use the homogeneous transformation for description.

For each link, we define a coordinate system attached onto it. The relationship of any two three-dimensional coordinate system can be characterized by a 4 × 4 matrix

H.   nx sx ax dx   R d ny sy ay dy H = =   (1.1) 0 1 nz sz az dz  0 0 0 1 The translation of the origins of the two coordinate systems are denoted by vector d and the rotational relation is denoted by rotation matrix R. Based on the axis and angle of rotation, we have the following rotation matrix:

1 0 0   cosθ 0 sinθ cosθ −sinθ 0 Rx(θ) = 0 cosθ −sinθ ,Ry(θ) =  0 1 0  ,Rz(θ) = sinθ cosθ 0 0 sinθ cosθ −sinθ 0 cosθ 0 0 1 (1.2)

Usually the rotational relationship is not just one step rotation around a certain axis. In this case, we need apply the chain rule to get R. Suppose we rotate θ around

X-axis in coordinate A to get coordinate B, then rotate φ around Z-axis in coordinate

3 B to get coordinate C. The rotation matrix from A to C is:

A RC = Rx(θ)Ry(φ) (1.3)

The choices of axes around which to calculate the rotation angles are not unique.

Any combination of X,Y,Z as long as the circular neighboring are not the same. For example, XZZ is not a legal choice.

Since there are infinite number of ways to attach a coordinate onto a link, the

Denavit-Hartenberg convention is used formatting the way of attaching coordinate shown in Fig. 1.1. The parameters are used to define the following transforms:

Figure 1.1: Denavit-Hartenberg convention [1]

1 0 0 0 0 cosai−1 −sinai−1 0 Hx(ai−1) =   (1.4) 0 sinai−1 cosai−1 0 0 0 0 1

4   cosθi −sinθi 0 0 sinθi cosθi 0 0 Hz(θi) =   (1.5)  0 0 1 0 0 0 0 1 1 0 0 0  0 1 0 0  Hd(di) =   (1.6) 0 0 1 di 0 0 0 1   1 0 0 ai 0 1 0 0  Hd(ai) =   (1.7) 0 0 1 0  0 0 0 1 The homogeneous transform from link i − 1 to link i can be calculated as   cosθi −sinθicosai−1 sinθisinai−1 aicosθi i−1 sinθi cosθicosai−1 −cosθisinai−1 aisinθi Ti = Hx(ai−1)Hz(θi)Hd(di)Hd(ai) =    0 sinai−1 cosai−1 di  0 0 0 1 (1.8)

1.1.2 Forward and inverse kinematics

When a robot structure is given, we can attach coordinate systems onto the links according to the ”Denavit-Hartenberg” convention. The forward kinematics equation of n links with joint angle θi at each joint is given by

n 0 Y i−1 Tn = Ti(θi) (1.9) i=1

Given the joint angles of θi, the position and orientation of the link n can be calculated. This is called forward kinematics. On the other hand, if the homogeneous

0 transform Tn is known, solving for the joint angles is the inverse kinematics problem.

In forward kinematics, the solution is unique. While in inverse kinematics, the number of solutions depend on the constraints and degrees of freedom (DOF). The number of DOF is the same as the number of joint angles. The constraints in inverse

5 kinematics can be the position or orientation of a specific link. In the three dimen- sional world, the maximum number of constraints is three in position and three in orientation for one link. Consequently, if the DOF is greater than the number of con- straints, multiple solutions may appear. In this case, we call the system redundant.

Some other criteria should be applied to reduce the solution numbers.

1.1.3 Forward and inverse dynamics

The dynamics captures the relationship between the force (torque) required and the motion of the robot. Typically, the dynamic equation of a robotic system is in the form

τ = M(Θ)Θ¨ + V (Θ, Θ)˙ + G(Θ) (1.10) where τ is the vector of torque input. Θ, Θ˙ and Θ¨ are the vectors representing the joint angles, angular velocities and accelerations. Forward dynamics is the process of solving Θ¨ given τ. The opposite problem of inverse dynamics is more useful in robotics applications. Through the inverse dynamics, the torque required for a desired motion is calculated. Then the corresponding actuation can be design to perform the motion.

In this dissertation, our robot design relies on this to choose the appropriate hardware in our application.

1.1.4 Stability margin

In quasi-static locomotion, stability margin is the common criterion used for eval- uating the stability. If the supporting area is denote by region R and center of mass

(COM) is denoted by point C. For quasi-static locomotion, we have C ∈ S. The

6 stability margin Smin is defined as follows:

Smin = minkP − Ck, where P ∈ R P

1.1.5 DC motorized joint

The DC motor usually bears the following dynamic models:

 dωm (1.11)  = (τm − Kdωm)/Jm  dt   dL (1.12) U = (R + )I + Ue  dt  (1.13)  Ue = Keωm  (1.14) τm = Kτ I

where ωm is the motor angular velocity, U the input voltage, I the current, Ue the

back-emf voltage, τm the output torque, Kd the damping coefficient and Ke the

back-emf coefficient. Jm is the motor inertia, R and L are constants denoting the

motor equivalent resistance and induction. Kτ is the output torque coefficient.

To get the model of DC motorized joint, we need to include the load and reducer.

Suppose the speed reduction ratio is n, we have the whole joint model as follows  dω  m = (K I − Kω )/J (1.15)  dt τ m   dL U = (R + )I + K ω (1.16)  dt e m 1  K = K + K (1.17)  d n2 L   1 (1.18)  J = Jm + JL  n2

where KL and JL are the damping and inertia from the load, respectively.

In application, we adjust U to tune the motor performance. The transfer function

of DC motor from the input voltage U to the output angular position θm is

θm(s) Kτ Gm(s) = = 2 (1.19) U(s) s(LJs + (KL + RJ)s) + (Kτ Ke + RK) 7 Figure 1.2: PWM illustration [2]

Pulse width modulation is the method of adjusting effective input voltage by digital circuits. The digital switches quickly turn on and off to determine the output as shown in Fig. 1.2. The time percentage of the on state within one period is called the duty cycle. When the duty cycle is zero, the output voltage is zero.

1.1.6 Position sensing: encoders

Figure 1.3: A 2-channel encoder installed on geared motor shaft

There are five fundamental types of position sensing elements that are used in robots: potentiometers, linear variable differential transformer (LVDT), resolvers,

8 absolute optical encoder and incremental optical encoder. Potentiometers use me-

chanically variable resistors and have a relative short life. LVDT and resolvers re-

quire AC supply and are expensive. So optical encoders are the common choice in

non-industrial robot applications.

Absolute optical encoders use multiple concentric rings of binary code to denote

the absolute value of position. It is accurate and keeps the position reading even

with power-off. However, the cost is high due to the expense of photolithography.

The most widely used position sensor is the incremental optical encoder. It is usually

installed on the motor shaft. The advantages are its simple structure and low costs.

Fig. 1.3 shows a 2-channel encoder installed on a geared motor shaft. If the encoder

360◦ channel number is m, then the resolution of the encoder is 2m . The most common encoders have channel number of 2, 3 or 4. The resolution seems to be low with the

small number of sensing channels. However, the speed reducer between the motor

shaft and load will increase the effective resolution of position sensing. With a speed

360◦ reduction ratio if n, the position sensing resolution at the load side is n·2m . To get the absolute position, we need to calibrate the encoder to set the zero reference position.

1.1.7 Orientation sensing: IMU

For floating based robots like humanoid robot and wheeled robot, their base link is not fixed onto some reference frame like the ground. Depending on the motion of the system, their relative position and orientation with respect to the ground usually changes. The inertial measurement unit (IMU) is one typical device of this kind shown in Fig. 1.4.

9 Figure 1.4: An IMU chip

Figure 1.5: Visualization of IMU sensing

10 The IMU can measure the three axis linear and angular accelerations with respect to the coordinate system fixed to itself. Moreover, it can measure the magnetic

flux. Combining the readings of accelerometers, gyroscopes and magnetometers, the changes in position and orientation are provided. In practical applications, the IMU is fixed to a certain link. Given the initial position and orientation reading, the homogeneous transform of this link in the ground frame can be updated based on the readings. Similar to the incremental positional optical sensing, the IMU needs calibration in initialization to provide accurate absolute orientation sensing. Fig. 1.5 shows the visualization sensing result from the IMU chip shown in Fig. 1.4

1.2 Related Works

1.2.1 Tool-assisted locomotion in humanoid robots

To overcome the stability problem of biped locomotion, researchers hope to use quadruped locomotion as the solution, which has been well studied on four-legged robots. References [14,15] presented quadruped gaits for walking on slopes, and the fa- mous Little-Dog showed impressive traversing capabilities over rough terrains [16]. A recent study focused on stability of quadruped walking by taking trunk stiffness/body

flexibility into consideration [17–19]. Human adults’ quadrupedal locomotion was studied to adapt the output of central pattern generators as a function of different environmental constraints [20].

Some of the latest efforts made humanoid robots crawl like human beings, of which research is still in its initial stage. Niimi et. al. presented the crawl motion follow- ing certain strategies on a robot designed as the human skeleton [20]. And infant crawling gait was reproduced on the NAO robot platform shown in Fig. 1.6[3]. In

11 2013, Lowe et. al. developed a new architecture based on motor primitives which was applied to NAO to perform a crawling task [10,21]. All these humanoid crawling research used small-sized robots like NAO to mimic infant’s motion and the terrain was smooth. Only in 2013, the learning strategy for crawling was simulated in multi- ple environments including rough terrains [22]. Such humanoid crawling can improve stability performance only for some small size robots, and the limbs are usually con- tacting the terrain directly. But for full size humanoid robots, the weight is much greater, and the force/torque applied to the limbs may cause damages to the sys- tem [23]. Also when the robot needs to stand up to perform biped walking or hand operations, the transition from crawling to standing will be challenging. Moreover, the space between the torso and the ground is limited in the crawling posture. So collision with obstacles may take place.

Figure 1.6: Crawling iCub (left two pictures) and NAO (right two pictures) [3].

1.2.2 Tool-assisted locomotion in human beings

In real life, different kinds of tools are adopted to help improve the locomotion capabilities of human beings. Generally, the tools are classified into two categories based on the applications involved: the enhancing and the rehabilitative types. Based on the tools adopted, various humanoid locomotion are developed accordingly.

12 Figure 1.7: Pole vault motion adopted by human [4]

Figure 1.8: The enhancing exoskeleton: BLEEX [5]

13 The enhancing tools are usually used by people without impaired motion capa- bilities. The environment can be so challenging that it’s beyond human limits. One example is to get over a wide gap or tall obstacle. In this case, a pole can be used to perform the pole vault motion shown in Fig. 1.7. The pole functions as a long equiv- alent leg to provide greater rotation radius. Consequently, the swinging distance is enlarged and obstacles are overcome. Some other enhancing tools aim to augment human strength in certain applications. BLEEX is one such robotic tool developed by the Berkeley Robotics and Human Engineering Laboratory shown in Fig. 1.8[24,25].

By wearing this device, most of the weight is carried by the device instead of human legs. Also it moves harmonically with human legs in biped locomotion such as walk- ing and running. Consequently, human efforts can be heavily reduced or equivalently human strength is enhanced.

The rehabilitative tools are usually adopted by people with impaired functional- ities in visual or appendicular skeleton. The most basic tool of this kind is the cane used by blind people. Canes enables the sensing of terrain conditions and thus im- paired vision is compensated. Other modern enhancing tools are the emerging field of prostheses and exoskeletons. Prostheses are robotic devices designed to replace the missing human limbs and recover its functionality. Exoskeletons are attached to human body and help with the locomotion. Based on the limbs they compensate, prostheses and exoskeletons can be classified as lower-extremity and upper-extremity types. Since we focus on humanoid locomotion, only lower-extremity rehabilitative devices are discussed.

14 For lower-extremity prostheses, the shape usually resembles the human legs and

the key challenge is to control its motion through human neural network. The cor-

responding locomotion is the same as normal people. While in applications of lower-

extremity exoskeletons, the subject usually suffers from spinal injuries and has no

control of the body from the waist down. As a result, the prevailing design of lower-

extremity exoskeleton is to attach a robotic device and perform the required motion

from the waist down. ReWalk is the most famous product of this type approved

by the U.S. Food and Drug Administration (FDA) [6]. SuiX is another competitor

aiming to lower the cost and make it affordable to more people [7]. Fig. 1.9 shows

the two prevailing exoskeletons.

Figure 1.9: Rehabilitative lower extremity exoskeletons: Rewalk (left)[6] and SuitX (right)[7]

Both Rewalk and SuitX share some similar disadvantages. The first is that the exoskeleton is designed to replace the human lower body. Thus hip, knee and ankle joints need to be actuated. To keep from collapsing, the device needs to power all

15 the joints. The corresponding power consumption is huge and the battery capacity requirement is high. Moreover, the joint module is expensive due to the high cost of speed reducer. So price of lower-extremity exoskeleton following such design is high.

Rewalk is $70,000 per set and even SuitX costs $40,000.

1.3 Organization of this Dissertation

The rest of this dissertation is organized as follows.

Chapter2 introduces the Ski-Type gait for humanoid robots to deal with rough terrains. Through the stability analysis and force/torque study, we get the sense of how to configure the Ski-Type walking wisely. In the experiment, Ski-Type gait is proved to be more stable compared with traditional biped walking.

Chapter3 presents the tool-assisted locomotion applied in gait rehabilitation. To reduce the energy cost of current prevailing lower-extremity exoskeletons, we propose two robotic devices to realize this goal: the swing-through robot and the robotic walker Sparrow. Through modeling and simulation work, we figure out the hardware requirements to build the prototype. The corresponding experimental results show that our ideas are valid.

Chapter4 describes the human motion detection using the inertial measurement unit (IMU). Through dynamic analysis of different human behaviors, we propose a fast and accurate way for detecting human motion states using the single IMU on the cellphone. Through communication between the robot and IMU sensing, the cooperation between human and robot will be more natural and comfortable.

Chapter5 discusses the radiation effects on DC motors. As the common actuation source in humanoid robot, we merge the radiation effects into DC motor model and

16 simulate its effects on the DC motorized joint performance. The result provides us insight of how robot joint will behave under irradiated environment. Then tools to compensate the DC motor degradation can be developed accordingly.

Chapter6 summarizes the dissertation in tool-assisted humanoid locomotion. Fu- ture research of pushing forward the application of these robotic devices and the corresponding locomotion is discussed.

17 Chapter 2: Ski-Type Gait for Humanoid Robot

2.1 Introduction

In 2011, the Fukushima nuclear power plant suffered severe damage due to the tsunami triggered by the Tohoku earthquake. When the plant was hit by the tsunami, three of the plant’s six nuclear reactors melted down. Due to grave risks to human health, caused by high radiation, rescue and aid workers are not expected to go into such disaster sites. The alternative is sending robots to perform a timely and effective response to minimize the impacts of such accidents. However at that time, even the most advanced humanoid robots, such as ASIMO from Honda, for example, can do almost nothing helpful in the rescue. Other wheeled or tracked robots have limited traversing capabilities in the complex environment of a power plant. This historic event provided the urgency behind decision to push forward robotic technologies, and particularly in humanoid robots. In 2012, DARPA announced a grand challenge program focused on the humanoid robots called the DARPA Robotics

Challenge (DRC) [26]. The goal of the DRC is to advance the current state-of-the-art in humanoid robots.

To simulate the potential tasks encountered in the rescue, eight tasks are spec- ified in DRC: Vehicle Driving, Rough Terrain, Ladder Climbing, Debris Cleaning,

18 Door Opening, Wall Breaking, Valve Turning and Hose Installation. Out of the eight events in the competition, Wall Breaking and Hose Installation emphasize accurate hand manipulation while maintaining balance. In the other events, balancing in biped locomotion is a major challenge. Some teams designed robots with different struc- tures such as CHIMP [27] using tracks for motion, and RoboSimian using four legs for walking [28]. The purpose of such design is to avoid the challenges of biped lo- comotion, while other participating robots like SCHAFT and Atlas have to prevent themselves from falling in various kinds of environments. Consequently, Rough Ter- rain is the most crucial task for all the teams which use the humanoid structure. As a member of the team DRC-HUBO, we were responsible for Rough Terrain walking.

To deal with the stability challenges, we proposed a different approach which is called a Ski-Type gait in this dissertation.

This chapter is organized as follows. Section 2.2 shows the birth of the Ski-Type gait when dealing with rough terrain using our biped robot. We compared differ- ent possible solutions and finalize the Ski-Type approach. Section 2.2.3 presents the development of Ski-Type gait including stability analysis and joint force/torque anal- ysis. Further, we simulate the Ski-Type motion and implement it in our experiments.

Section 2.7 concludes the chapter.

19 2.2 Birth of Ski-Type Gait

2.2.1 Core strategies

Some of the teams in the DRC designed their new robot specially for the compe-

tition, while our team focuses on the gait development and corresponding algorithm

design for the existing platform to accomplish the events. This is a more appealing

approach since it will expand the motion capabilities of existing biped robots without

re-designing for specific tasks. In this part, we introduce briefly the platform and how

we develop the Ski-Type gait.

Figure 2.1: HUBO2 (left) and DRC-HUBO (right)

The humanoid robot platform of our team is HUBO2, which is a full-sized hu-

manoid robot developed by KAIST (Korea Advanced Institute of Science and Tech-

nology). It has 40 degree of freedom (DOF), weighs 45 kg and is 1.25 m tall. It has two force/torque sensors on each ankle joint and an IMU on the waist. In summer

20 2013, the motors were upgraded to be more powerful and the arms were enlarged for better hand manipulation, which is the DRC-HUBO as shown in Fig. 2.1.

To improve the balancing capability of humanoid robot, we present the idea of enlarging the supporting area as our strategy. To realize the goal of larger supporting area, we think of various ideas which are stated in detail in the following parts.

The first natural attempt is to enlarge the foot pedals. Obviously, the supporting area will be enlarged in this way. However, the disadvantages are numerous. Firstly, the width of the foot pedals cannot be increased significantly; otherwise, the pedals will step on each other and no steps can be taken. So increasing the length of the foot pedal is the only option. Unfortunately the lengthened foot pedal will increase the torques on the lower body joints while taking steps. Moreover, the clearance will be reduced by the long foot pedal. In case of stepping over obstacles, a collision is more likely to occur, which is fatal to the system. Another disadvantage is that the larger foot pedal requires more landing space on the ground, and introducing more complexity in foothold planning. Through the analysis above, we give up the approach of increasing foot pedal size.

Since multiple-legged robots usually have much better stability performance than biped robots, we examined the feasibility of turning our humanoid robot into a quadruped-mode locomotion. In biped walking, the only supporting area is one foot pedal while taking steps which limits the stability performance. On the other hand, quadruped walking enables as much as four points to touch the ground in a gait cycle.

In this way, the supporting area is enlarged more efficiently compared with enlarg- ing foot pedals. To perform quadruped walking, there are two candidate solutions: leaning forward and backward as shown in Fig. 2.2.

21 Figure 2.2: HUBO2 forward quadruped (left) and DRC-HUBO backward quadruped (right)

In our early experiments on HUBO2, we attempt to make HUBO2 bend backward for quadruped walking. When the legs fold heavily, the arms can touch the ground.

However, the folded legs limit the locomotion capability. As a result, we go back to lean the torso forward with unfolded legs as depicted on the left of Fig. 2.2. The short arms, however, still cannot touch the ground [29]. In addition, the delicate design of the hands does not allow any contact with the ground. Let alone supporting the body.

In DRC-HUBO, the arms are extended and a spike is added on each hand to touch the ground without damaging the hand as we suggested. Backward quadruped walking is tested shown on the right in Fig. 2.2. On a flat surface, quadruped walking works well but the heavy torque on arms frequently causes system failure after around twenty minutes operation. Moreover, the torso is much lower than in biped walking and the clearance of steps is limited. In our test of stepping over wood bars, collision is unavoidable in the case of a 20 cm square bar.

22 As shown by these attempts, the DRC-HUBO performing quadruped walking still

does not meet our expectations. So we propose to use some tools to aid walking

instead of making permanent changes to the mechanical design. First of all, we study

human walking with the aid of a cane.

2.2.2 Cane-assisted walking for human beings

Usually human beings can perform biped walking very stably relying on strong

muscles and biological sensing feedback in the legs. When the legs suffer some injuries,

it turns out to be difficult keeping balance using the two legs only. In order to

overcome the difficulties caused by injuries, the cane is invented to help people walk.

Since humanoid robot is not stable executing biped locomotion in rough or uneven

environments, it can be viewed as leg-injured human beings. Consequently, looking

into cane-assisted walking by human beings will shed some light on designing reliable

cane-assisted gaits for humanoid robots.

According to [30, 31], the cane is usually held at the contralateral side of the

injured leg. Here are some variables for specifying the gait. Lfw and Lfl are width

and length of the foot pedal, LLFRF is the distance between the centers of the two

foot pedals, LLFLcane is the distance between the left cane and the center of the left foot pedal along the y-axis, and Lstep is the step length. The variables are shown in

Fig. 2.3. Some reasonable assumptions are made as follows:

• Lfw = 2Lfw

• Lstep = Lfl

• LLFLcane = LLFRF = Lfl

23 • Projection of the center of mass (COM) is at the center of un-injured foot pedal

(left foot in this case) at the initial posture.

Figure 2.3: Top view of one cane assisted walking showing variables

The gait and supporting region when Lf w = 0.1 m is shown in Fig. 2.4 (a)-(h).

Starting from the initial posture, the cane is the first to move forward, and the COM is within the left foot. Then the right leg moves forward by the same distance as the cane, while the COM moves forward in the supporting area formed by the left foot and the cane tip. Then the right foot swings forward by the step-length with the

COM in the supporting polygon formed by the cane tip and right foot. After three steps of motion, it is back to initial posture.

From the stability margin curve in Fig.2.4 (lower right corner), the minimum stability margin is 0.5Lfw, which is greater than that of biped walking with the same walking parameters but without cane. One may notice a sudden change of the

24 a b c

0.4 0.4 0.4 0.3 0.3 0.3 0.2 0.2 0.2 y/m y/m y/m 0.1 0.1 0.1 0 0 0 −0.1 −0.1 −0.1 0 0.2 0.4 0 0.2 0.4 0 0.2 0.4 x/m x/m x/m d e f

0.4 0.4 0.4 0.3 0.3 0.3 0.2 0.2 0.2 y/m y/m y/m 0.1 0.1 0.1 0 0 0 −0.1 −0.1 −0.1 0 0.2 0.4 0 0.2 0.4 0 0.2 0.4 x/m x/m x/m stability margin (S ) curve g h min 0.1 0.4 0.4 0.3 0.3 0.08

0.2 0.2 /m y/m y/m min 0.1 0.1 S 0.06 0 0 −0.1 −0.1 0.04 0 0.2 0.4 0 0.2 0.4 0 2 4 6 x/m x/m step index

Figure 2.4: Stability performance of one cane assisted walking

stability margin. That is due to the lifting and dropping of the cane tip bringing in instant change of the supporting area. So by introducing a cane to assist walking, the stability performance is improved. People use trekking pole in mountain climbing mainly for the improved stability. Moreover, when the uninjured leg is swinging in the air, the cane can help alleviate the weight cast on the injured leg. Then the leg strength is effectively augmented. Elder people using a cane in walking is one such application.

25 2.2.3 Ski-Type gait

For the human cane-assisted walking, the gait is asymmetric with only one cane held at the uninjured side. For humanoid robot, we introduce two canes held in both hands for two reasons. It is called Ski-Type gait due to its visual similarities with skiing motion, which is shown in Fig. 2.5. The benefits of using two canes instead of one are twofold. First, the gait can be symmetric which will make the gait planning less complicated. And secondly the robot can be more stable with two canes providing more contacts with the terrain. Some related research has focused on developing robots to function as a cane for walking assistance called cane-robot

[32–35]. But in our work, the cane is an ordinary stick not a robot and to be held by robot hand to assist walking.

Figure 2.5: Ski-Type walking concept

To perform Ski-Type gait, two canes are held in hands. With the redundant joints on arms and hands, touching the ground by the canes is feasible and the gait becomes quadruped. Although the wrist joint is not very powerful due to the small motor size,

26 we can distribute the torques among the arm joints to respect such limits due to the redundancy.

In the Ski-Type gait, the arm can be viewed as a 3-link limb, while the leg is considered a 2-link module (foreleg and thigh). So the gait becomes a special case of the quadruped walking. However, it bears many advantages in addition to the stability provided by quadruped walking.

First of all, humanoid robots are usually required to perform manipulating tasks.

That is, hands must hold some tools for the purpose. It is exactly the case in the DRC events as Wall Breaking and Hose Installation. Consequently, frequent transitions between quadruped and biped states are required. In either forward or backward quadruped walking, the transformation into biped standing will cost huge energy without using the canes. While the Ski-Type gait can facilitate a simple transition to the functions of the hands. The canes can be simply dropped when the hands need to perform a manipulating task, and be grasped when the robot needs to negotiate difficult terrains. The robot may still gain better stability when one hand manipulates and the other holds the cane.

Another benefit of the Ski-Type gait lies in the flexibility of where the hands hold the canes. By holding different places, the effective cane length changes accordingly.

That is equivalent to the variation the robot ”leg” structure. Such flexibility enables the robot to transform to configurations dealing with different scenarios. One example is the height of the center of mass (COM). For long canes, the COM is high, and the robot is able to ensure a large clearance from the ground. A short cane, on the other hand, enables a low COM which provides better stability at the cost of small clearance.

27 From the discussion above, we conclude that the Ski-Type gait is a simple and effective solution to take the challenges of difficult terrains, while requiring almost no modifications to the original structure of the humanoid robot as well as providing more flexibility and stability in the gait.

2.3 Stability Analysis

2.3.1 Assumptions in the modeling

In the Ski-Type gait, there are numerous configurations available for planning the leg and cane motions because of the redundancy. However, based on our experience on HUBO2 and experiments of human beings performing the Ski-Type gait, we model the top view of the gait for stability analysis as shown in Fig. 2.6.

Figure 2.6: Ski-Type modeling in top view

28 Shown in Fig. 2.6, we place the COM on the front edge of foot pedals. This is to shift the COM towards the back of the supporting area at initial posture. The purpose is to let the legs sustain more weight than the canes, since the legs are more powerful than arms. Such an arrangement can prevent potential damages to the arms.

Another consideration is the sequence of the COM ”shift”. In traditional quadruped walking, there is no obvious difference between arms and legs. So the COM moves forward whenever a limb swings forward [36]. In the Ski-Type gait, we place the

COM near the feet. If the COM moves when the arm is in motion, the force/torque on the other supporting arm will significantly increase, which may damage/crash the arm. So we shift the COM only when the leg is in motion. This consideration pro- vides additional benefit. When the canes are equipped with sensors for detecting the terrain for a solid touching, the risk of fall can be reduced because of no COM shift in the process. Moreover, we assume no lateral COM sway throughout the gait. This is possible because of the enlarged supporting area by introducing the canes. Recall that in the biped locomotion, the COM has to shift laterally to maintain the support by the landed leg. No lateral sway also reduces energy consumption by the robot.

2.3.2 Step sequence choice

The step sequence is the next factor to be determined in designing the Ski-Type gait. Since we propose to perform quasi-static walking, the gait should be crawl like.

If the leg moves following the arm motion on the same side, the gait is called Crawl-1.

If on the opposite side, it is called Crawl-2 [13]. To determine which of the two gaits should be selected, we calculate their minimal stability margin (Smin) in a walking cycle under the same initial configurations and the step length.

29 As shown in Fig. 2.6, the parameters affecting the stability are listed as:

• Lfw: width of the foot pedal.

• Lfl: length of the foot pedal.

• LLF RF : length between the centers of the two foot pedals along the y-axis.

• LLC RC : length between the two cane tips along the y-axis.

• DCOM : length between the COM and the cane tips along the x-axis at the

initial posture. According to the assumption for the position of the COM,

DCOM = Lfl.

• LX : length between the cane tips and the center of the foot pedal along the

x-axis.

• Lstep: step length.

Due to the lateral symmetry in the Crawl-1 and Crawl-2 gaits, the supporting area and the COM position are shown for only one half of the cycle. To obtain the numerical result, values need to be assigned to the variables. Based on the mechanical dimensions of the HUBO2 robot, we set Lfw = 0.1 m and Lfl = 0.2 m [12]. By our experiments of human walking with two canes, we obtain the sense of how far to reach out the canes, how wide to separate the canes, and what to be the step size. Then based on the height of HUBO2, we set the following parameters to be nominal values of the Ski-Type gait: LLC RC = 0.6 m, DCOM = 0.2 m, LX = 0.4 m and Lstep = 0.2 m.

Fig. 2.7 shows the COM and the supporting polygon when the right cane moves and then the right foot swings for Crawl-1. Fig. 2.8 shows the COM and the sup- porting polygon when the right cane moves and the left foot swings in Crawl-2. For

30 (1) (2) 0.6 0.6

0.4 0.4

0.2 0.2 y/m y/m 0 TT−Line 0 TFR−Line

−0.2 −0.2

0 0.2 0.4 0.6 0.8 0 0.2 0.4 0.6 0.8 x/m x/m (3) (4) 0.6 0.6

0.4 0.4

0.2 0.2 y/m y/m 0 0

−0.2 −0.2 TFR−Line

0 0.2 0.4 0.6 0.8 0 0.2 0.4 0.6 0.8 x/m x/m S of Crawl−1 (5) min 0.6 0.1 0.4

0.2 /m y/m min 0.05 0 S

−0.2 0 0 0.2 0.4 0.6 0.8 0 1 2 3 4 5 x/m

Figure 2.7: Ski-Type gait of Crawl-1

31 (1) (2) 0.6 0.6

0.4 0.4

0.2 0.2 y/m y/m 0 TT−Line 0 TFR−Line

−0.2 −0.2

0 0.2 0.4 0.6 0.8 0 0.2 0.4 0.6 0.8 x/m x/m (3) (4) 0.6 0.6

0.4 0.4

0.2 0.2 y/m y/m 0 0

−0.2 −0.2

0 0.2 0.4 0.6 0.8 0 0.2 0.4 0.6 0.8 x/m x/m S of Crawl−2 (5) min 0.15 0.6

0.4 0.1

0.2 /m y/m min

0 S 0.05 −0.2 0 0 0.2 0.4 0.6 0.8 0 1 2 3 4 5 x/m

Figure 2.8: Ski-Type gait of Crawl-2

32 better illustration, we name the supporting edge formed by the cane tips as the TT-

Line, and the edge on the right formed by the cane tip and the foot as the TFR-Line.

By checking the COM and the supporting area, we conclude that the change of the

TT-Line does not affect the stability margin since the COM is placed far from the canes. However, the TFR-Line is the edge closet to the COM, meaning that it is the most crucial edge affecting the stability.

In the two Smin curves (on the right of the third row of Fig. 2.7 and Fig. 2.8), there are obvious jumps when the end-effectors (canes and foot pedals) swing. That is the result of a sudden change in the shape of the supporting polygon. In both

Crawl-1 and Crawl-2, when the right cane swings forward, the stability margin is minimal. This agree with our observation that TFR-Line will cast most significant effects on Smin. In Crawl-1, the TRF-Line is much more inclined compared with that in Crawl-2. So the supporting polygon of Crawl-1 results in smaller stability margin.

Through the analysis, the Crawl-2 step sequence outperforms Crawl-1, resulting in greater Smin and thus provides better stability for the robot. This conclusion is different from the optimal step sequence in [36], in which the arms are treated as legs and the contacting points are all treated as point-contacting. While humanoid robots have foot pedals and only the cane tips can be viewed as points. So we conclude that

Crawl-2 is the better step sequence for the Ski-Type gait under this configuration.

2.4 Force/Torque Analysis

In this part, we analyze the force/torque distribution in the Ski-Type gait. Since there are many different walking patterns in terms of speed and foothold positions, we perform the analysis on the initial posture for generality. Because of the symmetry at

33 the initial static posture, we ignore the force/moment components around the x-axis.

Fig. 2.9 shows the modeling for the force/torque analysis. The points on O to E represent the joints of ankle, knee, hip, shoulder, elbow and wrist, respectively. The point F is the contact point of the cane tip with the ground. Thus a closed-chain system is formed.

0.9

0.8 C 0.7 θ lean E 0.6 (pB,pB) D 0.5 x z B 0.4 L cane

z /m 0.3 A 0.2 fF z O fP 0.1 z P f fF 0 x x F P L −0.1 x −0.20 −0.4 −0.2 0 0.2 0.4 0.6 x /m

Figure 2.9: Variables for force/torque analysis

2.4.1 Foot pedal contact model

There are three types of contact conditions including hard point contact with friction [37], soft finger contact, and rigid contact [38]. Hard point contact with friction indicates that a reaction force normal to the contact surface and two friction forces exist but not any moments. The soft finger contact and the rigid contact allows for one or three moments along with the three forces, respectively. In our case, we

34 choose the hard point contact model for the foot pedal contact. For better illustration,

we introduce an effective contact point P as shown in Fig. 2.9. A zoomed-in view of

the foot pedal following the hard point contact model is shown in Fig. 2.10. Since the

effective contact point P can be anywhere along the foot pedal, the distance from P to the rear end of the foot pedal should be less or equal to the foot pedal length. To be stable, the point P should be supported by the terrain.

150

100 O

fP z 50 z / mm

P P 0 f L x P

−50 −100 −50 0 50 100 x / mm Figure 2.10: Hard point contact modeling for the foot pedal

2.4.2 The parameters for analyzing the force/torque distri- bution

Based on Fig. 2.9 and Fig. 2.10, the parameters for analyzing the force/torque distribution in the initial posture are listed below:

B B • (px , pz ) : the position of the hip joint.

• θlean : the angle between the torso link and the positive z direction.

• Lx : the distance from the cane tip to the ankle joint along the x-axis.

35 • Lcane : the cane length.

• LP : the distance from the ankle joint to the effective contact point P along the

x-axis.

F F • (fx , fz ) : the contact force at the cane tip.

P P • (fx , fz ) : the contact force at the effective contact point P on the foot pedal.

• µ : the static friction coefficient.

• m : the total mass of the system.

• g : the gravitational acceleration.

B B As illustrated in our previous work, the parameters of (px , pz ), θlean, Lx and Lcane will significantly affect the valid motion pattern in the Ski-Type gait, resulting differ- ent stability performance. In our force/torque distribution analysis, these parameters

F F P P are also crucial variables. The remaining parameters (fx , fz ), (fx , fz ) and LP are used to describe the solution of the force/torque distribution.

The final issue before the analysis is the physical values of the links. For consis- tency with our previous work, mass and length of each link as well as joint torque limits are based on the HUBO2 humanoid robot available in our laboratory.

2.4.3 Relationship of friction and joint torques

In this part, we use a specified ratio as the measurement of joint torques. Instead using the absolute torque values, we scale all the torques by the quantity mg, which is the torque generated by whole body gravity at effective 1 m. By evaluating using this ratio, it eliminates the effects between different robot systems.

36 wrist torque elbow torque −0.4 −0.4 0.1 0 −0.3 −0.3 0.05 −0.2 −0.2 −0.05

−0.1 0 −0.1 −0.1 F F x x 0 0 f f −0.05 0.1 0.1 −0.15 −0.1 0.2 0.2 −0.2 0.3 −0.15 0.3 −0.25 0.4 0.4 0 0.1 0.2 0.3 0.4 0 0.1 0.2 0.3 0.4 F F fz fz

shoulder torque hip torque

−0.4 −0.4 0.05 0.05 −0.3 −0.3 0 −0.2 0 −0.2

−0.1 −0.05 −0.1 −0.05 F F x 0 −0.1 x 0 f f −0.1 0.1 −0.15 0.1 0.2 0.2 −0.15 −0.2 0.3 0.3 −0.25 −0.2 0.4 0.4 0 0.1 0.2 0.3 0.4 0 0.1 0.2 0.3 0.4 F F fz fz

knee torque ankle torque −0.4 −0.06 −0.4 0.1 −0.3 −0.08 −0.3 0.08 −0.2 −0.1 −0.2 0.06 −0.1 −0.12 −0.1 0.04 F F x x 0 0 0.02 f f −0.14 0 0.1 −0.16 0.1 −0.02 0.2 −0.18 0.2 −0.04 0.3 0.3 −0.2 −0.06

0.4 0.4 0 0.1 0.2 0.3 0.4 0 0.1 0.2 0.3 0.4 F F fz fz

F F Figure 2.11: Relation of joint torques and (fx , fz )

F F Before studying the relationship by changing (fx , fz ), the Ski-Type parameters need to be chosen. As shown in Fig. 2.9, the configurations are: Lx = 450mm, Lcane =

◦ B B 650mm, θ = 30 , µ = 0.6 and (px , pz ) = (0, 460mm). The torque distribution when

F F (fx , fz ) changes is shown in Fig. 2.11. The axis value is the ratio of contact force with respect to the quantity mg and the torque value is also a ratio as stated before.

F F The region of (fx , fz ) is triangular because of the friction constraint.

F From the wrist torque figure, it is shown that as fz increases, the torque applied on the wrist joint will gradually decrease to zero and change the direction. This is

37 F the reason that fz will compensate part of the torque caused by gravity of the cane.

F F However, if fz is fixed, the positive fx will generally increase the load on wrist and

F F F the negative fx will help to decrease the torque. When (fx , fz ) = (0, 0), the wrist torque is low because the cane orientation is close to vertical and the mass portion of

cane length is small. After scaling, it is much smaller.

The other five joint behave differently from the wrist joint. The torque will de-

F F crease with the increase of fz and the increase of fx . The only difference within

F F this five torque with the relationship of (fx , fz ) is their sensitivity of the two contact

F variables. For the change in fz , the ankle and hip joints are the most sensitive since their distance from point F is the greatest along the x-axis. The shoulder and wrist

F joints are the least sensitive to fz . In our Ski-Type configuration, the wrist joint is

F close to point F along x-axis so the torque barely changes once fx is fixed. If the

F wrist joint (point E) is vertically above the cane tip (point F), fz will not affect the wrist torque at all. This is the reason we set the cane to be vertically touching the

ground in our previous study.

F Similarly, the sensitivity of joint torques with respect to fx can be concluded. It should be positively related to the distance from the joint to the cane tip. As

shown in Fig. 2.9, excluding the ankle joint, all the other five joint are relatively high

F above the ground, so they should change significantly as fx changes. This inference is verified in Fig. 2.11.

38 2.4.4 Determining the joint torques

For the closed-chain system, the joint torque solution is not unique because of the

redundancy. At the initial posture, we have the following equations:

( F P fx + fx = 0 F P fz + fz = mg which are satisfied regardless of the position of the effective point P . Consequently, if

F F the force pair (fx , fz ) are variables, the joint torques will vary correspondingly. For

F F generality, (fx , fz ) will be scaled by mg and expressed as a ratio.

F For fz , the minimum is 0 because the contact point cannot provide force pointing downwards without a hinge. The upper bound ratio is set to be 1 since foot pedal is not hinged either. Moreover, the force pair should follow the friction constraint. In summary: ( F 0 ≤ fz /mg ≤ 1 F F |fx | ≤ µfz . Another constraint is that the effective point P should lie within the foot pedal.

That means |LP | ≤ Lfl. Also each resulting joint torque need to be within the limits.

F F Since the joint torques depend on the value of (fx , fz ) in the system equations. To obtain an optimal solution, we choose to minimize the total torques required. For

the posture shown in Fig. 2.9, the total torque is minimized when the cane forces are

F F (fx , fz ) = (−0.042mg, 0.202mg) and µ = 0.6, and the corresponding joint torques are within the limits.

2.4.5 Optimize the lower body energy consumption

From the force/torque analysis above, we can see the solution for all joint torques

are not unique. For the closed-chain system, we can perform optimization according

39 to certain rules. In the previous part, we only optimize the sum of all joint torques

for the initial static posture. Now a generalized optimization problem is proposed in

the Ski-Type walking.

F F Since the friction force pair (fx (t), fz (t)) will determine the corresponding unique

F F solution for joint torques, we view (fx (t), fz (t)) as the time dependent variables. Here the assumption of quasi-static motion still holds throughout the Ski-Type motion, so

we have the following constraints:

 F P fx (t) + fx (t) = 0  f F (t) + f P (t) = mg  z z F F |fx (t)| ≤ µfz (t).  0 ≤ τ (t) ≤ τmax   F F ˙ ¨ τ (t) = InverseDynamics(fx (t), fz (t), θ(t), θ(t), θ(t)) where θ is the vector of all joint values and τ is a N ×1 vector storing all joint torques.

N is the total number of joints. It can be calculated through the inverse dynamic

function of system. One thing to notice is that under the quasi-static assumption we

have θ˙ = θ¨ = 0. Finally the cost function is in the form of

Z T C = Aτ (t)dt (2.1) t0

in which A is a 1×N weight vector, t0 and T are the starting and ending time of the motion of interest. To minimize one particular joint torque, we can set the corresponding weight in A as 1 with all other elements as 0.

For the Ski-Type walking, we introduce the canes to help alleviate the burden on legs. It is necessary to investigate how to configure the Ski-Type gait to benefit the lower body best with respect to the upper body joint specifications. So we perform analysis on minimizing the lower body total torque in the Ski-Type gait. For the

Ski-Type motion, we have the following assumptions. First of all, the hip joints

40 only shift forward with the leg swing on the same side. Secondly, the wrist joint is

mechanically locked while the elbow joint is free. Under this assumption, the Ski-Type

gait resembles the elder people walking with axillary crutches. The way canes are

held in this way is more friendly to distribute burden onto upper body since the wrist

joints are usually weak in both human beings and humanoid robots. Also this is the

way we attach canes onto HUBO to perform experiments. Finally, the sustaining leg

on the ground should be straight without knee bending. This assumption guarantees

that the knee torque is not huge when bearing the body weight. The gait snapshots

are shown in Fig. 2.12. Comparing Fig. 2.12 and Fig. 2.9 we can see the arm are

modeled as a 2-link system instead of a 3-link system. The reason is that canes

are mechanically locked onto the forearm, leading to the elimination of wrist joints in

Fig. 2.12. Excluding this difference, all the other configurations and variable definition

are same as those in 2.9. Moreover, the blue and red bar models represent the left

and right side of the subject, respectively.

Figure 2.12: Side view for lower body torque optimization

For each intermediate time step of the motion, we minimize the leg energy con-

F F sumption by tuning the variables (fx (t), fz (t)). By summing all the intermediate results, we get the final result of one cycle of Ski-Type motion under certain speci-

fications. As discussed in 2.4.2, the Ski-Type gait is configured by many variables.

41 Consequently it is difficult to determine one universal optimal configuration. How-

, we are interested in how the specification variables affect the load distribution.

So we perform the following two studies with Lx and θlean as the only varying Ski-

Type specification variable, respectively. The result of upper and lower extremity energy consumption is shown in Fig. 2.13.

Figure 2.13: Upper and lower extremity energy consumption under different Ski-Type configurations

◦ From the left plot with θlean = 9 in Fig. 2.13, the leg energy cost is concave

with Lx in the range of 0.20 m to 0.26 m. This means for a fixed step in the Ski-

Type walking, there is an optimal configuration which minimizing the total torque

applied on the legs. In the right plot of Fig. 2.13, the leg energy cost is also concave

◦ ◦ as θlean increase from 6 to 20 with fixed cange length of 0.747 m. While in both

cases, the upper body energy cost monotonously increases with the increase of Lx

or θlean. The reason is that as Lx or θlean increase, the upper body tends to lean

forward more which leads to more burden on the arms. However, depending on the

42 differences among the subject performing Ski-Type gait, the curves in Fig. 2.13 may differ in large scale. However, similar analysis procedure can be applied to guide the configuration of Ski-Type gait according to different optimization standards.

2.5 Implement of Ski-Type Gait

In the initial setup for the Rough Terrain task, there are several wood bars to step over. To avoid collision with such obstacles, a certain step size is necessary. In our

Ski-Type gait, the three contacting points while taking steps will limit the available step size because of the kinematic constraints imposed on the Ski-Type gait. Since the cane length will directly change the kinematic structure, we need to determine the cane length in the light of the available step size. To do so, an additional aspect to consider is the trajectory of the foot and the cane tips. We assume the curve governing their motion trajectories to be sinusoid for smoothness in both position and speed, which can be modeled as follows:

z = Hmax ∗ sin(π ∗ T ), (2.2)

where Hmax is the maximum lifting height in one step, T stands for the total time of one step and z is the height of foot pedal or cane tips. Moreover, we assume that the foot pedal to be leveled to ensure the clearance of the ground. This sinusoid trajectory pattern is also available on the HUBO2 platform.

2.5.1 Variables in cane length selection

In the force/torque analysis, the parameters for configuring the Ski-Type gait are

B defined and shown in Fig. 2.9. In this section, we further make px = 0 and introduce

θankle to decide the hip position. Since the thigh and leg are of the same length, the

43 0.9

0.8 0.7 θ lean 0.6

0.5 L 0.4 cane θ ankle y /m 0.3

0.2

0.1 H 0 max L −0.1 x L step −0.2 −0.4 −0.3 −0.2 −0.1 0 0.1 x /m

Figure 2.14: Variables for cane design

hip joint is always over the ankle joint. In conclusion, we fix the following parameters for determining the step size, which the robot is able to take, and the corresponding cane length as shown in Fig. 2.14.

• θlean: the angle between the torso and the y-axis. This can be used to tune the

COM position with respect to the supporting area.

• θlean: the angle between the leg and the z-axis.

• Lcane: the effective cane length held in the hands.

• Lx : the distance from the cane tip to the ankle joint along the x-axis.

• Lstep: the step size.

• Hmax: the maximum lifting height in one step.

44 2.5.2 Relationship between Lcane and Lstep

To determine the valid step size in the Ski-Type gait, an inverse kinematic (IK) solver is introduced to calculate the joint values. Once the cane length and the step pattern are fixed, the IK solver provides the joint values throughout one step. If the joint values are all within the limits, the corresponding step size is feasible with that cane. According to the dimensions of HUBO2, the joint limits are set to be:

Ankle pitch: 0◦ ∼ 88◦ Knee pitch: 0◦ ∼ 160◦ Hip pitch: 0◦ ∼ 88◦ Shoulder pitch: −90◦ ∼ 90◦ Elbow pitch: 0◦ ∼ 170◦

step range / θ =40o ankle 0.80 0.60 0.40 0.20

step range / m 0 0.50 0.55 0.60 0.65 0.70 0.75 0.80 0.85 0.90 0.95 1.00 L / m cane

step range / θ =30o ankle 0.80 0.60 0.40 0.20

step range / m 0 0.50 0.55 0.60 0.65 0.7 0.75 0.80 0.85 0.90 0.95 1.00 L / m cane

step range / θ =20o ankle 0.80 0.60 0.40 0.20

step range / m 0 0.50 0.55 0.60 0.65 0.70 0.75 0.80 0.85 0.90 0.95 1.00 L / m cane

Figure 2.15: Relationship between Lcane and Lstep under three configurations.

To determine the step size range for each corresponding cane length, some of the

◦ variables need to be assigned. We set θLean = 30 , Lx = 0.30 m. For each fixed cane length, the step size increases and the trajectory follows Eqn. 2.2. The maximum step

45 size is calculated with each corresponding cane length. Also we check the relationship under three different conditions, where the ankle joint values are 20◦, 30◦ and 40◦, respectively. The results are shown in Fig. 2.15 and a few observations are made:

1. As θankle decreases, the COM height increases. So the reasonable Lstep range

shifts to the right, meaning that longer canes are needed to take steps.

2. When θankle is decreasing, the maximum achievable step length decreases. More-

◦ over, when θankle = 20 , there is a flat part around Lcane = 0.80 m. That hap-

pens when the COM is relatively high and Lcane is large enough. Previously

we assume that the canes vertically touch the ground. However, the arms of

HUBO2 are short and the elbow joint cannot bend backward because of the me-

chanical constraints in the design. So Lstep cannot increase as the canes become

longer to around 0.80 m.

3. At the rightmost part of the curves, there is a steep drop. The reason is that

in such ranges, the elbow joints are heavily bent at the initial position. Con-

sequently, canes cannot be lifted following the sinusoid curve as limited by the

elbow joint constraint.

Based on the observations as shown in Fig. 2.15, we choose Lcane = 0.75 m out of the following considerations. First, as θankle changes, the height and the valid Lstep ranges change accordingly. The Lcane value of 0.75 m can promise a large step size for all the three scenarios of θankle. Secondly, 0.75 m is around the height of the torso, which makes a comfortable posture for the HUBO2 robot to hold the canes.

46 2.6 Simulation and Experiment

To validate our design of the Ski-Type gait, we performed simulation in the Open-

RAVE simulator, which is a robot simulator developed by Rosen Diankov of the CMU

Robotics Institute. Based on OpenRAVE, Robert Ellenberg from the Drexel Univer- sity developed some supplementary packages for simulation dealing with the HUBO2 model [39]. The simulator involves a physics engine for dynamics; therefore, the result is close to real-robot operation. Fig. 2.16 shows the snapshots of simulation, in which the HUBO2 robot performs the Crawl-2 Ski-Type gait. Based on the result of the cane length design, we attach two canes of 0.75 m to the robot hands.

Figure 2.16: HUBO Ski-Type gait on flat surface in OpenRAVE.

Succeeding in the simulation, we performed experiments on grass. The softness and slippery of the grass constitute one kind of the rough terrain conditions. So

Figure 2.17: HUBO biped gait on grass

47 Figure 2.18: HUBO Ski-Type gait on grass

the grass can ideally test the stability performance of biped and Ski-Type gaits. In

our analysis, we assume no lateral sway in the Ski-Type gait. While in experiment,

we found adding the lateral sway will alleviate the arm torque on the side of the

swinging leg, which reduce the possibility of system failure because of the limited

torque. So we introduce the same lateral sway in Ski-Type as in biped walking for

better comparison.

The experimental result of biped and Ski-Type gaits is shown in Fig. 2.17 and

Fig. 2.18. In the biped walking, the COM sways left and right to keep balance while

taking steps. When HUBO2 sways to its right with the left foot swinging in the air,

the grass under the right foot pedal is compressed because of the pressure, and the

foot pedal tilts to its right. Consequently, the actual COM position differs from the

reference COM position, which makes Smin smaller. Since the motion is open-loop, the COM error cannot be killed and HUBO2 will sway to the other side. As a result, oscillation of the COM occurs as HUBO2 taking steps as shown in Fig. 2.17. After three steps, HUBO2 falls because of the oscillation.

While in the Ski-Type gait, the supporting area is not just the foot pedals. It is much larger by using cane tips and foot pedals alternately. When HUBO sways to its right, Smin will also decrease because of the deformation of the grass, but the

48 Ski-Type gait provides much greater Smin values to ensure stability. Furthermore, the three supporting points at any time forms a triangle, which will prevent the oscillation from growing. Moreover, the shared weight will cause less deformation under the foot pedals and COM disturbances are smaller compared with the biped gait. The experimental results verify that the Ski-Type gait is more stable than the biped gait.

2.7 Conclusion

In this chapter, we propose the new Ski-Type for humanoid robot. By adding two canes held in hands, more contacts with grounds are provided. Beneficial from this redundancy, more motion choices are available ensuring stability. Moreover, the canes can be dropped or picked up easily for hand operation. Through the stability analysis, we conclude the Crawl-2 gait is a better step choice in the Ski-Type gait. The force and torque analysis shows that it is possible to tune the force-torque distribution within the close-loop system. What’s more, the simulation and experiment results validate that Ski-Type gait is more stable than the traditional biped walking dealing with terrain roughness.

49 Chapter 3: Rehabilitative Robots for Human Tool-Assisted Locomotion

3.1 Introduction

According to [40], there are around 236,00 to 327,000 persons suffering the spinal cord injury (SCI) in the US only. As mentioned in Section 1.2.2, current prevailing rehabilitative lower-extremity exoskeletons are expensive. So making lower-extremity exoskeletons affordable for more people is quite promising. In this chapter, we pro- pose different designs from the current lower-extremity exoskeletons to aid humanoid locomotion.

This chapter is organized as follows. In Section 3.2, we present a robot to enable a new swing-through gait instead of normal biped locomotion which borrows the idea from passive walker to reduce actuations. In Section 3.3, we show the robotic walker we designed to help people with SCI or other walking disabilities to walk. Section 3.4 concludes the chapter.

50 3.2 Swing-Through Exoskeleton

3.2.1 Review of passive dynamic walking

Research on legged locomotion partly originates in understanding the fundamen- tals of its mechanics and the traversing capabilities of corresponding practical ma- chine. Based on the relationship of zero-moment point (ZMP) and supporting area, locomotion can be categorized as dynamic and static motion. If the ZMP is always within the supporting area, the motion is static; otherwise, it is dynamic. Adap- tive Suspension Vehicle (ASV) is one typical static walker [41]. In dynamic biped motion, early works focus on the trajectory planning for different terrains [42, 43].

While recently, many researches target at the modeling of the robot for better mo- tion planning and how to minimize the energy consumption by applying various types of controllers [44–46]. Although tremendous efforts have been made on dynamic biped locomotion for smooth motion under various scenarios, the gait is still not as efficient as human. Even for the state-of-art humanoid robot ASIMO, the energy consumption is roughly 20 times the energy (scaled) that a human uses to walk on flat surfaces [47].

The reason is that the high-gain feedback, and therefore the considerable joint torques are cancelling out the natural dynamics of the machine to follow a desired trajectory.

In [48], a passive dynamic walker is proposed to walk downslope without any actuation. Among the work of improving energy efficiency in legged-robot locomo- tion, [48] has pushed it to the extremity in respecting the natural dynamics of biped locomotion. Through detailed and elegant analysis, it is proved to be possible to walk downslope driven by gravity only. In the modeling discussed above, the leg is only rigid body without knee joints. To avoid collision of the swinging leg, small

51 motor is attached to bend foot pedals in the air. However, the author investigates the possibility of fully passive knee joint to solve this problem.

The passive walking gait demonstrated in [48] is impressive but it still bears some disadvantages. First of all, the only power source is the gravity. So such fully passive machine can only walk down a slope. Such characteristic limits the application of this work. Second, to achieve stable cyclic walking, the gait configurations are highly dependent on the setting of the terrain. The disturbances of both environmental and systematic parameters are investigated in [48]. As shown in the derivation of the system dynamics, there are some approximations and linearization applied relying on assumptions like small slope etc. So once the environment is fixed, the stable gait is

fixed. Such inflexibility of gait choice is also a disadvantage. Moreover, in the support transfer stage, the inelastic model may not perfectly capture collision features. Some negative work is done to make the system deviate from the cyclic states. As seen in the experiment, usually after some steps the passive walker collapses.

As seen in [48], the fully passive dynamic walker can only walk downslope since the gravity is the only power source. Since walking on level surface is the most common biped locomotion in practice, one may want to realize the level biped gait under the framework of passive walker. Although biped walking on level surface has been researched long before the work in [48], they are not competitive in energy efficiency compared with the passive dynamic approach. In [47], actuation is added to substitute the gravity to power the system walking.

Reference [49] shows three actuated passive walkers developed by Cornell, Delft and MIT, respectively. An apparent feature of these robots is their human like struc- ture. In the Cornell robot, actuation is added in the ankle joints. To make up for the

52 energy losses due to dissipation in collision when walking at constant speed, the ankle actively extends when triggered by the feet hitting the ground. This is realized by pulling the heel by the motor. The hip joint is unpowered and knee joints are passive with only latches. An interesting design is the synchronization of arms and legs. In the Cornell biped robot, the arms swing forward with the opposite side leg. This agrees with the strategy in human locomotion. Besides the structural improvements, the efficiency of the human, humanoid robot and actuated passive walkers are com- pared in [47]. After scaling, the Cornell biped walker is almost as efficient as human being. This means the passive dynamic strategy outperforms the traditional biped walking which follows generated trajectories through controllers.

However, there are still some problems to be solved in extending the work of actu- ated passive robots. Firstly, the knee joint is not actuated which makes it challenging to stand still. Without some mechanical designs to lock the knee joints in case of standing, the robot will collapse. Also in case of walking upslope/upstairs or there are some obstacles blocking the way of the swing leg, ankle actuation only is not enough for such scenarios. So we consider that actuation in the knee joints should be advantageous.

3.2.2 Birth of swing-through exoskeleton

As rehabilitation attracts more and more attention and various devices have been developed for different patients, robots should be put into practice to help people with impaired walking capabilities. One popular research is the lower-extremity exoskele- ton to aid walking. Current approach of controlling the motion of such exoskeleton is using controllers to follow some trajectories. Just an resembling of the development in

53 humanoid , the framework of passive walking should be introduced in the locomotion related exoskeletons. One benefit is the high energy efficiency.

Since most prevailing lower exoskeletons requires large battery to power the system, the mobility of its application is limited. If the actuated passive walking is realized by such exoskeletons, this problem will be solved. The crutch-assisted swing-through gait is one possible solution of such trials shown in Fig. 3.1.

Figure 3.1: Swing-through gait with crutches [8]

In our exoskeleton design for performing the swing-through gait, active knee joint is proposed to enable the possibility of standing and ensure leg clearance in more complex cases than level walking. Similar to the extension of foot pedal of Cornell biped, the slightly bent leg can provide such push-up through knee joint motion.

When the crutches are holding on the ground, through proper motion of knee joints, a pole-vaulting like motion is achieved to swing over obstacles. So active knee joint will provide more flexibility compared with active ankle joint only. However, the ankle joint needs some special design for our robot. Initially we propose no ankle joint and design the foot pedal to be semicircular. But such design will harm the stability in standing still. So we propose some passive mechanical device to control

54 the ankle joint, which is adding a damper across the leg and heel. Such device can absorb energy when heel hitting the ground and help the body rotate forward when swinging forward the crutches. Moreover, it can help lock the ankle joint when foot is in the air. In the MIT robot, there are two springs linked to the foot pedal. These springs function similarly with our proposed ankle joint design.

3.2.3 Modeling and simulation

In the practical swing through gait of a person with a pair crutches, the motion of hip joint is very small. Shoulder and knee joints are most crucial in fulfilling the motion. So we use the following three-link humanoid model to analyze the two- dimensional motion in the sagital plane. Link-1 denotes the human leg. Link-2 is the human trunk with thighs. Link-3 denotes the synchronized crutches and arms on them. The ground coordinate system is shown to the right in Fig. 3.2 with its origin as O. For better illustration, the link ends are denoted as A, B, C, D. τ1 and τ2 are available at B and C, denoting the knee and shoulder joints, respectively. The motion can be separated into two phases based on either A or D is on the ground without slippery. So we need to derive two sets of dynamic equations due to the structural difference.

Figure 3.2: Three-link humanoid model for swing-through gait

55 Figure 3.3: Joint angles in swing phase (left) and rotation phase (right)

When the crutch tips are fixed on the ground in the swing phase, the dynamic equation is in the form of

 0  ¨ ˙ τ2 = M1(Θ)Θ + V1(Θ, Θ) + G1(Θ) τ1

T where Θ = [θ1, θ2, θ3] . When the crutches are swinging in the air, the dynamic equation is in the form of

 0  ¨ ˙ τ1 = M2(Φ)Φ + V1(Φ, Φ) + G1(Φ) τ2

T where Φ = [φ1, φ2, φ3] .

Since the motion is periodic, the two phases above should occur alternatively. The relation between the two phases depends on the transition conditions like collision model and double support-phases. In general, the two sets of angles we defined can be easily transformed based on the following joint angle relationship in degrees:

 φ + φ + φ + θ = 180  1 2 3 φ1 + θ1 + θ2 + θ3 = 180  φ2 + θ3 = 0.

56 Figure 3.4: Zoomed in view of foot pedal in swing-through motion

In the swing-through motion with our exoskeleton, one key problem to solve is the clearance of the legs when swinging forward. In the model derivation shown above, the foot pedal are modeled as a dot without any length. This is not true in practice, so we add the foot pedal to the human model same as Fig. 3.2. The zoomed in view of the knee and ankle joint are shown in Fig. 3.3. θcrutch and θknee are same as θ1 and θ3 in Fig. 3.2. Since the potential users may have no control of the ankle, we model the ankle joint to be fully passive. When the torso swings over the crutch tips, the ground reaction force on the foot pedal will change accordingly. Friction is proportional to the ground reaction force, which prevent the motion if feet are dragging on the ground.

Through dynamic analysis, we hope to find the minimum ground reaction force to obtain a good understanding of when to trigger the knee motion for swinging leg forward. The result is shown Fig. 3.5. From the simulation result, we can see that the ground reaction force is concave throughout the swing phase. If the ankle joint is fully passive, knee bending around the minimum ground reaction force is desired.

The reason is that overcoming the dragging friction from foot pedals is most possible with only knee bending from the swing-through exoskeleton.

57 Figure 3.5: Ground reaction forces in swing-forward phase

3.2.4 Prototype design and preliminary experiments

To develop the prototype of swing-through exoskeleton, the most crucial part is the knee joint. With the assumption of perfectly elastic collision during the phase transition, the knee joint should be around 5 Nm to bend the leg for swinging forward based on the analysis in Section 3.2.3. In most joint design of humanoid robots, speed reducer is usually used with a DC motor for actuation. The benefits are threefold.

First of all, the rotational speed of the DC motor is usually much higher than the requirement of actuated joint. The speed reducer connecting the motor output and robot link reduces the rotational speed by ratio of n. Moreover, as the speed is reduced, the effective output torque is multiplied by the same ratio. The third benefit

58 accompanied by the speed reducer is the reduced requirement of joint accessories.

One example is the optical encoder mentioned in Section 1.1.6. Since precise position

control depends on high resolution encoders, putting the encoder onto the motor shaft

can reduce the resolution requirement by the speed reduction ratio of n.

In our application of the swing-through exoskeleton, the robotic joint should be

attached along the leg. So we choose the harmonic drive instead of gear box as

the speed reducer. The harmonic drive is more compact in size. After choosing

the DC motor and speed reducer for our knee joint, another thing is the electronics

for controlling the motor motion. In our case, we use the Arduino micro-controller

and matching motor board to power the motor. Fig. 3.6 shows the whole knee joint

attached on the knee brace. The knee brace we use in our prototype is off-the-shelf

product with motion range setting. This mechanism can limit the motion of knee

joint with some mechanical device. It can help prevent from collapsing in case of

motor failure.

Figure 3.6: Knee joint of the swing-through exoskeleton

In our preliminary experiment, the swing-through exoskeleton is tested on myself.

The testing results indicate that the performance highly depends on the timing of

59 knee bending. With the force sensing information and the timing of discussion in

Section 3.2.3, we manage to swing forward in most cases. However, the landing case

has some problems. When the human upper body behaves similarly to the desired

motion, the landing is acceptable. If the human motion deviates heavily from the

desired motion, the landing impact is huge and will damage the system. Since the

landing time is almost instantaneous, sensing based impact control will be difficult

and increase the costs of our device. So we think some ankle joint mechanism should

be added to make the motion smooth and comfortable.

Figure 3.7: Passive damping strut across ankle

In normal swing-through locomotion with only crutches, human ankle joint tends to push down to drive the swinging and cushion the impact in landing phase. During my post-op of Anterior Cruciate Ligament (ACL) reconstruction, traversing long distance with the crutches usually results in the sour of my ankle. Enlightened by the ground reaction force analysis and my experience, a fully passive ankle joint is proposed to help perform swing-through gait better and reduce the burden on ankle joints. We propose a passive damping strut across the rear part of foot. It can store energy in landing and push the rear part of foot pedal to help take off as shown in

Fig. 3.7.

60 3.3 Sparrow: the Robotic Walker

3.3.1 Birth of the Sparrow

In Section 3.2, we conclude that the upper body motion will directly affect the per- formance of swing-through gait with crutches. The reason is that the swing-through gait is relatively dynamic which depends on timely and accurate cooperation between human upper body and the exoskeleton. This requirement may be uncomfortable for potential users liker elder people. In daily life, it is also the case that elder people prefer sitting on wheelchair to using crutches. To eliminate this disadvantage, we propose an robotic walker aiding the biped locomotion.

In practice, walkers are used to bear some body weight for people with impaired strength or balancing in legs. The walker provides additional supporting on the ground and thus balancing becomes easier. The walker aided locomotion can be viewed as a variety of quadruped walking. With the help of walker, the motion can be quasi-static. When leg is about to swing, the supporting leg and walker forms a large supporting area on the ground. Thus the stability is highly improved as discussed in Section 2.2.3. As a result, people who use the walker have much longer time to perform the desired leg swing. Moreover, the slowed-down motion reduces the landing impact which may cause potential damages. On the other hand, the introduction of walker lead to the possibilities of load redistribution. This is benefit from the closed loop formed by human body and walker as discussed in Section 2.4.

However, for people who has no control of their body from the waist down, performing leg swing is still challenging.

Sparrow is the robotic walker we developed aiming to help both paraplegic people and those who has impaired lower-extremity capabilities in walking. It consists of

61 three parts to help recover humanoid locomotion. First of all, the frame similar to the traditional walker provides the support for hands to alleviate the load on legs. By controlling the upper body posture, people can actively distribute the body weight between upper body and legs. Also through leaning to the left or the right, ground reaction force on both legs can be tuned. When the left leg is about to swing, leaning to the right can make the swinging easier and ensure clearance with the ground. This lateral swing pattern also exists in the normal biped walking.

The second part is the knee braces. It is the most crucial part of our design.

The knee braces should be attached onto human legs. Through certain mechanical lock design, the motion range permitted is limited. When the knee motion tends to cross the limits, mechanical lock will stop the motion going any further. This design is will prevent collapse even without any actuation in the knee joint. So the power consumption for sustaining body weight is omitted similar to the case in Section 3.2.

If we lock the knee joint, the thigh and leg become a rigid link without any knee motion.

The third part of the robotic walker is effective hip joints. For people with no control of their lower extremity, leg swing is the only challenge left given the previous two parts of design. Since the hip rotation is the key in walker-assisted motion, we need some design recovering the functionality of hip joints. It should connect human legs and the walker frame. When stepping forward is desired, it pulls the legs forward. When a certain leg is on the ground, it will release as upper body moves forward. So the pulling mechanism behaves effectively as hip joints. The first solution is using some energy storing components like a spring. When the walker is pushed forward, the distance between the walker and stance legs increases. Energy is stored

62 in the spring. Since the body weight is mainly on the legs, the friction on the foot pedals is enough to fight the pulling force. When leg swing is desired, human can shift the upper body to tune weight distribution. Consequently, the reduced ground reaction force leads to friction reduction. Then the pulling force will drive the leg forward. To stop the leg swing, leaning back towards the swinging side can kill the leg motion. Through the walker motion and human body leaning, the passive pulling mechanism store and release energy periodically to drive the leg swing. Thus the hip joint functionality is recovered.

3.3.2 Prototype design and experiment

In the discussion above, the pulling mechanism is the key in performing walker- assisted locomotion successfully. So we perform analysis to figure out the details of it. Fig. 3.8 shows the side view of walker-assisted walking with fully passive pulling mechanism. We will analyze the leg swing phase with walker fixed on the ground.

The black frame represents the walker. The blue and red part denote the left and right side of human beings. In Fig. 3.8, only one pulling device connecting the walker and blue side leg due to the symmetry. The human model is based on my height, weight and human segmentation data.

In our optimization problem, the variables are specifications of the passive pulling mechanism: pin position on the walker, rest length and stiffness. We hope to minimize the swinging foot speed at the time of landing. However, the walking parameters like step length, foot pedal height and leg swing time differ in different scenarios for various people. The corresponding optimal configurations of the passive pulling mechanism will change accordingly. But once the hardware is deployed, it’s specification is fixed.

63 Figure 3.8: Robotic walker with passive pulling mechanism

Moreover, the constant stiffness coefficient is not ideal in this application. During the

initial swinging phase, the gravity will help rotate the leg forward and pulling force

required is small. While the leg swing over the vertical position, the gravity will slow

down the swing angular speed. At this time, the desired pulling force is greater but

the force from the passive mechanism is smaller due to the reduced length. So we look

for alternative ways to meet the various pulling requirements for different person.

Our solution is using two motors to drive the strings connecting the walker and

human legs. Through simulation, the maximum torque for leg pulling in the swinging

phase is 10 N·m. Since the pulling point on the leg is between the knee and ankle

joints, the effective force to fight against the friction is enough even 25 % of body

weight is on the swinging side. In one step, the change in rope length is smaller than

0.5 m. The required output speed of motors should be within 500 RPM. Geared motor and pulley system are adopted for pulling the legs. Through the strings con- necting knee braces and the walker frame, people can shift the center of mass in

64 cooperation of the leg swing. Moreover, the knee braces have locking mechanism to prevent collapsing.

In the leg swing phase, the walker needs to be stable on the ground. This origi- nally depends on human operation. However, we demand the shift of center of mass for leg swing which also need posture adjustment from human. To alleviate the re- sponsibilities of potential users, the front wheels of the walker are actuated by two geared DC motors. The benefits are twofolds. First of all, the walker depends on electric power to move forward. Thus the energy consumption from user is reduced.

Secondly, the walker is more stable and flexible when people take steps. Since the wheels are controlled by DC motors, close loop speed control can ensure the walker at desired state. Thus unexpected walker motion can be eliminated in the leg swing phase. Also turning becomes easier with the actuated front wheels. Fig. 3.9 and

Fig. 3.10 shows the snapshot of our prototype.

The electronics of Sparrow consists three main parts: the power system, the cen- tral controller and the distributed controllers. To drive the motors and process the corresponding encoder information, we use the Arduino as the distributed controller board. Position control are designed based on the geared motor we choose. To enable the communication between the electronics, we use an Raspberry Pi as the central processing unit. The Raspberry Pi is a full-size computer with fast processing capabil- ities and more memories than the Arduino board. ROS is installed on the Raspberry

Pi as the operating system for Sparrow. The distributed controllers like Arduino function as nodes in ROS, under which the real-time communication is realized. The rated voltage for Arduino, Raspberry Pi and geared motor are 5 V, 3.3 V and 12 V.

65 Figure 3.9: Front view of Sparrow

Figure 3.10: Back view of Sparrow

66 So we have two batteries providing 12 V and 3.3 V output. The 5 V input for Arduino can be drawn from the motor shield with 12 V input.

Fig. 3.11 shows the electronic structure and associated control scheme of Spar- row. The highest layer is the ROS running on Raspberry Pi. The second layer is the distributed controllers such as Arduino and IMU sensors. The lowest layer is the functional components. The communication between the first and second layer are based on ROS messages between nodes. The message contains the customized infor- mation of the system denoted by black arrows in Fig. 3.11. The blue arrows denote the encoder reading of geared motor. Based on the desired position and encoder sens- ing of the current position, Arduino can determine the corresponding PWM input to drive the motors (represented by red arrows). Moreover, the colors of rectangles refer to the rated operating voltage: black (3.3 V), blue (5 V) and red (12 V).

Figure 3.11: Electronic structure and associated control scheme of Sparrow

67 In the preliminary experiment, we test the performance of Sparrow on people with no walking disabilities. The knee locking is proved to be harmless to leg swing. Also the body shift to ensure clearance is small which requires little energy from human.

Moreover, the pulling mechanism makes the subjects feel relaxed in the hip joints, which is promising for potential users suffering ACL.

3.4 Conclusion

In this chapter, we present two new design of lower-extremity exoskeletons: the swing-through exoskeleton and the robotic walker Sparrow. The idea of the two designs is to reduce the actuation in exoskeleton and rely on more cooperation between human and robotic devices. The crutches in swing-through exoskeleton function as an effective leg and a dynamic swing-through gait is enabled. The testing shows that more components like damping ankle joint is required to perform comfortable and natural swing-through motion with our exoskeleton design. On the other hand, the robotic walker we proposed enables a more static locomotion type. Thus the cooperation between human and robot is much easier to realize. The experiment shows the potentials in recovering legged motion for people with impaired capabilities in the lower-extremity. Moreover, the simplicity of the design makes it attractive for an effective device affordable for more potential users.

68 Chapter 4: IMU sensing

4.1 Introduction

In humanoid robot, the IMU is usually attached to the trunk of the robot. The reason is that arms and legs are constantly in motion while trunk remains stationary in most cases. In both biped and the Ski-Type walking, we monitor the IMU reading to plan motion and check states of the robot. In case the robot is tilting or falling unexpectedly, the readings of the IMU can provide real time warning and trigger the emergency mechanism to reduce the damage to the robot.

In the application of exoskeletons, the deployment of IMU is similar to that of humanoid robot. For exoskeletons like ReWalk or Suitx, the IMU updates the states of human torso and determines the motion to perform accordingly. Since the legs are attached onto by an equivalent biped legged system, the joint readings can provide status of the human legs.

While in our design of the Sparrow robotic walker, no device is attached to human. We emphasize to compensate the joint rotation capabilities instead of replacing the legs. So no accurate joint information can be gathered of human legs. However, the potential user of the Sparrow walker usually suffer from

SCI, who has no feeling and control of their legs. In their training to cooperate with

69 the robot, it is difficult without the knowledge of their legs. Moreover, the pulling mechanism needs sensing feedback to tune its pulling forces. Consequently, we attach two IMUs on the thighs of the user to update position and orientation of the legs.

As mentioned in the previous chapter, the knee has a very small range motion so only one IMU is required for each leg. With the help of IMUs, the pulling forces can be tuned based on the desired motion and leg status sensed. Additionally, in the training procedure, the feedback of legs’ status makes it easier for the subjects to perform upper body motions harmonically with the walker.

This chapter is organized as follows. Section 4.2 shows the dynamic analysis of normal walking, stumbling and fall with the IMU information from the torso.

Section 4.3 presents the detection designing and experiment result with the IMU on cellphones. Section 4.4 concludes this chapter.

4.2 Dynamic Analysis of Human Motions

To understand the dynamics of normal walking, stumbling and fall, the first issue is to choose models for the motions. One possible approach is using separate models for each of the three activities, which are as accurate as possible to model real human motion. The other approach is to choose one model which is universal for all of them.

The model should at least reveal the differences of these motions to some extent such that detection is possible. Conceptually, all the three activities can be divided into

SSP and DSP and no perfect modeling for fall and stumbling has been developed to simulate the dynamics. So we propose to adopt the second approach and choose a model which can be used for all the three activities.

70 Normal walking has been well studied and many modeling has been done and realized to make humanoid robot walk [46, 50, 51]. In our research, only one inertia sensor embedded on the mobile phone is deployed, so it is not possible to depict both motion and orientation of the body. Instead we can just measure the data of one point of interest. The most reasonable way of deploying the motion sensor is to attach it to the waist, which is the approximate center of mass (COM) position [52], therefore, we focus on the COM trajectory modeling.

V x 1 M M' Fx

0.8 Fz 0.6 L(θ) y /m θ 0.4 Z

0.2

X 0 O 0.5L step

−0.2 −0.4 −0.2 0 0.2 0.4 0.6 0.8 1 x /m

Figure 4.1: Inverse pendulum model of human behavior

According to [52], the typical COM trajectory when people walk normally is a curve which is the intersection of two perpendicular planes. The horizontal and vertical planes are both sinusoid shaped. Moreover, people evolve into the walking pattern to minimize the COM displacement in order to save energy. Since we care most the status of the COM instead of how to configure the joint values of legs, one link inverse pendulum modeling is adequate for our purpose. Also the most significant

71 feature of the human motions lie in the vertical plane and the SSP is symmetric about

the position where the COM is just above the supporting foot. So in our study only

the side view is explored. Fig. 4.1 shows the model for the half cycle of the SSP before

the next landing. The parameters are defined as follows:

• M : the motion sensor position, which is the approximate COM position.

• O : the contact point of the supporting leg.

• L(θ) : the effective length of the supporting leg.

• θ : the angle point M rotated during SSP.

• M 0 : the COM position at the end of SSP.

• 0.5Lstep : half of the step length.

• Vx : the horizontal linear velocity when M is above O.

There are some assumptions about the model. First of all, L(θ) is changing for

different θ in normal walking. Generally speaking, when θ increases, L(θ) becomes

longer to reduce the vertical COM displacement [52]. Also the link is massless. This

is because we measure the motion of the COM which is equivalent to the whole body

mass. Moreover, the leg force exerted on the COM is along the link and can be

decomposed as Fx and Fz as shown in Fig. 4.1. To describe the motion of point

M, x(θ) and z(θ) are the instant position of the COM along the x-axis and y-axis, respectively. Since the length of the link L(θ) is a function of θ, it is more reasonable to express the positions as function of θ instead of time. According to Newton equation, the acceleration equations are derived:

Fx = mx¨(θ) (4.1)

72 Fz − mg = mz¨(θ) (4.2) where m is the mass and g is the gravitational acceleration. Also at the initial position shown in Fig. 4.1, the horizontal speed is Vx. Based on our assumption, two more equations are: F x(θ) x = = tan θ (4.3) Fz z(θ) x2(θ) + z2(θ) = L2(θ). (4.4)

4.2.1 SSP of different activities

Figure 4.2: Illustration of three activities

73 To understand the dynamics for each activity shown in Fig. 4.2, the parameter

values need to be considered. For better illustration, θN , θS and θF are the θ values at the end of the SSP for normal walking, stumbling and fall, respectively.

First of all, L(θ) and Lstep will vary for different people in normal walking. Even for the same person, Lstep is not constant corresponding to different speed of gaits.

In normal walking, even though Lstep for each individual is different because of the

L(θ), it is reasonable to assume that by the end of the SSP, θN is a stable parameter.

Here we do not make assumption that θN is constant, but is with small variance for different speeds in normal walking.

Fall is one kind of severe abnormal behavior which has been well studied. Basically it is a free fall process before contacting the ground. We focus on the scenario that the swinging leg is somehow blocked by obstacles so that the balance is lost. In this

◦ case, the swinging leg never landed until θF ≈ 90 .

Different from a fall, if a person succeeds in landing the swinging leg on the

◦ ground to regain balance, it is a stumbling. In this sense, θS < 90 . On the other hand, although the swinging leg lands before falling, the rotating angle throughout the SSP should be greater than that in normal walking, that is θS > θN .

In conclusion, the rotating angle in the SSP until landing can differentiate the three activities. In general, the following relationship holds:

◦ θN < θS < θF ≈ 90 . (4.5)

To obtain the dynamic differences among the thee motions, how the velocity and

acceleration change with θ in our model needs to be investigated.

74 4.2.2 Dynamic analysis

Based on the discussion in the previous parts, both linear velocity and acceleration

are functions of θ. While for a fixed θ, only the initial state determines the dynamics.

Since the COM is about 55% of the whole body height above the ground, L = 1 m

which is the approximate COM height for people of 1.8m high. As to the horizontal

linear speed, it is reasonable to set Vx = 1 m/s for normal walking. Based on these

parameters, Fig. 4.3(a)-(b) show the result ofz ˙,z ¨ and Fz as functions of θ.

(a) 0

−0.5 ˙ z

−1 0 2 4 6 8 10 12 14 16 18 20 θ / o (b) 0

−0.5 ¨ z/g −1 0 2 4 6 8 10 12 14 16 18 20 θ / o (c)

0.6 0.4 /mg z 0.2 F

0 2 4 6 8 10 12 14 16 18 20 θ / o

Figure 4.3: Dynamic analysis ofz ˙,z ¨ and Fz

In Fig. 4.3(a), the initialz ˙ is zero and increases as θ becomes larger. In Fig. 4.3(b), the y axis shows the ratio ofz ¨ to the gravitational acceleration g for better illustration.

We can see |z/g¨ | at initial position is some negative value. This is the reason that

Vx 6= 0 so that the centrifugal force makes Fz < mg. As θ increases, |z/g¨ | approaches

to 1. In conclusion, see bothz ˙ andz ¨ increase with θ.

75 Another important aspect is that the curves in Fig. 4.3(a)-(b) both cut off at the

same value of θ. Fig. 4.3(c) which shows how Fz change with θ will explain this phenomenon. Since the force is a function of the mass m, we use the ratio of Fz/mg

as measurement. When θ increase, the speed becomes greater and the centrifugal

force decreases Fz. At some θ, Fz will become zero. Based on the assumption in our

modeling, Fz can only be some non-negative value. So when Fz decreases to zero and

θ further increases, the COM enters the free fall stage. Here we denote the upper

bound of θ before entering into the free fall stage as θUB.

From the analysis above, we can see that the existence of θUB divides the SSP into to stages. The first stage can be analyzed using our model. The second stage is a free fall process with the velocity when θ = θUB as the initial and last until the

impact occurrence. Obviously, the value of θUB will affect the dynamics of the whole

SSP. So an investigation of θUB is indispensable.

4.2.3 Relationship of θUB with L(θ) and Vx

Through our analysis, the values of the initial COM height and velocity will affect

θUB. In Fig. 4.3, the parameter are chosen as follows: L(θ) = 1 m and Vx = 1 m/s.

However, people with different heights have different effective L(θ). Even for the same person, the walking speed will differ meaning Vx will fluctuate. The range of L(θ) is chosen as 0.8 m to 1.2 m denoting people 1.45 m to 2.18 m high, and Vx is set to be

0 m/s to 2 m/s. The relationship is shown in Fig. 4.4 and some comments are made:

• A smaller Vx can provide larger θUB, because the centrifugal force is smaller at

the same θ.

76 • A greater L(θ) can also result in greater θUB because of the reduced centrifugal

force required.

◦ • Within the range of our setting, θUB is always greater than 10 .

◦ • The maximum value of θUB is around 22 .

22

20

25 18

20 16 °

/ 15 UB

θ 14

10 12 1.4 1.2 5 10 2 1.5 1 1 0.5 0.8 0 L m Vx m/s height

Figure 4.4: θUB under different initials

The results agree with the common sense in daily life. When people walk faster, the reaction force on the supporting leg during the SSP is smaller. Thus θUB decreases.

In case a person is stumbled by obstacle, equivalently the Vx is increased so the chances of entering the free fall state is greater because of the speed increase along with the

θUB reduction.

4.2.4 Impact in the transition between SSP and DSP

Succeeding the SSP, the swinging foot will have an impact with the ground and becomes DSP for all three activities. This impact procedure is the transition between

77 SSP and DSP. Since the time duration of the impact is very small, the instant mag-

nitude of the impact force is very huge and can be viewed as infinite. In [53,54], the

collision of manipulators with the environment is mathematically modeled and how

the collision changes states of the system is studied. Similarly here we model the

collision problems as follows:

• z˙(t0) is the vertical linear velocity just before the impact.

• ∆t is the duration of the impact.

• z˙(t0 + ∆t) is the vertical linear velocity right after the impact.

• Γδ denotes the generalized constraint force along the z-axis in the collision.

The collision procedure along the z-axis can be modeled as:

Z t0+∆t m(z ˙(t0 + ∆t) − z˙(t0)) = Γδ dt (4.6) t0

Since the magnitude of an impulse namely Γδ shown in Fig. 4.2 tends to infinite as ∆t → 0, the right side of Eq. 4.6 converges towards a finite quantity. Thus we further denote Z t0+∆t Tδ = Γδ dt (4.7) t0 and Tδ is called the generalized impulsive force. Then Eq. 4.6 comes

m(z ˙(t0 + ∆t) − z˙(t0)) = Tδ (4.8)

wherez ˙(t0 + ∆t)−z˙(t0) represents the linear velocity change immediately before and after the collision. Eq. 4.8 is a general form for impulsive based impact formulation.

In our study, we propose to use it for analyzing the transition between the SSP and

78 the DSP. In normal walking, stumbling and falling down, the vertical linear velocities

are all zeros after collision, which meansz ˙(t0 + ∆t) = 0. Thus we get

− mz˙(t0) = Tδ. (4.9)

Based on Eq. 4.9 we can compare the impulse differences in the three activities.

First of all, the magnitude of the impulse is proportional to the magnitude ofz ˙(t0).

The greater the speed before the impact, the higher the impulsive force will be gen- erated. Sincez ˙(t0) denotes the vertical velocity just before the impact, we can use another form to express it. In the dynamic analysis applying our model, we use θ as

the variable instead of time to describe the system. To keep consistency,z ˙(t0) should

be expressed asz ˙(θN ),z ˙(θS) andz ˙(θF ) for the three corresponding activities.

4.2.5 Identify the dynamic differences

Until now we have modeled and analyzed the locomotion dynamics of normal walk-

ing, stumbling and fall. In this part, we will investigate the differences for seperating

them based on our previous studies.

◦ ◦ First of all, θSSP is around 8 in normal walking [52], which means θN ≈ 8 .

This value implies that the free fall period will never appear in normal walking by comparing it with θUB in Fig. 4.4. Referring to the result in Fig. 4.3, we can conclude thatz ¨(θN ) should be at most around 0.5g and Tδ is nor very large becausez ˙(θN ) is small according to Eq. 4.6. Also in normal walking people are conscious about the landing so Tδ is not a large value.

In stumbling, the value of θS will differ significantly in different stumbling scenar- ios. If a person lands the swinging foot much later than normal walking, θS will be a large number. In our setting, a conservative assumption is θS ≥ 1.5θN . If θ ≤ 1.5θN ,

79 we just consider it a hard step instead of stumbling. To determinez ˙(θS) andz ¨(θS), one factor to notice is whether the SSP consists of the free fall stage. Based on our discussion, if a person is stumbled, the effective Vx is increased. By looking at

Fig. 4.4, θS will make the SSP close to or experience a short time in the free fall stage.

Consequently,z ¨(θS) is close to g, and Tδ will be a great value because of the large z˙(θN ).

◦ In a fall, although θF will not be close to 90 in practice, it is much greater value

◦ than θN . What’s more, θUB is around 20 according to Fig. 4.4, so the free fall stage will be definitely experienced in a fall. Soz ¨(θF ) ≈ g as well, butz ˙(θF ) is much greater than normal walking and stumbling.

In conclusion, stumbling and fall will show a much higher peak in acceleration because of the impulse by unconscious impact compared with normal walking. On the other hand, before the impact both stumbling and fall experience a free fall like stage. But in a fall the duration is much longer than stumbling.

4.3 Human Behavior Detection

4.3.1 Sensing principles using mobile phone

In recent years, the widespread popularity of smart phones stimulates the research on this platforms and beneficial from the rapid development of micro-electromechanical systems (MEMS) and smart phones have become more powerful with more sensors onboard. Much research in human activity classification has been performed based on the motion sensor on cellphones [55–59]. Among the previous work, most of the focus is on extracting statistical features like mean, variance etc. and designing clas- sification algorithms [60, 61]. The sensor has been mounted at wrist [62], waist [63]

80 and chest [64,65]. In our research, we use the motion sensor integrated in the Google

Nexus for data collecting. Fig. 4.5 shows how motion sensing on mobile phone is implemented [66].

Figure 4.5: Motion sensing using cellphones

First of all, the motion sensor is fixed with the cellphone. The frame which is attached to the phone is shown on the left in Fig. 4.5. While the frame attached to earth is shown on the right. The two coordinates are called local and world frame, respectively. Generally the orientation of the local frame is not stationary in the world frame, but the data measured by the motion sensor is with respect to the local frame.

To obtain the motion measurement in the world frame, the relationship between the local and world frames need to be computed. R shown in Fig. 4.5 denotes the rotation matrix from the local to the world frame. Based on the gravitational force and earth’s magnetic field sensed in the local frame, R can be computed accordingly. Based on the computed R, the six components from the 3-axis accelerometer and 3-axis gyroscopes ¨ ¨ ¨ (ax, ay, az, θx, θz, θz) can be translated into the linear and angular accelerations with respect to the world frame. In our research, we focus on the linear acceleration sensed along the z-axis in the world frame, namely the (az)Earth.

81 The sampling frequency is an important consideration. According to [66], there are three working modes for the motion sensors and we choose the fastest sensing rate to get more sensing data. Through experiment, the rate is about 50Hz for the acceleration sensing.

For detection purpose, a moving window is needed to segment the sensing data.

Usually the window length in the time domain is of fixed length. Previously, the length is determined based on the average motion duration. In our approach, we propose to use the correlation approach to process the acceleration data. The effective window length is determined according to the user behavior at the initial sensing stage. We assume that the person will not fall or stumble at the very beginning of sensing and at least two normal steps are performed. Based on the two steps, we set the model length to be the length of the two peaks in acceleration. In this way, the length contains all the data points for a normal step. If abnormal behavior appears then the correlation model can provide the difference by comparing correlation result with normal step.

4.3.2 Distinguish static and dynamic states

There are four basic states of the human: standing, normal walking, stumbling and falling down. Since we propose to use correlation for classification, the choice of the model is important. As discussed in the previous part, the length of the correlation model is determined by initial two normal steps. Here are several considerations for choosing the model shape. Firstly, the sensing data is of acceleration with noise and traditionally a low pass filter should be applied to process the data. So the correlation model should have such low pass characteristics. Secondly, in the impulse-based

82 impact analysis, the impulse is some quantity of integration over time in Eq. 4.7, so

the correlation result should reflect the linear velocity. Consequently we choose the

half sinusoid model for performing correlation as shown in Fig. 4.6.

1

0.5

0 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 t Figure 4.6: The half sinusoid shape

By comparing the correlation result with zero, standing and dynamic states can be separated. But for the three dynamic states of normal walking, stumbling and fall, how to distinguish them according to the correlation result needs to be considered.

15 Stumbling Normal Fall 10 Walking

5 2

0 ¨ z m/s −5

−10

−15 0 200 400 600 800 1000 1200 1400 1600 1800 2000 Sample Index Figure 4.7: Data before correlation

Fig. 4.7 shows the raw sensing data ofz ¨ before correlation. For both stumbling

and fall, the great positive acceleration is from the impulse illustrated in Section II.

Among the three stumblings, it is obvious that the first two generate greater impulses.

This is the reason that in such stumbling, θS is greater than the third. Based on our

83 analysis in Section II, its associated negative acceleration peak before the impulse

should be greater as well because of the larger θS. This is validated in Fig. 4.7. While

in a fall, both peaks are greater than those in a stumbling. One thing to notice

is that after the impulse related peak, an abnormal negative peak appears in both

stumbling and fall. This is caused by the structure of MEMS motion sensor on the

mobile phone. In the motion sensor, there are two springs attached to the movable

microstructure. When a huge impulse is applied, the spring will generate an opposite

reaction force. Since impulse will disappear very fast, the reaction force of the springs

will cause a negative overshoot, the overshoot will be killed in short time depending

on the structure of MEMS. So the negative peak and the following associated positive

peak in stumbling is the result of the MEMS structure instead of the SSP.

80 Stumbling 60 Normal Fall 40 walking

20

0

−20

−40 correlation result

−60

−80 0 200 400 600 800 1000 1200 1400 1600 1800 2000 lags Figure 4.8: Correlation result for dynamic states

Fig. 4.8 shows the correlation result corresponding to Fig. 4.7. The correlation result reflects the piecewise average velocity to some extent and some comments are listed:

• The MEMS caused negative peaks are eliminated through correlation because

the oscillation die out fast.

84 • The impulses in stumbling and fall lead to the peaks in the correlation result.

And the peak value are much greater than that in normal walking. Based on

these positive peak values, we can detect whether the motion is normal walking.

• The positive peak of a fall is smaller than that of a stumbling. In Fig. 4.7,

the peak for the fall is the highest. However, after correlation it becomes lower.

There are two reasons for the discrepancy. Firstly, the impulse duration is short,

its neighboring negative data will be included in the correlation. Secondly, there

are two huge negative peaks on its both sides.

• The SSP caused negative peak in a stumbling is much smaller than a fall. This

is because the average velocity before the impact in a fall is much greater than

in a stumbling.

According to these comments, we can draw the approach to distinguish the three activities. First, use the positive peak value to decide whether it is normal walking.

In the domain of abnormal behavior, if the positive peak denoting the impulse is much greater than the SSP related negative peak, it is a stumbling; Otherwise, it is a fall.

4.3.3 Experimental Results

To test our algorithm, we choose two male adult with height of 1.75 m and 1.85 m for experiment. Since we use the first two normal steps for determining the model length and the correlation peak in normal walking, both of the subjects are required to take initial two steps with normal, fast and slow speed and then continuously record for 40 s. The experimental results are shown in Table 4.1.

85 Table 4.1: Experiment result of human behavior detection

Subject Initial Vx Standing N S F Slow 100% 95% 100% 100% A(1.75m) Normal 100% 98% 95% 95% Fast 100% 100% 90% 90% Slow 100% 95% 100% 100% B(1.85m) Normal 100% 98% 95% 95% Fast 100% 100% 90% 90%

In the experimental result, we conclude the height of the subject has no effect on the detecting performance. That is because we use online individual customized model for detection. However, the initial walking speed will affect the detection.

When initial two steps are slower, the reference peak value for normal steps after correlation will be lower. Consequently, some hard steps will be judged as abnormal and detection accuracy for normal walking is lowered. While on the other hand, the performance for detecting abnormal behavior including stumbling and fall is better because of the lower normal peak.

4.4 Conclusion

We use human locomotion model and impulsive based impact model to analyze the dynamics of the COM. Based on our analysis and simulation result, we develop the correlation based abnormal behavior detection method. The correlation model is determined based on the first two normal steps at the beginning of recording. The experiments are performed on two subjects with different heights and initial walking speeds. The detection result has validated our algorithms.

86 Chapter 5: Radiation Effects on DC Motorized Joint

5.1 Introduction

Robots have played a significant role in modern daily life. Tedious and replicated jobs like assembling and house cleaning have been taken over by different kinds of robots. However, some operations are still highly dependent on human beings like rescue. The hazarded environment usually cast great threat on human health espe- cially in the radiation sites like nuclear power plant. Confronted with the worldwide energy shortage, nuclear power plants have become the solution selected by many countries. Unfortunately, the associated problem is that the devastating pollution in- creases the difficulties of rescue when accident happens. The demand of substituting human beings with robot to perform timely and efficient rescue is a new challenge in robotics. The first challenge of robot rescue under radiation is to maintain the mo- tion and manipulation capabilities. Inspired by Fukushima Daiichi accident, DARPA has held the Grand Robotics Challenge (DRC) to mimic the rescue sites. Humanoid robots are the focus since the plant is designed for easy human-shape access. Tasks like rough terrain and ladder climbing emphasize the motion, while valve turning and wall breaking aim at the manipulation. However, the competition is held in normal outdoor environment. The second crucial problem is the radiation damage to the

87 robot modules. Both electric and mechanical components can malfunction due to the high dose radiation. In 2007, NASA initiated a related project called the Radiation

Hardened Electronics for Space Environment (RHESE) for development of radiation hardened electronic components [67]. Generally, the radiation effect on electrical cir- cuits in robotic systems has been well studied [68–70]; however, the radiation effect on the performance of robot motor system has never been well studied before. A robot joint usually consist of DC motor, speed reducer and associated controller. In our previous work, performance of the DC motor under radiation is studied including the demagnetization of the permanent magnet [71]. An open loop forward PWM drive without load is presented. In this chapter, we will extend the study to the whole DC motorized joint module to see how it will impact the performance and the motion of a DC motorized manipulator.

This chapter is organized as follows. In Section 5.2 the DC motor modeling merging the radiation effect is presented. In Section 5.3, motion of manipulator with position control is studied. Section 5.4 concludes the chapter.

5.2 DC Motor Variation after Radiation

5.2.1 DC motor model without load

According to the structure and working principles, DC motors can be categorized as brushed or brushless DC motor. Although the performances of different types of motor vary in large scale, the dynamic models capturing their behaviors are all similar. To get a quantitative result of the radiation degradation on DC motors, we pick the U12M4T servo disc motor with specifications in Table 5.1.

88 Table 5.1: U12M4T disk servo motor specifications

Specifications Symbol Values Unit Peak Torque Tp 852 N-cm Rated Output Pn 254 Watts Rated Voltage Un 40.4 Volts Rated Current In 8.71 Amps Nominal Speed n 6000 RPM 2 Rotor Inertia Jm 1.84 Kg-cm Back EMF Constant Ke 0.101 V-sec/rad Torque Constant Kτ 0.101 N-m/Amp Resistance R 0.75 Ohms Inductance L <100 uH Damping Constant Kd 1.4 N-cm/kRPM

Recall the DC motor dynamic models:  dωm (5.1)  = (τm − Kdωm)/Jm  dt   dL (5.2) U = (R + )I + Ue  dt  (5.3)  Ue = Keωm  (5.4) τm = Kτ I

where ωm is the motor angular velocity, U the input voltage, I the current, Ue the back-emf voltage, τm the output torque and Kd,Jm, R, L, Ke,Kτ are defined in

Table 5.1. The value of Ke,Kτ are the same due to the following relation:

τm = Kτ I = UeI/ωm = KeωmI/ωm = KeI (5.5)

Ke and Kτ are highly dependent on the magnetic field (B-field) intensity of the permanent magnet within the motor.

5.2.2 Flux density (B-field) damage

In our previous work, the permanent Nd-Fe-B magnets within the motor suffer handsome loss of magnetism after irradiated with fast neutrons [71]. Moreover, the

89 ferromagnetic materials are affected by neutron radiation and charged particles (pro- tons and electrons) [72–76]. Consequently, the induced demagnetization in the DC motor is studied. We model the flux density (B-field) change as

B0 − B 2 δ = = krε, where ε∼N(µ, σ ) (5.6) B0 in which δ denotes the B-field change in percentage; B0 and B are the B-field inten- sity before and after radiation within in the motor; kr is the coefficient of absorbed radiation dose; ε follows normal distribution N(µ, σ2) with µ the average and σ2 the spatial variance of particle energy.

The modeling of B-field change above leads to two inferences about the radiation effects. First of all, the absorbed dose significantly affects the degradation level. Here we assume the dose is linearly related with the B-filed change with the coefficient kr.

The second is that radiation degradation in B-field is not deterministic. That means two same motors under exactly the same radiation scenario may result in different

B-field degradation. However, once the radiation degradation is done, the change in B-field is no longer random. The normal distribution is chosen to capture the stochastic radiation effect. In Eqn. 5.6, we decouple the radiation dose and normal

2 distribution parameters, meaning µ and σ are not functions of kr. Although kr may statistically affect µ and σ2, Eqn. 5.6 fits well with our limited radiation experimental results of the permanent magnets.

5.2.3 Change of Ke and Kτ

Ke and Kτ are linear functions of the B-field intensity. When the circuit containing the current rotates within in the B-field, the B-filed intensity is actually changing slightly. When circuit is right in the center of the B-field, the intensity is the greatest.

90 Otherwise, it drops as the circuit is away from the center. So Ke and Kτ are not truly constant. However, in practical applications, the motor usually rotate fast and the slight change in B-field is blurred. Thus Ke and Kτ are constants due to the averaged

B-field intensity.

The radiation will lead to B-field change as discussed in the previous part, we can derive that the effect on Ke and Kτ also follows normal distribution

2 ∆Ke = ∆Kτ = krε1, where ε1∼N(µ1, σ1) (5.7)

Since Ke and Kτ are parameters describing the averaged B-field, we have µ1 = µ and

2 2 σ1 < σ .

5.2.4 DC motor transfer function

Transfer function of DC motor from input voltage to the output angular position is usually characterized as follows:

θm(s) Kτ Gm(s) = = 2 (5.8) U(s) s(LJms + (KdL + RJm)s) + (Kτ Ke + RKd)

From Table. 5.1, L is very small, so Eqn. 5.8 can be simplified as  θ (s) b  m = (5.9)  U(s) s(s + a)   K K + RK a = e τ d (5.10)  RJm   Kτ (5.11)  b =  RJm a and b are the zeros and poles of the system, respectively. Before radiation, the transfer function is 5780 G (s) = (5.12) mn s(s + 59.67)

91 After radiation, a and b become stochastic and dependent on each other as functions of

Ke and Kt. We perform a Monte Carlo estimation to get the approximate distribution

2 of a and b. The radiation parameters are chosen as: kr = 1, u1 = 0.03, σ1 =

0.05. Fig. 5.1 shows the simulated marginal distribution of Ke, a and b. It is shown

that a follows similar distribution with Ke due to their linear relationship shown in

Eqn. 5.10. The marginal distribution of b is kind of screwed left compared to the

normal distribution. Actually it is a chi-square distribution as indicated in Eqn. 5.11.

Figure 5.1: Marginal distributions of motor parameters

In statistical analysis, it is usually valuable to check the behavior at the mean and certain extreme conditions. Performing analysis within a 95 % confidence interval of random parameters is a solid approach. From Fig. 5.2, we can see the parameters of a

and b are correlated. Since both of them are one-to-one functions of Ke when Ke > 0,

the 95 % confidence interval of Ke defines the corresponding confidence interval for

2 aand b. As kr = 1, u1 = 0.03, σ1 = 0.05, the mean, the upper and lower 95 % quantiles

of Ke, a and b are in Table 5.2. These means and quantiles can provide quantitative degradation extend of DC motors due to radiation. Even though the radiation effects

92 on DC motors are stochastic before radiation, we can use the quantiles to evaluate the motor performance in extreme cases, predicting the worst cases that could happen.

Figure 5.2: Scatter plot showing pairwise correlation of Ke, a and b

5.3 Manipulator Motion Performance

5.3.1 Position control

For most DC motorized joint, the load is not directly attached to the output shaft.

A speed reducer usually combines the motor output shaft and load. By introducing the speed reducer, the load capacity is significantly increased. Also the radius torque

93 Table 5.2: Mean and quantiles of motor parameters after radiation

Parameter Mean 2.5 % quantile 97.5 % quantile Ke(Kτ ) 0.098 0.0538 0.1423 a 59.15 17.88 117.16 b 560.67 308 814.24

applied on the motor shaft is highly reduced, which protect the motor from potential damage. Moreover, some sensors are attached to the motor shaft to enable feedback control. Since position control is the most common control mechanism for manipu- lators, position sensor is applied to update the angular position. Incremental optical sensors are widely used due to their low cost and robust performance. Through in- tegral of the sensed pulses, the angular position is updated. The optical sensors are usually installed on the motor shaft. Since the output angular speed is reduced, the effective sensing resolution at the load end is multiplied by the speed reduction ratio. Consequently, two or three channels optical sensor is adequate for practical applications. Fig. 5.3 shows the structure of DC motorized joint module for position control.

Figure 5.3: DC motorized joint structure

94 θref is the reference angular position. θm and θ are the actual angular position

of motor shaft and load end, respectively. The speed reduction ratio is denoted as n and we have θ = θm/n. U is the voltage input of motor and output of the controller.

When PID controller is applied, U is determined by the following equations

 Z t  de(t) (5.13) U(t) = kpe(t) + ki e(t)dt + kd  0 dt e(t) = θ ef(t) − θ(t) (5.14)  r  (5.15)  θ(t) = θm(t)/n To study the radiation effects on the position control of DC motorized joint, we choose n = 100. We compare the performance with the following models:  θ(s) Kτ /(nRJm) G(s) = = (5.16)  U(s) s(s + (K K + RK)/(RJ ))  e τ m Z t de(t) (5.17)  U(t) = kpe(t) + ki e(t)dt + kd  0 dt  (5.18)  e(t) = θref(t) − θm(t)/n 57.8 Before radiation, the open-loop joint module transfer function is Gn(s) = s(s+59.67) . After radiation, the mean, 2.5 % and 97.5 % quantiles of the corresponding transfer functions are:

56.07 30.8 81.42 G = ,G = ,G = (5.19) rm s(s + 59.15) rl s(s + 17.88) ru s(s + 117.16)

In consideration of the overshoot, steady error elimination and settle time, we set

the PID coefficients to be: kp = 40, ki = 8.62 and kd = 1.26. These coefficients are

constant throughout the analysis in this part. Because once the PID controller is

designed, it will not change after radiation. For better comparison of the result, we

set the reference position to be constant 1 and the initial position to be 0. Fig. 5.4

shows the step responses of position control before and after radiation.

The Grm behaves almost the same with Gn. However, the step responses of Grl

and Gru are far away from Gn. This means after radiation, the close-loop performance

95 Figure 5.4: Step response with θref = 1 rad

◦ Figure 5.5: Step response with θref = 1

96 may differ significantly. In the I and P curves of Fig. 5.4, the values are dramatically

greater than the motor specifications. The reason is that we set θref = 1 rad directly.

In practice, the reference angle should be broke down into several intermediate refer-

ence points for smooth motion. The negative P is because the large back-emf leads

to opposite sign of U and I.

To further check our PID controller design, Fig. 5.5 shows the results when θref =

1◦, which is a more realistic setting. In this case, I and P are within the limits of motor specifications. Moreover, all the θ is regulated at θref within 0.6s and Gru has a relative long setting time. Another thing to notice is that there is an obvious overshoot in the response of Grl. From the P curve of Grl, we can see it cost the most power. That means it is the least efficient case and the controller will behave aggressively to realize the position control. Consequently, the overshoot is most likely to occur in Grl.

5.3.2 Manipulator motion

We further study the radiation effect on the robot motion. Since manipulator is a common tool equipped on the rescue robot, we use a manipulator and analyze the radiation degradation. The 5 degree-of-freedom (DOF) manipulator is the most common type like the PUMA-500 in our laboratory shown in Fig. 5.6. Excluding the two DOF on the gripper, there are three DOF on the manipulator arm. We will focus on the motion of 3 DOF robot arm.

Fig. 5.7 shows the simplified manipulator model we use in this section. Point O represents the waist joint and A is the shoulder joint. Point B and C are the elbow and wrist joint, respectively. The parameters of this model for simulation are:

97 Figure 5.6: PUMA-500 manipulator in our lab

Figure 5.7: Simplified manipulator model

98 • link length: lAB = lBC = 0.50 m

• link mass: mAB = mBC = 5 kg

• height of A: ZA = 0.20 m

Figure 5.8: Desired angular position of θO, θA and θB

The desired motion of the robot is that point C follows a circle with radius of

0.20 m in the x-y plane with center at Xs = 0.60 m, Ys = 0 m, Zs = 0.20 m. The motion should have constant linear velocity and finish one round in 10 s. Since we perform position control, θO, θA, θB denote the waist, shoulder and elbow joint angles.

As a result, the desired joint angles are shown in Fig. 5.8. For all the three joints, we use the U12M4T motor with n = 100 speed reduction. The reference updating frequency is 2Hz, so in total 20 reference angles for each joint throughout the constant speed circular motion.

99 Figure 5.9: Angle of joint O before and after radiation

Figure 5.10: Steady state error of joint O before and after radiation

100 Figure 5.11: Angle of joint A before and after radiation

Figure 5.12: Steady state error of joint A before and after radiation

101 Figure 5.13: Angle of joint B before and after radiation

Figure 5.14: Steady state error of joint B before and after radiation

102 Fig. 5.9 and Fig. 5.10 are the simulation result of joint O with the motor model of

Gn, Grm, Grl and Gru. Ess denotes the steady state error. All the four θO curves follow the desired θO shown in Fig. 5.8. However, the steady state errors are significantly different. The Grm curve overlap with the Gn curve. The Ess of Grl and Gru both have a phase delay compared with Gn. While Gru has increased amplitude and Grl has decreased amplitude in Ess. Moreover, the final Ess is the same for the two extreme cases. Fig. 5.11 to Fig. 5.14 are the result of joint A and B. The most significant difference from the joint O is that Gru gives the smallest final Ess. This is because joint O has no effective load at the output side. It means if there is no input, θO is still stable, which does not hold for joint A and B.

5.4 Conclusion

In this chapter, we study the radiation degradation of DC motors. Based on the

B-field intensity change, we model the magnetic related parameters in the DC motor.

Since the B-field change is stochastic before radiation, the motor model change is also stochastic. However, the radiation degradation is deterministic once received.

To analyze the range of DC motor performance change, we pick the mean, the 2.5 % and 97.5 % quantile values of the irradiated motor model. Applying the PID close- loop position control, the results show that the system can become overdamped or underdamped. Furthermore, we apply the motor model to a 3 DOF manipulator.

A circular motion is specified and the motion control results are compared. In the extreme cases after radiation, the overdamped joint will result in greater steady state error while the underdamped joint will jitters due to the overshoot.

103 Chapter 6: Contributions and Future Work

We developed the Ski-Type gait for humanoid robots for the rough-terrain chal- lenges in the DRC. The Ski-Type gait ensures a larger supporting area compared with biped gait, and provides more flexibility than quadruped walking, due to differ- ent holding places on the canes changing the whole body posture. In our stability analysis of the Ski-Type gait, stability margin was the criterion. We compared two different step sequences Crawl-1 and Crawl-2 under the same configurations. Then we performed a force/torque analysis for the initial posture. For the closed-chain sys- tem, the joint torque solutions were multiple due to the redundancy. So we chose to minimize the total torque to discover a unique solution. Moreover, we implemented the Ski-Type gait on the HUBO2 platform by designing the cane length. Since the cane length determines the kinematic structure and thus affects the motion capabili- ties, we checked the maximum step length for stepping over wooden-bar obstacles to determine the cane length. From our simulation and experimental results, the Ski-

Type gait is proved smooth on flat floors and on grass. In our future work, we will analyze the force/torque distribution throughout the walking cycle to study the char- acteristics of the joint torques. Then we will investigate the strategies for choosing the values for various parameters by considering the stability, energy consumption, and motion capability as a whole.

104 We have also presented the two exoskeletons: the swing-through exoskeleton and the robotic walker Sparrow. The idea of the two designs is to reduce the actuation in exoskeleton and rely on more cooperation between human and robotic devices.

With the help of these robots, people with impaired walking capabilities can recover walking. Moreover, simplicity and low cost are crucial to make them affordable for more potential users. To make these exoskeletons more comfortable, we need to test them on potential users and design certain learning algorithms to figure out the best configurations.

To enable the cooperation between human and our exoskeletons, sensing of the human motion is required. We developed the human motion detection algorithms based on the IMU sensing. Human locomotion model and impulsive based impact model were used to analyze the dynamics of the COM. For future work, we will analyze more activities like sitting and running to discover the patterns in motion data. In addition to the z-axis acceleration, fusion of different axis data is also our future research interest.

Inspired by the DARPA Robotics Challenge, we performed analysis on the po- tential radiation damage to DC motors. By merging the radiation effect into DC motor modeling, the degradation in motion was simulated. In the future, we need to design robust tool-assisted motion planning algorithm to fight against the possible degradation.

105 Bibliography

[1] Denavit-hartenberg convention. https://en.wikipedia.org/wiki/Denavit%E2% 80%93Hartenberg parameters.

[2] PWM. https://learn.sparkfun.com/tutorials/pulse-width-modulation.

[3] C. Li, R. Lowe, B. Duran, and T. Ziemke, “Humanoids that crawl: comparing gait performance of and nao using a cpg architecture,” in IEEE Int. Conf. Computer Science and Automation Engineering (CSAE), vol. 4, 2011, pp. 577– 582.

[4] Hunterdon central pole vault. http://www.hcpolevault.org/meet-results.html.

[5] BLEEX. http://bleex.me.berkeley.edu/research/exoskeleton/bleex/.

[6] ReWalk. http://rewalk.com/.

[7] SuitX. http://www.suitx.com/.

[8] Crutches assisted walking. http://thefootphysicians.com/self-help-information/ crutch-instructions.

[9] Y. Liu, P. M. Wensing, D. E. Orin, and Y. F. Zheng, “Dynamic walking in a humanoid robot based on a 3d actuated dual-slip model,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 2015, pp. 5710–5717.

[10] C. Li, R. Lowe, and T. Ziemke, “Humanoids learning to crawl based on natu- ral cpg-actor-critic and motor primitives,” in IEEE/RSJ Int. Conf. Intelligent Robots and Systems (IROS), 2013, pp. 7–15.

[11] Asimo. http://asimo.honda.com/.

[12] Hubo humanoid robot. http://www.ros.org/wiki/Robots/HUBO.

[13] H. Wang, S. Li, Y. Zheng, and P. Oh, “Ski-type self-balance humanoid walking for rough terrain,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), vol. 2, 2014, pp. 1620–1626.

106 [14] A. Konno, K. Ogasawara, Y. Hwang, E. Inohira, and M. Uchiyama, “An adaptive gait for quadruped robots to walk on a slope,” in Proc. IEEE/RSJ Int. Conf. Intelligent Robots and Systems (IROS), vol. 1, 2003, pp. 589–594.

[15] H. Tsukagoshi, S. Hirose, and K. Yoneda, “Maneuvering operations of a quadruped walking robot on a slope,” in Proc. IEEE/RSJ Int. Conf. Intelligent Robots and Systems (IROS), vol. 2, 1996, pp. 863–869.

[16] D. Pongas, M. Mistry, and S. Schaal, “A robust quadruped walking gait for traversing rough terrain,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 2007, pp. 1474–1479.

[17] K. Tsujita and K. Miki, “Stability analysis on quadrupedal gaits according to body’s flexibility using musculoskeletal robot,” in IEEE Int. Conf. Robotics and Biomimetics (ROBIO), 2011, pp. 1609–1614.

[18] K. Miki and K. Tsujita, “A study of the effect of structural damping on gait sta- bility in quadrupedal locomotion using a musculoskeletal robot,” in IEEE/RSJ Int. Conf. Intelligent Robots and Systems (IROS), 2012, pp. 1976–1981.

[19] K. Tsujita and K. Miki, “A study on trunk stiffness and gait stability in quadrupedal locomotion using musculoskeletal robot,” in 15th Int. Conf. Ad- vanced Robotics (ICAR), 2011, pp. 316–321.

[20] H. Niimi, M. Koike, S. Takeuchi, and N. Douhara, “Study of locomotion strategy of humanoid robot using whole body,” in Proc. SICE Annual Conf., 2010, pp. 1332–1333.

[21] C. Li, R. Lowe, and T. Ziemke, “Crawling posture learning in humanoid robots using a natural-actor-critic cpg architecture,” in European Conf. Advances in Artificial Life (ECAL), vol. 12, Sep. 2-6, 2013, pp. 1182–1190.

[22] A. Yamaguchi, J. Takamatsu, and T. Ogasawara, “Learning strategy fusion for acquiring crawling behavior in multiple environments,” in IEEE Int. Conf. Robotics and Biomimetics (ROBIO), 2013, pp. 605–612.

[23] M. J. MacLellan, Y. P. Ivanenko, G. Cappellini, F. S. Labini, and F. Lacquaniti, “Features of hand-foot crawling behavior in human adults,” J. Neurophysiology, vol. 107, no. 1, pp. 114–125, 2012.

[24] H. Kazerooni, J.-L. Racine, L. Huang, and R. Steger, “On the control of the Berkeley lower extremity exoskeleton (BLEEX),” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 2005, pp. 4353–4360.

107 [25] A. B. Zoss, H. Kazerooni, and A. Chu, “Biomechanical design of the Berke- ley lower extremity exoskeleton (BLEEX),” IEEE/ASME Trans. Mechatronics, vol. 11, no. 2, pp. 128–138, 2006.

[26] Darpa robotics grand challenge. http://www.darpa.mil/about.aspx.

[27] Chimp. http://www.theroboticschallenge.org/teams/tartan-rescue.

[28] Robosimian. http://www.theroboticschallenge.org/teams/robosimian.

[29] Y. Zheng, H. Wang, S. Li, Y. Liu, D. Orin, K. Sohn, Y. Jun, and P. Oh, “Hu- manoid robots walking on grass, sands and rocks,” in IEEE Int. Conf. Technolo- gies for Practical Robot Applications (TePRA), 2013, pp. 1–6.

[30] J. Lehmann and B. De Lateur, “Gait analysis: diagnosis and management,” Krusens Handbook of Physical Medicine and Rehabilitation. Saunders, Philadel- phia, pp. 108–125, 1990.

[31] W. P. Blount, “Dont throw away the cane,” J. Bone and Joint Surgery, pp. 695–708, 1956.

[32] H. Kawamoto, S. Lee, S. Kanbe, and Y. Sankai, “Power assist method for hal- 3 using emg-based feedback controller,” in IEEE Int. Conf. Systems, Man and Cybernetics, vol. 2, 2003, pp. 1648–1653.

[33] L. Lunenburger, G. Colombo, R. Riener, and V. Dietz, “Clinical assessments performed during robotic rehabilitation by the gait training robot lokomat,” in IEEE Int. Conf. Rehabilitation Robotics (ICORR), 2005, pp. 345–348.

[34] S. Dubowsky, F. Genot, S. Godding, H. Kozono, A. Skwersky, H. Yu, and L. S. Yu, “Pamm-a robotic aid to the elderly for mobility assistance and monitoring: a helping-hand for the elderly,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), vol. 1, 2000, pp. 570–576.

[35] A. Morris, R. Donamukkala, A. Kapuria, A. Steinfeld, J. T. Matthews, J. Dunbar-Jacob, and S. Thrun, “A robotic walker that provides guidance,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), vol. 1, 2003, pp. 25–30.

[36] R. B. McGhee and A. A. Frank, “On the stability properties of quadruped creep- ing gaits,” J. Mathematical Biosciences, vol. 3, pp. 331–351, 1968.

[37] J. Kerr and B. Roth, “Special grasping configurations with dexterous hands,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), vol. 3, 1986, pp. 1361–1367.

108 [38] D. Orin and S. Oh, “Control of force distribution in robotic mechanisms contain- ing closed kinematic chains,” Journal of Dynamic Systems, Measurement, and Control, vol. 103, pp. 134–141, 1981.

[39] Openhubo simulator. https://github.com/daslrobotics/openHubo.

[40] N. S. C. I. S. Center et al., “Spinal cord injury. facts and figures at a glance,” J. Spinal Cord Medicine, vol. 28, no. 4, pp. 379–380, 2005.

[41] S.-M. Song and K. J. Waldron, Machines that walk: the adaptive suspension vehicle, 1989.

[42] T. T. Lee, “Trajectory planning and control of a 3-link biped robot,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 1988, pp. 820–823.

[43] Y. F. Zheng, J. Shen, and F. A. Sias, “A motion control scheme for a biped robot to climb sloping surfaces,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), 1988, pp. 814–816.

[44] S. Kajita, T. Nagasaki, K. Kaneko, and H. Hirukawa, “Zmp-based biped running control,” IEEE Robotics & Automation Magazine, vol. 2, no. 14, pp. 63–72.

[45] S. Kajita, T. Nagasaki, K. Kaneko, K. Yokoi, and K. Tanie, “A hop towards running humanoid biped,” in Proc. IEEE Int. Conf. Robotics and Automation (ICRA), vol. 1, 2004, pp. 629–635.

[46] M. Srinivasan and A. Ruina, “Computer optimization of a minimal biped model discovers walking and running,” Nature, vol. 439, no. 7072, pp. 72–75, 2006.

[47] S. Collins, A. Ruina, R. Tedrake, and M. Wisse, “Efficient bipedal robots based on passive-dynamic walkers,” Science, vol. 307, no. 5712, pp. 1082–1085, 2005.

[48] T. McGeer, “Passive dynamic walking,” Int. J. Robot. Res., vol. 9, no. 2, pp. 62–82, 1990.

[49] S. H. Collins, M. Wisse, and A. Ruina, “A three-dimensional passive-dynamic walking robot with two legs and knees,” Int. J. Robot. Res., vol. 20, no. 7, pp. 607–615, 2001.

[50] D. A. Winter, “Human balance and posture control during standing and walk- ing,” Gait Posture, vol. 3, no. 4, pp. 193–214, 1995.

[51] A. D. Kuo, “The six determinants of gait and the inverted pendulum analogy: A dynamic walking perspective,” Human movement science, vol. 26, no. 4, pp. 617–656, 2007.

109 [52] V. T. Inman, H. D. Eberhart et al., “The major determinants in normal and pathological gait,” J. Bone Joint Surg., vol. 35, no. 3, pp. 543–558, 1953.

[53] Y. F. Zheng and H. Hemami, “Impact effects of biped contact with the environ- ment,” IEEE Trans. Syst., Man Cybern., vol. 14, no. 3, pp. 437–443, 1984.

[54] ——, “Mathematical modeling of a robot collision with its environment,” J. Robot. Syst., vol. 2, no. 3, pp. 289–307, 1985.

[55] S. Dernbach, B. Das, N. C. Krishnan, B. L. Thomas, and D. J. Cook, “Simple and complex activity recognition through smart phones,” in IEEE int. Conf. Intelligent Environments (IE), 2012, pp. 214–221.

[56] P. Siirtola and J. R¨oning,“Recognizing human activities user-independently on smartphones based on accelerometer data,” Int. J. of Interactive Multimedia and Artificial Intell., vol. 1, no. 5, 2012.

[57] S. L. Lau and K. David, “Movement recognition using the accelerometer in smart- phones,” in Future Network and Mobile Summit, 2010, pp. 1–9.

[58] G. Hache, E. Lemaire, and N. Baddour, “Mobility change-of-state detection using a smartphone-based approach,” in IEEE Int. Proc. Wksp. Medical Measurements and Applications Proceedings (MeMeA), 2010, pp. 43–46.

[59] H. H. Wu, E. D. Lemaire, and N. Baddour, “Change-of-state determination to recognize mobility activities using a blackberry smartphone,” in IEEE Int. Conf. Engineering in Medicine and Biology Society (EMBC), 2011, pp. 5252–5255.

[60] M. J. Mathie, A. C. F. Coster, N. H. Lovell, and B. G. Celler, “Detection of daily physical activities using a triaxial accelerometer,” Medical and Biological Engineering and Computing, vol. 41, no. 3, pp. 296–301, 2003.

[61] J. Baek, G. Lee, W. Park, and B.-J. Yun, “Accelerometer signal processing for user activity detection,” in Knowledge-Based Intelligent Information and Engi- neering Systems, 2004, pp. 610–617.

[62] T. Degen, H. Jaeckel, M. Rufer, and S. Wyss, “Speedy: A fall detector in a wrist watch.” in ISWC, 2003, pp. 184–189.

[63] D. M. Karantonis, M. R. Narayanan, M. Mathie, N. H. Lovell, and B. G. Celler, “Implementation of a real-time human movement classifier using a triaxial ac- celerometer for ambulatory monitoring,” IEEE Trans. Inf. Technol. Biomed.,, vol. 10, no. 1, pp. 156–167, 2006.

110 [64] A. Bourke, J. Obrien, and G. Lyons, “Evaluation of a threshold-based tri-axial accelerometer fall detection algorithm,” Gait Posture, vol. 26, no. 2, pp. 194–199, 2007.

[65] A. K. Bourke, K. J. Odonovan, and G. Olaighin, “The identification of vertical velocity profiles using an inertial sensor to investigate pre-impact detection of falls,” Medical Engineering & Physics, vol. 30, no. 7, pp. 937–946, 2008.

[66] developers. http://developer.android.com/guide/topics/sensors/ sensors motion.html.

[67] A. S. Keys and M. D. Watson, “Radiation hardened electronics for extreme environments,” 2007.

[68] K. Nagatani, S. Kiribayashi, Y. Okada, K. Otake, K. Yoshida, S. Tadokoro, T. Nishimura, T. Yoshida, E. Koyanagi, M. Fukushima et al., “Gamma-ray irra- diation test of electric components of rescue mobile robot quince,” in IEEE Intl. Symp. Safety, Security, and Rescue Robotics (SSRR), 2011, pp. 56–60.

[69] Y. Yao, F. Dai, R. C. Jaeger, and J. D. Cressler, “A 12-bit cryogenic and radiation-tolerant digital-to-analog converter for aerospace extreme environment applications,” IEEE Tran. Industrial Electronics, vol. 55, no. 7, pp. 2810–2819, 2008.

[70] G. Piolain, F. Geffard, A. Coudray, P. Garrec, J.-F. Thro, and Y. Perrot, “Dedi- cated and standard industrial robots used as force-feedback telemaintenance re- mote devices at the areva recycling plant,” in IEEE Proc. Intl. Conf. on Applied Robotics for the Power Industry (CARPI), 2010, pp. 1–6.

[71] S. Li, Y. F. Zheng, J. Qiu, and et. al., “Study on radiation induced performance degradation of bldc motor in robot servo systems,” Intl. J. Mechatronics and Automation (in press).

[72] O.-P. Kahkonen, S. Makinen, M. Talvitie, and M. Manninen, “Radiation damage in Nd-Fe-B magnets: temperature and shape effects,” J. Physics: Condensed Matter, vol. 4, no. 4, p. 1007, 1992.

[73] Y. Asano, T. Bizen, and X. Marechal, “Analyses of the factors for the demag- netization of permanent magnets caused by high-energy electron irradiation,” J. Synchrotron Radiation, vol. 16, no. 3, pp. 317–324, 2009.

[74] J. Alderman, P. Job, R. Martin, C. Simmons, and G. Owen, “Measurement of radiation-induced demagnetization of Nd-Fe-B permanent magnets,” Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrom- eters, Detectors and Associated Equipment, vol. 481, no. 1, pp. 9–28, 2002.

111 [75] C. H. Chen, J. Talnagi, J. Liu, P. Vora, A. Higgins, and S. Liu, “The effect of neu- tron irradiation on Nd-Fe-B and sm 2 co 17-based high-temperature magnets,” IEEE Tran. Magnetics, vol. 41, no. 10, pp. 3832–3834, 2005.

[76] O.-P. K¨ahk¨onen,S. M¨akinen,M. Talvitie, H. Rajainm¨aki,and M. Manninen, “Temperature dependence of irradiation-induced magnetic flux loss in Nd2Fe14B permanent magnets,” Europhysics Letters (EPL), vol. 12, no. 5, p. 413, 1990.

112