In order to use the DC-motor in the simulations, mathematical modelling has to be done, in order to yield the relations between the current, voltage and rotational speed. Here I will show how to setup model of a DC motor, parameter estimation of several constants of the DC-motor is also done.