J Lindh
Over the last couple of decades, the automotive vehicle has transformed internally from a mechanical beast to an electronic supercomputer. A little more than a decade ago, when a car broke down, a driver with intermediate technical experience could easily guesstimate the problem and maybe even fix it. Today, it’s a bit different. In our modern and more technically-mature society, most cars have extremely advanced electronic systems that are controlled from multi-core application processors usually hidden in electronic control units (ECU) located at multiple locations within the car. One does not simply have to guesstimate potential problems as an intelligent system has already given you the diagnosis, proposed next steps and maybe even solved it. That’s a high class user experience.
User experience goes hand in hand with the technology that hides behind the interior. While maintaining an esthetically satisfying design with pro-active safety features the ECUs operates on full speed. The ECUs runs advanced sensor fusion so that every instant of driving time provides live feedback to the control system with information on surrounding objects, speed, calculated driving path, etc. There already are self-parking cars and the only thing preventing autonomous vehicles is the moral aspect of the trust that the driver must give the system. The technology is already there.
There are several types of ECUs, each responsible for a subsystem, for example doors, speed, telematics, transmission etc. The ECUs collects data from various sets of sensors in the car, which can easily reach more than 100 and then merge that data and make a decision based on the combined data. These collections are traditionally made by wires in the car. These wires need to be manually mounted in narrow and tight spaces, which is one of the more time-consuming tasks of the automotive production line and also adds weight and cost. These wires can be replaced by wireless communication and this blog covers the benefits of using Bluetooth® Smart.
Bluetooth Smart is the branding for devices that use Bluetooth low energy technology, which became part of the Bluetooth 4.0 specification in 2010. Since then Bluetooth 4.1 and Bluetooth 4.2 have been adopted, enhancing the capabilities for the protocol by adding new features to increase throughput and secure the data even further. The technology is designed to be low power, secure and easily deployed. The most common use cases involve sharing small amounts of data with an operational lifetime for years on a single coin cell battery. The low power consumption is achieved by allowing the device to stay in sleep mode during most of the operating time, briefly waking up to transmit few bytes of data. In most cases, the technology is covered by a single-chip solution, which makes it cost- and board space-friendly as well. Additionally, Bluetooth Smart is not bound to use specific profiles like classical Bluetooth. Bluetooth Smart can use custom profiles as long as they comply the Generic Attribute Profile (GATT) architecture.
For automotive applications, simplified design process and easy deployments come as the prime benefits. The challenges introduced by adding a wireless protocol are related to the security aspects. The security in Bluetooth Smart ensures that the communication is protected by using 128bit Advanced Encryption Standard (AES) to encrypt over-the-air (OTA) packets which ensures confidentiality. When a connection is created, an authentication and authorization process is executed in order to protect against MITM attacks by using passcodes or OOB pairing (through another medium, example NFC). When connection has been established, communication occurs over 37 frequency hopped channels to withhold privacy. Integrity check is performed on every packet to ensure non-corrupted and reliable data transfers. So there are plenty of mechanisms built into the core and they are being improved over time. Bluetooth 4.2 introduces elliptic curve cryptography (ECC) with Diffie-Hellman key exchange, to further increase security.
Think about that box filled with cables you have at home (everybody has one). It’s quite heavy, right? Wires are heavy, which is why wire replacement is a very interesting topic for automotive applications. By introducing wireless connectivity solutions, the cost can be significantly reduced. Cost refers to not only the material but deployment costs for the manufacturing as well as fuel reduction cost for the consumer. Sensors can be found in many places in the car and mounting cables to all of them is not always practical. Consider the impractical locations of tire pressure sensors, which cannot be solved with a classical wire. There are other moving units in the car, which benefit from wireless communication such as infotainment controls in the steering wheel. In-car lighting controls could also be implemented wirelessly to deliver ambient, clustered and programmable LED lighting.
Smartphones are important components in the Bluetooth Smart ecosystem, because the majority of smartphones available today are Bluetooth Smart Ready. This means that the ECUs in the car can communicate with the sensors and the driver’s smartphone to provide diagnostic data or receive personalized configuration settings. The compatibility also extends to tablets, which allows service technicians to interact with the central unit, or maybe the individual sensors, if allowed. The smartphone can also operate as a key with the introduction of additional safety checkpoints. One example would be the fingerprint reader (iPhone 5S/6) or pin/pattern code access.
The user manual for the car could be available interactively on the smartphone. This could allow the car to send an alert, such as low tire pressure, that would be encapsulated with information on the smartphone regarding what to do next, for example providing information on the closest fuel station. Service reminders could also be pushed to the smartphone, which could provide an option to schedule a time with a pre-selected or closest auto-repair shop. This is where cloud services can be introduced, allowing the car to interface with the Internet through the smartphone, which is one way how Bluetooth Smart enables the Internet of Things (IoT).
As automotive vehicles, not limited to cars, become more advanced and surprisingly intelligent, more information is required to be able to make decisions that are rational and safe. Therefore, sensor fusion becomes more important as does the need for wireless connectivity like Bluetooth Smart to interface seamlessly with the core functionality of the vehicle via in-car controls or smartphone.
The prime single-chip solution for the discussed topics in this article is TI’s Bluetooth Smart CC2541-Q1 wireless MCU. It’s a complete hardware and software solution for automotive applications that includes a Q100 qualification, sample applications and evaluation tools to go from idea to first prototype in an easy, efficient and safe manner. There are plenty of examples of custom GATT profiles and all security features are available out-of-the-box.
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS” AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you permission to use these resources only for development of an application that uses the TI products described in the resource. Other reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages, costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (www.ti.com/legal/termsofsale.html) or other applicable terms available either on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s applicable warranties or warranty disclaimers for TI products.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2023, Texas Instruments Incorporated