원시데이터 수집 시스템
선정목록으로

Learning the Inverse Hitting Problem

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Harshit Khurana — Learning Algorithms and Systems Laboratory, EPFL, Lausanne, Switzerland
  2. James Hermus — Learning Algorithms and Systems Laboratory, EPFL, Lausanne, Switzerland
  3. Maxime Gautier — Learning Algorithms and Systems Laboratory, EPFL, Lausanne, Switzerland
  4. Aude Billard — Learning Algorithms and Systems Laboratory, EPFL, Lausanne, Switzerland
DOI
10.1109/lra.2025.3548496
저널
IEEE Robotics and Automation Letters
발행년도
2025
발행기관
Institute of Electrical and Electronics Engineers
피인용수
1
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1109/lra.2025.3548496
토픽
High-Velocity Impact and Material Behavior
OpenAlex ID
W4408182935

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

초록이 없습니다.

본문 43,145자

본문 펼치기
## Learning the Inverse Hitting Problem Harshit Khurana _, Graduate Student Member, IEEE_, James Hermus, Maxime Gautier, and Aude Billard _, Fellow, IEEE_ _Abstract_ —This letter presents a data collection framework and a learning model to understand the motion of an object after being subject to an impulse. The data collection framework consists of an automated dual arm setup hitting an object to each other, like a collaborative air-hockey game. An impact aware extended Kalman filter is proposed for automation of the air-hockey setup which approximates the discontinuous impulse motion equations through a hitting force model by balancing the energies during collision. To capture the variance in the motion that stochasticity of friction introduces, the errors in the controls for the hitting flux, we model the stochastic relationship between hitting flux and object’s resulting displacement, using full density modeling. Further we show the application of the learnt motion model for planning sequential hits with two or more robots, in a Golf-like principle, to enable an object to reach a location far beyond the reach of a single robot. _Index Terms_ —Impact aware manipulation, robot collaboration, impact aware extended Kalman filter, dual arm system, GMM, GMR, golf. I. INTRODUCTION MPACTFUL contacts between a robot and its environment are rarely exploited in robotic manipulation. In moving ob# I jects from a given position to a desired position, methods such as pick and place (prehensile), or pushing (non-prehensile) are more widely used than hitting an object. In such manipulation strategies, the object’s final desired position is typically within the workspace of the fixed robot. In pushing, this is due to establishing contact between the robot and the object at relatively low speeds. This is called the quasi-static assumption and the inertial effects of the bodies in contact are negligible. While _hitting_ an object [1] has the benefit of increasing the space in which an object can be placed, it is important to consider the dynamics of the robot and the inertial properties of the object. Hence, the robot-object contact cannot be assumed to be quasi-static. Predicting object motion when pushing is challenging due to the multi-modalityofthefactorsaffectingtheobject’sdisplacement, such as contact position, and variable friction. [2], predicting the final displacement of an object after an impactful hit requires a modeloftheimpulseandtherestitutioncoefficientthatmeasures the amount of energy transmitted. This is particularly difficult Received18July2024;accepted9February2025.Dateofpublication6March 2025; date of current version 21 March 2025. This article was recommended for publication by Associate Editor K. Pertsch and Editor A. Faust upon evaluation of the reviewers’ comments. This work was supported by Research Project I.AM. throughtheEuropeanUnionH2020programunderGA871899. _(Corresponding_ _author: Harshit Khurana.)_ The authors are with the Learning Algorithms and Systems Laboratory, EPFL, 1015 Lausanne, Switzerland (e-mail: [harshit.khurana@epfl.ch;](mailto:harshit.khurana@epfl.ch) [james.hermus@epfl.ch; Maxime.Gautier@epfl.ch; Aude.Billard@epfl.ch).](mailto:james.hermus@epfl.ch) This article has supplementary downloadable material available at [https://doi.org/10.1109/LRA.2025.3548496, provided by the authors.](https://doi.org/10.1109/LRA.2025.3548496) Digital Object Identifier 10.1109/LRA.2025.3548496 when the impact is inelastic. Accurate modeling of the expected displacement after impact is crucial to invert the model, so as to plan the impact to achieve a desired motion. _Pushing_ objects to move them from one place to another has benefited from the improvements in data driven methods such as reinforcement learning and modeling through heteroscedastic Gaussian Processes as they implicitly model the contact behavior [3], [4], [5]. Previously in [1], we proposed a method for impact aware motion planning and inertia-based control to generate repeatable impacts on objects of different masses with constraints on their shape and in [6], we proposed a method to model the process of hitting an object so as to place it at a desired position outside of the workspace of the robot through a regression model linking hitting velocity to the distance traveled by the object. In this letter we use hitting flux as the hitting control parameter and learn the relationship between the hitting flux and the object motion and show its applicability. We write the contributions of this letter as follows: 1) A semi-autonomous dual arm system for robot - object impulsive interaction data collection 2) An Impact Aware Extended Kalman Filter (IA-EKF) to predict object’s final position subject to an impulse 3) A learning based inverse map to predict the hitting parameters to achieve the desired object’s displacement, through modeling of the stochastic relationship between object displacement and hitting flux. 4) Experiments validating the learnt model on different robots and objects 5) A motion planning framework inspired by the principles of golf for placing objects outside the robot’s reach in an unstructured environment. II. RELATED WORK _A._ _Manipulation Through Pushing_ _1)_ _Analytical + Data Driven Models:_ In pushing, the motion of the object can be represented through an analytical model taking into account the contact forces [7], [8] or through data drivenmodelssuchas [2], [3], [5].Intheabovementionedworks, the quasi-static assumption implies that the inertia forces are negligible. Hence, the object moves only when the robot is in contact with the object and applying force on it. The motion of the object, when modeled analytically does not take into account the variability of the robot controller and the stochastic nature of friction at contact points, and in the sliding surface. To deal with the uncertainty of these parameters (friction, contact area etc), [8] estimates the parameters with data to make the prediction for the object motion closer to reality. Even if one knows such parameters, data-driven models exhibit stochasticity in the friction model; that is, given the same pushing strategy, the object’s motion differs slightly each time. © 2025 The Authors. This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/ Fig. 1. From the center going outward: 1) Dual robot placement schematic. 2) High level motion planning for the robots, i.e., REST state and HIT state. 3) Detailed diagram of the control inputs, outputs and state variables. TABLE I OBJECTS / BOXES USED IN THE EXPERIMENTS _B._ _Manipulation Through Hitting_ Robots interacting with the environment with impacts can be seen in examples such as RoboCup [9], robot table tennis [10], golf [11], baseball [12], and in quadrotors juggling using a small ball [13]. But little work has been done that incorporates the object and robot inertial properties. In our previous work we have established preliminary methodology of learning the object motion through data [6] and creating a motion for the robot for repeatable hits while controlling for hitting flux, which incorporates the hitting speed and the directional inertia of the robot [1]. _C._ _Object Motion Estimation_ Kalman and Particle filters have been extensively used for predicting motion of an object subject to external forces with incomplete measurement and noisy sensors. Yet, the literature lacks online estimation strategies for predicting motion of an object subject to impulse. [14] uses a Kalman filter to predict puck’s motion after being hit by the robot and mitigates the discontinuity in the collision between the puck and the table using a particle filter. However the model of the motion of the puck does not incorporate the contact between the robot and the puck, the estimation depends on the measurements of the puck’s motion, and in this case the assumptions such as an infinite mass for the stick and purely elastic collisions with a coefficient of restitution of were reasonable. In our experimental setup, both the inertial dynamics of the box and the robot are significant, the impact can not be modeled as perfectly elastic, and the friction between the box and the table is substantial. III. METHODS We describe the data collection framework, the experimental setup, and learning model for the object motion <sup>1</sup> _A._ _Hitting Flux and Motion Generation_ Hitting flux ( _φh_ ) is defined as _<u>λh</u>_ _φh_ = _λh_ + _mo_ _χ_ ˙ <sup>_−_</sup> _rh_ (1) , where _λh_ is the directional inertia of the robot and _χ_ ˙ <sup>_−_</sup> _rh_ <sup>is</sup> the hitting speed. We use the same method for robot motion generation as in [1] which works for planar sliding and for objects where the established contact normal is parallel to the sliding plane. This is assumed for objects used in this manuscript as well. _B._ _Physical Setup_ Fig. 2 shows the dual arm framework for data collection. It consistsoftherobotsarmsKUKAlbriiwa7and14,twodifferent sized box objects with uniform mass distribution (Refer Table I). A third cylindrical test object (Object 3) is used for testing the model as well. The setup is surrounded by 12 Optitrack 17 W infrared cameras which can accurately track objects in 3D space through markers. _C._ _Data Collection Through Dual-Arm Hitting Game_ To learn the motion of an object subject to an impulse and environment variability, we need data. Most hits would make an object move out of the reachable workspace of the robot, [1The code for all the above is publicly available at: https://github.com/epfl-](https://github.com/epfl-lasa/air_hockey) [lasa/air_hockey.](https://github.com/epfl-lasa/air_hockey) Fig. 2. (a): The physical setup (KUKA lbr iiwa 7 and 14) robot arms and the two different uniform boxes used. A table top acts as the sliding surface. (b) and (c): The two different configurations of the robot used in hitting the boxes. TABLE II DATA COLLECTED FOR EACH ROBOT making it impossible for the robot itself to reset the box to its initial position. Having a human reset the environment is time consuming, while limiting the environment variability that data can inherit. Thus, we create a dual arm system inspired by the game of AirHockey, such as in [15], [16], [17] removing the need to reset the object while doubling the data collection speed. _High_ _level_ _task_ _decision_ _policy_ _+_ _Motion_ _plan:_ Fig. 1 shows diagrammatically the robots and the policy that is realized at high level control. 1) _Hitting:_ The robot moves to generate the desired hitting flux (19) to hit an object. 2) _Rest:_ The robot returns to its initial position after hit. The variables recorded are as shown in Table II. _D._ _Impact Aware EKF_ In the air hockey setup, where robots hit the puck back and forth, we propose an Impact-Aware Extended Kalman Filter to predict the puck’s final position online, significantly reducing data collection time. This enables the robot to begin moving toward the expected box rest position before it arrived. The proposed method has two key aspects. Firstly, the approach incorporates not only information about the box, but also the robot, which is represented as a flux. Secondly, it employs a smoothed approximate model of the hitting force that acts on the box. This smooth Gaussian contact force function, eliminates the discontinuity, enabling the utilization of an EKF. While this approach results in a knowingly incorrect estimate of the absolute box position at impact, it provides the benefit of a velocity estimate which converges faster - the key aspect for estimating the final box position. In this section, both, the impact aware state transition model and box only state transition model where the distance between the end-effector and the box is defined as Δ _χ_ . The parameter _σ_ 2 determines the width of the are described, results of which are compared in Section III-E. The impact-aware model incorporates knowledge of the desired flux and a smooth hitting force model into the prediction process. Modeling the contact dynamics for the impact-aware model necessitates addressing non-linearity. In this work, we utilize a standard implementation of the EKF, which is presented in Appendix C. To ensure consistency, we employ the same standard EKF implementation presented in the Appendix C for both models. _Box Only Model:_ The motion model of the box alone, neglecting the robot, simplifies to the case of a linear Kalman Filter, with no need for the local linear approximation of an EKF. The state of the system is denoted by _x_ <sup>_b_</sup> = [ _χ_ <sup>_o_</sup> _,_ _χ_ ˙ <sup>_o_</sup> _, μ_ ] <sup>_T_</sup> where, _χ_ <sup>_k_</sup> _o_ <sup>+1</sup> _χ_ ˙ <sup>_k_</sup> _o_ <sup>+1</sup> <sup>_k_</sup> _o_ <sup>_,_</sup> _μ_ <sup>_k_</sup> <sup>+1</sup> = _μ_ <sup>_k_</sup> <sup>_k_</sup> _o_ <sup>+1</sup> = _χ_ <sup>_k_</sup> _o_ <sup>_k_</sup> _o_ <sup>+1</sup> = _χ_ ˙ <sup>_k_</sup> _o_ <sup>_k_</sup> _o_ <sup>+ (</sup> <sup>_dt_</sup> <sup>) ˙</sup> <sup>_χ_</sup> _o_ <sup>_k_</sup> _o_ <sup>_k,_</sup> Here, _χo_ representstheboxposition, _χ_ ˙ _o_ denotestheboxvelocity, _μ_ represents the friction coefficient, _ϵ_ denotes the coefficient of restitution, _dt_ represents the time step, and _m_ denotes the mass of the object. This model did not include any input _u_, and the measurement was solely comprised of the box position, denoted by _y_ = [ _χo_ ]. _Impact_ _Aware_ _Model:_ This model incorporates an estimate of the robot end-effector position denoted by _χr_, velocity by _χ_ ˙ _r_, and the energy imparted to the box denoted by _E_ . The state vector here is _x_ <sup>_i_</sup> = [ _χo,_ _χ_ ˙ _o, χr,_ _χ_ ˙ _r, E, μ, ϵ_ ] <sup>_T_</sup> . The state transition function is defined as, <sup>_k_</sup> _f_ <sup>)</sup> <sup>_,_</sup> (2) _χ_ <sup>_k_</sup> _o_ <sup>+1</sup> <sup>_k_</sup> _o_ <sup>+ (</sup> <sup>_dt_</sup> <sup>) ˙</sup> <sup>_χk_</sup> _o_ <sup>_k_</sup> _o_ <sup>+1</sup> = _χ_ <sup>_k_</sup> _o_ <sup>_k_</sup> _o_ <sup>+</sup> <sup>_<u>dt</u>_</sup> <sup>2</sup> 2 _m_ 2 <sup>_<u>dt</u>_</sup> _m_ <sup>2</sup> <sup>(</sup> <sup>_f k_</sup> _i_ <sup>+</sup> <sup>_f k_</sup> _f_ <sup>_k_</sup> _i_ <sup>+</sup> <sup>_f k_</sup> _f_ <sup>_k_</sup> _f_ <sup>)</sup> <sup>_,_</sup> (3) _χ_ ˙ <sup>_k_</sup> _o_ <sup>+1</sup> <sup>_k_</sup> _o_ <sup>+</sup> <sup>_<u>dt</u>_</sup> _m_ <sup>_k_</sup> _o_ <sup>+1</sup> = _χ_ ˙ <sup>_k_</sup> _o_ <sup>_<u>dt</u>_</sup> _m_ <sup>(</sup> <sup>_f k_</sup> _i_ _χ_ <sup>_k_</sup> _r_ <sup>+1</sup> _χ_ ˙ <sup>_k_</sup> _r_ <sup>+1</sup> <sup>_k_</sup> _r_ <sup>_,_</sup> (5) <sup>_k_</sup> _r_ <sup>+1</sup> = _χ_ <sup>_k_</sup> _r_ <sup>_k_</sup> _r_ <sup>+1</sup> = _χ_ ˙ <sup>_k_</sup> _r_ <sup>_k_</sup> _r_ <sup>+ (</sup> <sup>_dt_</sup> <sup>) ˙</sup> <sup>_χ_</sup> _r_ <sup>_k_</sup> ��� _χ_ ˙ _ok_ <sup>_f k_</sup> _i_ _r_ <sup>_k,_</sup> (4) _i_ _E_ <sup>_k_</sup> <sup>+1</sup> = _E_ <sup>_k_</sup> + _dt_ ��� _E_ <sup>_k_</sup> + _dt_ ��� _χ_ ˙ _ok_ <sup>_f k_</sup> _i_ ��� if _Ek_ _< Epred_ _Epred_ else (6) _μ_ <sup>_k_</sup> <sup>+1</sup> = _μ_ <sup>_k_</sup> _,_ _ϵ_ <sup>_k_</sup> <sup>+1</sup> = _ϵ_ <sup>_k_</sup> (7) Where the impact force is defined as, (8) _fi_ = _σ_ 1 exp( <sup>_<u>−</u>_</sup> 2 <sup><u>Δ</u></sup> _σ_ <sup>_χ_</sup> 2 <sup><u>2</u></sup> <sup>2</sup> _σ_ 1 exp( <sup>_<u>−</u>_</sup> 2 <sup><u>Δ</u></sup> _σ_ <sup>_χ_</sup> 2 <sup><u>2</u></sup> <sup>2</sup> <sup>)</sup> <sup>if</sup> <sup>_E_</sup> <sup>_< Epred_</sup> 0 else _,_ force Gaussian, while _σ_ 1 is chosen such that the work done by the hitting force equals the work expected based on the desired flux. The selection of _σ_ 2 is discussed in Appendix B. The predicted energy, _Epred_ is the integral of the impact force over th _√_ <u>e distance and is defined using the predicted flux equaling</u> _σ_ 1 _σ_ 2 2 _π_ . Additionally, the friction force is defined as, _√_ _σ_ 1 _σ_ 2 2 _π_ . Additionally, the friction force is defined as, _ff_ = _−sgn_ ( ˙ _χo_ ) _μmg_ (9) where _g_ is the gravitational constant. The only input was the reference flux, denoted as _φ_ . The measurement includes both the box position and the end-effector position, represented as _y_ = [ _χo, χr_ ] <sup>_T_</sup> . To estimate the final position denoted _χ_ ˆ _f_, knowledge of the predicted final position based on flux denoted _χ_ ˆ <sup>_φ_</sup> _f_ <sup>is</sup> <sup>combined</sup> with the state estimate from the EKF denoted _χ_ ˆ <sup>_kalman_</sup> _f_ . This assumes that the relation between flux, the coefficient of restitution, and the predicted post object velocity is _χ_ ˆ <sup>˙</sup> <sup>+</sup> _o,φ_ <sup>= (1 +</sup> <sup>_ϵ_</sup> <sup>)</sup> <sup>_φ_</sup> <sup>.</sup> tion, and the predicted post object velocity is _χ_ ˆ <sup>˙</sup> <sup>+</sup> _o,φ_ <sup>= (1 +</sup> <sup>_ϵ_</sup> <sup>)</sup> <sup>_φ_</sup> <sup>.</sup> At the start of the task the best estimate of the final box position is based on the flux. This prediction assumes friction was the only force acting on the box after contact. The final position prediction based on hitting flux is, _χ_ ˆ <sup>_φ_</sup> _f_ _o_ <sup>_init_</sup> + <sup>_φ_</sup> _f_ <sup>=</sup> <sup>_χ_</sup> _o_ <sup>_init_</sup> ( _χ_ ˆ <sup>˙</sup> <sup>+</sup> _,_ (10) 2 _μg_ <sup>+</sup> _o,φ_ <sup>)2</sup> where _χ_ <sup>_init_</sup> _o_ is the initial box position. The predicted final box position based on the EKF velocity estimate is, _χ_ ˆ <sup>_kalman_</sup> _f_ ˆ <sup>_kalman_</sup> _f_ = _χ_ <sup>_k_</sup> _o_ <sup>_k_</sup> _o_ <sup>+</sup> <sup><u>( ˙</u></sup> <sup>_<u>χo</u>_</sup> <sup><u>)2</u></sup> 2 _μg_ <sup>_<u>χo</u>_</sup> <sup><u>)2</u></sup> (11) 2 _μg_ <sup>_._</sup> A convex combination of the flux prediction and the EKF prediction is constructed based on the energy imparted on the box. In this case alpha is defined as _α_ = _E_ <sup>_k_</sup> _/Epred_ . This combination is used to initialize the final online prediction _χ_ ˆ <sup>_φ_</sup> _f_ <sup>.</sup> A convex combination of the flux prediction and the EKF prediction is constructed based on the energy imparted on the box. In this case alpha is defined as _α_ = _E_ <sup>_k_</sup> _/Epred_ . This combination is used to initialize the final online prediction _χ_ ˆ <sup>_φ_</sup> _f_ <sup>.</sup> _χ_ ˆ _f_ = (1 _−_ _α_ )ˆ _χ_ <sup>_φ_</sup> _f_ <sup>+</sup> <sup>_αχ_</sup> <sup>ˆ</sup> _f_ <sup>_kalman_</sup> (12) In the experiments, the data collection was run at 200 Hz and the Kalman filter at 1000 Hz. The proposed Kalman filter is run over trials by initializing the friction and restitution coefficients ( _μ, ϵ_ ) with the previous trial’s converged values. _χ_ ˆ _f_ = (1 _−_ _α_ )ˆ _χ_ <sup>_φ_</sup> _f_ <sup>_φ_</sup> _f_ <sup>+</sup> <sup>_αχ_</sup> <sup>ˆ</sup> _f_ <sup>_kalman_</sup> _E._ _EKF Behavior_ The results for Impact aware EKF and Box only EKF for Object 1 are shown in Fig. 3. We can immediately notice that the Box only EKF (purple dashed line) takes overshoots and converges once the box has reached its final position. In yellow, one can see the prediction with Impact Aware EKF, which has the following properties: One, it converges faster than the Box only EKF Model. Second, as the number of hits increase and the coefficients of friction and restitution converge, the final position prediction becomes quite accurate in both, the simulation and the real robot experiments. The convergence time improves by _∼_ 0.5s or _∼_ 44%. As observed, after around 15 hits (10) can be used to predict the final position of the box after being hit online as the values of _μ_ and _ϵ_ have converged. _F._ _Ablation Studies_ The data collection framework’s requirements are to collect data accurately and fast. The design decisions are based on the time efficiency of data collection. Table III reports the time taken per data point for the dual arm system, and for the single arm Fig. 3. From top to bottom: 1. Evolution of the EKF estimate of the estimated object’s displacement after first hit, when the estimate of the friction _μ_ and restitution _ϵ_ coefficients has not yet converged; 2. Evolution of the EKF estimate for the 15 <sup>_th_</sup> hit with known _μ_ and _ϵ_ ; 3. Convergence of the estimates of _μ_ and _ϵ_ ; 4. Convergence time for EKF estimate of final object’s position across trials. TABLE III ABLATION STUDY ON TIME TAKEN PER DATA POINT ON DIFFERENT FRAMEWORKS setup (refer [6]). The time taken per data point improves by 94.3% with the design of the framework. IV. DATA MODELING _A._ _Learning Model of Data Distribution_ To encapsulate the stochastic nature of the relationship between the input, hitting flux ( _φ_ ), and realized outcome, distance traveled by the object ( _dφ_ ), we learn a full density model of the joint probability distribution _P_ ( _φ, dφ_ ) using Gaussian Mixture Model (GMM). The model is trained through Maximum Likelihood, with k-means clustering for parameters’ initialization. Bayesian Information Criterion is used to select the optimal number of Gaussians in the GMM, (in this case, 2). The inverse model to predict the desired hitting flux ( _φ_ <sup>_∗_</sup> ) given the initial Fig. 4. All graphs show the distance of object traveled in relation to the hitting flux. Top left: In different colors are the points showcasing hits by different robots. Top right: In different colors are the points showcasing different objects being hit. Bottom left: In different colors are the points showcasing hits by a robot in two different configurations. Bottom right: Joint Probability distribution of the data modeled using a GMM with 2 Gaussians as determined using BIC criteria. TABLE IV DISTRIBUTION OF HITTING DATA and the final desired position of the object, we compute the expectation on the conditional probability _φ_ <sup>_∗_</sup> = E( _P_ ( _φ|dφ_ ). Refer Appendix D for the details on GMM and GMR. _B._ _Data Properties and Learnt Model Assessment_ The number of data points collected for each robot type,configuration, and each object is detailed in Table IV, and visually represented in Fig. 4. _<u>Accuracy of desired fux prediction:l</u>_ We assess the accuracy of the GMR prediction of the hitting flux for the desired object distance through 10-fold cross-validation with a 70 % training / testing ratio. Using GMR, for a desired distance traveled, hitting flux is calculated and the mean RMSE for the desired and actual distance traveled by the object for the calculated hitting flux. The RSME (root mean squared error) in the desired and achieved distance is 0 _._ 054 _m_ . We hypothesize that the learnt motion model of the object will have some degree of generalizability to the robot, its hitting configuration and the object. To calculate the degree of agnosticism we calculate KL divergence of the distributions of the object motion data when hit by different robots and in different robot configurations. Kullback-Leiber (KL) divergence measures the difference between two different probability distributions, and hence can be described as a measure of how much information is lost when one probability TABLE V KL DIVERGENCE AND RMSE FOR GMR PREDICTIONS USING SWAPPED MODELS distribution is used to approximate another. _DKL_ ( _p_ ( _z_ ) _||q_ ( _z_ )) = _z∈Data_ _p_ ( _z_ ) _ln_ <sup>_<u>p</u>_</sup> <sup><u>(</u></sup> <sup>_<u>z</u>_</sup> <sup><u>)</u></sup> _q_ ( _z_ ) In addition to the KL divergence values, generalization of the models is tested by using a specific robot / object / configuration model for prediction for hitting with the other robot / object / configuration respectively and the RMSE errors for the achieved and predicted distances are listed in Table V. The low values of distributions of KL divergence values for the distributions with different robots and different objects shows that there is a high similarity in such distributions allowing us to use one object to understand motion of the other and one robot to understand how to hit with another robot. The distributions of hitting with two differentrobotconfigurationsanddifferentrobotshaverelatively higher KL divergence value. This can be attributed to small errors in inertia calculation using URDFs and its investigation is part of the future work. _C._ _Transfer Learning_ The presence of a degree of generalizability gives rise to the idea that it should be possible to shift an object’s known motion distribution to another object’s motion distribution using a few data points, i.e., a robot having an idea of how Object 1 moves could understand the motion of Object 2 through fewer data points. We show the preliminary results of learning Object 2 motion model given the model for Object 1 by using incremental TABLE VI KL DIVERGENCE VALUES OF LEARNING A MODEL THROUGH 1. SCRATCH AND 2. INITIALIZING THE MODEL WITH A KNOWN OBJECT’S MODEL Fig. 5. Left: In red is the robot reachable workspace and in green is the object reachable space. Right: When the object cannot reach a desired position, we utilize multiple robots to achieve the desired result. Fig. 6. In disc golf [18], the position ‘ T ’ marks the place from where the player throws the first shot. The out of bound area (where the disc is not allowed to go) is marked by a white boundary. The shaded white area in the middle shows the area that a good disc throw will lead the disc to lie inside. The scoring average shows how many shots in average a player needed to reach the final goal position. E-M algorithm. The GMM model for object 2 is initialized with the parameters of the object 1 model. The hypothesis is that learning a model through transferring a known model should require fewer data points. Model for object 2 is learnt with different number of data points sampled uniformly from the data and KL divergence is calculated with incrementally learned models and the model learnt from the entire dataset, cross-validated 5 times. Table VI shows the average KL divergence values. We see that the transferred model is already require fewer data points to be close to the actual model. Future research tackles understanding how to learn better with fewer data points. V. APPLICATION: OBJECT MOTION PLANNING The motion model of an object allows us to also model “ _object_ _reachable_ _space_ ”, i.e., the area that an object can reach after being hit, denoted by _O_ . In Fig. 5, in green we show the object reachable space and in red, the robot workspace. A robot can hit an object anywhere in the green space, and using multiple robots, we can increase the object reachable space, allowing placement of objects outside the object reachable space of just one robot. To position an object in an unstructured environment with multiple robots (or multiple hits) resembles the sport of golf, refer Fig. 6 where the first hit can be large inducing higher variability while the last hit is the most accurate hit. _A._ _Modeling the Object Reachable Space, O_ To generalize the object reachable space in any direction, the following assumptions are made: 1) The friction between the box and the sliding surface is isotropic, implying that the object reachable space of each robot remains orientation invariant. 2) The distance between the initial robot end effector and object initial position remains fixed, and so is the the orientation of the object to that of the robot, represented as _θ_ . While the object motion can be modeled as a GMM, it also allows us to model the object reachable space. The object reachable space of each robot _Oi_ is modeled using the GMM _P_ ( _χf_ _|χi, θ_ ). _B._ _Optimization Problem_ _Problem statement:_ Determine the optimal orientation of the robot 1, _R_ 1, i.e., _θ_ 1 around the initial position of the object _χo,i_, the optimal mid-trajectory position of the object _χo,m_, and the optimal orientation of the robot 2, _R_ 2, i.e., _θ_ 2 around _χo,m_, with the aim of having the object reach the final desired position, _χo,f_, given the boundary function for the available space _B_, the initial position of the object _χo,i_, the target position of the object _χo,f_ and the object reachable space for _O_ 1, _O_ 2. _1)_ _Constraints:_ The object remains on the table throughout its motion _χo_ _∈B ⊖_ _ε_, where _ε_ is a margin introduced to avoid the object falling off the table. _2)_ _Objective Function:_ We implement and compare two different objective functions, namely, total optimization and golf optimization functions, and show how the golf optimization solution works on the real robots. _<u>Total Optimization Objective Function</u>_ <u>:</u> This approach aims to maximize the total probability of reaching the desired position. To achieve this, the objective function is defined as follows: _F_ total( _θ_ 1 _, χm, θ_ 2) = _P_ 1( _χm|χi, θ_ 1) _P_ 2( _χf_ _|χm, θ_ 2) (13) _<u>Golf Optimization Objective Function</u>_ : Golf optimization aims to maximize the probability of the last hit, specifically maximizing the probability of reaching _χf_ on the last hit. Additionally, a soft constraint (indicating an intersection between the mid-trajectory position _χm_ and _O_ 1) is added to ensure that the probability of reaching _χm_ is close to a certain threshold, (enabling robot 1 to hit the object to _χm_ ) and ensuring a feasible solution. The objective function for golf optimization is defined as follows: _F_ golf( _θ_ 1 _, χm, θ_ 2) = _P_ 1( _χf_ _|χm, θ_ 2) + _cP_ 2( _χm|χi, θ_ 1) (14) Here, _c_ refers to the weight the optimization function puts on the first hit. _<u>Optimization Problem</u>_ : Considering the assumptions, constraints and objective functions defined above, the final optimization problem is: _θ_ 1 <sup>_∗_</sup> 1 <sup>_∗, χ_</sup> _m_ <sup>_∗_</sup> <sup>_, θ_</sup> 2 <sup>_∗_</sup> 2 <sup>_∗_</sup> <sup>=</sup> <sup>_argmax_</sup> _θ_ 1 _,χm,θ_ 2 _F_ ( _θ_ 1 _, χm, θ_ 2) s.t. _χo_ _∈B ⊖_ _ε_ (15) Fig. 7. The green cross represents the start position of the box and the black cross represents the final desired position of the box. The total optimization places the central object position closer to the mean of a Gaussian where as the golf optimization places the final desired position closer to the mean of the Gaussian representing the difference in likelihood of the final stroke. Since the optimization function is either a product or a weighted summation of probability density represented by GMMs, this is a non convex problem. We use COBYLA solver that uses linear approximation for constrained optimization, which is efficient with a good initial guess but becomes less effective as the number of variables increases [19]. For _n_ robots, the number of the variable to be optimized is 2 _n −_ 1. COBYLA is generally preferred for only up to 9 variables [19], which limits the number of robots to 5. In terms of worst time complexity, linear programs are O(2 <sup>_n_</sup> ), although given the iterative solver being used, the complexity is hard to define. Extensions of these ideas to dynamic programming for solving sequential problem is an area of future work. _C._ _Robot Experiments_ Fig. 7 shows the optimization results and the difference between the total and golf optimization methods. The golf optimization places the Object reachable space GMM for the second hit such that the final position is close to the means of the Gaussians. The accompanying video contains two robots hitting an object to its desired location, where it cannot go through a single hit due to large distance and existence of an obstacle in its direct path. VI. DISCUSSION AND FUTURE WORK In this letter we learn the motion model of an object subject to an impulse by creating a probability distribution of hitting flux and object distance traveled. The data is collected through a semi-automated dual arm framework. The different kinds of objects, robots and robot configuration used in hitting allow us to understand better the difference in the distributions of the data when such entities in the system producing the hit are changed. An impact aware Extended Kalman Filter is introduced which circumnavigates the discontinuity in the motion of the object through a Gaussian hitting force model. The energy transfer equations is used for the force parameter selection. The learnt modelisusedinmotionplanningformovementofanobjectinan environment where one robot cannot hit the object to its desired location. The object motion model although incorporating the way an object has been hit does not yet incorporate a model of friction that is more complex than simple isotropic model allowing one to assume motion of the object will be the same regardless of any hitting direction. Other than incorporating transferability of the object motion to unseen objects, another future aspect is to control the pose of the object, thus including its orientation, which also is affected by the friction between the object and sliding surface. APPENDIX A COLLISION MECHANICS Through conservation of momentum, we have: <sup>2</sup> <sup>_−_</sup> _rh_ <sup>_−_</sup> <sup>_χ_</sup> <sup>˙</sup> _rh_ <sup>+</sup> _λh_ ( ˙ _χ_ <sup>_−_</sup> _rh_ <sup>+</sup> <sup>) =</sup> <sup>_mo_</sup> <sup>˙</sup> <sup>_χ_</sup> _oh_ <sup>+</sup> _oh_ <sup>+</sup> (16) where _λh_ = ( _h_ <sup>ˆ</sup> <sup>_T_</sup> Λ <sup>_−_</sup> <sup>1</sup> _h_ <sup>ˆ</sup> ) <sup>_−_</sup> <sup>1</sup> [20] is the _directional_ _effective_ _inertia_ <sup>3</sup> at the point of contact in the hitting direction _h_ <sup>ˆ</sup>, Λ is the effective inertia which generally can be calculated as: Λ( _q_ ) = ( _J_ ( _q_ ) _M_ <sup>_−_</sup> <sup>1</sup> ( _q_ ) _J_ <sup>_T_</sup> ( _q_ )) <sup>_−_</sup> <sup>1</sup> [20] From the definition of restitution ( _ϵ_ ) along the impact normal ( _h_ <sup>ˆ</sup> ), <sup>_−_</sup> _rh_ <sup>) =</sup> <sup>_χ_</sup> <sup>˙</sup> <sup>+</sup> _oh_ _rh_ <sup>+</sup> (17) _χ_ ˙ <sup>_−_</sup> _rh_ _ϵ_ ( ˙ _χ_ <sup>_−_</sup> _rh_ <sup>+</sup> _oh_ <sup>_−_</sup> <sup>_χ_</sup> <sup>˙</sup> _rh_ <sup>+</sup> _χ_ ˙ <sup>+</sup> _oh_ <sup>= (1 +</sup> <sup>_ϵ_</sup> <sup>)</sup> _χ_ ˙ <sup>+</sup> _oh_ _<u>λh</u>_ _λh_ + _mo_ <sup>_−_</sup> _rh_ (18) We write the directional hitting flux as a scaled post-impact object speed, independent of _ϵ_ . _<u>λh</u>_ _φh_ = _λh_ + _mo_ _χ_ ˙ <sup>_−_</sup> _rh_ (19) The robot is controlled for a desired value of _φh_ . APPENDIX B PARAMETER SELECTION FOR FORCE FUNCTION The hitting force is modeled as a Gaussian, defined by a standard deviation parameter _σ_ 2 and amplitude _σ_ 1. Where _δx_ is the distance between the hitting point on the object and the hitting point of the end-effector. It is assumed that the work of the hitting force over distance is equal to the kinetic energy of the box after impact such that, - _∞_ _fi_ (Δ _χ_ ) _d_ Δ _χ_ = <sup><u>1</u></sup> 2 _−∞_ Substitution and rearranging yields, <sup><u>1</u></sup> 2 <sup>_m_</sup> <sup>˙</sup> <sup>_χ_</sup> _o_ <sup>+2</sup> <sup>_._</sup> (20) _σ_ 1 = <sup>_<u>m</u>_</sup> <sup><u>(1 +</u></sup> _~~√~~_ <sup>_<u>ϵ</u>_</sup> <sup><u>)2</u></sup> <sup>_<u>φ</u>_</sup> <sup>2</sup> <sup><u>(1 +</u></sup> _~~√~~_ 2 _σ_ 2 <sup><u>)2</u></sup> <sup>_<u>φ</u>_</sup> <sup>2</sup> _._ (21) 2 _π_ 2superscript _−_ represents pre-impact and + represents post impact. Underscript _h_ represents the hitting direction. 3 _λh_ = _λh_ ( _q_ ) _,_ Λ _h_ = Λ _h_ ( _q_ ) are functions of the joint configuration, _q_ . At the impact, _q_ is assumed to be constant. APPENDIX C EKF PREDICTION AND UPDATE STEPS The prediction step of the EKF consists of predicting the state and covariance of the system at the next time step. Given the current state estimate _x_ ˆ <sup>_k|k−_</sup> <sup>1</sup>, covariance estimate _P_ <sup>_k|k−_</sup> <sup>1</sup>, and the system dynamics model: _x_ ˆ <sup>_k|k−_</sup> <sup>1</sup> = _f_ ( _x_ ˆ <sup>_k−_</sup> <sup>1</sup> <sup>_|k−_</sup> <sup>1</sup> _, u_ <sup>_k_</sup> ) (22) _P_ <sup>_k|k−_</sup> <sup>1</sup> = _F_ <sup>_k_</sup> _P_ <sup>_k−_</sup> <sup>1</sup> <sup>_|k−_</sup> <sup>1</sup> _F_ <sup>_kT_</sup> + _Q_ <sup>_k_</sup> (23) where _f_ ( _·_ ) is the state transition function, _F_ <sup>_k_</sup> is the Jacobian matrix of _f_ with respect to the state, and _Q_ <sup>_k_</sup> is the process noise covariance matrix. The update step of the EKF incorporates measurements to refine the state estimate. Given the predicted state ˆ _x_ <sup>_k|k−_</sup> <sup>1</sup> and covariance _P_ <sup>_k|k−_</sup> <sup>1</sup>, and a measurement _z_ <sup>_k_</sup>, the update equations are: _y_ ˜ <sup>_k_</sup> = _z_ <sup>_k_</sup> _−_ _h_ ( _x_ ˆ <sup>_k|k−_</sup> <sup>1</sup> ) (24) _S_ <sup>_k_</sup> = _H_ <sup>_k_</sup> _P_ <sup>_k|k−_</sup> <sup>1</sup> _H_ <sup>_kT_</sup> + _R_ <sup>_k_</sup> (25) _K_ <sup>_k_</sup> = _P_ <sup>_k|k−_</sup> <sup>1</sup> _H_ <sup>_kT_</sup> _S_ <sup>_k−_</sup> <sup>1</sup> (26) _x_ ˆ <sup>_k|k_</sup> = _x_ ˆ <sup>_k|k−_</sup> <sup>1</sup> + _K_ <sup>_k_</sup> _y_ ˜ <sup>_k_</sup> (27) _P_ <sup>_k|k_</sup> = ( _I_ _−_ _K_ <sup>_k_</sup> _H_ <sup>_k_</sup> ) _P_ <sup>_k|k−_</sup> <sup>1</sup> (28) where _y_ ˜ <sup>_k_</sup> is the measurement residual, _h_ ( _·_ ) is the measurement function, _H_ <sup>_k_</sup> is the Jacobian matrix of _h_ with respect to the state, _R_ <sup>_k_</sup> is the measurement noise covariance matrix, _K_ <sup>_k_</sup> is the Kalman gain, and _I_ is the identity matrix. APPENDIX D GAUSSIAN MIXTURE REGRESSION Assume we have the joint probability distribution of the data which consists of both input and output. The probability that a data-point _ζ_ = [ _O_ ; _I_ ] ( _O_ being the output and _I_, input) belongs to a GMM is as follows: Using the above equations, we can sum over all the Gaussians to generate conditional expectation of _O_, given _I_ . - _K_ _k_ =1 _h_ <sup>2</sup> _k_ <sup>Σ</sup> <sup>_k_</sup> _μ_ ˆ = - _K_ _k_ =1 _hkμ_ ˆ _k,_ ˆΣ = where, _hk_ = _πk_ _<u>N</u>_ <u>(</u> _<u>I</u>_ <u>;</u> _<u>μk,</u>_ <u>Σ</u> _k_ <u>)</u> ~~�~~ _K_ _k_ =1 <sup>_N_</sup> <sup>(</sup> <sup>_I_</sup> <sup>;</sup> <sup>_μk,_</sup> <sup>Σ</sup> <sup>_k_</sup> <sup>)</sup> REFERENCES _P_ ( _ζ_ ) = - _K_ _k_ =1 _πkN_ ( _ζ_ ; _μk,_ Σ _k_ ) where _πk_ arethepriorprobabilitiesoftheGaussiansoftheGMM and _N_ ( _ζ_ ; _μk,_ Σ _k_ ) are the Gaussian distributions composing the GMM. _μk_ and Σ _k_ are the means and covariance matrices of the _k_ <sup>_th_</sup> Gaussian and can be written as: _μk_ = _μIk_ _μOk_ _,_ Σ _k_ = Σ _Ik_ Σ _IOk_ Σ _OIk_ Σ _Ok_ Once, we have the GMM, we compute the distribution of the output variable _O_, given the input variable _I_ and Gaussian _k_ _P_ ( _O|I, k_ ) _∼N_ (ˆ _μk,_ Σ <sup>ˆ</sup> _k_ ) where, _μ_ ˆ _k_ = _μOk_ + Σ _OIk_ Σ <sup>_−_</sup> _Ik_ <sup>1(</sup> <sup>_I_</sup> <sup>_−_</sup> <sup>_μIk_</sup> <sup>)</sup> ˆΣ _k_ = Σ _Ok −_ Σ _OIk_ Σ <sup>_−_</sup> _Ik_ <sup>1Σ</sup> <sup>_IOk_</sup> [1] H. Khurana and A. Billard, “Motion planning and inertia-based control for impact aware manipulation,” _IEEE Trans. Robot._, vol. 40, pp. 2201–2216, 2024. [2] M. Bauza and A. Rodriguez, “A probabilistic data-driven model for planar pushing,” in _Proc._ _IEEE_ _Int._ _Conf._ _Robot._ _Autom._, 2017, pp. 3008–3015. [3] F. H. M. Bauza and A. Rodriguez, “A data-efficient approach to precise and controlled pushing,” _CoRL_, 2018. [4] K.-T. Yu, M. Bauza, N. Fazeli, and A. Rodriguez, “More than a million ways to be pushed: A high-fidelity experimental dataset of planar pushing,” in _Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst._, IEEE, 2016, pp. 30–37. [5] C. Song and A. Boularias, “A probabilistic model for planar sliding of objects with unknown material properties: Identification and robust planning,” 2020. [6] H. Khurana, M. Bombile, and A. Billard, “Learning to hit: A statistical dynamical system based approach,” in _Proc._ _IEEE/RSJ_ _Int._ _Conf._ _Intell._ _Robots Syst._, 2021, pp. 9415–9421. [7] K.M.LynchandM.T.Mason,“Stablepushing:Mechanics,controllability, and planning,” _Int. J. Robot. Res._, vol. 15, no. 6, pp. 533–556, 1996. [8] “Estimating the friction parameters of pushed objects,” in _Proc. IEEE/RSJ_ _Int. Conf. Intell. Robots Syst._, 1993, vol. 1, pp. 186–193. [9] H. Kitano, M. Asada, I. Noda, and H. Matsubara, “Robocup: Robot world cup,” _IEEE Robot. Automat. Mag._, vol. 5, no. 3, pp. 30–36, Mar. 1998. [10] J. Tebbe, Y. Gao, M. Sastre-Rienietz, and A. Zell, “A table tennis robot sys tem using an industrial kuka robot arm,” in _Pattern Recognition_, T. Brox, A. Bruhn, and M. Fritz, Eds. Cham, Switzerland: Springer International Publishing, 2019, pp. 33–45. [11] S. M. Khansari-Zadeh, K. Kronander, and A. Billard, “Learning to play minigolf: A dynamical system-based approach,” _Adv._ _Robot._, vol. 26, [no. 17, pp. 1967–1993, 2012. [Online]. Available: http://infoscience.epfl.](http://infoscience.epfl.ch/record/181052) [ch/record/181052](http://infoscience.epfl.ch/record/181052) [12] Y.-B. Jia, M. Gardner, and X. Mu, “Batting an in-flight object to the target,” _Int._ _J._ _Robot._ _Res._, vol. 38, no. 4, pp. 451–485, 2019, [doi: 10.1177/0278364918817116.](https://dx.doi.org/10.1177/0278364918817116) [13] M. Müller, S. Lupashin, and R. D’Andrea, “Quadrocopter ball juggling,” in _Proc. IEEE/RSJ Int. Conf. Intell. Robots Syst._, 2011, pp. 5113–5120. [14] A. AlAttar, L. Rouillard, and P. Kormushev, “Autonomous air-hockey playing cobot using optimal control and vision-based Bayesian tracking,” in _Towards AutonomousRobotic Systems_, K. Althoefer, J. Konstantinova, and K. Zhang, Eds. Cham, Switzerland: Springer, 2019, pp. 358–369. [15] P. Liu, D. Tateo, H. Bou-Ammar, and J. Peters, “Efficient and reactive planning for high speed robot air hockey,” _CoRR_, vol. abs/2107.06140, 2021. [16] J. Jankowski, A. Mari´c, and S. Calinon, “Airlihockey: Highly reactive contact control and stochastic optimal shooting,” 2024, _arXiv:2401.14964_ . [17] E. Aljalbout, “Dual-arm adversarial robot learning,” in _Proc._ _5th_ _Annu._ _Conf.Robot.Learn.,BlueSkySubmissionTrack_,2021.[Online].Available: [https://openreview.net/forum?id=FI2HrMozlo_](https://openreview.net/forum{?}id$=$FI2HrMozlo_) [18] [“Jomez productions,” https://www.jomezpro.com/](https://www.jomezpro.com/) [19] M. J. D. Powell, “A direct search optimization method that models the objective and constraint functions by linear interpolation,” in _Proc._ _Adv._ _Optim._ _Numer._ _Anal._, 1994, pp. 51–67. [Online]. Available: [https://app.](https://app.dimensions.ai/details/publication/pub.1046127469) [dimensions.ai/details/publication/pub.1046127469](https://app.dimensions.ai/details/publication/pub.1046127469) [20] O. Khatib, “Inertial properties in robotic manipulation: An object-level framework,” _Int. J. Robot. Res._, vol. 14, no. 1, pp. 19–36, 1995.

섹션 본문 75문단 · 28,786자

Learning the Inverse Hitting Problem

2Harshit Khurana , Graduate Student Member, IEEE, James Hermus , Maxime Gautier , and Aude Billard , Fellow, IEEE Abstract-This letter presents a data collection framework and a learning model to understand the motion of an object after being subject to an impulse.The data collection framework consists of an automated dual arm setup hitting an object to each other, like a collaborative air-hockey game.An impact aware extended Kalman filter is proposed for automation of the air-hockey setup which approximates the discontinuous impulse motion equations through a hitting force model by balancing the energies during collision.To capture the variance in the motion that stochasticity of friction introduces, the errors in the controls for the hitting flux, we model the stochastic relationship between hitting flux and object's resulting displacement, using full density modeling.Further we show the application of the learnt motion model for planning sequential hits with two or more robots, in a Golf-like principle, to enable an object to reach a location far beyond the reach of a single robot.

3Index Terms-Impact aware manipulation, robot collaboration, impact aware extended Kalman filter, dual arm system, GMM, GMR, golf.

I. INTRODUCTION

4I MPACTFUL contacts between a robot and its environment are rarely exploited in robotic manipulation.In moving objects from a given position to a desired position, methods such as pick and place (prehensile), or pushing (non-prehensile) are more widely used than hitting an object.In such manipulation strategies, the object's final desired position is typically within the workspace of the fixed robot.In pushing, this is due to establishing contact between the robot and the object at relatively low speeds.This is called the quasi-static assumption and the inertial effects of the bodies in contact are negligible.While hitting an object [1] has the benefit of increasing the space in which an object can be placed, it is important to consider the dynamics of the robot and the inertial properties of the object.Hence, the robot-object contact cannot be assumed to be quasi-static.Predicting object motion when pushing is challenging due to the multi-modality of the factors affecting the object's displacement, such as contact position, and variable friction.[2], predicting the final displacement of an object after an impactful hit requires a model of the impulse and the restitution coefficient that measures the amount of energy transmitted.This is particularly difficult when the impact is inelastic.Accurate modeling of the expected displacement after impact is crucial to invert the model, so as to plan the impact to achieve a desired motion.Pushing objects to move them from one place to another has benefited from the improvements in data driven methods such as reinforcement learning and modeling through heteroscedastic Gaussian Processes as they implicitly model the contact behavior [3], [4], [5].

5Previously in [1], we proposed a method for impact aware motion planning and inertia-based control to generate repeatable impacts on objects of different masses with constraints on their shape and in [6], we proposed a method to model the process of hitting an object so as to place it at a desired position outside of the workspace of the robot through a regression model linking hitting velocity to the distance traveled by the object.In this letter we use hitting flux as the hitting control parameter and learn the relationship between the hitting flux and the object motion and show its applicability.We write the contributions of this letter as follows:

61) A semi-autonomous dual arm system for robot -object impulsive interaction data collection 2) An Impact Aware Extended Kalman Filter (IA-EKF) to predict object's final position subject to an impulse 3) A learning based inverse map to predict the hitting parameters to achieve the desired object's displacement, through modeling of the stochastic relationship between object displacement and hitting flux.4) Experiments validating the learnt model on different robots and objects 5) A motion planning framework inspired by the principles of golf for placing objects outside the robot's reach in an unstructured environment.

II. RELATED WORK

7A. Manipulation Through Pushing 1) Analytical + Data Driven Models: In pushing, the motion of the object can be represented through an analytical model taking into account the contact forces [7], [8] or through data driven models such as [2], [3], [5].In the above mentioned works, the quasi-static assumption implies that the inertia forces are negligible.Hence, the object moves only when the robot is in contact with the object and applying force on it.The motion of the object, when modeled analytically does not take into account the variability of the robot controller and the stochastic nature of friction at contact points, and in the sliding surface.To deal with the uncertainty of these parameters (friction, contact area etc), [8] estimates the parameters with data to make the prediction for the object motion closer to reality.Even if one knows such parameters, data-driven models exhibit stochasticity in the friction model; that is, given the same pushing strategy, the object's motion differs slightly each time.

