{"id":2800,"date":"2018-12-01T19:16:05","date_gmt":"2018-12-01T13:46:05","guid":{"rendered":"http:\/\/navveenbalani.dev\/?p=2800"},"modified":"2019-12-18T19:34:28","modified_gmt":"2019-12-18T14:04:28","slug":"internet-of-things-connected-car-use-case","status":"publish","type":"post","link":"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/","title":{"rendered":"Internet of Things &#8211; Connected Car Use case"},"content":{"rendered":"\n<p>This article is part of IoT Architecture Series &#8211; <a href=\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-architecture-components-and-stack-view\/\">https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-architecture-components-and-stack-view\/<\/a><\/p>\n\n\n\n<p>Before we deep dive into connected car use case, let\u2019s understand a vehicle in the context of IoT. A vehicle can be viewed as a complex system comprising of various subsystems like engines, wheels, doors, brakes, etc. employing many sensors, actuators which are typically controlled by many embedded software devices called an electronic control unit (ECU). Similar to our manufacturing use cases for an elevator, the vehicle subsystems needs to be monitored and serviced through condition and predictive-based maintenance and can employ IoT to derive these insights. As the user is now directly associated with his vehicle, new insights and business models can be derived from the connected vehicle solution. We will discuss more about it in the coming sections. Let\u2019s first start with a formal definition of a connected car. As per Wikipedia \u2013 \u201cA connected car is a car that is equipped with Internet access, and usually also with a wireless local area network. This allows the car to share internet access with other devices both inside as well as outside the vehicle.\u201d <\/p>\n\n\n\n<p>From a hardware perspective, the car can\nconnect to the internet, through built-in telematics boxes which connect to the\nInternet usually through GSM module (or\nthrough Bluetooth or WI-FI tethering via your Smartphone if telematics box\nsupports its) and it\u2019s tightly integrated with the car system. The other means\nof connecting the car is to plug-in a device to the OBD (on board diagnostics)\nport of the car to extract the vehicle data. The device can have an in-built GSM\nmodule or rely on internet connection from the Smartphone through WI-FI,\nBluetooth or a USB cable.&nbsp; If you search\nfor the term \u201cOBD\u201d on Amazon, you would see tons of manufacturers\nproviding OBD devices, which can plug into any car OBD port. <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><em>Note &#8211; OBD 2 port would be generally available in all\nmodern cars, however you still might have exceptions, so it\u2019s better to check\nyour car manual for support&nbsp; (for\ninstance, from 1996, all cars in the US were required to be OBD II equipped,\nwhile in India, it was mandated from mid of 2013)<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3><a>IoT Strategy<\/a><\/h3>\n\n\n\n<p>Let\u2019s talk about the connected car use\ncase.&nbsp; With millions of cars without\npre-fitted telemetry devices, a hypothetical start-up company thought of\nexploiting the area of the connected car.\nThe same technology from high-end cars\ncan be made available at a fraction of\nthe cost with\nvarious value added services. The start-up company decided to target the\nfollowing use cases:<\/p>\n\n\n\n<p><strong>Hardware\nDevices<\/strong><\/p>\n\n\n\n<ul><li>Providing OBD 2 Port device\nconnector&nbsp; (sourcing OBD II device and\nadding connectivity options)<\/li><\/ul>\n\n\n\n<p><strong>Software Services<\/strong><\/p>\n\n\n\n<ul><li>Location Tracking<\/li><li>Real-time performance\nmonitoring of the car<\/li><li>Condition based maintenance<\/li><li>Predictive maintenance<\/li><li>Pre-shipped performance events\n(change car oil, low tire pressure ) + location based services (nearest\navailable service station) <\/li><li>Creating custom alerts\n(geo-fencing, high-speed driving, weather data) <\/li><li>Driver assistance<\/li><li>Behavior analysis of the driver<\/li><li>Recommendation based on driving\npatterns<\/li><li>Speak to me (understand your\ncar better)<\/li><li>Connected solutions &#8211;\nIntegration with home automation systems (especially for individual owners),\nafter sales services, remote diagnostics, usage based Insurance, service repair\ndiscounts, etc.<\/li><\/ul>\n\n\n\n<p>The above use cases apply to both individuals as well as fleet management companies who could monitor cabs remotely, create alerts for driver speed, analyze driver\u2019s behavior pattern, issue smart invoices based on maps, wait time and actual distance covered.<\/p>\n\n\n\n<h3><a>Hardware Devices<\/a><\/h3>\n\n\n\n<p>Instead of manufacturing or making devices,\nthe start-up company partners and sources OBD 2 devices directly from\nmanufacturers. Using OBD 2 device, it adds the connectivity code to connect to\ntheir cloud IoT platform and transformation code to transform OBD II port data\ninto a customized binary format to minimize the size of data being transferred. The device supports various\nconnectivity options like GSM, 4G LTE modules or relies on internet connection\nfrom smart devices through various protocols like Bluetooth, WI-FI or a USB\nconnector.&nbsp; The start-up company decides\nto build its own customized IoT platform,\ninstead of using services from platform providers. We would talk about one such\nopen source IoT platform stack in next chapter, along with various commercial\nIoT offerings.<\/p>\n\n\n\n<h3><a>Software Services<\/a><\/h3>\n\n\n\n<p>The software services listed earlier are\ndeveloped and deployed as cloud services. Primarily, the OBD 2 data and GPS\nlocation are made available continuously\nto the IoT platform in a customized compressed format (think of this a zipped\nJSON format). &nbsp;Let\u2019s inspect some of the\ninformation available as part of the OBD port. The values can be retrieved by using the PIDs (Parameter Ids)\ncodes from OBD II port. For instance, to retrieve the vehicle speeds, the\nstandard PID 0D code needs to be used. Some of the informations that can be\nretrieved are:<\/p>\n\n\n\n<ul><li>Vehicle speed<\/li><li>Engine RPM<\/li><li>Diagnostic trouble codes (generic\nset of codes, but extended by car manufacture\u2019s to add their own diagnostic code)<\/li><li>Coolant temperature<\/li><li>Air flow rate<\/li><li>Absolute Throttle Position<\/li><li>Absolute load value<\/li><li>Fuel status<\/li><li>Fuel pressure<\/li><li>Type pressure<\/li><li>Battery voltage<\/li><\/ul>\n\n\n\n<p>The above is only a minimal set of data\nfrom the car. Your car is already equipped with hundreds of sensors and with\nthe car now being connected; the data\ngenerated through the car is being utilized\nfor various other use cases.<\/p>\n\n\n\n<p>Once the OBD and GSP data is available to\nthe IoT core platform, the platform can start consuming it. We would not go in\ndepth about the IoT core platform, and\nmore details can be found in Chapter 1 where we talked about IoT stack. To explain in simple steps, our IoT core\nplatform would read the continuous stream of vehicle data, uncompress the same,\npersist and analyze the data, execute the required cloud services (condition\nmonitoring, rules, behavior analysis) and\nnotify the user to his mobile device.&nbsp; A\nmobile application or web based application is provided to the user to view the\ndata in real-time offered by various services. In Chapter 3, we would talk\nabout how to realize the connected car use case using commercial cloud IoT\nofferings. Given below are the set of use cases with brief implementation\ndetails and how the data can be visualized\nin a mobile application:<\/p>\n\n\n\n<p><strong>Location\nTracking: <\/strong>Provides a map view and location of the\ncar on mobile or web application.<\/p>\n\n\n\n<p><strong>Real-time\nperformance monitoring of the car: <\/strong>Provides real-time\ngraphical and tabular view of the performance data of the car from OBD port<\/p>\n\n\n\n<p><strong>Condition based maintenance:<\/strong> We discussed this in <a href=\"https:\/\/navveenbalani.dev\/index.php\/applications\/internet-of-things-application-of-iot-in-manufacturing\/\">previous article with the manufacturing use case<\/a>. The same approach is applicable for a vehicle, to detect utilization, detect anomaly (faults from normal deviations) and detect if maintenance is required and provide alerts.<\/p>\n\n\n\n<p><strong>Predictive\nmaintenance: <\/strong>We also discussed this earlier with\nthe manufacturing use case. This phase performs predictive maintenance activity\nof the vehicle using the various approaches discussed earlier as part of the\nmanufacturing process.<\/p>\n\n\n\n<p><strong>Pre-shipped\nevents: <\/strong>Events and rules shipped as part of the\ninitial software and events executed till date and action taken. These are used as part of condition-based\nmaintenance.<\/p>\n\n\n\n<p><strong>Create\ncustom rules and action<\/strong>: Custom rules and event\ncreated by the user or the fleet manager (managing the fleet of cars). Rules\nare basically IF \u2013 THEN statements, For instance, if a teenager drives a car during a specified time interval, the\nfollowing rule can be created &#8211;<\/p>\n\n\n\n<p><em>IF vehicle speed &gt; 80 km\/h and time between 4:00 \u2013\n6:00 pm, trigger an SMS.&nbsp; <\/em><\/p>\n\n\n\n<p><em>IF\nGPS coordinates &gt; geo-fencing coordinates, trigger an SMS. <\/em><\/p>\n\n\n\n<p>The second rule is also applicable for\nfleet managers managing the fleets to track that vehicle doesn&#8217;t go beyond a certain boundary or a mapped\nregion due to cross region license restrictions.<\/p>\n\n\n\n<p><strong>Driver\nassistance: <\/strong>This feature provides various assistance\nto the driver, like route planning which can minimize fuel consumption or advise the user not\nto take the regular route due to weather conditions and suggest\nalternatives.<\/p>\n\n\n\n<p><strong>Driver behaviour analysis:<\/strong> Classifies the driver\u2019s ability over a period of time\nbased on the vehicle data (vehicle speed, RPM, throttle position, etc.),\nidling, accelerometer (tracking rapid lane changes), brake pressure,\naccelerator pedal position, GPS data (GPS calculated vehicle speed) and driver\npast history.<\/p>\n\n\n\n<p>The parameters can be fed into a machine\nlearning model which can then classify the driver as \u2013 novice, unsafe, neutral,\nassertive or aggressive. <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><em>Tip &#8211;\nStandard OBD-II protocol doesn\u2019t provide\nparameters like brake pressure, accelerator pedal position, but it\u2019s generally provided by car manufacturers\nthrough custom parameter ids. The OBD hardware device should know the parameter\nids to extract the relevant value.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><strong>Recommendation\nbased on driving patterns: <\/strong>This involves analysis of\nthe driver driving patterns over a period of\ntime and providing recommendations on how best to drive the car and\nutilize the capabilities of the car. For instance, suggesting how to save fuel\nbased on driving patterns (driving at second gear constantly in a geared car),\nless use of brakes and slowing down the accelerator instead during speed\nbreakers or avoiding sharp turns and yielding at specific locations (tracked\nvia GPS, accelerometer, and steering\nangles).<\/p>\n\n\n\n<p><strong>Speak\non: <\/strong>This feature provides value added services\nwhere you can speak to a car using natural language and car responds to questions\nabout car features or provide recommendations based on the data gathered from\nabove use cases.&nbsp; Imagine this being a\nsmart SIRI system that is optimized for the connected car and understand the\ncontext of the connected car to answer the question effectively.<\/p>\n\n\n\n<p><strong>Connecting\nconnected solutions: <\/strong>Here we will see how data from the connected car can be used by other\nconnected systems. We list some of the use cases below &#8211;<\/p>\n\n\n\n<ul><li>After Sales services \u2013 This use\ncase involves how after sales services and maintenance activity would change\nfor providing better service maintenance and monitoring based on actual usage\nand identify car break down before and suggest corrective action. We went\nthrough the set of elevator manufacturing use cases earlier, and the same is applicable for maintenance activity for a\nconnected car.<\/li><li>Usage-based insurance \u2013 This\nuse case involves how Insurance companies can utilize the data from a connected\ncar like actual utilization and driver behavior\nanalysis for creating personalized car insurance quotes.<\/li><\/ul>\n\n\n\n<p>\n\n\n\nIntegration\nwith connected systems \u2013 This use case\nprovides rules and connectivity via exposed APIs in a secure way to connect\nwith other connected systems \u2013 like home automation. For instance, starting\nyour coffee machine as soon as your car reaches x distance from your home or\nreserving a parking lot before your car reaches the shopping mall. The other\nuse cases are using the connected car data for autonomous driving, smarter\ncities (traffic management), etc.\n\n\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article is part of IoT Architecture Series &#8211; https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-architecture-components-and-stack-view\/ Before we deep dive into connected car use case, let\u2019s understand a vehicle in the context of IoT. A vehicle can be viewed as a complex system comprising of various subsystems like engines, wheels, doors, brakes, etc. employing many sensors, actuators which are typically controlled [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2128,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,156],"tags":[287],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.0.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Internet of Things - Connected Car Use case - Current and Future Technology Trends by Navveen Balani<\/title>\n<meta name=\"description\" content=\"Internet of Things - Connected Car Use case - Articles\" \/>\n<link rel=\"canonical\" href=\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Internet of Things - Connected Car Use case - Current and Future Technology Trends by Navveen Balani\" \/>\n<meta property=\"og:description\" content=\"Internet of Things - Connected Car Use case - Articles\" \/>\n<meta property=\"og:url\" content=\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/\" \/>\n<meta property=\"og:site_name\" content=\"Current and Future Technology Trends by Navveen Balani\" \/>\n<meta property=\"article:published_time\" content=\"2018-12-01T13:46:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-12-18T14:04:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/navveenbalani.dev\/wp-content\/uploads\/2016\/09\/bk6.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"450\" \/>\n\t<meta property=\"og:image:height\" content=\"374\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"9 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/navveenbalani.dev\/#website\",\"url\":\"https:\/\/navveenbalani.dev\/\",\"name\":\"Current and Future Technology Trends by Navveen Balani\",\"description\":\"Current and Future Technology Trends by Navveen Balani\",\"publisher\":{\"@id\":\"https:\/\/navveenbalani.dev\/#\/schema\/person\/51f7ab14b20611d95e3c7fd4ea0950bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/navveenbalani.dev\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/navveenbalani.dev\/wp-content\/uploads\/2016\/09\/bk6.jpg\",\"width\":450,\"height\":374},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#webpage\",\"url\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/\",\"name\":\"Internet of Things - Connected Car Use case - Current and Future Technology Trends by Navveen Balani\",\"isPartOf\":{\"@id\":\"https:\/\/navveenbalani.dev\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#primaryimage\"},\"datePublished\":\"2018-12-01T13:46:05+00:00\",\"dateModified\":\"2019-12-18T14:04:28+00:00\",\"description\":\"Internet of Things - Connected Car Use case - Articles\",\"breadcrumb\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/navveenbalani.dev\/\",\"url\":\"https:\/\/navveenbalani.dev\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/\",\"url\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/\",\"name\":\"Internet of Things &#8211; Connected Car Use case\"}}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#webpage\"},\"author\":{\"@id\":\"https:\/\/navveenbalani.dev\/#\/schema\/person\/51f7ab14b20611d95e3c7fd4ea0950bf\"},\"headline\":\"Internet of Things &#8211; Connected Car Use case\",\"datePublished\":\"2018-12-01T13:46:05+00:00\",\"dateModified\":\"2019-12-18T14:04:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/navveenbalani.dev\/#\/schema\/person\/51f7ab14b20611d95e3c7fd4ea0950bf\"},\"image\":{\"@id\":\"https:\/\/navveenbalani.dev\/index.php\/articles\/internet-of-things-connected-car-use-case\/#primaryimage\"},\"keywords\":\"iot-guide\",\"articleSection\":\"Articles,IOT\",\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/navveenbalani.dev\/#\/schema\/person\/51f7ab14b20611d95e3c7fd4ea0950bf\",\"name\":\"Navveen\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/navveenbalani.dev\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/navveenbalani.dev\/wp-content\/uploads\/2019\/07\/navveen_balani.jpeg\",\"width\":200,\"height\":200,\"caption\":\"Navveen\"},\"logo\":{\"@id\":\"https:\/\/navveenbalani.dev\/#personlogo\"},\"sameAs\":[\"http:\/\/naveenbalani.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/posts\/2800"}],"collection":[{"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/comments?post=2800"}],"version-history":[{"count":1,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/posts\/2800\/revisions"}],"predecessor-version":[{"id":2801,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/posts\/2800\/revisions\/2801"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/media\/2128"}],"wp:attachment":[{"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/media?parent=2800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/categories?post=2800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/navveenbalani.dev\/index.php\/wp-json\/wp\/v2\/tags?post=2800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}