A Kickball Game for Ankle Rehabilitation by JAVA, JNI and VRML

Similar documents
Shared Virtual Environments for Telerehabilitation

Autonomous Stair Climbing Algorithm for a Small Four-Tracked Robot

6 System architecture

Virtual Reality-Integrated Telerehabilitation System: Patient and Technical Performance

DEVELOPMENT OF THE HUMANOID ROBOT HUBO-FX-1

Subject Description Form. Upon completion of the subject, students will be able to:

Formative Evaluation of a Virtual Reality Telerehabilitation System for the Lower Extremity

ZJUDancer Team Description Paper

Extended Kalman Filtering

CS277 - Experimental Haptics Lecture 2. Haptic Rendering

Glove-Based Virtual Interaction for the Rehabilitation of Hemiparesis Stroke Patient

Optimal Control System Design

Immersive Real Acting Space with Gesture Tracking Sensors

Touching and Walking: Issues in Haptic Interface

A Study on Motion-Based UI for Running Games with Kinect

Development of a Walking Support Robot with Velocity-based Mechanical Safety Devices*

DETC AN ADMITTANCE GLOVE MECHANISM FOR CONTROLLING A MOBILE ROBOT

Virtual Environments. Ruth Aylett

Motion Control of a Three Active Wheeled Mobile Robot and Collision-Free Human Following Navigation in Outdoor Environment

Laboratory Mini-Projects Summary

A Feasibility Study of Time-Domain Passivity Approach for Bilateral Teleoperation of Mobile Manipulator

Virtual Sculpting and Multi-axis Polyhedral Machining Planning Methodology with 5-DOF Haptic Interface

DESIGN OF A 2-FINGER HAND EXOSKELETON FOR VR GRASPING SIMULATION

Virtual Experiments as a Tool for Active Engagement

Modeling and Experimental Studies of a Novel 6DOF Haptic Device

Parallel Robot Projects at Ohio University

IOSR Journal of Engineering (IOSRJEN) e-issn: , p-issn: , Volume 2, Issue 11 (November 2012), PP 37-43

The Mathematics of the Stewart Platform

A Do-and-See Approach for Learning Mechatronics Concepts

RoboCup TDP Team ZSTT

Korea Humanoid Robot Projects

MEASURING AND ANALYZING FINE MOTOR SKILLS

MOVIE-BASED VR THERAPY SYSTEM FOR TREATMENT OF ANTHROPOPHOBIA

Design and Control of the BUAA Four-Fingered Hand

Motion Control of Excavator with Tele-Operated System

INTELLIGENT GUIDANCE IN A VIRTUAL UNIVERSITY

Towards Integrated System and Software Modeling for Embedded Systems

Wireless Master-Slave Embedded Controller for a Teleoperated Anthropomorphic Robotic Arm with Gripping Force Sensing

Effective Teaching Learning Process for PID Controller Based on Experimental Setup with LabVIEW

Dynamic Platform for Virtual Reality Applications

Haptic Rendering CPSC / Sonny Chan University of Calgary

Performance Enhancement of Sensorless Control of Z-Source Inverter Fed BLDC Motor

INTERNATIONAL JOURNAL OF MECHANICAL ENGINEERING AND TECHNOLOGY (IJMET) ANALYSIS AND CONTROL OF MOBILE ROBOT FOR PIPE LINE INSPECTION

High-level model of an acceleration sensor with feedback as part of an inertial navigation system

Exhibition Strategy of Digital 3D Data of Object in Archives using Digitally Mediated Technologies for High User Experience

Robotic System Simulation and Modeling Stefan Jörg Robotic and Mechatronic Center

Interactive Simulation: UCF EIN5255. VR Software. Audio Output. Page 4-1

G54GAM Lab Session 1

State of the Science Symposium

State observers based on detailed multibody models applied to an automobile

Software Requirements Specification

Booklet of teaching units

Force display using a hybrid haptic device composed of motors and brakes

UKEMI: Falling Motion Control to Minimize Damage to Biped Humanoid Robot

GESTUR. Sensing & Feedback Glove for interfacing with Virtual Reality

Image Guided Robotic Assisted Surgical Training System using LabVIEW and CompactRIO

A Study of Optimal Spatial Partition Size and Field of View in Massively Multiplayer Online Game Server

Design and research of hardware-in-the loop platform of infrared seeker based on Lab-VIEW

Design of Intelligent Blind Control System to Save Lighting Energy and Prevent Glare

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

Fabrication of the kinect remote-controlled cars and planning of the motion interaction courses

Computer Numeric Control

