The electrical drive or converter model package usually consists of two projects:
- Model project of the discrete part of the electrical drive
The project simulates a discrete (software) part of an electrical drive or converter consisting of:
- digital control system;
- AD converters.
Integration in the project is carried out by the Euler method with a step equal to the expected cycle of the processor program, which usually corresponds to the period of the PWM generator.
- Model project of the continuous part of the electrical drive
The project simulates:
- power three-phase bridge inverter with PWM control unit;
- Motor (for electrical drive);
- mechanical part (for electrical drive);
- sensors;
- analog component for setting the controlled value.
Integration in the project is usually performed by the Euler method with a step sufficient for accurate simulation of continuous processes. Adaptive integration methods are sometimes required.
The connection of the projects of the discrete and continuous parts in the package is carried out using a database (file *.db). The database is built according to the rules common to SimInTech.
Project synchronization (project data exchange) in the package is performed with the time of the discrete part, which allows to simulate the operation of the digital control system accurately.