Bluetooth in Automotive Applications Lars-Berno Fredriksson, KVASER AB



Similar documents
LIN (Local Interconnect Network):

In-Vehicle Networking

Tutorial.

Introduction to. LIN (Local Interconnect Network)

Vehicle data acquisition using CAN By Henning Olsson, OptimumG

Introduction to RACE FUELS Hans-Christian von der Wense Munich, Germany

Welcome to the Introduction to Controller Area Network web seminar My name is William Stuart, and I am a Applications Engineer for the Automotive

Comparison of FlexRay and CAN-bus for Real-Time Communication

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Bus Data Acquisition and Remote Monitoring System Using Gsm & Can

Vorlesung Kommunikationsnetze Fieldbus Systems

Distributed Real-Time Systems (TI-DRTS) Track 2. CAN-BUS Introduction. Version Ref. VECTOR application note & Motorola note

Computer Network. Interconnected collection of autonomous computers that are able to exchange information

Data Exchange On The CAN Bus I

2 Basic Concepts. Contents

Demystifying Wireless for Real-World Measurement Applications

Computer Systems Structure Input/Output

Elettronica dei Sistemi Digitali Costantino Giaconia SERIAL I/O COMMON PROTOCOLS

Hello viewers, welcome to today s lecture on cellular telephone systems.

Chapter 9A. Network Definition. The Uses of a Network. Network Basics

Local Interconnect Network Training. Local Interconnect Network Training. Overview

Wireless Ethernet LAN (WLAN) General a/802.11b/802.11g FAQ

Exhibit n.2: The layers of a hierarchical network

2. What is the maximum value of each octet in an IP address? A. 128 B. 255 C. 256 D. None of the above

The I2C Bus. NXP Semiconductors: UM10204 I2C-bus specification and user manual HAW - Arduino 1

RFC 2544 Testing of Ethernet Services in Telecom Networks

Customer Specific Wireless Network Solutions Based on Standard IEEE

Automotive electronics CAN and LIN buses. Copyright 2006 Matrix Multimedia Limited

EBERSPÄCHER ELECTRONICS automotive bus systems. solutions for network analysis

IT 3202 Internet Working (New)

Wireless LAN Concepts

Performance comparison of selected wired and wireless Networks on Chip (NoC) architectures

Real-Time Systems Hermann Härtig Real-Time Communication (following Kopetz, Liu, Schönberg, Löser)

WISE-4000 Series. WISE IoT Wireless I/O Modules

Project 4: Pseudo USB Simulation Introduction to UNIVERSAL SERIAL BUS (USB) STANDARD

524 Computer Networks

ISO11783 a Standardized Tractor Implement Interface

Overview of Network Hardware and Software. CS158a Chris Pollett Jan 29, 2007.

Maximizing Server Storage Performance with PCI Express and Serial Attached SCSI. Article for InfoStor November 2003 Paul Griffith Adaptec, Inc.

Implementing MOD bus and CAN bus Protocol Conversion Interface

White Paper. Technical Capabilities of the DF1 Half-Duplex Protocol

RFSPACE CLOUD-IQ #CONNECTED SOFTWARE DEFINED RADIO

Computer Organization & Architecture Lecture #19

Technical Support Information Belkin internal use only

Network Troubleshooting with the LinkView Classic Network Analyzer

Problems of Developing Spacewire Ethernet Bridge and Transferring Spacewire Packages Over Ethernet

The modular concept of the MPA-3 system is designed to enable easy accommodation to a huge variety of experimental requirements.

Nokia Siemens Networks. CPEi-lte User Manual

CAN Specification 2.0, Part B page 1 PART B. CAN in Automation, Am Weichselgarten 26, D Erlangen

LOCAL INTERCONNECT NETWORK (LIN)

Wireless LAN advantages. Wireless LAN. Wireless LAN disadvantages. Wireless LAN disadvantages WLAN:

The Dusk of FireWire - The Dawn of USB 3.0

Network Monitoring White Paper

Computer Networks CS321

Written examination in Computer Networks

Logitech Advanced 2.4 GHz Technology

What to do about Fiber Skew?

How To Monitor And Test An Ethernet Network On A Computer Or Network Card

Communication Networks. MAP-TELE 2011/12 José Ruela