1825. Structure stability evaluation of offshore heave compensator using multi-body dynamics analysis method

DEVELOPMENT OF A BIPED ROBOT

IMECE Proceedings of IMECE2002 ASME International Mechanical Engineering Congress & Exposition November 17 22, 2002, New Orleans, Louisiana

SELECTING THE OPTIMAL MOTION TRACKER FOR MEDICAL TRAINING SIMULATORS

Development of K-Touch TM Haptic API for Various Datasets

INTERACTIVE 3D VIRTUAL HYDRAULICS Using virtual reality environments in teaching and research of fluid power systems and components

Virtual Environment Interaction Based on Gesture Recognition and Hand Cursor

SELF STABILIZING PLATFORM

The Control of Avatar Motion Using Hand Gesture

TOUCH & FEEL VIRTUAL REALITY. DEVELOPMENT KIT - VERSION NOVEMBER 2017

YOUR GATEWAY TO ENDLESS OPPORTUNITIES

Cody Narber, M.S. Department of Computer Science, George Mason University

RAPID PROTOTYPING AND EMBEDDED CONTROL FOR AN ANTHROPOMORPHIC ROBOTIC HAND

Integrating PhysX and OpenHaptics: Efficient Force Feedback Generation Using Physics Engine and Haptic Devices

2. Introduction to Computer Haptics

Reducing Location Registration Cost in Mobile Cellular Networks

Air-filled type Immersive Projection Display

Overview of current developments in haptic APIs

A Study on the Physical Effects in 4D

Real-time AR Edutainment System Using Sensor Based Motion Recognition

Proprioception & force sensing

Engage Examine the picture on the left. 1. What s happening? What is this picture about?

Dynamic analysis and control of a Hybrid serial/cable driven robot for lower-limb rehabilitation

Touch Perception and Emotional Appraisal for a Virtual Agent

Development and Validation of Virtual Driving Simulator for the Spinal Injury Patient

Medical Robotics. Part II: SURGICAL ROBOTICS

Verification of Intelligent Planting Robot Arm Design Using Dynamics Analysis and Simulation Kee-Jin Park 1 *, Byeong-Soo Kim 1 and Jeong-Ho Yun 2

Momentum and Impulse. Objective. Theory. Investigate the relationship between impulse and momentum.

Structure Design of a Feeding Assistant Robot

The Use of Virtual Reality System for Education in Rural Areas

Development of a telepresence agent

Bionic Nursing Bed Abstract: Key words: Introduction II. Overall design

Robot Sensors Introduction to Robotics Lecture Handout September 20, H. Harry Asada Massachusetts Institute of Technology

Realistic Force Reflection in the Spine Biopsy Simulator

Birth of An Intelligent Humanoid Robot in Singapore

SIMULATION MODELING WITH ARTIFICIAL REALITY TECHNOLOGY (SMART): AN INTEGRATION OF VIRTUAL REALITY AND SIMULATION MODELING

DEVELOPMENT OF A ROBOID COMPONENT FOR PLAYER/STAGE ROBOT SIMULATOR

Building a bimanual gesture based 3D user interface for Blender

Transcription:

A Kickball Game for Ankle Rehabilitation by JAVA, JNI and VRML a a b Hyungjeen Choi, Jeha Ryu, and Chansu Lee a Human Machine Computer Interface Lab, Kwangju Institute of Science and Technology, Kwangju, Korea b VR Lab, Rutgers University, NJ, USA ABSTRACT This paper presents development of a virtual environment that can be applied to the ankle rehabilitation procedure. We developed a virtual football stadium to intrigue a patient, where two degree of freedom (DOF) plate-shaped object is oriented to kick a ball falling from the sky in accordance with the data from the ankle s dorsiflexion/plantarflexion and inversion/eversion motion on the moving platform of the K-Platform *. This Kickball Game is implemented by Virtual Reality Modeling Language (VRML). To control virtual objects, data from the K-Platform are transmitted through the communication module implemented in C++. Java, Java Native Interface (JNI) and VRML plug-in are combined together so as to interface the communication module with the virtual environment by VRML. This game may be applied to the Active Range of Motion (AROM) exercise procedure that is one of the ankle rehabilitation procedures. Keywords: ankle rehabilitation, virtual environment, VRML, JNI, K-Platform 1. INTRODUCTION Ankle is one of the most important joints in our body for walking. When it is hurt during daily activities including sports, however, the recovery takes long time and requires a lot of efforts. Moreover, deficiency in flexibility in ankle motion and weakness of muscle strength can cause re-injury easily. Therefore, patients should follow the rehabilitation instruction of doctors or therapists [1]. There have been conventional procedures for ankle rehabilitation such as flexibility remedy, muscle strengthening, proprioception enhancement and so on. Some passive devices such as Dura Disk, Foam Rollers (Perform Better) and Multi-Joint System (Cybex) have been used in the ankle rehabilitation training [ ~ 4]. The present ankle rehabilitation process, however, is so repetitious that patients get bored very easily. To get over these shortcomings, Giron et al. developed the Rutgers Ankle, a six DOF ankle haptic device with an embedded PC. This device was used to control the virtual environment, which was developed with WorldToolKit TM [5]. This paper presents development of a Kickball Game that can be applied to the Active Range of Motion (AROM) exercise, a procedure of ankle rehabilitation exercises. AROM is the range, which a joint can move (typically angular, in one-dof) without assistance or resistance [6]. The AROM exercise can make patients alleviate the ankle s flexibility deficiency and enhance the proprioception. In the Kickball Game, a virtual plate motion is matched with the plantarflexion/dosiflexion and inversion/evasion of the patient s ankle to help the patient be immersed into the rehabilitation procedure. Since commercial VE programs such WorldToolKit are very expensive for individual use and for telerehabilitation, we used VRML and Java programming languages to develop the Kickball Game. The virtual exercise system for the ankle rehabilitation is composed of four elements shown in Figure 1 [7]. TM * K-Platform is a haptic device based on the regular Stewart Platform with six pneumatic actuators.

Figure 1. System Configuration The K-Platform is a six-dof haptic device that is driven by pneumatic actuators. This haptic device can resist the patient s ankle motion, thus providing muscle strength exercise. A DOS-based interrupt-driven controller and communication program are implemented in a PC called the controller. The hostpc loads the virtual environment in VRML browser and is connected to the controller through an RS3C serial cable. To interface the communication program in C/C++ with the virtual environment in VRML, JNI (Java Native Interface), Java and VRML plug-in are utilized, which are installed in the hostpc [8]. The virtual environment for the Kickball Game is a football stadium with four goals in each direction and a rectangular plate in the center as shown in Figure. The plate rotates in two DOF, corresponding to two rotations of the ankle, to kick a ball falling from the sky. The patient follows the doctor s instructions through GUI and moves his/her ankle to kick a ball. Figure. Virtual Environment for Kickball Game Signals from pressure and Linear Variable Differential Transformer (LVDT) sensors in the K-Platform are converted into six position data and six torque/force data by forward/inverse kinematics in the controller. Those data in turn are transmitted to the virtual environment for visual feedback showing the virtual object s movement and the applied torques to the patient.

. PROGRAM COMPONENTS FOR KICKBALL GAME Figure 3 shows the program components and data flow in the controller and the hostpc. Figure 3. Program Components and Data Flow The device driver program deals with tasks related to control and communication in the controller. The six position data are transmitted from the device driver in the controller to the virtual environment in the hostpc. JNI is to interface the communication program in C/C++ with ankle node in Java. VRML plug-in has a Java module and a VRML module. The Java module, which is the ankle node, is composed of Java classes to convert data for the coordinate system of the virtual environment and to embody output/input fields for the VRML module. The VRML module, which is VRML PROTO statement, is to connect output/input fields implemented in Java module to the virtual environment.1. Interface between the communication module and Java module When an instance of the ankle node object is called in the hostpc by an input field of VRML plug-in, an instance of the communication class is created at the same time through the JNI. Among member functions in the communication instance, a member function to receive data is called and requests the controller to transmit six position data. Then the controller sends data for calling mode with the acknowledgement to the virtual environment through the JNI and the VRML plug-in.... Data conversion and ankle node on Java module of VRML plug-in Figure 4 shows the world coordinate system (x y z) and the coordinate system of the virtual environment (x y z ). Data conversion for the coordinate system is needed since the world coordinate system is different from the virtual environment s counterpart. Figure 4. The World and Virtual Environment Coordinate Systems

