Because of the bit stuffing mechanism CAN relies on, the actual duration of frame transmissions over the bus depends on the specific value carried in the data field of the frames. This causes jitters on reception times, which may worsen timing accuracy. Sometimes, this behavior cannot be accepted and a number of approaches have been conceived to overcome this problem. In this paper, a software-based technique is described that consists of encoding the payload of the frame before its transmission by using a suitable 8B9B scheme. Such an approach ensures that no stuff bit has then to be added in h/w by the CAN controller. In this way, jitters are either prevented or, at least, reduced noticeably. The proposed algorithm is very simple and can be implemented, easily and efficiently, on low-cost embedded architectures too.

An Efficient Fixed-Length Encoding Scheme for CAN

G Cena;I Cibrario Bertolotti;A Valenzano
2012

Abstract

Because of the bit stuffing mechanism CAN relies on, the actual duration of frame transmissions over the bus depends on the specific value carried in the data field of the frames. This causes jitters on reception times, which may worsen timing accuracy. Sometimes, this behavior cannot be accepted and a number of approaches have been conceived to overcome this problem. In this paper, a software-based technique is described that consists of encoding the payload of the frame before its transmission by using a suitable 8B9B scheme. Such an approach ensures that no stuff bit has then to be added in h/w by the CAN controller. In this way, jitters are either prevented or, at least, reduced noticeably. The proposed algorithm is very simple and can be implemented, easily and efficiently, on low-cost embedded architectures too.
2012
Istituto di Elettronica e di Ingegneria dell'Informazione e delle Telecomunicazioni - IEIIT
9781467315739
Controller Area Network (CAN)
bit stuffing
jitter
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.14243/223338
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact