Connecting Cars with IoT MQTT Feb 6 2014 - Joe Speed @mobilebit

  • 2,320 views
Uploaded on

Connecting Cars with Internet of Things MQTT with examples from Continental AG and Sprint Velocity

Connecting Cars with Internet of Things MQTT with examples from Continental AG and Sprint Velocity

More in: Automotive
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
2,320
On Slideshare
0
From Embeds
0
Number of Embeds
2

Actions

Shares
Downloads
88
Comments
0
Likes
4

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. CONNECTING CARS WITH IOT MQTT Joe Speed jspeed@us.ibm.com @mobilebit on twitter mobilebit.wordpress.com linkedin.com/in/joespeed For more: mqtt.org m2m.demos.ibm.com live demos and HTML5 samples eclipse.org/paho MQTT source code ibm.com/messagesight fastest, secure communications for the car ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials youtu.be/C3ebGjJ0KjM?t=1m22s car remote demo youtu.be/u69I-GLYd6I talk re car is mobile, social, big data, cloud
  • 2. CONNECTED CAR IS A BIG DATA PROBLEM •  car sensors produce 2GB every 90 min •  60M cars manufactured each year •  If driven 4 hours a day .. 103 exabytes
  • 3. HTTP IS NOT HOW YOU DO THAT •  •  •  •  •  •  No QoS, no reliable messaging Heavy, hundreds of bytes of overhead Not designed for wireless, high latency No pub/sub 1:many, many:many, etc No, always connected, instant response in summary, for connected car HTTP is .. slow, heavy, unreliable
  • 4. MQTT FOR MOBILE MESSAGING Faster M2M and User Experience "   pub/sub with QoS - engineered for wireless "   socket, TLS 1.2, mutual authentication, etc. "   MQTT vs HTTPS on Android & 3G –  93x faster throughput,13k msg/sec on my iPad –  1/8th network overhead – faster, cheaper –  1/170th battery to receive, 1/11th to send "   Open standard, open source, very fast & reliable " eclipse.org/paho C, Java, JavaScript " mqtt.org for dozens of languages, platforms
  • 5. WHO’S IN THE MIX WITH MQTT? "   usual suspects: IBM, SAP, Intel, Cisco, Software AG, TIBCO, VMWare, Red Hat, Pivotal, NIST, Eclipse, Apache, Emerson, Axway, et al. (even Oracle - google “JavaOne MQTT”) "   cool kids: M2Mi, 2lemetry, ThingWorx, Libelium, Sierra Wireless, Telit, QNX, Wind River, Shaspa, Eurotech, Elecsys, Xively, et al. "   car guys: 1/2 dozen automakers, trucks, several tier-1 suppliers, telematics providers, etc.
  • 6. FACEBOOK MESSENGER " 945M mobile users, popular, highly rated, very fast " Speed of UX is big competitive advantage Verizon Wireless Overall Facebook Messenger FACEBOOK (1,052,572) Source: https:/facebook.com Source: https://play.google.com/store/apps/details?id=com.facebook.orca source: http://support.verizonwireless.com/information/app_ranking/apps/facebook-messenger.html
  • 7. FACEBOOK MESSENGER “.. performance improvements designed to make your messaging experience even better. To do this without killing battery life, we used a protocol called MQTT … designed to use bandwidth and batteries sparingly… phone-to-phone in hundreds of milliseconds, rather than multiple seconds.” - Lucy Zhang, Facebook Engineer facebook.com/lucyz
  • 8. TRY IT FOR YOURSELF Facebook Messenger MQTT vs Google Hangouts MQTT
  • 9. THE CAR IS A MOBILE “THING” needing less driver distraction, better safety “Latency is a driver distraction issue” – Roger Lanctot @rogermud Strategy Analytics " " " "  terrible response times the norm  Most are 15-90 seconds, Tesla is 5-6 sec  lack “always connected” instant response  slow, unreliable, high mobile data costs bit.ly/latencydriverdistraction
  • 10. TYPICAL CAR ARCHITECTURE “NGTP”* *Where  is  the  car  owner’s  Smartphone?    
  • 11. CONNECTED CAR REINVENTED "  20x faster UX Insurer "  5x faster dev "  10x cheaper My Mobile IBM MessageSight Content My Car My Home
  • 12. IBM MESSAGESIGHT SPEEDS THE IOT Faster IoT & Mobile user experience MQTT, HTML5 WebSocket, JMS, MQ + Mobile + Secure + Easy + Open – MQTT, WebSocket, JMS + Speed – 80µs, millions/second + Scale – millions of things
  • 13. PREDICTIVE MAINTENANCE Improving owner experience •  real-time using sensor data, time-series •  proactive service, i.e. brake issue •  driving better customer service
  • 14. BIG DATA DRIVES AUTONOMOUS car2cloud2car improves driver safety & experience assisted, autonomous driving w real-time big data autonomous isn’t just about “my car” "   µs decisioning "   millions/second "   geospatial "   correlation "   filtering "   time-series "   trending
  • 15. WHO IS DOING WHAT IN CARS .. that I can talk about publicly Connected Car & M2M Provider "   mobile2cloud2car w “key fob response time” "   demo: youtu.be/V1ooTX4aTE8 "   Press: NYT, WSJ, Fortune, etc. 2nd largest OE supplier "   CEO announce Sept 10 Frankfurt Motor Show "   IBM Car Cloud for “autonomous driving” "   Press: NYT, Bloomberg, CNET, Reuters, etc. "   Look for me in Conti’s CES `14 booth "   also QNX’s, IBM’s, CES GENIVI Show
  • 16. h4p://m2m.demos.ibm.com     Node-RED
  • 17. CONNECTING CARS WITH MQTT & IBM MESSAGESIGHT Joe Speed jspeed@us.ibm.com @mobilebit on twitter mobilebit.wordpress.com linkedin.com/in/joespeed For more: mqtt.org m2m.demos.ibm.com live demos and HTML5 samples eclipse.org/paho MQTT source code ibm.com/messagesight fastest, secure communications for the car ibm.co/1e8D7R7 “MessageSight for Developers” free download bit.ly/1cvsauO YouTube demos & tutorials youtu.be/C3ebGjJ0KjM?t=1m22s car remote demo youtu.be/u69I-GLYd6I talk re car is mobile, social, big data, cloud
  • 18. “MQTT FOR SENSOR NETWORKS” MQTT-SN speeds your WSNs •  MQTT for WSNs •  datagram instead of socket –  even smaller footprint –  very low power –  very low bandwidth –  QoS reliable messaging in unreliable conditions •  ZigBee, 6LoWPAN, DSRC/WAVE, UDP, serial .. •  bit.ly/mqttsn specification
  • 19. ECLIPSE MOSQUITTO W MQTT-SN •  Nov 19 – Eclipse Mosquitto project live “RSMB” source now in github •  75KB for embedded systems •  MQTT + MQTT-SN server & bridge •  Bridges WSNs to Cloud •  Used in “things” ranging from US & UK military’s sensor fabric to home automation •  Runs on Tizen, Automotive Grade Linux •  bit.ly/mqtt-sn for source, also google “RSMB”
  • 20. Why  Publish/Subscribe  for  Sensor  Networks?   radio   links   Sensor   Wireless SA Networks Actuator   radio   links   Sensor   2 Gateway   Gateway   § Both  sensors  and  applicaEons  are   freed  from  networking  issues   –  Only  one  connecEon  (with   broker)  to  maintain   –  Simple  APIs:   •  publish(topic,data)   •  publish_arrived(topic,data)   App   broker   Internet, GSM, … App   Sensors  and  applicaEons  may  be   added/removed  at  any  Eme   Bridging  of  heterogenous  wireless   networks   Inherently  mulEcast   Real-­‐Eme  delivery  of  data   e.g.  alarm  events  
  • 21. TRY IT FOR YOURSELF Most 1 star complaints are about slowness and presence services (who’s online) not working correctly Google Hangouts MQTT