×

Happy to Help!

This website doesn't store cookies. Enjoy the experience, without worrying about your data!

Great, thanks!

Category Archives: Automation

  • 0

Automated Testing and Validation of Driver Monitoring System

 

About the Customer

Our customer is an Australian supplier of advanced AI-driven automotive safety technology based on decades of scientific research.

Business Challenge

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:

  • In-cabin sensor – Tracks eye closure and head position to provide protection against fatigue and distraction.
  • Controller – A fan-less computer which is the heart of the driver monitoring system. All peripherals and power are connected to it.
  • Forward facing camera (Optional) – Installed in front of the vehicle to capture footages of the road
  • Vibration motors – Vibrates the seat when fatigue or distraction is detected.

The data collected by the system is also stored on the cloud.

Driver Monitoring System

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.
 

Embitel Solution

Automation testing and validation of the system:

  • We leveraged NI TestStand HIL System to automate the test sequences and validate the outcome. This is a customized product that takes inputs from the front camera, road facing camera, CAN bus, etc.
  • Python scripts and NI LabVIEW programs are integrated in the code for certain functions.
  • Devices involved in testing are programmable power supply, CMW for RF testing, GPS Module, NI FPGA modules, etc.

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.
 

Embitel Impact

Successful automation testing of driver monitoring system – The automated testing processes we followed reduced manual testing efforts and expedited the testing phase significantly.

Tools and Technology

  • NI TestStand HIL System
  • Python scripts and NI LabVIEW programs
  • Programmable power supply, CMW for RF testing, GPS Module, NI FPGA modules

  • 0

Android Solution for healthcare technology company: Mobile App and HMI development

 
Business Challenge:

Our client – a global healthcare technology company – had a novel product idea. They envisioned a mobile app solution for managing different medical conditions to improve the quality of life for patients and also help healthcare professionals to take more informed decision using patient’s data analysis.

Our client’s team aspired to launch a cloud-based product in order to help patients:

  • Take lifestyle and food related decisions, based on the captured vital data, most suitable for their existing condition
  • To track and monitor a variety of body parameters and reach out to healthcare professionals for guidance and sharing of reports

To transform this vision to reality, our client was on the look-out for a trusted product engineering services company, with healthcare domain expertise, to help them develop a cloud-based mobile app solution.

The following technology challenges cropped up during technology workshops with the client:

  • The mobile app architecture design should support adaptability to different medical conditions, future scalability of features, code re-usability, seamless integration of third-party plugins and API
  • Making the data of patients available across devices, and also online and offline
  • Design and development of custom controls which are not available as an off-the shelf solution in Android SDK

 
Embitel Solution:

Our experienced team of healthcare mobile app developers collaborated with the client to design and develop an Android-based solution.

  1. This Android mobile application has been designed to support following features:
    • Medication related logs
    • Symptoms-related logs
    • Tracking and monitoring of vital body parameters such as blood pressure, heart rate, weight, and other condition specific parameters
    • Monitoring of user activity such as number of steps walked, number of flights climbed
    • Sleep quality monitoring
    • Mood monitoring and analysis
    • Nutrition tracking by integration with third party server for data/information
  2.  

  3. Making the Android App available offline: End-users are required to register and login using Rest APIs.
    • Post account creation; it is not mandatory for end-users to stay connected to a network. The Android App supports all the features and operations even in the offline mode.
    • End-users are able to log all the vital parameters even when offline. Till the network is not available, all the logged parameters will be stored in a separate queue and once the device is online, data in queue is synced to the server
    • In offline mode, data is stored on mobile’s Internal Memory.
  4.  

  5. Integration with third-party service server of health monitoring devices like FitBit, Jawbone, and Withings. Provision to automatically populate the data from third party devices is provided through authentication.
  6.  

  7. Integration with Google-Fit API
  8.  

  9. Data dashboard with graphical representations – an elaborate, flexible and editable end-user dashboard interface.  The analysis of the captured data can be reviewed, modified and deleted by the user based on the access rights.
  10.  

  11. Based on the data analysis, the app provides the guidance to the user related to food habits, life-style changes, stress control information and more.
  12.  

  13. The android mobile app provides support to manage an appointment with a doctor or healthcare professional. This feature supports regular appointment reminders and sharing of data with the expert through ‘export to PDF’.
  14.  

  15. Users are made to understand impact of the medical condition and effective management in an interactive way through quizzes.

 