B. Manipulation Through Hitting

8Robots interacting with the environment with impacts can be seen in examples such as RoboCup [9], robot table tennis [10], golf [11], baseball [12], and in quadrotors juggling using a small ball [13].But little work has been done that incorporates the object and robot inertial properties.In our previous work we have established preliminary methodology of learning the object motion through data [6] and creating a motion for the robot for repeatable hits while controlling for hitting flux, which incorporates the hitting speed and the directional inertia of the robot [1].

C. Object Motion Estimation

9Kalman and Particle filters have been extensively used for predicting motion of an object subject to external forces with incomplete measurement and noisy sensors.Yet, the literature lacks online estimation strategies for predicting motion of an object subject to impulse.[14] uses a Kalman filter to predict puck's motion after being hit by the robot and mitigates the discontinuity in the collision between the puck and the table using a particle filter.However the model of the motion of the puck does not incorporate the contact between the robot and the puck, the estimation depends on the measurements of the puck's motion, and in this case the assumptions such as an infinite mass for the stick and purely elastic collisions with a coefficient of restitution of were reasonable.In our experimental setup, both the inertial dynamics of the box and the robot are significant, the impact can not be modeled as perfectly elastic, and the friction between the box and the table is substantial.

III. METHODS

10We describe the data collection framework, the experimental setup, and learning model for the object motion1

