CPC G06F 30/20 (2020.01) [H03K 19/173 (2013.01); G06F 2111/10 (2020.01)] | 13 Claims |
1. A computer-implemented method for real-time simulation of the operation of a specific electric motor by means of a simulator arithmetic unit comprising a programmable logic device on which a generic motor model is implemented the method comprising:
providing a generic system of equations corresponding to the generic motor model, which is the same in terms of its structure for all types of specific electric motors;
receiving specific information corresponding to the specific motor to be simulated for the generic system of equations and inputting this information into the generic system of equations so that the generic system of equations becomes a specific system of equations, which describes the operation of the specific motor and enables the calculation of the operation of the specific motor at a predetermined sampling rate using matrix operations;
generating a specific library, for implementation on the programmable logic device, containing at least some of the arithmetic operations required for the matrix operations for calculating the operation of the specific motor;
implementing references in the generic motor model, in the programmable logic device, to the arithmetic operations of the specific library required for real-time simulation of the operation of the specific electric motor, and
simulating the operation of the specific electric motor by running the generic motor model on the programmable logic device using the arithmetic operations contained in the specific library referenced in the generic motor model,
wherein the generic model is structurally the same for all types of specific electric motors, and
wherein the generic system of equations is provided with a larger matrix dimension than is required for the specific system of equations describing the specific electric motor and, for simulating the operation of the specific electric motor, the matrix dimension of the generic system of equations is reduced to the matrix dimension required for the specific system of equations to reduce a usage of resources on the programmable logic device.
|