Tools & Technology:

  • Android SDK
  • IDE : Android Studio
  • Third Party Libraries suggested and /or provided by client for Database Support, Background operations.
  • Third Party Servers integration: FitBit, Jawbone, Withings and Nutrition related data server
  • Third Party API integrations: Google-Fit

  • 0

Intelligent Vision Sensor platform for Machine Vision applications

Business Challenge:

  • To design a state-of-the art intelligent vision sensor platform that facilitates development of multiple machine vision applications.
  • This cutting-edge vision sensor platform had to cater to multiple product lines across multiple generations of hardware systems

Embitel Solution:

  • Our team successfully designed and developed a flexible and scalable architecture for intelligent vision sensor platform (for firmware and associated PC application)
  • We integrated industrial protocol stacks – Ethernet/IP and Profinet, defined telegrams for multiple interfaces and designed a web interface for remote access of vision sensors.

Embitel Impact:

  • This platform now caters to five different product lines across three generations of hardware systems.

Tools and Technologies:

  • All the systems have been designed using Texas Instruments application processor
  • The firmware applications have been developed on Linux OS
  • The Sensor has been configured with the help of HMI (Human Machine Interface) designed and developed using QT

  • 0

DOS to Windows OS migration

Business Challenge:

  • Our customer is a pioneer of optoelectronics solutions for Industrial Metrology. Their software of crank shaft and cam shaft measuring systems used to run on DOS. Customer wanted to migrate the software from DOS to Windows to mitigate dependency on legacy hardware as well as to improve the overall efficiency of the system.
  • On DOS platform, applications were developed in Fortran which were migrated to C# .Net.

Embitel Solution:

  • Customer workshops and interaction to develop in-depth business and technical understanding of the systems
  • UML diagrams and design document of the proposed architecture were developed
  • An application was developed in C# .Net as a windows service which was linked with the legacy application

Embitel Impact:

  • Overall efficiency of the system was improved due to implementation of Object Oriented Programming best practices
  • Our team was able to maintain the precision and accuracy of the measurements after migration

Tools and Technologies:

  • IDE : Microsoft Visual studio 2013
  • Language: C# .NET-4.5

  • 0

Fleet Management Telematics devices

Business Challenge:

  • The software architecture of our customer’s telematics fleet management applications was not modular. Due to absence of various required drivers (not readily available in market), each module was being accessed through application layer using driver level commands

Embitel Solution:

  • We collaborated with our customer across product lines – GPS fleet security, vehicle and trailer tracking
  • Our team worked on specialized microcontrollers and M2M (Machine to Machine) modules for which power efficiency is a critical factor
  • Development of drivers and application for iButton technology and one wire protocol for different Temperature Sensors, Humidity Sensors, Current Sensors, Voltage Sensors and EEPROM
  • Design and development of a driver for STX3 Globalstar Sattelite network transmitter module for AVL (Automatic Vehicle Locator) in geographical area where mobile network is not available.
  • Driver development for GPS modules of UBlox.
  • Driver development for radio modules from Novatel Wireless (Enfora)
  • Driver development for CDMA, 2G and 3G network modules from UBlox
  • Different interfaces were created under these radio drivers for data transfer using UDP, TCP, HTTP protocols and SMS (Short Message Service).
  • J1939 and GPS simulator (JGPS Simulator) development for fleet device testing

Embitel Impact:

  • Drivers developed by Embitel are not available as off-the shelf solutions in the market and required detailed customizations for our customer
  • All our GPS and radio modules drivers are designed in a way that they can be used either in 32 bit or 16 bit microcontroller easily by selecting the HAL (Hardware abstraction layer) file
  • Our JGPS simulator has helped our customer achieve time and cost savings on testing of devices