A. Hitting Flux and Motion Generation

11Hitting flux (φ h ) is defined as

12, where λ h is the directional inertia of the robot and χ− rh is the hitting speed.We use the same method for robot motion generation as in [1] which works for planar sliding and for objects where the established contact normal is parallel to the sliding plane.This is assumed for objects used in this manuscript as well.

B. Physical Setup

13Fig. 2 shows the dual arm framework for data collection.It consists of the robots arms KUKA lbr iiwa 7 and 14, two different sized box objects with uniform mass distribution (Refer Table I).A third cylindrical test object (Object 3) is used for testing the model as well.The setup is surrounded by 12 Optitrack 17 W infrared cameras which can accurately track objects in 3D space through markers.

C. Data Collection Through Dual-Arm Hitting Game

14To learn the motion of an object subject to an impulse and environment variability, we need data.Most hits would make an object move out of the reachable workspace of the robot, making it impossible for the robot itself to reset the box to its initial position.Having a human reset the environment is time consuming, while limiting the environment variability that data can inherit.Thus, we create a dual arm system inspired by the game of AirHockey, such as in [15], [16], [17] removing the need to reset the object while doubling the data collection speed.High level task decision policy + Motion plan: Fig. 1 shows diagrammatically the robots and the policy that is realized at high level control.

