Soft Computing

, Volume 23, Issue 22, pp 11539–11556 | Cite as

DDS middleware on top of FlexRay networks: Simulink blockset implementation of electrical vehicle using FlexRay protocol and its adaptation to DDS concept

  • Zouhaira AbdellaouiEmail author
  • Salem Hasnaoui
Methodologies and Application


We designed a Simulink vehicle blockset in order to integrate safety, reliability, best condition of luxury and comfort in modern models by adding or modifying some old algorithms, implemented as application layer components. The proposed blockset corresponds to the Society of Automotive Engineers benchmark which is normally connected by the CAN bus that we replaced by the FlexRay bus. We used the Embedded MATLAB tool for implementing this blockset in order to generate a portable C standard code. To connect the designed sub-blocks together, we applied the real-time middleware data distribution service (DDS) and the FlexRay protocol. In this paper, we focused our interest on the implementation of the Simulink blockset with its different sub-blocks and we then identified their DDS entities and their QoS profiles. We also calculated the worst-case response time, based on the full scheduling model, which served to configure the DDS deadline QoS and the FlexRay protocol parameters.


CAN DDS Embedded MATLAB FlexRay QOS SAE benchmark Simulink blockset 



The researches presented in my paper are thanks to the support of many people. We wish to express our gratitude to the SYSCOM ENIT members for their help and assistance.

Compliance with ethical standards

Conflict of interest

The authors declare that they have no conflict of interest.


  1. Abdellaoui Z (2016) Etude, Modélisation et Implémentation sous MATLAB de Modules SAE Benchmark en tant qu’entités DDS. PhD dissertation, ENIT/Al-Manar University, Jan-2016Google Scholar
  2. Basanta Val P, García Valls M (2014) Resource management policies for real time Java remote invocations. J Parallel Distrib Comput 74(1):1930–1944CrossRefGoogle Scholar
  3. Ben Gaid M-M, Çela A, Diallo S, Kocik R, Hamouche R, Reama A (2006) Performance evaluation of the distributed implementation of a car suspension system. In: Proceedings of the IFAC workshop on programmable devices and embedded systems (PDeS 2006). Brno, Czech Republic, February 2006CrossRefGoogle Scholar
  4. Bosch R (1991) GmbH, CAN specification, version 2, September 1991Google Scholar
  5. Bouhouch R (2014) Implémentation de DDS et des connecteurs de la radio logicielle et évaluation de leurs performances. PhD dissertation, ENIT/Al-Manar University, March 2014Google Scholar
  6. Broster I (2003) Flexibility in dependable real-time communication. PhD thesis, Department of Computer Science, University of York, August 2003Google Scholar
  7. Chen B-C, Yu C-C, Hsu W-F (2011) Design of electronic stability control for rollover prevention using sliding mode control. Int J Vehicle Des 56(1):224–245 CrossRefGoogle Scholar
  8. Data Distribution Service for Real-time Systems, Version 1.2. OMG available Specification formal/07-01-01Google Scholar
  9. FlexRay Consortium (2005) FlexRay communications system-protocol specification, version 2.1, Revision A, 2005Google Scholar
  10. García Valls M, Uriol Resuela P, IbáñezVázquez F (2014) PabloBasantaVal: low complexity reconfiguration for real time data intensive service oriented applications. Future Gener Comput Syst 37:191–200CrossRefGoogle Scholar
  11. Guesmi T, Rekik R, Hasnaoui S, Rezig H (2007) Design and performance of dds-based middleware for real-time control systems. IJCSNC 7(12):188–200Google Scholar
  12. Hasnaoui A (2012) Conception et développement d’une carte à base du contrôleur FlexRay MB88121C et de son driver sous la plateforme LPC2294 et μC-OSII. End-Studies Project, TELNET Company, June 2012Google Scholar
  13. Hasnaoui A, Ezzeddine T (2015) Génération de code C des entités DDS à partir de fichiers XML. Rapport de recherche, décembre 2015Google Scholar
  14. International Standard Organization (1994) ISO 11519-2, road vehicles—low speed serial data communication—part 2: low speed controller area network, ISO, 1994Google Scholar
  15. Jaouani H (2015) Etude, Modélisation et Implémentation sous MATLAB de Modules SAE Benchmark en tant qu’entités DDS. PhD dissertation, ENIT/Al-Manar University, December 2015Google Scholar
  16. Lupini CA (2004) Vehicle multiplex communication—serial data networking applied to vehicular engineering. BookGoogle Scholar
  17. Millinger D, Nossal R (2005) FlexRay communication technology. In: Zurawski R (ed) The industrial communication technology handbook. CRC Press, Taylor & Francis, Boca Raton. ISBN 0-8493-3077-7Google Scholar
  18. Mohammad MU, Al-Holou N (2010) Development of an automotive communication benchmark. Can J Electr Electron Eng 1(5):99–115Google Scholar
  19. Navet N, Simonot-Lion F (eds) (2009) Automotive embedded systems handbook. Industrial Information Technology Series. CRC Press, Boca RatonGoogle Scholar
  20. Object Management Group (2007) Data distribution service for real-time systems, version 1.2, Massachusetts: Needham, January 2007Google Scholar
  21. Pedreiras P, Gai P, Almeida L, Buttazzo G (2005) FTT-Ethernet: a flexible real-time communication protocol that supports dynamic QoS management on Ethernet-based systems. IEEE Trans Ind Inf 1(3):162–172CrossRefGoogle Scholar
  22. Pick AJ (2004) Neuromuscular dynamics and the vehicle steering task. Ph.D. thesis, University of Cambridge, CambridgeGoogle Scholar
  23. Proenza J, Barranco M, Llodra J, Almeida L (2012) Using FTT and stars to simplify node replication in CAN based systems. Proceedings of IEEE 17th International Conference on Emerging Technologies & Factory Automation, pp 1–4Google Scholar
  24. Schmidt K, Guran E (2008) Message scheduling for the FlexRay protocol: the static segment. IEEE Trans Veh Technol 58(5):2170–2179CrossRefGoogle Scholar
  25. Tindel K, Burns A (1994) Guaranteeing message latencies on control area network (CAN). Proceedings of 1st international CAN conference, pp 1–11Google Scholar

Copyright information

© Springer-Verlag GmbH Germany, part of Springer Nature 2018

Authors and Affiliations

  1. 1.Communication Systems Research Laboratory SYSCOM - LR-99-ES21, National Engineering School of Tunis - ENITUniversity of Tunis El-ManarTunis-BelvédèreTunisia

Personalised recommendations