Device for controlling an
electric motor in the function of a
flywheel of an
internal combustion engine comprises interconnected parts: a power part (A), a
control circuit (8) and a control module (B), wherein: the power part (A) consists of a sensor block (2), which is elastically connected by means of a shaft (X1) to the
electric motor (3) in the function of the
flywheel of the
combustion engine (1) and is also connected to the
external combustion engine (1) by means of the shaft (X1), it further includes a measuring circuit (4) which is bi-directionally connected to the traction converter (5) by means of power wires (X2), which is bi-directionally connected to the
energy storage (6) by means of power wires (X2), wherein the
electric motor (3) is bi-directionally connected by means of the power wires (X2) to the measuring circuit (4) for the energy flow in the circuit, wherein the traction converter (5) is a traction
inverter adapted for bi-directional energy flow; the
energy storage (6) is composed of several components connected in parallel and comprises an
electrochemical cell - a battery and a
capacitor; the
control circuit (8) consists of a controller (9) which is connected to a torque calculation block (11) by
signal wires (X3), and the torque calculation block is connected to a current controller (12) by
signal wires (X3) connected to the
PWM modulator block (13) by means of the
signal wires (X3), wherein the
PWM modulator block (13) is connected to the traction converter (5) by means of the signal wires (X3) in a unidirectional way , and the
current regulator (12) is connected to the measuring circuit (4) in a unidirectional way by means of the signal wires (X3); and the control module (B) consists of a master
control system (7) which is unidirectionally connected via signal wires (X3) to the desired values block (10), and the master
control system (7) is also unidirectionally connected via signal wires (X3) to the
external combustion engine (1); whereby the sensor block (2) is unidirectionally connected to the controller (9) by means of signal wires (X3), and the desired values block (10) is connected to the
control circuit (8) by means of signal wires (X3). A method of control of the device is also described.