A novel biomedical device for ankle injury diagnosis