Clock synchronization and weak TDMA for CAN FD: Implementation and evaluation

Download
2022-12-27
Demirel, İsmet Onur
The Controller Area Network (CAN) is the most widespread in-vehicle communication protocol. Although CAN has been used for many decades, there are very recent software-based enhancements that enable accurate clock synchronization and time-slotted medium access on CAN, denoted as weak time division multiple access (WTDMA), for deterministic bus access. In addition, there are recent updates to the CAN hardware such as CAN with flexible data rate (CAN FD) in order to both increase the available bit rate and the length of CAN message frames. This thesis takes into account that the mentioned software-based improvements have been proposed and evaluated for the standard CAN protocol but not for CAN FD. That is, the thesis first realizes different clock synchronization methods for CAN FD on state-of-the-art microcontroller evaluation boards. Making use of these clock synchronization methods, the thesis further implements WTDMA and confirms its correct operation for CAN FD. As an important feature, all the implementations are done in software and are hence compatible to both CAN and CAN FD standard.

Suggestions

Development of strategies for reducing the worst-case message response times on the Controller Area Network
Çelik, Vakkas; Schmidt, Şenan Ece; Schmidt, Klaus Verner; Department of Electrical and Electronics Engineering (2012)
The controller area network (CAN) is the de-facto standard for in-vehicle communication. The growth of time-critical applications in modern cars leads to a considerable increase in the message tra c on CAN. Hence, it is essential to determine e cient message schedules on CAN that guarantee that all communicated messages meet their timing constraints. The aim of this thesis is to develop o set scheduling strategies that find feasible schedules for higher bus load levels compared to conventional CAN scheduling...
Controller area network with offset scheduling: improved offset assignment algorithms and computation of response time distributions
Batur, Ahmet; Schmidt, Klaus Werner; Schmidt, Şenan Ece; Department of Electrical and Electronics Engineering (2018)
The Controller Area Network (CAN) is the most widely-used in-vehicle communication bus in the automotive industry. CAN enables the exchange of data among different electronic control units (ECUs) of a vehicle via messages. The basic requirement for the design of CAN is to guarantee that the worst-case response time (WCRT) of each message is smaller than its specified deadline. Hereby, it is generally desired to achieve small WCRTs that leave sufficient slack to the message deadline. In addition, it has to b...
Computation of Response Time Distributions for Messages on the Controller Area Network
Batur, Ahmet; Schmidt, Şenan Ece; Schmidt, Klaus Verner (2018-08-23)
The response time of messages is an important parameter for the design of in-vehicle networks based on the controller area network (CAN). The message transmission on CAN is affected by several non-deterministic factors such as stuff bits that are added to CAN frames depending on the message payload or changing phases among the asynchronous CAN nodes because of clock drifts. The resulting probabilistic nature of message response times on CAN is captured by the response time distribution (RTD) that quantifies...
C³: configurable CAN FD controller: design, implementation and evaluation
Afşin, Mehmet Ertuğ; Schmidt, Şenan Ece; Schmidt, Klaus Werner; Department of Electrical and Electronics Engineering (2018)
CAN FD (Controller Area Network with Flexible Data Rate) is a new communication standard, compatible with CAN. Different from CAN, CAN FD switches to high data rate during data transmission and allows payloads up to 64 bytes. In this thesis, we propose C3: Configurable CAN FD Controller which features up to fully configurable 96 TX and 96 RX buffers organized as mailboxes. Each RX buffer has dedicated acceptance filters. The host MCU sees C3 as a memory mapped device and interfaces with it via SPI protocol ...
Evaluation of response time distributions for controller area network messages
Batur, Ahmet; Schmidt, Şenan Ece; Schmidt, Klaus Verner (2018-07-09)
The response time distribution (RTD) for messages on the controller area network (CAN) represents the probability of experiencing each possible response time. The existing literature suggests to use the RTD for the design of real-time applications based on CAN. This paper shows that the RTD does not capture the response time behavior on CAN well due to gradual clock drifts among CAN nodes. Instead
Citation Formats
İ. O. Demirel, “Clock synchronization and weak TDMA for CAN FD: Implementation and evaluation,” M.S. - Master of Science, Middle East Technical University, 2022.