TRILATERAL: A Model-Based Approach for Industrial CPS – Monitoring and Control

Conference paper
Part of the Communications in Computer and Information Science book series (CCIS, volume 1161)


Internet of Things (IoT) devices are advanced embedded systems within a Cyber-Physical System (CPS) that require to be monitored and controlled. Such necessities are becoming increasingly common due to the advent of the Industry 4.0 among other smart deployments. A recurring issue in this field is that existing and new projects are reinventing the wheel by starting the development and deployment of IoT devices from scratch. To overcome such loss of efficiency in development, we propose to use Software Product Line (SPL) and Model-Based Engineering (MBE) since they seem promising in the literature in order to accelerate and ease the development software while reducing bugs and errors, and hence, costs. Additionally, a personalized solution is needed since not all Industrial CPSs (ICPSs) are composed by the same devices or use the same IoT communication protocols. Thus, we realized that a Domain Specific Language (DSL) along with a standard, will allow the user to graphically model the ICPS for this to be monitored and controlled. Therefore, this work presents TRILATERAL, a SPL Model Based tool that uses a Domain Specific Language (DSL) to allow users to graphically model ICPSs with a IEC 61850 based metamodel, a standard originally designed for electrical substations but that has also been used in other domains. TRILATERAL automatically generates an artifact in order to create a middleware between the ICPS and the monitoring system to monitor and control all the devices within the ICPS. This tool is designed, implemented and finally, validated with a real use case (catenary-free tram) where different lessons have been learned.


Internet of Things (IoT) Cyber-Physical System (CPS) Domain Specific Language (DSL) Software Product Line (SPL) IEC 61850 Model-Based Engineering (MBE) 



This work has received funding from the Electronic Component Systems for European Leadership Joint Undertaking under the MegaM@Rt2 project (Grant agreement No. 737494) in the EU Horizon 2020 program and the Basque Government through the Elkartek program under the TEKINTZE project (Grant agreement No. KK-2018/00104).


  1. 1.
    Ayala, I., Amor, M., Fuentes, L., Troya, J.M.: A software product line process to develop agents for the IoT. Sensors 15(7), 15640–15660 (2015)CrossRefGoogle Scholar
  2. 2.
    Bi, Y., Jiang, L., Wang, X.J., Cui, L.Z.: Mapping of IEC 61850 to data distribute service for digital substation communication. In: IEEE Power and Energy Society General Meeting, pp. 1–5 (2013)Google Scholar
  3. 3.
    Bougouffa, S., Meßmer, K., Cha, S., Trunzer, E., Vogel-Heuser, B.: Industry 4.0 interface for dynamic reconfiguration of an open lab size automated production system to allow remote community experiments. In: 2017 IEEE International Conference on Industrial Engineering and Engineering Management (IEEM), pp. 2058–2062, December 2017.
  4. 4.
    Calvo, I., Garcia de Albéniz, O., Pérez, F.: A communication backbone for substation automation systems based on the OMG DDS standard. In: Przeglad Elektrotechniczny, vol. 88, pp. 146–150 (2012)Google Scholar
  5. 5.
    Calvo, I., García De Albéniz, O., Noguero, A., Pérez, F.: Towards a modular and scalable design for the communications of electrical protection relays. In: IECON Proceedings (Industrial Electronics Conference), pp. 2511–2516 (2009)Google Scholar
  6. 6.
    Capilla, R., Bosch, J., Trinidad, P., Ruiz-Cortés, A., Hinchey, M.: An overview of dynamic software product line architectures and techniques: observations from research and industry. J. Syst. Softw. 91, 3–23 (2014)CrossRefGoogle Scholar
  7. 7.
    Fielding, R.T.: REST: Architectural Styles and the Design of Network-based Software Architectures. Doctoral dissertation, University of California, Irvine (2000)Google Scholar
  8. 8.
    Fowler, M.: Domain-Specific Languages. The Addison-Wesley signature series, Addison-Wesley (2011).,1207,store-12521_isbn-0321712943,00.html
  9. 9.
    Hussain, S.M.S., Aftab, M.A., Ali, I.: IEC 61850 modeling of dSTATCOM and XMPP communication for reactive power management in microgrids. IEEE Syst. J. 12(4), 1–11 (2018)CrossRefGoogle Scholar
  10. 10.
    IEC TC-88: Wind energy generation systems - part 25–4: Communications for monitoring and control of wind power plants - mapping to communication profile (2016)Google Scholar
  11. 11.
    Iglesias, A., Arellano, C., Yue, T., Ali, S., Sagardui, G.: Model- based personalized visualization system for monitoring evolving industrial cyber-physical system. In: Accepted for Publishing in 25th Asia-Pacific Software Engineering Conference, APSEC 2018 (2018)Google Scholar
  12. 12.
    Iglesias, A., Iglesias-Urkia, M., López-Davalillo, B., Charramendieta, S., Urbieta, A.: Trilateral: software product line based multidomain iot artifact generation for industrial cps. In: Proceedings of the 7th International Conference on Model-Driven Engineering and Software Development, MODELSWARD, INSTICC, vol. 1, pp. 64–73. SciTePress (2019).
  13. 13.
    Iglesias, A., Lu, H., Arellano, C., Yue, T., Ali, S., Sagardui, G.: Product line engineering of monitoring functionality in industrial cyber-physical systems: a domain analysis. In: Proceedings of the 21st International Systems and Software Product Line Conference, SPLC 2017, vol. A, pp. 195–204 (2017)Google Scholar
  14. 14.
    Iglesias, A., Sagardui, G., Arellano, C.: Industrial cyber-physical system evolution detection and alert generation. Appl. Sci. 9(8), 1586 (2019). Scholar
  15. 15.
    Iglesias-Urkia, M., Casado-Mansilla, D., Mayer, S., Bilbao, J., Urbieta, A.: Integrating electrical substations within the IoT using IEC 61850, CoAP and CBOR. IEEE Internet of Things J. pp. 1–1 (2019).
  16. 16.
    Iglesias-Urkia, M., Casado-Mansilla, D., Mayer, S., Urbieta, A.: Enhanced publish/subscribe in CoAP: describing advanced subscription mechanisms for the observe extension. In: ACM International Conference Proceeding Series. Association for Computing Machinery (2018).
  17. 17.
    Iglesias-Urkia, M., Casado-Mansilla, D., Mayer, S., Urbieta, A.: Validation of a CoAP to IEC 61850 mapping and benchmarking vs http-rest and ws-soap. In: IEEE International Conference on Emerging Technologies and Factory Automation, ETFA, vol. 2018-September, pp. 1015–1022 (2018).
  18. 18.
    Iglesias-Urkia, M., Orive, A., Barcelo, M., Moran, A., Bilbao, J., Urbieta, A.: Towards a lightweight protocol for industry 4.0: An implementation based benchmark. In: Proceedings of the 2017 IEEE International Workshop of Electronics, Control, Measurement, Signals and their Application to Mechatronics, ECMSM 2017. Institute of Electrical and Electronics Engineers Inc. (2017).
  19. 19.
    Iglesias-Urkia, M., Orive, A., Urbieta, A.: Analysis of CoAP implementations for industrial internet of things: a survey. Proc. Comput. Sci. 109, 188–195 (2017). CrossRefGoogle Scholar
  20. 20.
    Iglesias-Urkia, M., Orive, A., Urbieta, A., Casado-Mansilla, D.: Analysis of CoAP implementations for industrial Internet of Things: a survey. J. Ambient Intell. Hum. Comput. 10(7), 1–14 (2018). Scholar
  21. 21.
    Iglesias-Urkia, M., Urbieta, A., Parra, J., Casado-Mansilla, D.: IEC 61850 meets CoAP: towards the integration of smart grids and IoT standards. In: ACM International Conference Proceeding Series. Association for Computing Machinery (2017).
  22. 22.
    Kagermann, H., Helbig, J., Hellinger, A., Wahlster, W.: Recommendations for Implementing the Strategic Initiative INDUSTRIE 4.0: Securing the Future of German Manufacturing Industry; Final Report of the Industrie 4.0 Working Group. Forschungsunion (2013).
  23. 23.
    Kelly, S., Tolvanen, J.: Domain-Specific Modeling - Enabling Full Code Generation. Wiley, Hoboken (2008).
  24. 24.
    Leitão, P., Colombo, A.W., Karnouskos, S.: Industrial automation based on cyber-physical systems technologies: prototype implementations and challenges. Comput. Ind. 81, 11–25 (2016)CrossRefGoogle Scholar
  25. 25.
    Negash, B., Westerlund, T., Rahmani, A., Liljeberg, P., Tenhunen, H.: Dos-il: a domain specific internet of things language for resource constrained devices. Proc. Comput. Sci. 109, 416–423 (2017). Scholar
  26. 26.
    Parra, J.: Restful Framework for Collaborative Internet of Things Based on IEC 61850. Ph.D. thesis, Universidad del País Vasco - Euskal Herriko Unibertsitatea (UPV/EHU) (2016)Google Scholar
  27. 27.
    Pedersen, A.B., Hauksson, E.B., Andersen, P.B., Poulsen, B., Træholt, C., Gantenbein, D.: Facilitating a generic communication interface to distributed energy resources: mapping IEC 61850 to RESTful services. In: 2010 First IEEE International Conference on Smart Grid Communications (SmartGridComm), pp. 61–66 (2010)Google Scholar
  28. 28.
    Sanz, R., Clavijo, J.A., Segarra, M.J., de Antonio, A., Alonso, M.: CORBA-based substation automation systems. In: Proceedings of IEEE Conference on Control Applications (2001)Google Scholar
  29. 29.
    Shin, I.J., Song, B.K., Eom, D.S.: International Electronical Committee (IEC) 61850 mapping with constrained application protocol (CoAP) in smart grids based European telecommunications standard institute machine-to-machine (M2M) environment. Energies 10(3), 393 (2017)CrossRefGoogle Scholar
  30. 30.
    Sinnhofer, A.D., et al.: Combining business process variability and software variability using traceable links. In: Shishkov, B. (ed.) BMSD 2017. LNBIP, vol. 309, pp. 67–86. Springer, Cham (2018). Scholar
  31. 31.
    Sneps-Sneppe, M., Namiot, D.: On web-based domain-specific language for Internet of Things. In: International Congress on Ultra Modern Telecommunications and Control Systems and Workshops, vol. 2016-January, pp. 287–292. IEEE Computer Society (2016).
  32. 32.
    Tang, H., Li, D., Wang, S., Dong, Z.: CASOA: an architecture for agent-based manufacturing system in the context of industry 4.0. IEEE Access 6, 12746–12754 (2018)CrossRefGoogle Scholar
  33. 33.
    Tao, F., Zuo, Y., Xu, L.D., Zhang, L.: IoT-based intelligent perception and access of manufacturing resource toward cloud manufacturing. IEEE Trans. Ind. Inform. 10(2), 1547–1557 (2014)CrossRefGoogle Scholar
  34. 34.
    TC-57, I.: Communication networks and systems in substations - part 7–1: Basic communication structure for substation and feeder equipment - principles and models (2003)Google Scholar
  35. 35.
    Van Deursen, A., Klint, P.: Domain-specific language design requires feature descriptions. J. Comput. Inf. Technol. 10(1), 1–17 (2002)CrossRefGoogle Scholar
  36. 36.
    Young, B., Cheatwood, J., Peterson, T., Flores, R., Clements, P.C.: Product line engineering meets model based engineering in the defense and automotive industries. In: Proceedings of the 21st International Systems and Software Product Line Conference, SPLC 2017, vol. A, pp. 175–179 (2017)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.Ikerlan Technology Research CentreArrasate-MondragónSpain
  2. 2.Deusto Institute of TechnologyUniversity of DeustoBilbaoSpain
  3. 3.Mondragon UnibertsitateaArrasate-MondragónSpain

Personalised recommendations