Background. The operation of electric drives with microprocessor control depends on the setup parameters that are the variables of its software. Among them are the parameters of the sensors, power converter, electric motor, driven mechanism, as well as the parameters of the controllers and feedbacks of the automatic motion control system. These parameters must be stored in a non-volatile read-only memory, accessible for writing and reading, and, if necessary, be restored to the random-access memory of the microcontroller. Software for access to such memory in the form of a separate chip with a digital interface or in the form of flash memory of the microcontroller of the control system is an integral part of the software of the electric drive as a whole. Therefore, its development should be carried out by specialists in the field of electric drives. However, their professional level has gaps in the field of modern microprocessor technology, programming technologies, as well as the theory and practice of data transfer.
Materials and methods. When developing software to save and restore the electric drive parameters, methods of model-based design and debugging, algorithmic method of control processes, as well as methods of experimental research have been used.
Results. The article presents a detailed solution for model-based development of software for accessing a programmable read-only memory chip via the I2C interface and to the flash memory of the microcontroller for the purpose of writing and reading data with the parameters of the electric drive setup. Using model-based programming tools, the software is compiled in the form of functionally complete model circuits. The model block of the I2C interface setup master has been used to set the parameters. And the model processing block has been used to generate signals during data transmission, capture signals during reception, and handling faults. The model circuits have been supplemented with subroutines developed in the C language. They coordinate their execution, form data for writing using the electric drive parameters, and restore these parameters after reading the data. In a similar manner, model circuits and subroutines in the C language have been developed for accessing the flash memory of the microcontroller.
Conclusions. The result of the development is aimed at expanding the theory and practice of applying model-based programming as a full-fledged technology to develop software of microprocessor systems for various subject fields. The content and subject matter of this development helps fill the gaps in the professional level of electromechanical engineers, so that they can independently develop full-featured software for various microprocessor control systems of electric drives.