Development of an innovative device for beam range monitoring in particle therapy