SECURE COMMUNICATIONS Crypto products

SPI I2C LIN Ethernet. u Today: Wired embedded networks. u Next lecture: CAN bus u Then: wireless embedded network

Computer Networking. Definitions. Introduction

What You Will Learn About. Computers Are Your Future. Chapter 8. Networks: Communicating and Sharing Resources. Network Fundamentals

Based on Computer Networking, 4 th Edition by Kurose and Ross

Process Control and Automation using Modbus Protocol

Wireless Networks. Reading: Sec5on 2.8. COS 461: Computer Networks Spring Mike Freedman

Multiplexed Networks for Embedded Systems. CAN, LIN, FlexRay, Safe-by- Wire...

Redundant Serial-to-Ethernet Data Connections for Mission-critical Devices

1500 bytes Universal Serial Bus Bandwidth Analysis

The Bus (PCI and PCI-Express)

LOCAL RADIO STATION MODEL VULNERABILITY ASSESSMENT CHECKLIST. Developed by the Toolkit Working Group for the Media Security and Reliability Council

Wharf T&T Limited Report of Wireless LAN Technology Trial Version: 1.0 Date: 26 Jan Wharf T&T Limited. Version: 1.0 Date: 26 January 2004

Networks. The two main network types are: Peer networks

DeviceNet Communication Manual

Communication Systems Internetworking (Bridges & Co)

IT Data Communication and Networks (Optional)

Understanding SAE J1939. by Simma Software, Inc.

Broadband enabling SME's. Tommy McCabe Director, Telecommunications and Internet Federation, IBEC

Page 1 of 7. Computer Networking

Computer Networking: A Survey

Bidirectional wireless communication using EmbedRF

GETTING TO KNOW YOUR NEW TELSTRA MOBILE WI-FI 4G

54M/150M/300Mbps USB WIRELESS ADAPTER. User s Manual Version 1.8

Fibre Channel over Ethernet in the Data Center: An Introduction

Wireless Video Best Practices Guide

Latency on a Switched Ethernet Network

Product Description. HiLink E3531 HSPA+ USB Stick V100R001 HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

an interconnected collection of autonomous computers interconnected = able to exchange information

VoIP in Mika Nupponen. S Postgraduate Course in Radio Communications 06/04/2004 1

Local-Area Network -LAN

Technical papers Virtual private networks

Fibre Channel Overview of the Technology. Early History and Fibre Channel Standards Development

Network Projector Operation Guide

TCP/IP Network Communication in Physical Access Control

Multiple clock domains

Higher Computing Networking 1

Guide for wireless environments

(Refer Slide Time: 02:17)

Local Area Networks transmission system private speedy and secure kilometres shared transmission medium hardware & software

Transcription:

Bluetooth in Automotive Applications Lars-Berno Fredriksson, KVASER AB ABSTRACT There is a potential for 50-400 million per year Bluetooth nodes within the car market if Bluetooth can be integrated into the car controller network. This paper deals with some of the features that can be achieved with such an integration, and some of the problems. 1 Introduction Bluetooth is developed primarily for linking two mass markets together; telephone and PC. This is really thrilling and anybody realizes that this opens up for a huge chip volume and then low prices can be expected. But what about the third volume market; cars? Will Bluetooth fit in there too and make the volumes even bigger? The answer is Certainly Yes! As soon as we imagine that the car system can be connected via Bluetooth a whole row of services can be identified. The car owner would firstly expect any service he has at home, that also make sense when in the car, to be delivered. What first comes in mind are phone and audio services and they do not need to be discussed further at this time. Next comes car dedicated services as using the mobile phone for locking and unlocking the car, adjusting seats and climate according to settings in the mobile phone, etc. Once you start thinking about the possibilities to connect car information and control systems to personal information carried in a mobile phone, and further to the Internet, you will find an unlimited number of possible services. Now, this calls for one Bluetooth set in each car, a potential additional market of about 50 million units per year. But this market might be expended with up to an order of magnitude if Bluetooth could be made suitable for CAN! 2 CAN There are three major reasons for using networks in a car: 1) To replace mechanical control systems, e.g., throttle linkage, speedometer wires, etc. 2) Provide diagnostics information 3) Reduce wiring harness Figure 1 Fuses and cables in Volvo cars over the years