Among the six position data from the JNI, roll and pitch angles respectively correspond to inversion/eversion and plantarflexion/dorsiflexion motion of the patient s ankle. These two angles are converted into two fields in the ankle node to describe the motion of the ball and the plate in quaternion format [10]. This step is embodied in Java classes, of which instances are called from VRML plug-in (See Figure 5). Figure 5. Data Conversion on Java Module of VRML Plug-in An output field in the ankle node to describe the virtual plate rotation in VRML is in quaternion with four entities. Quaternion consists of a direction vector and an angle about the direction vector. It is, therefore, necessary to convert data into quaternion format. The other output field in the ankle node describes the ball movement. Its motion is divided into two parts: before and after collision with the virtual plate. For the more effective data conversion, the motion data is parsed in array forms into the ankle node. The physical equations for the ball motion before it collides with the virtual plate are described by x = 0 y = h z = 0, 1 gt where x, y and z are respective position of a ball in the virtual environment coordinate and h is the initial height from which a ball falls, g is the gravity acceleration and t is time. After the ball hits the rotating plate, the ball s motion can be described by x = vi cosα t () 1 y = vi cos cosβ t g t α (3) z = vi cosβ t (4) where vi is the collision velocity when a ball collides with the plate and is given by vi = g h. Angles α and β are counter-clockwise angles that are computed with the pitch around x-axis and roll angles around y-axis from JNI when a ball hit the plate and are given by α = ( pitch) (5) π β = roll, (6) (1)

.3. Data conversion and ankle node on VRML module of VRML plug-in With two output fields for the ankle node, the Java module of the VRML plug-in is ready for the data transmission. The ankle node, which has two output fields and an input field for the virtual environment to activate the JNI and get data from the K-Platform though the controller, is implemented in Java module of VRML plug-in. Figure 6. Data Conversion on VRML Module of VRML Plug-in As depicted in Figure 6, as soon as the virtual environment runs, the input field of VRML module of VRML plug-in activates the Java module of VRML plug-in, which is implemented in the ankle node, and JNI to get data to move the virtual objects such as the plate and the ball. Then two orientation data from K-Platform are converted and transmitted immediately to the virtual environment through JNI and VRML plug-in. In the virtual environment in VRML, the relations of input and output fields are realized by routing as described in Figure 7. Figure 7. Routing in Virtual Environment 3. CONCLUSIONS AND FUTURE WORKS This paper presented a methodology to interface the virtual environment for the ankle rehabilitation exercises in VRML with the hardware through JNI and VRML plug-in, which is free unlike other VE development tools. VRML and Java are hardware independent and are effective for the web-based application, while the virtual environment with OpenGL is limited on it. This methodology can be applied to other contents for the ankle rehabilitation procedures. The proposed Kickball Game contents are expected to attract patients to be actively involved in the otherwise boring rehabilitation process. Some special effects can evoke more zest of the patient. Whenever the patient kicks a goal, some effects such as fireworks show, ovations from the virtual audience and score recording show up. With stereo

viewing system such as stereo glasses or view port changing in the virtual environment, the Kickball Game can be developed in 3D for full immersion. They can also be applied to other rehabilitation procedures such as upper extremity. 4. ACKNOWLEDGMENT This work was supported in part by KJIST and in part by ETRI (Electronics and Telecommunication Research Institute). 5. REFERENCE 1. Young-Moo Na, Jung-Won Yoon, Gil-Byung Lim, Song-Woon Ji, Ki-Suk Lee, Hyun-Bin Kim, Min-Young Kim, Je-ha Ryu, Rehabilitation Stage Study for the Design of the Ankle Rehabilitation System Using Virtual Environments, In proceeding of HCI003 Conference, Phoenix Park, Korea.. Dura Disk, http://www.healthreck.com 3. Biofoam Roller (Perfoam Better, 1998), http://- www.performbetter.com/catalog 4. Multi-joint System 3 (Biodex Medical System, 1999), http://www.biodex.com 5. Giron M, Burdea G, Bouzit M, Popescu V, Orthopedic rehabilitation using the Rutgers Ankle interface, In proceeding of Medicine meets Virtual Reality, 70:89~95, 000 6. AROM, http://www.eng.mu.edu/wintersj/bien-168/terms_biomechanics_&_movement_science.htm 7. Hyun Sik Song, Jung-Won Yoon, Jongeun Cha, Jaha Ryu, Kisuk Lee, Jinsung Choi, Control and Interface of the Ankle Rehabilitation System using Virtual Reality, In proceeding of HCI003 Conference, Phoenix Park, Korea. 8. Jongeun Cha, Jeha Ryu, Ki-Suk Lee, Jin-Sung Choi, Ki-Ho Kim, Hyun Bin Kim, Min-Young Kim, Song-Woon Ji, Kil-Byung Lim, Young-Mu Na, GUI and VE for the ankle rehabilitation exercises, In proceeding of HCI003 Conference, Korea. 9. Rob Gordon, Essential JNI: Java Native Interface, p8 3, p151 183, Prentice Hall PTR, 1998. 10. Alan Watt and Mark Watt, Advanced Animation and Rendering Technique: Theory and Practice, Addison- Wesley, 199