Our customer is an Australian supplier of advanced AI-driven automotive safety technology based on decades of scientific research.
The customer had designed a driver monitoring system that would be installed in trucks. The system monitors the driver’s eye behaviour and facial expressions with the help of a Driver Facing Camera (DFC). It detects driver alertness, wakefulness and attentiveness and intervenes in case of any unsafe driving behaviour.
The hardware components of the driver monitoring system included:
The data collected by the system is also stored on the cloud.
The customer was seeking an experienced partner for automated testing and validation of their driver monitoring system. Since the IoT team at Embitel has worked on similar projects in the past, they decided to partner with us.
Automation testing and validation of the system:
We simulated the events and analysed the system response based on the logs captured in the system.
How does the camera capture the driver’s expressions in the automation testing scenario?
We simulated the driver’s expressions manually by mimicking the gestures of a tired driver (eg. closing the eyes) in front of the driver facing camera. We also recorded various expressions in video files so that an extensive list of test cases is captured on video. These videos are used as input for the testing and validation. The NI TestStand tool takes care of the sequencing of test cases and the order in which they are executed.
What type of test cases did we execute for the driver facing camera?
The configuration file has different parameters such as blinking time, eyes closure time, etc. that helps in monitoring fatigue. Our team created the configuration file and loaded it on the driver monitoring system. The configuration file along with the recorded test case videos are provided as input for the testing. It is possible to simulate the CAN (or any other BUS) signals as well and provide that as input.
The tests are then automatically executed in sequence. When the eye closure time is more than the configured time, the system gives an alert such as a feedback vibration. Every event like fatigue, distraction, overspeed, etc. is updated in the logs. The test bench will also change the configurations to perform other tests like the negative tests.
Later, our testing team monitors the logs and validate whether the tests have passed or failed. We also validate the output to ensure that all scenarios are covered.
The logs are updated on the cloud server when the system is connected to the internet and there is good network signal reception.
Successful automation testing of driver monitoring system – The automated testing processes we followed reduced manual testing efforts and expedited the testing phase significantly.