Model-based development of software for network control of automotive vehicles’ equipment
Igor S. Polyuschenkov
Izvestiya MGTU MAMI ›› 2023, Vol. 17 ›› Issue (4) : 423 -434.
Model-based development of software for network control of automotive vehicles’ equipment
BACKGROUND: Various devices and systems connected via onboard network with electronic control unit are the part of automotive vehicles’ equipment. Such devices and systems, which ensure the operability of a vehicle or are the elements of technological units, having microprocessor control, are based on various physical principles. Designers of such devices and systems may not have sufficient knowledge and experience to develop the software independently, which applies to the development of software for the network control.
AIM: The development of software for information subsystem of a technical device that interacts with an electronic control unit via onboard network as part of automotive vehicles’ equipment, as well as the demonstration of application of model-based programming tools in this development.
METHODS: A comprehensive description of technical solutions developed to achieve the listed aims using methods of system analysis and methods for developing and debugging of software is given. According to these methods, model-based programming tools are used as handlers for built-in interface modules of microcontroller and elements of software layout. Software elements for processing received messages, performing actions with the data received in them, as well as generation of response messages have been developed in the C language.
RESULTS: Software that processes messages received by a device subordinated to an electronic control unit via the CAN network, generates response messages addressed to this unit, and sends them has been developed. The method of access to the receiving buffer of the network interface and priority of software execution are taken into account.
CONCLUSION: It is shown that model-based programming in combination with programming tools based on structured text is an effective software development technology that is convenient for designers of technical devices and systems based on various physical principles and requiring microprocessor control. In particular, the abovementioned should be attributed to specialists in the field of electrical engineering who develop equipment for automotive vehicles.
control system / model-based programming technology / microprocessor control / digital interface / CAN network
| [1] |
Plotnikov D.A. Evaluation of the response time of elements in modular information-measuring and control systems using the CAN interface. Izvestiya vuzov. Severokavkazskiy region. Seriya: Tekhnicheskie nauki. 2017;1(193):13–18. (In Russ). |
| [2] |
Плотников Д.А. Оценка времени отклика элементов в модульных информационно-измерительных и управляющих системах, использующих интерфейс CAN // Известия вузов. Северокавказский регион. Серия: Технические науки. 2017. № 1(193). С. 13–18. |
| [3] |
Savelyev A.M. Multiplex car simulator system. Modeli, sistemy, seti v ekonomike, tekhnike, prirode i obshchestve. 2012;2(3): 124–126. (In Russ). |
| [4] |
Савельев А.М. Мультиплексная система автомобильного тренажера // Модели, системы, сети в экономике, технике, природе и обществе. 2012. № 2(3). С. 124–126. |
| [5] |
Siraya E.V. Use of multiplex channels to control electrical devices on electric rolling stock. Izvestiya Peterburgskogo universiteta putey soobshcheniya. 2012;4(33):67–72. (In Russ). |
| [6] |
Сирая Е.В. Использование мультиплексных каналов для управления электрическими аппаратами на электроподвижном составе // Известия Петербургского университета путей сообщения. 2012. № 4(33). С. 67–72. |
| [7] |
Yunusova L.R., Magsumova A.R. Automotive CAN bus — approaches and implementation. Problemy nauki. 2019;7(43):17–20. (In Russ). |
| [8] |
Юнусова Л.Р., Магсумова А.Р. Автомобильная шина CAN — подходы и реализация // Проблемы науки. 2019. № 7(43). С. 17–20. |
| [9] |
Khvoshch S.T., Lukovkin A.V., Lyutov A.G. Application of the CAN-Bus in distributed systems for collecting and processing information in real time. Informatsionno-upravlyayushchie sistemy. 2002;1:35–39. (In Russ). |
| [10] |
Хвощ С.Т., Луковкин А.В., Лютов А.Г. Применение шины CAN-Bus в распределенных системах сбора и обработки информации в реальном масштабе времени // Информационно-управляющие системы. 2002. № 1. С. 35–39. |
| [11] |
Denisenko V.V. Computer control of technological process, experiment, equipment. Moscow: Goryachaya liniya — Telekom; 2009. (In Russ). |
| [12] |
Денисенко В.В. Компьютерное управление технологическим процессом, экспериментом, оборудованием. М.: Горячая линия — Телеком, 2009. |
| [13] |
Polyushchenkov I.S. Model-Based Programming as a Tool for the Electrical Engineer. Vestnik IGEU. 2023;1:60–70. (In Russ). doi: 10.17588/2072-2672.2023.1.060-070 |
| [14] |
Полющенков И.С. Модельно-ориентированное программирование как инструмент инженера-электромеханика // Вестник ИГЭУ. 2023. №. 1. С. 60–70. doi: 10.17588/2072-2672.2023.1.060-070 |
| [15] |
Waijung Blockset [internet] Accessed: 29.05.2023. Available from: http://waijung.aimagin.com |
| [16] |
Waijung Blockset [internet] Режим доступа: http://waijung.aimagin.com дата обращения: 29.05.2023 |
| [17] |
Podbelsky V.V., Fomin S.S. Programming course in C: textbook. Moscow: DMK Press; 2012. (In Russ). |
| [18] |
Подбельский В.В., Фомин С.С. Курс программирования на языке Си: учебник. М.: ДМК Пресс, 2012. |
| [19] |
Polyushchenkov I.S. Development of electric drive software for group control in an electromechanical system. Vestnik IGEU. 2022;4:53–63. (In Russ). doi: 10.17588/2072-2672.2022.4.053-063 |
| [20] |
Полющенков И.С. Разработка программного обеспечения электропривода для группового управления в электромеханической системе // Вестник ИГЭУ. 2022. №. 4. С. 53–63. doi: 10.17588/2072-2672.2022.4.053-063 |
| [21] |
Polyuschenkov I.S. Development and research of the control system of the electric drive of panoramic windscreen wipers. Izvestiya MGTU MAMI. 2022;16(4):345–356. (In Russ). doi: 10.17816/2074-0530-109188 |
| [22] |
Полющенков И.С. Разработка системы управления электропривода панорамных стеклоочистителей и ее исследование // Известия МГТУ “МАМИ“. 2022. Т. 16. № 4. C. 345–356. doi: 10.17816/2074-0530-109188 |
Eco-Vector
/
| 〈 |
|
〉 |