Designing an IoT framework for automated driving impact analysis