The Development of Software for Electric Drive Control in a Process System Using the Model-Oriented Programming Technique
Abstract
The article considers the development of software for control of electric drive in a process system by applying the model-oriented programming technique. The model-oriented programming technique is based on using computer mathematics and modeling tools to develop and debug the software of microprocessor control systems. Computer models featuring the ability of receiving and transmitting data via the digital I2C and CAN bus serial interfaces and via a serial asynchronous transceiver interface are described. The developed software is used in an electric drive's microprocessor control system for implementing interactive control, for data exchange with a higher-level control system, for adjusting the parameters of corrective and control elements, and for monitoring the motion parameters and control information. It is shown that the tasks that have to be solved for setting up data exchange in elaborating software through the use of the model-oriented programming boil down to shaping data packets in transmitting information and interpreting the data packets in receiving them. The message shaping and interpreting rules are set by the communication protocol. Data packets are shaped by grouping parameters and variables in different numerical formats in a predetermined sequence. The received messages are interpreted by identifying the fields of predetermined numerical formats contained in them. The algorithm governing the use of network resources and the access of devices to it, and the features monitoring the network serviceability are all set up by using the tools available in the model-oriented programming technique. Owing to the above-mentioned circumstances, the design process is simplified to a considerable extent. The proposed graphic form of the software architecture can be used in designing various technical systems.
References
2. Денисенко В.В. Компьютерное управление технологическим процессом, экспериментом, оборудованием. М.: Горячая линия – Телеком, 2009.
3. Model-Based Design [Электрон. ресурс]. www. mathworks.com (дата обращения 01.06.2017)
4. Waijung Blockset [Электрон. ресурс]. http://waijung.aimagin.com. (дата обращения 23.06.2017)
5. Дьяконов В.П. Matlab 6/6.1/6.5 + Simulink 4/5 в математике и моделировании. М.:СОЛОН-Пресс, 2008.
6. Хаммел Р.Л. Последовательная передача данных: руководство программиста. М.: Мир, 1996.
---
Для цитирования: Полющенков И.С. Разработка программного обеспечения для управления электроприводом в технологической системе с применением метода модельно-ориентированного программирования // Вестник МЭИ. 2017. № 4. С. 83—91. DOI: 10.24160/1993-6982-2017-4-83-91.
#
1. Poljushhenkov I.S. Razrabotka Sistemy Upravlenija Jelektroprivoda na Osnove Metoda Model'no- orientirovannogo Programmirovanija. MPEI Vestnik. 2016;6:87—95. (in Russian).
2. Denisenko V.V. Komp'juternoe Upravlenie Tehnologicheskim Processom, Jeksperimentom, Oborudovaniem. M.: Gorjachaja Linija – Telekom, 2009. (in Russian).
3. Model-Based Design [Elektron. Resurs]. www. mathworks.com (Data Obrashhenija 01.06.2017)
4. Waijung Blockset [Elektron. Resurs]. http://waijung.aimagin.com. (Data Obrashhenija 23.06.2017)
5. D'jakonov V.P. Matlab 6/6.1/6.5 + Simulink 4/5 v Matema- tike i Modelirovanii. M.:SOLON-Press, 2008. (in Russian).
6. Hammel R.L. Posledovatel'naja Peredacha Dannyh: Rukovodstvo Programmista. M.: Mir, 1996. (in Russian).
---
For citation: Polyushchenkov I.S. The Development of Software for Electric Drive Control in a Process System Using the Model-Oriented Programming Technique. MPEI Vestnik. 2017; 4: 83—91. (in Russian). DOI: 10.24160/1993-6982-2017-4-83-91.