Tools and Technologies:

  • Controller: STM 32F103ZF (Arm Cortex M3, 32 bit), TI MSP430 (16 bit)
  • Third party modules like pyQT (for designing framework GUI) and Psutil (to monitor running proceIDE: Keil uVision4, Code composer studio 5, Visual studio
  • RTOS: Keil RTX
  • Language: Embedded C (For all drivers), C# (For JGPS simulator)

  • 0

Test automation framework – Microscopy Cameras

Business Challenge:

  • Customer had designed several camera modules and a SDK (to interface with modules) for applications development
  • The design of this SDK was being constantly improved for various market releases made each year
  • Testing of the SDK for different modules, being a non-core activity for the client,  posed a business challenge in terms of efforts required and quality of testing (due to accidental omission of certain test-case scenarios)

Embitel Solution:

  • We collaborated with the customer to formalize test plans.  We identified and documented all the test-case scenarios and designed a traceability matrix.
  • Out of all the documented test-cases, 70% were identified as suitable for testing automation.
  • We designed a Python based test automation framework that helped us achieve saving 50% of the test efforts
  • This framework is compatible with Win7, Win8, Linux & MAC operating systems

Embitel Impact:

  • Re-iterative test-case scenarios, traceability to requirements and guaranteed test coverage
  • Reduced testing efforts through automation

Tools and Technologies:

  • Python Scripting language
  • Third party modules like pyQT (for designing framework GUI) and Psutil (to monitor running processes and system utilization)

  • 0

Networked Energy Sensor

Requirement

Design and develop firmware and PC applications for a networked energy sensor module.

System Overview

The energy sensor is a multi module system with multiple power measurement modules and a network module. The power measurement modules provide true RMS measurement of low voltage power parameters using digital processing of current and voltage samples. The network module provides data transfer to a PC and programmable control. The modules interconnect on a MODBUS backplane using a proprietary lead-frame connector system. They can be stacked on the backplane to give three phase parameter measurement capability. The entire firmware and PC application for data transfer and control was developed by Embitel.

The PC to device communication was based on multiple industrial automation protocols such as

  • Industrial Ethernet
  • WLAN 802.11
  • DeviceNET
  • PROFIBUS

  • 0

Remote configuration and control of sensors through web interface

Embitel built a web interface for registering, configuring, monitoring and control of sensors deployed in various remote locations. User management, customer management and site management are integral parts of the project.

Few important features are listed below.

  • Easy access to most important events through Dashboard
  • Device administration
  • View detailed status of each sensor
  • Configure sensor parameters
  • Client initiated communication to reduce latency between occurrence of event and reporting the event
  • View of event logs
  • Remote software updates
Our Contribution:

Embitel collected and consolidated the requirements, design and development of web interface, implementation of the communication protocol and testing.

Development was done using PHP using Code Charge. Json is used for protocol implementation due to its light weight and efficiency. MySQL was used for database implementation.


  • 0

Engineering Application for iPAD – Smart Power Meter

Embitel developed an iPad app to provide a remote interface as well as an analytical Tool for a smart power meter. The smart power meter is capable of monitoring an industrial power line and capturing the real time voltage and current transients

This is a sophisticated engineering application for iPAD which is highly graphical and user friendly. It connects to the smart power meter through an ad-hoc WiFi network. The app is capable of taking full control of the smart power meter remotely.

There are four major functions:

1.       Plan a power study: 

This function allows user to remotely configure the smart power meter for different power analysis, with a easy to use wizard kind of interface.

2.       Communication with Meter:

User can establish a connection with meter and can view analysis of live data coming from the meter in different graphical representations. The iPAD app  also allows the user to control the meter device remotely using the “Remote control Interface” for the connected meter.

3.       Analyze Data & Make Reports:

As the name indicates this functionality allows the user to analyze the data previously downloaded from the meter and stored on the iPAD app. It also allows the user to view and download the files available within a smart meter.

Some of the analytics that the app is capable of performing are:

  • Voltage
  • Current
  • Total Power factor
  • Energy analysis
  • Peak demand
  • True power
  • Total Harmonic Distortion

User can generate custom reports and sharing the report files through email seamlessly through the application.

4.       Administration:

Configuration of iPAD app as well as the meter device by remote.

Our Contribution:
  1. Design of the iPAD application
  2. Impelementation of iPAD application
  3. Implementing communication protocol
  4. Testing