151) Hitting: The robot moves to generate the desired hitting flux (19) to hit an object.2) Rest: The robot returns to its initial position after hit.The variables recorded are as shown in Table II.

D. Impact Aware EKF

16In the air hockey setup, where robots hit the puck back and forth, we propose an Impact-Aware Extended Kalman Filter to predict the puck's final position online, significantly reducing data collection time.This enables the robot to begin moving toward the expected box rest position before it arrived.The proposed method has two key aspects.Firstly, the approach incorporates not only information about the box, but also the robot, which is represented as a flux.Secondly, it employs a smoothed approximate model of the hitting force that acts on the box.This smooth Gaussian contact force function, eliminates the discontinuity, enabling the utilization of an EKF.While this approach results in a knowingly incorrect estimate of the absolute box position at impact, it provides the benefit of a velocity estimate which converges faster -the key aspect for estimating the final box position.In this section, both, the impact aware state transition model and box only state transition model are described, results of which are compared in Section III-E.The impact-aware model incorporates knowledge of the desired flux and a smooth hitting force model into the prediction process.Modeling the contact dynamics for the impact-aware model necessitates addressing non-linearity.In this work, we utilize a standard implementation of the EKF, which is presented in Appendix C. To ensure consistency, we employ the same standard EKF implementation presented in the Appendix C for both models.

17Box Only Model: The motion model of the box alone, neglecting the robot, simplifies to the case of a linear Kalman Filter, with no need for the local linear approximation of an EKF.The state of the system is denoted by Impact Aware Model: This model incorporates an estimate of the robot end-effector position denoted by χ r , velocity by χr , and the energy imparted to the box denoted by E. The state vector here is x i = [χ o , χo , χ r , χr , E, μ, ] T .The state transition function is defined as,

18Where the impact force is defined as,

192

20where the distance between the end-effector and the box is defined as Δχ.The parameter σ 2 determines the width of the Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

21force Gaussian, while σ 1 is chosen such that the work done by the hitting force equals the work expected based on the desired flux.The selection of σ 2 is discussed in Appendix B. The predicted energy, E pred is the integral of the impact force over the distance and is defined using the predicted flux equaling σ 1 σ 2 √ 2π.Additionally, the friction force is defined as,

22where g is the gravitational constant.The only input was the reference flux, denoted as φ.The measurement includes both the box position and the end-effector position, represented as

23To estimate the final position denoted χf , knowledge of the predicted final position based on flux denoted χφ f is combined with the state estimate from the EKF denoted χkalman f .This assumes that the relation between flux, the coefficient of restitution, and the predicted post object velocity is χ+ o,φ = (1 + )φ.At the start of the task the best estimate of the final box position is based on the flux.This prediction assumes friction was the only force acting on the box after contact.The final position prediction based on hitting flux is,

24where χ init o is the initial box position.The predicted final box position based on the EKF velocity estimate is,

25A convex combination of the flux prediction and the EKF prediction is constructed based on the energy imparted on the box.In this case alpha is defined as α = E k /E pred .This combination is used to initialize the final online prediction χφ

26In the experiments, the data collection was run at 200 Hz and the Kalman filter at 1000 Hz.The proposed Kalman filter is run over trials by initializing the friction and restitution coefficients (μ, ) with the previous trial's converged values.

E. EKF Behavior

27The results for Impact aware EKF and Box only EKF for Object 1 are shown in Fig. 3.We can immediately notice that the Box only EKF (purple dashed line) takes overshoots and converges once the box has reached its final position.In yellow, one can see the prediction with Impact Aware EKF, which has the following properties: One, it converges faster than the Box only EKF Model.Second, as the number of hits increase and the coefficients of friction and restitution converge, the final position prediction becomes quite accurate in both, the simulation and the real robot experiments.The convergence time improves by ∼ 0.5s or ∼ 44%.As observed, after around 15 hits (10) can be used to predict the final position of the box after being hit online as the values of μ and have converged.

F. Ablation Studies

28The data collection framework's requirements are to collect data accurately and fast.The design decisions are based on the time efficiency of data collection.Table III reports the time taken per data point for the dual arm system, and for the single arm DIFFERENT FRAMEWORKS setup (refer [6]).The time taken per data point improves by 94.3% with the design of the framework.

A. Learning Model of Data Distribution

29To encapsulate the stochastic nature of the relationship between the input, hitting flux (φ), and realized outcome, distance traveled by the object (d φ ), we learn a full density model of the joint probability distribution P (φ, d φ ) using Gaussian Mixture Model (GMM).The model is trained through Maximum Likelihood, with k-means clustering for parameters' initialization.Bayesian Information Criterion is used to select the optimal number of Gaussians in the GMM, (in this case, 2).The inverse model to predict the desired hitting flux (φ * ) given the initial and the final desired position of the object, we compute the expectation on the conditional probability φ * = E(P (φ|d φ ).Refer Appendix D for the details on GMM and GMR.

B. Data Properties and Learnt Model Assessment

30The number of data points collected for each robot type,configuration, and each object is detailed in Table IV, and visually represented in Fig. 4.

Accuracy of desired flux prediction:

31We assess the accuracy of the GMR prediction of the hitting flux for the desired object distance through 10-fold cross-validation with a 70 % training / testing ratio.Using GMR, for a desired distance traveled, hitting flux is calculated and the mean RMSE for the desired and actual distance traveled by the object for the calculated hitting flux.The RSME (root mean squared error) in the desired and achieved distance is 0.054m.We hypothesize that the learnt motion model of the object will have some degree of generalizability to the robot, its hitting configuration and the object.To calculate the degree of agnosticism we calculate KL divergence of the distributions of the object motion data when hit by different robots and in different robot configurations.Kullback-Leiber (KL) divergence measures the difference between two different probability distributions, and hence can be described as a measure of how much information is lost when one probability

32In addition to the KL divergence values, generalization of the models is tested by using a specific robot / object / configuration model for prediction for hitting with the other robot / object / configuration respectively and the RMSE errors for the achieved and predicted distances are listed in Table V.The low values of distributions of KL divergence values for the distributions with different robots and different objects shows that there is a high similarity in such distributions allowing us to use one object to understand motion of the other and one robot to understand how to hit with another robot.The distributions of hitting with two different robot configurations and different robots have relatively higher KL divergence value.This can be attributed to small errors in inertia calculation using URDFs and its investigation is part of the future work.

C. Transfer Learning

33The presence of a degree of generalizability gives rise to the idea that it should be possible to shift an object's known motion distribution to another object's motion distribution using a few data points, i.e., a robot having an idea of how Object 1 moves could understand the motion of Object 2 through fewer data points.We show the preliminary results of learning Object 2 motion model given the model for Object 1 by using incremental Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.

TABLE VI KL DIVERGENCE VALUES OF LEARNING A MODEL THROUGH 1. SCRATCH AND 2. INITIALIZING THE MODEL WITH A KNOWN OBJECT'S MODEL

34Fig. 5. Left: In red is the robot reachable workspace and in green is the object reachable space.Right: When the object cannot reach a desired position, we utilize multiple robots to achieve the desired result.

35Fig. 6.In disc golf [18], the position 'T' marks the place from where the player throws the first shot.The out of bound area (where the disc is not allowed to go) is marked by a white boundary.The shaded white area in the middle shows the area that a good disc throw will lead the disc to lie inside.The scoring average shows how many shots in average a player needed to reach the final goal position.

36E-M algorithm.The GMM model for object 2 is initialized with the parameters of the object 1 model.The hypothesis is that learning a model through transferring a known model should require fewer data points.Model for object 2 is learnt with different number of data points sampled uniformly from the data and KL divergence is calculated with incrementally learned models and the model learnt from the entire dataset, cross-validated 5 times.

37Table VI shows the average KL divergence values.We see that the transferred model is already require fewer data points to be close to the actual model.Future research tackles understanding how to learn better with fewer data points.

V. APPLICATION: OBJECT MOTION PLANNING

38The motion model of an object allows us to also model "object reachable space", i.e., the area that an object can reach after being hit, denoted by O.In Fig. 5, in green we show the object reachable space and in red, the robot workspace.A robot can hit an object anywhere in the green space, and using multiple robots, we can increase the object reachable space, allowing placement of objects outside the object reachable space of just one robot.To position an object in an unstructured environment with multiple robots (or multiple hits) resembles the sport of golf, refer Fig. 6 where the first hit can be large inducing higher variability while the last hit is the most accurate hit.

A. Modeling the Object Reachable Space, O

39To generalize the object reachable space in any direction, the following assumptions are made:

401) The friction between the box and the sliding surface is isotropic, implying that the object reachable space of each robot remains orientation invariant.

412) The distance between the initial robot end effector and object initial position remains fixed, and so is the the orientation of the object to that of the robot, represented as θ.While the object motion can be modeled as a GMM, it also allows us to model the object reachable space.The object reachable space of each robot O i is modeled using the GMM P (χ f |χ i , θ).

B. Optimization Problem

42Problem statement: Determine the optimal orientation of the robot 1, R 1 , i.e., θ 1 around the initial position of the object χ o,i , the optimal mid-trajectory position of the object χ o,m , and the optimal orientation of the robot 2, R 2 , i.e., θ 2 around χ o,m , with the aim of having the object reach the final desired position, χ o,f , given the boundary function for the available space B, the initial position of the object χ o,i , the target position of the object χ o,f and the object reachable space for O 1 , O 2 .

431) Constraints: The object remains on the table throughout its motion χ o ∈ B ε, where ε is a margin introduced to avoid the object falling off the table.

442) Objective Function: We implement and compare two different objective functions, namely, total optimization and golf optimization functions, and show how the golf optimization solution works on the real robots.

45Total Optimization Objective Function: This approach aims to maximize the total probability of reaching the desired position.To achieve this, the objective function is defined as follows:

46Golf Optimization Objective Function : Golf optimization aims to maximize the probability of the last hit, specifically maximizing the probability of reaching χ f on the last hit.Additionally, a soft constraint (indicating an intersection between the mid-trajectory position χ m and O 1 ) is added to ensure that the probability of reaching χ m is close to a certain threshold, (enabling robot 1 to hit the object to χ m ) and ensuring a feasible solution.

47The objective function for golf optimization is defined as follows:

48Here, c refers to the weight the optimization function puts on the first hit.

