STS optical hollow shaft encoder