Most new cars of today have an electronic system consisting of several micro controllers distributed in the car and connected to each other via a serial bus. This technology has evolved during the past ten years and now there is a well established basic protocol for such networks, the ISO 11898 Controller Area Network, in short CAN. Figure 2 CAN network in a car Some CAN characteristics: Bit rate Adjustable, & 1Mbit/s Depending on cable length and oscillator quality. Maximum bus length is 40 m at 1Mbit/s Transmission type Broadcast Every node receive every message and participate in error checking Raw message length 47-150 bits Usable message length 11-94 bits Usually 0-8 byte data Buss access Error detection Data consistency within the net Collision Detection Multiple Access / Collision Resolution by Bitwise Arbitration CRC-, bit-, bit stuff-, frameand acknowledgment- errors Guaranteed Each message has a unique priority. When the bus is free, any transmitter is allowed to transmit. If collision occurs, the message with highest priority wins the bus. The losers tries again when the ongoing message is completed Extremely low probability for undetected erroneous messages All nodes have received a message and found it error free before it is accepted Latency time Predictable Depends on message priority and scheduling method. The maximum latency of a message can often be kept below 1 ms.

CAN is a very robust and efficient protocol for wire transmission but unsuitable for radio transmission. The very reason for this that CAN fundamentally relies on a mechanism of simultaneous transmission and reception of bits, zero being dominant and overwriting one. This bitwise behavior of the protocol requires that nodes are synchronized to each other within a fraction of a bit time. Thus, the minimum bit length (maximum bit rate) is coupled to the signal path. When transmission takes place on a wire the signal path is known and constant and this ideal for CAN. Usually the signal path for radio waves is variable within a wide range and this makes radio less attractive for CAN. Further, to achieve the bitwise arbitration, a radio for CAN has to be true full duplex. This leads to an architecture where radios are used as bridges or gateways. As Bluetooth has a maximum bit rate of 1 Mbit/s and that there is no bit-by-bit transfer of the CAN messages, it is obvious that we have to face that the radio transmission will be a bottleneck. Thus, in order to make Bluetooth attractive for the car industry, it must be possible to minimize this drawback. 3 Bluetooth in cars The new generations of cars will have an increasing number of micro controllers connected via two or more networks. An advantage of this is that the cars can be individually customized by software, another that the car to a great extent can have self diagnostic functions. To fully use such features, it is necessary to have a bi-directional communication between the car system and production tools as well as service tools for downloading new software and parameters and uploading of status and diagnostics messages. These production and service tools will, to a great extent, be based on PC technology. The connection between the car system and the tool is made via a cable, either directly to the CAN bus or via a gateway. The cheapest way is to connect the PC directly to the CAN bus by a drop line but this has to be short: According to the CAN standard it should be less than 30 cm at 1 Mbit/s bit rate. In practice it can be somewhat longer but still impractically short. In new designs, most probably a CAN/USB gateway will be used and then Bluetooth can be considered an alternative as it would be a great advantage to have a wireless communication between the car and service tools. Let us take a look at the pros and cons of USB and Bluetooth: USB Bluetooth Data throughput + + - Latency ++ -- Security + - Mobility - +++ Price + _ Versatility - +++ We can see that the main advantage of Bluetooth is the wireless connection and that it can be used not only for car production and service but also for other services appreciated by the car owner. The major disadvantages are latency and security. Bluetooth is developed to be an open connection between any item but for car systems dedicated connections are preferred in most cases. 3.1 Bluetooth in car production In the car production a lot of software is downloaded as a final step in the production line. This is an application where Bluetooth would be ideally suited. A Bluetooth base station is connected to the