49Optimization Problem: Considering the assumptions, constraints and objective functions defined above, the final optimization problem is:

50Authorized licensed use limited to the terms of the applicable license agreement with IEEE.Restrictions apply.Since the optimization function is either a product or a weighted summation of probability density represented by GMMs, this is a non convex problem.We use COBYLA solver that uses linear approximation for constrained optimization, which is efficient with a good initial guess but becomes less effective as the number of variables increases [19].For n robots, the number of the variable to be optimized is 2n − 1. COBYLA is generally preferred for only up to 9 variables [19], which limits the number of robots to 5. In terms of worst time complexity, linear programs are O(2 n ), although given the iterative solver being used, the complexity is hard to define.Extensions of these ideas to dynamic programming for solving sequential problem is an area of future work.

C. Robot Experiments

51Fig. 7 shows the optimization results and the difference between the total and golf optimization methods.The golf optimization places the Object reachable space GMM for the second hit such that the final position is close to the means of the Gaussians.The accompanying video contains two robots hitting an object to its desired location, where it cannot go through a single hit due to large distance and existence of an obstacle in its direct path.

VI. DISCUSSION AND FUTURE WORK

52In this letter we learn the motion model of an object subject to an impulse by creating a probability distribution of hitting flux and object distance traveled.The data is collected through a semi-automated dual arm framework.The different kinds of objects, robots and robot configuration used in hitting allow us to understand better the difference in the distributions of the data when such entities in the system producing the hit are changed.An impact aware Extended Kalman Filter is introduced which circumnavigates the discontinuity in the motion of the object through a Gaussian hitting force model.The energy transfer equations is used for the force parameter selection.The learnt model is used in motion planning for movement of an object in an environment where one robot cannot hit the object to its desired location.The object motion model although incorporating the way an object has been hit does not yet incorporate a model of friction that is more complex than simple isotropic model allowing one to assume motion of the object will be the same regardless of any hitting direction.Other than incorporating transferability of the object motion to unseen objects, another future aspect is to control the pose of the object, thus including its orientation, which also is affected by the friction between the object and sliding surface.

APPENDIX A COLLISION MECHANICS

53Through conservation of momentum, we have:

54where λ h = ( ĥT Λ −1ĥ ) −1 [20] is the directional effective inertia3 at the point of contact in the hitting direction ĥ, Λ is the effective inertia which generally can be calculated as: Λ(q) = (J(q)M −1 (q)J T (q)) −1 [20] From the definition of restitution ( ) along the impact normal ( ĥ), ( χ− rh ) = χ+ oh − χ+ rh (17)

55We write the directional hitting flux as a scaled post-impact object speed, independent of .

56The robot is controlled for a desired value of φ h .

APPENDIX B PARAMETER SELECTION FOR FORCE FUNCTION

57The hitting force is modeled as a Gaussian, defined by a standard deviation parameter σ 2 and amplitude σ 1 .Where δx is the distance between the hitting point on the object and the hitting point of the end-effector.It is assumed that the work of the hitting force over distance is equal to the kinetic energy of the box after impact such that,

58Substitution and rearranging yields,

APPENDIX C EKF PREDICTION AND UPDATE STEPS

59The prediction step of the EKF consists of predicting the state and covariance of the system at the next time step.Given the current state estimate xk|k−1 , covariance estimate P k|k−1 , and the system dynamics model:

60where f (•) is the state transition function, F k is the Jacobian matrix of f with respect to the state, and Q k is the process noise covariance matrix.The update step of the EKF incorporates measurements to refine the state estimate.Given the predicted state xk|k−1 and covariance P k|k−1 , and a measurement z k , the update equations are:

61where ỹk is the measurement residual, h(•) is the measurement function, H k is the Jacobian matrix of h with respect to the state, R k is the measurement noise covariance matrix, K k is the Kalman gain, and I is the identity matrix.

APPENDIX D GAUSSIAN MIXTURE REGRESSION

62Assume we have the joint probability distribution of the data which consists of both input and output.The probability that a data-point ζ = [O; I] (O being the output and I, input) belongs to a GMM is as follows:

63where π k are the prior probabilities of the Gaussians of the GMM and N (ζ; μ k , Σ k ) are the Gaussian distributions composing the GMM.μ k and Σ k are the means and covariance matrices of the k th Gaussian and can be written as:

Fig. 1 .

64Fig. 1.From the center going outward: 1) Dual robot placement schematic.2) High level motion planning for the robots, i.e., REST state and HIT state.3) Detailed diagram of the control inputs, outputs and state variables.

Fig. 2 .

65Fig. 2. (a): The physical setup (KUKA lbr iiwa 7 and 14) robot arms and the two different uniform boxes used.A table top acts as the sliding surface.(b) and (c): The two different configurations of the robot used in hitting the boxes.

66Here, χ o represents the box position, χo denotes the box velocity, μ represents the friction coefficient, denotes the coefficient of restitution, dt represents the time step, and m denotes the mass of the object.This model did not include any input u, and the measurement was solely comprised of the box position, denoted by y = [χ o ].

Fig. 3 .

67Fig. 3. From top to bottom: 1. Evolution of the EKF estimate of the estimated object's displacement after first hit, when the estimate of the friction μ and restitution coefficients has not yet converged; 2. Evolution of the EKF estimate for the 15 th hit with known μ and ; 3. Convergence of the estimates of μ and ; 4. Convergence time for EKF estimate of final object's position across trials.

Fig. 4 .

68Fig. 4. All graphs show the distance of object traveled in relation to the hitting flux.Top left: In different colors are the points showcasing hits by different robots.Top right: In different colors are the points showcasing different objects being hit.Bottom left: In different colors are the points showcasing hits by a robot in two different configurations.Bottom right: Joint Probability distribution of the data modeled using a GMM with 2 Gaussians as determined using BIC criteria.

Fig. 7 .

69Fig. 7.The green cross represents the start position of the box and the black cross represents the final desired position of the box.The total optimization places the central object position closer to the mean of a Gaussian where as the golf optimization places the final desired position closer to the mean of the Gaussian representing the difference in likelihood of the final stroke.

Once, we have

70the GMM, we compute the distribution of the output variable O, given the input variable I and Gaussian kP (O|I, k) ∼ N (μ k , Σk )where,μk = μ Ok + Σ OIk Σ −1 Ik (I − μ Ik ) Σk = Σ Ok − Σ OIk Σ −1 Ik Σ IOkUsing the above equations, we can sum over all the Gaussians to generate conditional expectation of O, given I. π k N (I; μ k , Σ k ) K k=1 N (I; μ k , Σ k )

TABLE I OBJECTS

71/ BOXES USED IN THE EXPERIMENTS

TABLE II DATA

72COLLECTED FOR EACH ROBOT

TABLE III ABLATION

73STUDY ON TIME TAKEN PER DATA POINT ON

TABLE IV DISTRIBUTION

74OF HITTING DATA

TABLE V KL

75DIVERGENCE AND RMSE FOR GMR PREDICTIONS USING SWAPPED MODELS

76distribution is to approximate another.

참고문헌 14건

  1. Inertial Properties in Robotic Manipulation: An Object-Level Framework The International Journal of Robotics Research · SAGE Publishing · 1995 10.1177/027836499501400103
  2. Stable Pushing: Mechanics, Controllability, and Planning The International Journal of Robotics Research · SAGE Publishing · 1996 10.1177/027836499601500602
  3. RoboCup: robot world cup IEEE Robotics & Automation Magazine · Institute of Electrical and Electronics Engineers · 1998 10.1109/100.728221
  4. Estimating the friction parameters of pushed objects 2002 10.1109/iros.1993.583097
  5. Quadrocopter ball juggling 2011 IEEE/RSJ International Conference on Intelligent Robots and Systems · 2011 10.1109/iros.2011.6094506
  6. Batting an in-flight object to the target The International Journal of Robotics Research · SAGE Publishing · 2019 10.1177/0278364918817116
  7. A Table Tennis Robot System Using an Industrial KUKA Robot Arm Lecture notes in computer science · Springer Science+Business Media · 2019 10.1007/978-3-030-12939-2_3
  8. Autonomous Air-Hockey Playing Cobot Using Optimal Control and Vision-Based Bayesian Tracking Lecture notes in computer science · Springer Science+Business Media · 2019 10.1007/978-3-030-25332-5_31
  9. A probabilistic data-driven model for planar pushing 2017 10.1109/icra.2017.7989345
  10. More than a million ways to be pushed. A high-fidelity experimental dataset of planar pushing 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2016 10.1109/iros.2016.7758091
  11. A Probabilistic Model for Planar Sliding of Objects with Unknown Material Properties: Identification and Robust Planning 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2020 10.1109/iros45743.2020.9341468
  12. Efficient and Reactive Planning for High Speed Robot Air Hockey 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2021 10.1109/iros51168.2021.9636263
  13. Learning to Hit: A statistical Dynamical System based approach 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2021 10.1109/iros51168.2021.9635976
  14. Motion Planning and Inertia-Based Control for Impact Aware Manipulation IEEE Transactions on Robotics · Institute of Electrical and Electronics Engineers · 2023 10.1109/tro.2023.3319895