production fieldbus. When the car on line gets connected to the Bluetooth base station, it uploads it serial number. The production computer then downloads the software for this very car via the fieldbus to the base station, who in turn transmit it to the car. However, this is a dedicated use and no other Bluetooth units than those installed in the cars should get connected to the cell. This might need some changes in the MAC layer. Figure 3 Bluetooth in a car production line 3.2 Bluetooth for car service A scenario for using Bluetooth could be: 1) When the car enters the service station, its Bluetooth station gets contact with the service stations main computer. This has previously exchanged information with the car computer via the cell phone system. 2) The service station main computer alerts the service man allotted the task and his PC establishes contact with the car and downloads any information needed. 3) The serviceman gets any work instructions needed on his PC. When servicing the car, he can control and adjust several functions via the PC, e.g., any lights, windows, climate control, engine parameters, etc. He can also download the latest software versions to any Electronic Control Unit (ECU) The two first items above are not very controversial. They are not time critical but maybe the car manufacturer would like to hide or control some information so they cannot be altered by unauthorized people. But the third item is more tricky. To really utilize the potential of the technique, both hard realtime requirements and privacy has to be met. In future, the car could actually be driven by remote control via a PC! Thus, we can distinguish two modes: 1. Connection mode 2. Control mode

In the connection mode, the ordinary Bluetooth MAC layer will probably work fine. Maybe the density of Bluetooth stations in a parking house will cause some problems. In the control mode however, the Bluetooth MAC layer is not very well suited. When connection is established, then only a fast point-to-point link is needed. Any other services, like roaming, neighborhood connection, etc. will only cause problems. As the qualities of a Control Mode MAC are car-maker specific, there must be a possibility to switch from the Bluetooth MAC layer to a custom design MAC layer. There is no need for the Bluetooth consortium to redesign the current MAC layer or to provide a hard realtime MAC alternative. This will be made by the car manufactures themselves or by their organizations. But in order to make it more attractive for the car manufacturers to include a Bluetooth node in each car, i.e., to get the additional 50 million per year market, there should be a way to temporarily substitute the Bluetooth MAC for a custom design MAC. 3.3 A Bluetooth network in the car Flexible cables are always a source of problems. In a car you find them at least at each door, in the front seats and at the steering wheel. Here a short range wireless cable stretcher would be handy. As it is difficult, even for very short ranges, to make a reliable bit-by-bit wireless connected section in a CAN network, the cable stretcher will not be a repeater but a bridge. The effect of this is that the cable stretcher will divide the CAN net into two nets, even one of the nets will consist of one node only. This ends up in high complexity and cost. As a short range point-to-point cable stretcher would require fourteen radio units, still requiring network-to-network capability, such an architecture would not be attractive. A solution with one base station connected to the CAN network and radio nodes in the doors, seats and the steering wheel hub is more probable as this would require only eight stations. Further, the base station would be the same as for the PC and mobile phone connection. The cell stations will only have to communicate with the base station and any other Bluetooth features will only create problems. Thus, it would be an advantage to have customized MAC layer from a technical point of view. The cost for these stations has also to be low and the reduced MAC layer might also lead to cheaper hardware. If Bluetooth hardware can meet the requirements, we have a potential market of and additionally 350 million units per year. Bluetooth base station Gateway to CAN Bluetooth cell station CAN Bus Figure 4 A CAN/Bluetooth network

4 Timing requirements and eavesdropping In order to make Bluetooth really attractive, it must be possible to switch between the standard Bluetooth MAC layer and a customer specific one. The need for a customer specific MAC is primarily to achieve better realtime performance but also to simplify solutions to avoid eavesdropping and interference by other Bluetooth stations. The main timing requirement is to exchange CAN messages with a rate of 1000 to 5000 messages per second, i.e., 100-750 kbit/s data rate and a 5-10 millisecond turnaround time for short messages of 10-20 byte data packets. 5 Conclusion There is a potential additional market of about 50 million units per year for Bluetooth in the car industry as a gateway to the Controller Area Network. To reach this market there has to be a possibility to store a car specific alternative to the Bluetooth MAC layer and to switch between the two by command from the CPU. The car market could be even bigger, maybe an additional 350 million units per year, for Bluetooth radio chips combined with a custom design MAC layer. These units would mainly be placed at positions now requiring flexible cables and would only communicate with the Bluetooth/CAN gateway mentioned above. The custom design MAC layer would allow for a 100-750 kbit/s data rate (not including radio overhead) and a turnaround time of 5-10 millisecond for short messages of 10-20 byte data. Lars-Berno Fredriksson President KVASER AB P.O. Box 4076 SE 51104 Kinnahult Sweden Phone +46 320 15287 Fax +46 320 15284 Email LBF@kvaser.se Web http://www.kvaser.se