Next Article in Journal
Adaptive Super-Twisting Controller-Based Modified Extended State Observer for Permanent Magnet Synchronous Motors
Previous Article in Journal
A Hybrid Strategy for Forward Kinematics of the Stewart Platform Based on Dual Quaternion Neural Network and ARMA Time Series Prediction
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

On Modelling and State Estimation of DC Motors

by
Erik Arévalo
1,
Ramón Herrera Hernández
1,
Dimitrios Katselis
2,
Carlos Reusser
1 and
Rodrigo Carvajal
1,*
1
School of Electrical Engineering, Pontificia Universidad Católica de Valparaíso (PUCV), Av. Brasil 2147, Valparaíso 2362804, Chile
2
Department of Electrical and Computer Engineering and Coordinated Science Lab, The Grainger College of Engineering, University of Illinois, Urbana-Champaign, Urbana, IL 61801, USA
*
Author to whom correspondence should be addressed.
Actuators 2025, 14(4), 160; https://doi.org/10.3390/act14040160
Submission received: 3 February 2025 / Revised: 6 March 2025 / Accepted: 20 March 2025 / Published: 21 March 2025
(This article belongs to the Section High Torque/Power Density Actuators)

Abstract

:
Direct current motors are widely used in a plethora of applications, ranging from industrial to modern electric (and intelligent) vehicle applications. Most recent operation methods of these motors involve drives that are designed based on an adequate knowledge of the motor dynamics and circulating currents. However, in spite of its simplicity, accurate discrete-time models are not always attainable when utilising the Euler method. Moreover, these inaccuracies may not be reduced when estimating the currents and rotor speed in sensorless direct current motors. In this paper, we analyse three discretisation methods, namely the Euler, second-order Taylor method and second-order Runge–Kutta method, applied to three common types of direct current motor: separately excited, series, and shunt. We also analyse the performance of two of the most simple Bayesian filtering methods, namely the Kalman filter and the extended Kalman filter. For the comparison of the models and the state estimation techniques, we performed several Monte Carlo simulations. Our simulations show that, in general, the Taylor and Runge–Kutta methods exhibit similar behaviours, whilst the Euler method results in less accurate models.

1. Introduction

Direct current (DC) motors are among the oldest technologies for converting electrical energy into mechanical energy. DC motors have been used for marine propulsion for over a century. Until the 1980s, conventional brushed DC machines were the primary choice for high-performance industrial applications requiring precise speed and torque control. This made them a natural fit for naval propulsion systems. However, brushed DC drives have largely been replaced by more efficient alternate current (AC) drive systems, such as vector control. Despite this, DC commutator motors are still utilised in specialised vessels such as icebreakers, submarines, tugboats, minesweepers, dredges, and research vessels. A notable modern application of DC machines is the hybrid diesel–electric and gas propulsion system of the Royal Navy’s Type 23 frigates, introduced in the late 1980s. This system consists of two 3-MW GEC DC separately excited motors, powered by six-pulse thyristor rectifiers for the armature and antiparallel rectifiers for the field circuit, enabling regenerative braking. Moreover, Siemens continues to produce DC propulsion systems, such as the SINAVY DC-Prop, used in the Type 209 submarines commissioned in 2019. This system includes two DC excitation motors mounted on a shared shaft, operating in parallel or series configurations depending on the speed requirements. Armature and field circuit DC choppers provide control, while auxiliary windings are employed in parallel configurations to balance the load. Moreover, four diesel generators support battery charging [1].
On the other hand, the simplicity, reliability, and broad speed range of DC motors [2,3,4] make them ideal for modern applications, such as industrial robotics, electric vehicles, electric cranes, and precision speed control systems [3,4,5,6,7]. Moreover, DC machine control schemes constitute the basis of AC machine control schemes.
In this context, accurate modelling of DC motors has become a critical issue for many applications, since control and drive system designs depend heavily on model precision. For instance, advanced control techniques like model predictive control are significantly influenced by the model’s accuracy.
The modern development and construction of electric motors and drives includes the compliance with electromagnetic compatibility standards; see, e.g., [8] and the references therein. This is due to the fact that control signals are generated using switching electronic components that emit electromagnetic radiation at a number of frequency ranges, see, e.g., [8,9,10,11]. These high frequency components can be modelled as additive non-Gaussian noise in the state equations of electric motors. However, the resulting stochastic model would have to be identified for different discretisation techniques, which is outside the scope of the paper.
In the literature, and to the best of our knowledge, the explicit discrete-time model of DC motors that arises from discretisation techniques is seldom provided. For instance, in [12,13,14] the discrete-time model is not provided. In [15,16,17,18,19], Runge–Kutta methods are used, but the explicit model is not provided. In [20], the Taylor method is used to obtain a discrete-time model of a DC motor. However, the model is simplified, and the resulting discrete-time model is not defined. Since discrete-time models are needed for driver and controller development and implementation on microcontrollers, field programmable gate arrays (FPGAs), or dedicated signal processing processors, our contribution is as follows:
(i)
We provide detailed description of discrete-time state–space models arising from the Euler, Taylor, and Runge–Kutta methods for the separately excited, shunt, and series DC motors, as a function of the electromechanical parameters of the motor and the sampling period.
(ii)
We analyse, via a numerical example, the accuracy of each discretisation technique as a function of the sampling period.
(iii)
We analyse, via a numerical example, the effect of each discretisation technique on the accuracy of Kalman-based (i.e., Kalman filter/smoother and extended Kalman filter/smoother) state estimators for real-world stochastic models.

2. Direct Current Motor Model [21,22]

The DC machine consists of a field winding, placed on the stator, which is responsible for generating the excitation flux, and an armature winding that produces a fixed field while the armature winding rotates, due to the introduction of a commutator circuit. Torque is developed through the interaction of both field and armature fluxes.
Depending on the connection and distribution of armature and field windings, DC machines can be categorised into shunt, series, and compound types. Each type exhibits distinct torque-speed characteristics. Initially, each type of machine was employed for specific applications, but this approach has evolved with the advancement in power electronics.
The shunt DC machine, particularly the separately excited type, has become widely used in applications requiring the precise control of both the field and armature currents. By independently controlling these currents, various torque–speed characteristics can be achieved, making the machine versatile for different applications. In contrast, for series and compound DC machines, the armature current also contributes to the excitation flux, along with the field winding. In a series machine, the field and armature currents are the same, thus becoming a very suitable machine for application where high torque ratings are required.
On the other hand, compound DC machines exhibit a combination of both the separately excited and the series machine main characteristics: in a cumulative compound machine, the flux generated by the armature current aligns with the flux from the field winding, providing high torque operation and speed regulation capability. In a differential compound machine, the flux produced by the armature current opposes the flux from the field winding, thus improving the compensation of the voltage drop due to the induced armature voltage (back-emf); for this reason, they have a better performance as DC generators when providing high current ratings. Because of the complexity in their winding design and manufacturing and the development of highly efficient torque and speed control schemes, compound DC machines are rarely used nowadays, compared to shunt, separately excited, and series machines. So this work will focus on these three DC machine configurations. For completeness of the presentation, we next include the continuous-time model of the DC shunt, separately excited, and series machines motors. Moreover, for simplicity of presentation, we consider that the motor load torque is proportional to the angular velocity, given by K L ω , where K L is a proportionality constant.

2.1. Separately Excited Motor

In this type of DC motor, both the field and armature windings are independent circuits, fed from independent DC sources V f and V a , respectively, as shown in Figure 1. In the same equivalent circuit, the armature parameters are given by the armature resistance R a and the armature inductance L a , while i a is the state variable, corresponding to the armature current. For the field circuit, R f and L f are the field resistance and inductance, respectively (field circuit parameters), and i f is the state variable corresponding to the field current. The induced armature voltage (back-emf) is given as E a = L a f i f ω , where L a f is the mutual inductance between the armature and the field coils, and ω is the angular velocity.
In a separately excited (SE) motor, before supplying power to the armature circuit, the field circuit should be providing nominal flux, e.g., the nominal field current has to be sustained. This is to avoid starting the DC motor with no load at field weakening, which can overspend the motor, damaging the armature winding and commutator brushes. Therefore, the field current is considered as constant when operating in the constant torque region which yields the following linear model:
d i a d t = 1 L a V a R a i a L a f i f ω ,
d ω d t = 1 J L a f i a i f K L ω ,
where J is the inertia of the motor. The developed SE motor torque, given by L a f i a i f , appears in the rotor velocity dynamics Equation (2). Notice that we have left the dependency of time implicitly.

2.2. Shunt DC Motor

In the shunt DC motor, the armature and the field circuit are connected in parallel and fed from the same DC source V L , as shown in Figure 2, where i f and i a correspond to the state variables (field and armature currents, respectively), and it is possible to identify the line current (input current) i L = i a + i f . This implies that, unlike in the separately excited motor, the field current is not constant, because it depends on the input voltage V L . Therefore, the nonlinear continuous-time (CT) dynamic equations that characterise the shunt motor are the following:
d i a d t = 1 L a V L R a i a L a f i f ω ,
d i f d t = 1 L f V L R f i f ,
d ω d t = 1 J L a f i a i f K L ω .
Notice that the nonlinear system arises from the product of the field current and the velocity in (3). Additionally, the developed torque in a series DC machine is given by L a f i a i f , which introduces a quadratic nonlinearity in (7) due to the product of the armature and the field currents in (5).
Figure 2. Equivalent circuit of a shunt DC motor.
Figure 2. Equivalent circuit of a shunt DC motor.
Actuators 14 00160 g002

2.3. Series DC Motor

Series DC motors are characterised by the series connection of the field and armature circuits and fed from a single DC source, as shown in Figure 3. This implies that the armature current is equal to the field current, as i L = i a = i f . Thus, the series motor is modelled by the following CT dynamic equations:
d i L d t = 1 L L V L R L i L L a f i L ω ,
d ω d t = 1 J L a f i L 2 K L ω ,
where the series resistance is given by R L = R a + R f , and the series inductance: L L = L a + L f . Notice that this is also a nonlinear system, as it involves the product of the line current and the velocity in (6). Additionally, the developed torque in a series DC machine is given by L a f i L 2 , which introduces a quadratic nonlinearity in (7) due to the squared current term.

3. A Brief Review of the Euler, Second-Order Taylor, and Second-Order Runge–Kutta Discretisation Methods

Modern drive and control systems are based on the utilisation of microcontrollers or dedicated digital signal processing devices, such as microprocessors or field programmable gate arrays; see, e.g., [23,24,25,26,27,28]. This clearly implies that we will only have a set of samples of the currents available. Therefore, it is important to consider the effect of different discretisation methods on the correct representation of the motor.

3.1. Forward Euler Method Applied to DC Motors

The forward Euler method is based on the idea that, based on a regular sampling process with sampling period T s , we can approximate the derivative of a function utilising the difference of the value of two consecutive samples (i.e., computing the slope of the function of interest using two values) [29,30]. That is, for a function f ( t ) and two samples of it obtained at a sampling rate of T s samples per second at time instants k T s and ( k + 1 ) T s , the derivative d d t f ( t ) can be computed as
d d t f ( t ) = f k + 1 f k T s ,
where f k and f k + 1 are the samples of f ( t ) at time instants k T s and ( k + 1 ) T s , respectively.
Remark 1. 
Notice that if T s 0 , we obtain the definition of the derivative of f ( t ) at t = k T s :
d d t f ( t ) = lim T s 0 f ( t + T s ) + f ( t ) T s .

3.1.1. Euler Method for the SE Motor

If we apply the Euler method in (8) to the SE motor equations in (1) and (2), we obtain the folowing discrete-time (DT) model:
i k + 1 ( a ) = a 11 E , SE i k ( a ) + a 12 E , SE ω k + B E , SE V a ,
ω k + 1 = a 21 E , SE i k ( a ) + a 22 E , SE ω k ,
where
a 11 E , SE = 1 T s R a L a ,
a 12 E , SE = T s L a f i f L a ,
a 21 E , SE = T s L a f i f J ,
a 22 E , SE = 1 T s K L J ,
B E , SE = T s L a .
Since the armature voltage and the field current are constant, they do not depend on the time index k in (9), (12), and (13).

3.1.2. Euler Method for the Shunt Motor

The CT equations of the shunt motor in (3)–(5) exhibit a nonlinear behaviour that is preserved in the DT equation. This is because, when applying the Euler method, the products of the variables are maintained, resulting in
i k + 1 ( a ) = a 11 E , Sh i k ( a ) + a 12 E , Sh i k ( f ) ω k + b 1 E , Sh V L ,
i k + 1 ( f ) = a 22 E , Sh i k ( f ) + b 2 E , Sh V L ,
ω k + 1 = a 31 E , Sh i k ( a ) i k ( f ) + a 32 E , Sh ω k ,
where
a 11 E , Sh = 1 T s R a L a ,
a 12 E , Sh = T s L a f L a ,
a 21 E , Sh = 1 T s R f L f ,
a 31 E , Sh = T s L a f J ,
a 32 E , Sh = 1 T s K L J ,
b 1 E , Sh = T s L a ,
b 2 E , Sh = T s L f .

3.1.3. Euler Method for the Series Motor

In this model, the CT nonlinearities are also preserved in the DT model when applying the Euler method, yielding
i k + 1 ( a ) = a 11 E , s i k ( a ) + a 12 E , s i k ( a ) ω k + b E , s V L ,
ω k + 1 = a 21 E , s i k ( a ) 2 + a 22 E , s ω k ,
where
a 11 E , s = 1 T s R L L L ,
a 12 E , s = T s L a f L L ,
a 21 E , s = T s L a f J ,
a 22 E , s = 1 T s K L J ,
b E , s = T s L L .

3.2. Second-Order Taylor Method Applied to DC Motors

It is well known that any infinitely differentiable function f ( t ) can be expressed in terms of its Taylor series expansion about the point t = t 0 as
f ( t ) = n = 0 f ( n ) ( t 0 ) n ! ( t t 0 ) n ,
where f ( n ) ( t 0 ) is the n -th derivative of f ( t ) evaluated at t = t 0 .
If we only consider two terms of the series about the point t = k T s and we evaluate it at t = ( k + 1 ) T s , we obtain the forward Euler method in (8). However, if we now consider three terms (up to the second derivative of f ( t ) ), we obtain the second-order Taylor method as follows:
f k + 1 = f k + T s f ( 1 ) ( k T s ) + T s 2 2 f ( 2 ) ( k T s ) .
Thus, if we want to obtain the DT model of a system described by d d t f ( t ) = g ( t ) , the first derivative is given by the system itself, whilst f ( 2 ) ( t ) is obtained as f ( 2 ) ( t ) = d d t g ( t ) .

3.2.1. Second-Order Taylor Method for the SE Motor

The SE motor model in (1) and (2) corresponds to a second-order CT system, and the order of the system is preserved when applying the second-order Taylor method. The main difference from (9) and (10) are the coefficients of the model:
i k + 1 ( a ) = a 11 T , SE i k ( a ) + a 12 T , SE ω k + b 1 T , SE V a ,
ω k + 1 = a 21 T , SE i k ( a ) + a 22 T , SE ω k + b 2 T , SE V a ,
where
a 11 T , SE = 1 + T s 2 2 R a L a + T s R a 2 L a 2 L a f 2 i f 2 L a J ,
a 12 T , SE = T s 2 2 L a f i f L a + T s R a L a f i f L a 2 + L a f i f K L L a J ,
a 21 T , SE = T s 2 2 L a f i f J T s R a L a f i f L a J + L a f i f K L J 2 ,
a 22 T , SE = 1 + T s 2 2 K L J + T s K L 2 J 2 L a f 2 i f 2 L a J ,
b 1 T , SE = T s L a T s 2 R a 2 L a 2 ,
b 2 T , SE = T s 2 L a f i f 2 L a J .

3.2.2. Second-Order Taylor Method for the Shunt Motor

For this motor, the DT model we obtain from applying (34) to (3)–(5) includes new nonlinearities when compared to (3)–(5), as can be seen in the following equations:
i k + 1 ( a ) = a 11 T , Sh i k ( a ) + a 12 T , Sh i k ( f ) ω k + a 13 T , Sh i k ( a ) i k ( f ) 2 + a 14 T , Sh V L ω k + b 1 T , Sh V L ,
i k + 1 ( f ) = a 22 T , Sh i k ( f ) + b 2 T , Sh V L ,
ω k + 1 = a 31 T , Sh i k ( a ) i k ( f ) + a 32 T , Sh i k ( f ) 2 ω k + a 33 T , Sh ω k + a 34 T , Sh i k ( a ) V L + a 35 T , Sh i k ( f ) V L ,
where
a 11 T , Sh = 1 T s R a L a + T s 2 R a 2 2 L a 2 ,
a 12 T , Sh = T s L a f L a + T s 2 2 R a L a f L a 2 + R f L a f L a L f + L a f K L L a J ,
a 13 T , Sh = T s 2 L a f 2 2 L a J ,
a 14 T , Sh = T s 2 L a f 2 L a L f ,
a 22 T , Sh = 1 T s R f L f + T s 2 R f 2 2 L f 2 ,
a 31 T , Sh = T s L a f J T s 2 2 R a L a f L a J + R f L a f L f J + L a f K L J 2 ,
a 32 T , Sh = T s 2 L a f 2 2 L a J ,
a 33 T , Sh = 1 T s K L J + T s 2 K L 2 2 J 2 ,
a 34 T , Sh = T s 2 L a f 2 L f J ,
a 35 T , Sh = T s 2 L a f 2 L a J ,
b 1 T , Sh = T s L a T s 2 R a 2 L a 2 ,
b 2 T , Sh = T s L f T s 2 R f 2 L f 2 .

3.2.3. Second-Order Taylor Method for the Series Motor

Similar to the shunt motor, applying the second-order Taylor method results in additional nonlinearities for the series motor when compared against the CT model as shown in the following equations:
i k + 1 ( a ) = a 11 T , s i k ( a ) + a 12 T , s i k ( a ) ω k + a 13 T , s i k ( a ) ω k 2 + a 14 T , s i k ( a ) 3 + a 15 T , s ω k V L + b T , s V L ,
ω k + 1 = a 21 T , s i k ( a ) 2 + a 22 T , s ω k + a 23 T , s i k ( a ) 2 ω k + a 24 T , s i k ( a ) V L ,
where
a 11 T , s = 1 T s R L L L + T s 2 R L 2 2 L L 2 ,
a 12 T , s = T s L a f L L + T s 2 2 2 R L L a f L L 2 + L a f K L L L J ,
a 13 T , s = T s 2 L a f 2 2 L L 2 ,
a 14 T , s = T s 2 L a f 2 2 L L J ,
a 15 T , s = T s 2 L a f 2 L L 2 ,
a 21 T , s = T s L a f J T s 2 2 2 R L L a f L L J + L a f K L J 2 ,
a 22 T , s = 1 T s K L J + T s 2 K L 2 2 J 2 ,
a 23 T , s = T s 2 L a f 2 L L J ,
a 24 T , s = T s 2 L a f L L J ,
b T , s = T s L L T s 2 R L 2 L L 2 .

3.3. Second-Order Runge–Kutta Method Applied to DC Motors

The idea behind the second-order Runge–Kutta (RK) method is to approximate the second derivative in (34) using sampling subintervals instead of computing the derivative. This usually produces a similar accuracy to the Taylor method.
For the system defined by d d t f ( t ) = g ( t ) , the RK method can be defined by the following expression:
f k + 1 = f k + T s ϕ ( f k , k T s ) ,
where ϕ ( f k , k T s ) is an increment function that extrapolates f k + 1 from f k . When g ( t ) does not depend explicitly on t, the increment function for the second-order RK method is given by
ϕ ( f k , k T s ) = α 1 γ 1 + α 2 γ 2 ,
where γ 1 = g ( f k ) , γ 2 = g ( f k + T s γ 1 ) , α 1 = 0.5 , and α 2 = 0.5 .

3.3.1. Second-Order Runge–Kutta Method for the SE Motor

When applying the second-order RK method, the DT model of the SE motor preserves the order, just as the second-order Taylor method. Hence, we obtain
i k + 1 ( a ) = a 11 RK , SE i k ( a ) + a 12 RK , SE ω k + b 1 RK , SE V a ,
ω k + 1 = a 21 RK , SE i k ( a ) + a 22 RK , SE ω k + b 2 RK , SE V a ,
where
a 11 RK , SE = 1 + T s 2 2 R a L a + T s R a 2 L a 2 L a f 2 i f 2 L a J ,
a 12 RK , SE = T s 2 2 L a f i f L a + T s R a L a f i f L a 2 + L a f i f K L L a J ,
a 21 RK , SE = T s 2 2 L a f i f J T s R a L a f i f L a J + L a f i f K L J 2 ,
a 22 RK , SE = 1 + T s 2 2 K L J + T s K L 2 J 2 L a f 2 i f 2 L a J ,
b 1 RK , SE = T s L a T s 2 R a 2 L a 2 ,
b 2 RK , SE = T s 2 L a f i f 2 L a J .
Notice that in this case, the second-order RK method and second-order Taylor method yield the same model. That is, the system equations in (72) and (73) and the parameters in (74)–(79) are exactly the same as (35) and (36) and (37)–(42), respectively.

3.3.2. Second-Order Runge–Kutta Method for the Shunt Motor

In this case, the second-order RK method results in the following DT model:
i k + 1 ( a ) = a 11 RK , Sh i k ( a ) + a 12 RK , Sh i k ( f ) ω k + a 13 RK , Sh i k ( a ) i k ( f ) 2 + a 14 RK , Sh i k ( a ) i k ( f ) V L + a 15 RK , Sh V L ω k + b 1 RK , Sh V L ,
i k + 1 ( f ) = a 22 RK , Sh i k ( f ) + b 2 RK , Sh V L ,
ω k + 1 = a 31 RK , Sh i k ( a ) i k ( f ) + a 32 RK , Sh i k ( f ) 2 ω k + a 33 RK , Sh ω k + a 34 RK , Sh i k ( f ) ω k V L + a 35 RK , Sh i k ( a ) V L + a 36 RK , Sh i k ( f ) V L + b 3 RK , Sh V L 2 ,
where
a 11 RK , Sh = 1 + T s 2 T s R a 2 L a 2 2 R a L a ,
a 12 RK , Sh = T s 2 T s L a f R a L a 2 + T s L a f K L L a J + T s L a f R f L a L f T s 2 L a f R f K L L a L f J 2 L a f L a ,
a 13 RK , Sh = T s 2 T s 2 L a f 2 R f L a L f J T s L a f 2 L a J ,
a 14 RK , Sh = T s 3 L a f 2 2 L a L f J ,
a 15 RK , Sh = T s 2 T s 2 L a f K L L a L f J T s L a f L a L f ,
a 22 RK , Sh = 1 + T s 2 T s R f 2 L f 2 2 R f L f ,
a 31 RK , Sh = T s L a f J 1 T s R a 2 L a T s R f 2 L f + T s 2 R a R f 2 L a L f T s K L 2 J ,
a 32 RK , Sh = T s L a f 2 J T s 2 L a f R f L a L f T s L a f L a ,
a 33 RK , Sh = 1 + T s 2 T s K L 2 J 2 2 K L J ,
a 34 RK , Sh = T s 3 L a f 2 2 L a L f J ,
a 35 RK , Sh = T s 2 L a f 2 L f J 1 T s R a L a ,
a 36 RK , Sh = T s 2 L a f 2 L a J 1 T s R f L f ,
b 1 RK , Sh = T s L a 1 T s R a 2 L a ,
b 2 RK , Sh = T s L f 1 T s R f 2 L f ,
b 3 RK , Sh = T s 3 L a f 2 L a L f J .

3.3.3. Second-Order Runge–Kutta Method for the Series Motor

The application of the second-order RK method results in a DT model with nonlinearities involving the second and third powers of the armature current, similar to the model in (58) and (59). In addition, the model also includes the square of the applied voltage:
i k + 1 ( a ) = a 11 RK , s i k ( a ) + a 12 RK , s i k ( a ) ω k + a 13 RK , s i k ( a ) ω k 2 + a 14 RK , s i k ( a ) 3 ω k + a 15 RK , s i k ( a ) 3 + a 16 RK , s i k ( a ) 2 V L + a 17 RK , s ω k V L + b 1 RK , s V L ,
ω k + 1 = a 21 RK , s i k ( a ) 2 + a 22 RK , s ω k + a 23 RK , s i k ( a ) 2 ω k + a 24 RK , s i k ( a ) 2 ω k 2 + a 25 RK , s i k ( a ) V L + a 26 RK , s i k ( a ) ω k V L + b 2 RK , s V L 2 ,
where
a 11 RK , s = 1 T s R L L L + T s 2 R L 2 2 L L 2 ,
a 12 RK , s = T s L a f L L + T s 2 L a f 2 L L 2 R L L L + K L J T s R L K L L L J ,
a 13 RK , s = T s 2 L a f 2 2 L L 2 1 T s K L J ,
a 14 RK , s = T s 3 L a f 3 2 L L 2 J ,
a 15 RK , s = T s 2 L a f 2 2 L L J T s R L L L 1 ,
a 16 RK , s = T s 3 L a f 2 2 L L 2 J ,
a 17 RK , s = T s 2 L a f 2 L L 2 T s K L J 1 ,
a 21 RK , s = T s L a f J 1 + T s 2 T s R L 2 L L 2 2 R L L L K L J ,
a 22 RK , s = 1 T s K L J + T s 2 K L 2 2 J 2 ,
a 23 RK , s = T s 2 L a f 2 L L J T s R L L L 1 ,
a 24 RK , s = T s 3 L a f 3 2 L L 2 J ,
a 25 RK , s = T s 2 L a f L L J 1 T s R L L L ,
a 26 RK , s = T s 3 L a f 2 L L 2 J ,
b 1 RK , s = T s L L 1 T s R L 2 L L ,
b 2 RK , s = T s 3 L a f 2 L L 2 J .

3.4. Performance Comparison

In this section, we show a simulation analysis in order to understand the behaviour of the three discretisation techniques applied to the three types of DC motors. To this end, we considered three specifications with the parameters shown in Table 1. In addition, we considered a sampling period T s = 2 ms for the three discretisation methods considered in the paper. In order to fully understand the behaviour of these methods when applied to the three types of DC motors in this paper, we considered as the CT model (i.e., ground truth) the one obtained using an eighth-order RK method [31].
The parameters for the separately excited and shunt connected motors in Table 1 were obtained from the brochure in [32], whilst the parameters from the series motor were obtained from [33] (Ch. 2).

3.4.1. Separately Excited Motor

For the SE motor, we obtained the CT behaviour shown in Figure 4. Notice that the motor is started from rest.
When applying the three discretisation methods considered in this paper, we obtained similar results in terms of the instantaneous values of the armature current and the rotational speed. However, a closer inspection shows that the Euler method performed slightly worse than the Taylor and RK methods. This is shown in Figure 5, where the difference between the CT signals and the DT signals (at every sample) are shown. For the Euler method, the error in the armature current has an undershoot and an overshoot (notice that when the discrete-time signals are smaller than the continuous-time signals at a given time, the error signals will be positive. Conversely, if the discrete-time signals are larger than the continuous-time signals at a given time, the error signals will be negative), tending to zero after 0.1 s (which is equivalent to 50 samples), whilst the error in the angular velocity exhibits first an overshoot and then an undershoot, tending to zero after 0.12 s (which is equivalent to 60 samples). In contrast, the error in the armature current for both the Taylor and RK methods (recall that in this case the Taylor and RK methods yield the same DT model) exhibits an overshoot that is much smaller than the undershoot we obtain with the Euler method. In addition, the error tends to zero at around t = 0.04 s (which is equivalent to 20 samples). With the Taylor and RK methods, the error in the angular velocity is also much smaller than the error with the Euler method, and it also tends to zero much quicker (at around t = 0.05 s).
To summarise the error for the three methods, we present Table 2, where the mean square error (MSE) with respect to the true CT armature current is computed as
MSE i a = 1 N k = 0 N 1 ( i a ( k T s ) i k a , DT ) 2 ,
where i k a , DT corresponds to the armature current obtained with the Euler, Taylor, and RK methods, and N = 101 samples. Similarly, the MSE with respect to the true CT angular velocity is computed as
MSE ω = 1 N k = 0 N 1 ( ω ( k T s ) ω k DT ) 2 ,
where ω k DT corresponds to the angular velocity obtained with the Euler, Taylor, and RK methods. From Table 2, we observe that the Taylor and RK2 methods yield more accurate models. This behaviour is expected since higher-order discretisation methods are able to better capture the dynamics of the system. However, the improvement from the Euler method is within two to three orders of magnitude, which suggests that it is better to model the SE motor using second-order discretisation methods.

3.4.2. Shunt Motor

The CT armature current, field current, and angular velocity for the shunt motor are shown in Figure 6, starting the motor from rest. The three discretisation methods yield similar DT signals, in spite of resulting in different DT models. However, the Euler method yields less accurate signals. This can be seen in Figure 7, where the Taylor and RK methods result in almost identical armature and field currents, whilst the error in the angular velocity is about the same order of magnitude. In Table 3, we summarise the MSE for the three discretisation techniques with N = 251 samples (from t = 0 to t = 500 ms). The MSE for the armature current and the angular velocity are computed using (115) and (116), respectively. The MSE for the field current is computed using
MSE i f = 1 N k = 0 N 1 ( i f ( k T s ) i k f , DT ) 2 ,
where i k f , DT corresponds to the armature current obtained with the Euler, Taylor and RK methods.
Again, the performance of the Euler method is worse than both the Taylor and RK methods. In this nonlinear system, we observe a similar behaviour in terms of the MSE and the orders of magnitude between the MSE performance of the Euler method and the Taylor and RK methods for the field current. In addition, the Euler method yields an MSE two orders of magnitude larger than the MSE obtained with the Taylor and RK for the armature current and the angular velocity. Notice that in spite of the nonlinearities, the Euler method does not perform worse than it does for the SE motor.

3.4.3. Series Motor

The CT signals (i.e., armature current and angular velocity) for the series motor are shown in Figure 8. Notice that the armature current reaches a peak after a few miliseconds and a steady-state behaviour after around 0.3 s. On the other hand, the discretisation of the series motor yields the same behaviour observed for the shunt and the SE motor: the Euler method results in a worse performance than the Taylor and RK methods. This can be seen in Figure 9, where the armature current error and the angular velocity error obtained with the Euler method are much larger than the ones obtained with the Taylor and RK methods. This can also be seen in Table 4, where the MSE of the armature current and the angular velocity were computed using (115) and (116), respectively.
For the series motor, the performance of the three discretisation methods is similar to the ones obtained for the other two DC motors studied in this paper. This strongly suggests that, for deterministic modelling, it is better to utilise higher-order discretisation techniques than the Euler method.

3.5. Discrete-Time Model Accuracy as a Function of the Sampling Period

It is well known that for continuous-time linear systems, accurate discrete-time representations can be obtained if the inverse of the sampling period (i.e., the sampling frequency) is at least twice the maximum frequency of interest of the system (which is usually greater than the frequency of the faster pole). For nonlinear systems, the sampling period can have an important effect on the corresponding discrete-time system.
In order to understand the effect of the sampling period on the accuracy of the discrete-time models of each DC motor, we considered several values ranging from T s = 0.1 ms to T s = 3.5 ms for the three discretisation methods and the three DC motors considered in this paper. To illustrate the accuracy of each method, we considered the MSE for the armature current, angular velocity, and the field current for the shunt motor. The results of varying the sampling period are summarised in Figure 10, Figure 11 and Figure 12, where we present the MSE of the SE, shunt, and series DC motors, respectively, for different sampling periods.
Across all DC motors, the discrete models arising from the Taylor and RK methods perform similarly, since both are second-order approximations. For the shunt DC motor, the RK performs slightly better than the Taylor in terms of the angular velocity MSE when the sampling time exceeds 2.5 ms, as shown in Figure 11. Conversely, for the series DC motor, the Taylor performs slightly better than the RK under the same condition, as shown in Figure 12. For sampling times smaller than 2.5 ms, the Taylor and RK perform similarly for the three DC motors.
Regarding Euler discretisation, as the sampling time increases, the armature current MSE in the SE DC motor grows about three and six times compared to the shunt and series DC motors, respectively. Conversely, in the series DC motor, the angular velocity MSE increases about three and fifty times compared to the SE and shunt DC motors, respectively.
On the other hand, the difference between the second-order approximations and the Euler method is notable. As the sampling time increases, the Euler MSE grows dramatically, resulting in an MSE of more than two orders of magnitude greater than the the MSE with the Taylor or RK methods.
With respect to the selection of the sampling period and discretisation method, our simulations suggest that there is a great variability in the errors. Therefore, the sampling period and discretisation method should be chosen depending on the overall system tolerance to those errors. In particular, applications that require high precision (such as remote surgery), the Taylor or Runge–Kutta methods with a small sampling period would be adequate. In contrast, applications that do not require high precision (such as electro-mobility or propulsion systems) could cope with the intrinsic errors from the Euler method.

4. Bayesian Filtering

4.1. Stochastic Dynamic Model of a Motor

In control systems and signal processing, stochastic models are usually utilised to provide a model that incorporates discrepancies between the observed signals and the deterministic model; see, e.g., [34,35] for detailed modelling and analysis of stochastic dynamic systems. These discrepancies may arise from the discretisation method that has been utilised, perturbations (such as vibrations), changes in the model (such as an increase in the value of a resistance or a physical change of a component due to an increase in temperature), to name a few. These perturbations are typically incorporated in the model as additive independent random variables, which result in stochastic state variables, and an output equation with additive random noise that accounts for the fact that the measurement equipment is comprised of electronic (i.e., solid-state) devices that are subject to electronic thermal noise; see, e.g., [36]. Moreover, in sensorless systems, there is no direct measurement of the angular velocity. Thus, a general sensorless stochastic state–space model for a DC motor is as follows:
i k + 1 ( a ) i k + 1 ( f ) ω k + 1 = f i k ( a ) i k ( f ) ω k , V a V L + e k ( a ) e k ( f ) e k ( ω ) ,
y k ( a ) y k ( f ) = C i k ( a ) i k ( f ) ω k + η k ( a ) η k ( f ) ,
where f ( · ) is the function obtained using a discretisation method, e k = e k ( a ) , e k ( f ) , e k ( ω ) T N ( 0 , Σ e ) , where Σ e is a diagonal matrix, y k ( a ) is the measurement of the armature current, y k ( f ) the measurement of the field current, C = 1 0 0 0 1 0 , and η k = η k ( a ) , η k ( f ) T N ( 0 , Σ η ) , where Σ η is a diagonal matrix.

4.2. Kalman Filter

The stochastic model for the SE motor is linear for the three discretisation techniques utilised in this paper.
The stochastic model for the SE motor using Euler method is as follows:
i k + 1 ( a ) =   a 11 E , SE i k ( a ) + a 12 E , SE ω k + B E , SE V a + e k ( a ) ,
ω k + 1 =   a 21 E , SE i k ( a ) + a 22 E , SE ω k + e k ( ω ) ,
y k =   i k ( a ) + η k ( a ) ,
where e k ( a ) N ( 0 , Q a SE ) , e k ( ω ) N ( 0 , Q ω SE ) , η k ( a ) N ( 0 , Y a SE ) , and the remaining parameters are defined in (11)–(15).
The stochastic model for the SE motor using Taylor method is as follows:
i k + 1 ( a ) =   a 11 T , SE i k ( a ) + a 12 T , SE ω k + b 1 T , SE V a + e k ( a ) ,
ω k + 1 =   a 21 T , SE i k ( a ) + a 22 T , SE ω k + b 2 T , SE V a + e k ( ω ) ,
y k ( a ) =   i k ( a ) + η k ( a ) ,
where e k ( a ) N ( 0 , Q a T ) , e k ( ω ) N ( 0 , Q ω T ) , η k ( a ) N ( 0 , Y a T ) , and the remaining parameters are defined in (37)–(42).
The stochastic model for the SE motor using RK method is as follows:
i k + 1 ( a ) =   a 11 RK , SE i k ( a ) + a 12 RK , SE ω k + b 1 RK , SE V a + e k ( a ) ,
ω k + 1 =   a 21 RK , SE i k ( a ) + a 22 RK , SE ω k + b 2 RK , SE V a + e k ( ω ) ,
y k ( a ) =   i k ( a ) + η k ( a ) ,
where e k ( a ) N ( 0 , Q a RK ) , e k ( ω ) N ( 0 , Q ω RK ) , η k ( a ) N ( 0 , Y a RK ) , and the remaining parameters are defined in (74)–(79).
In all three models for the SE motor, the angular velocity is not measured, and the armature current is measured with additive white Gaussian noise. Hence, since the models are linear, the estimation of the state variables can be carried out using the Kalman filter (KF) [37]. This is due to the fact that the KF is the optimal (minimum variance) linear state estimator [38].
The KF can be obtained from the theory of Bayesian filtering, using the fact that the state–space model of the DC motor is defined as a first-order Markov model; see, e.g., [35,37,38].
In Bayesian filtering, the goal is to obtain the marginal posterior probability density function (pdf) of the states given the measurements. This is typically achieved via filtering and smoothing algorithms that operate recursively; see, e.g., [39]. The recursivity is based on the first-order Markovian property of state–space models and the Chapman–Kolmogorov equation [38,39]. The Markovian property establishes that for a system, with known input v k , described as
x k + 1 =   f ( x k , v k ) + e k ,
y k =   h ( x k ) + η k ,
the conditional pdf of the state at time k, given the states up to time k 1 , satisfies p ( x k | x k 1 , x k 2 , , x 1 , ) = p ( x k | x k 1 ) . This expression results in the following Chapman–Kolmogorov equation (for mode details, see, e.g., [39]):
p ( x k | y 1 : k 1 ) = p ( x k | x k 1 ) p ( x k 1 | y 1 : k 1 ) d x k 1 ,
where y 1 : k 1 = { y 1 , y 2 , . . . , y k 1 } . On the other hand, the output equation defines the pdf of the measurement at time k, given the state at time k, p ( y k | x k ) , which in turn defines the measurement-update equation
p ( x k | y 1 : k ) = p ( y k | x k ) p ( x k | y 1 : k 1 ) p ( y k | y 1 : k 1 ) .
Notice that both the Chapman–Kolmogorov equation and the measurement-update equation can be obtained recursively from the pdf of the initial condition of the state, x 0 .
Finally, the posterior pdf of the state at time k, given all the measurements (up to time k = N ), is computed using the Bayesian smoothing equation [39]:
p ( x k | y 1 : N ) = p ( x k | y 1 : k ) p ( x k + 1 | y 1 : N ) p ( x k + 1 | x k ) p ( x k + 1 | y 1 : k ) d x k + 1 .
In the case when the system is linear, and the process noise and measurement noise are Gaussian, the Chapman–Kolmogorov equation and the measurement-update equation result in the KF, which yields a Gaussian pdf of the state at time k, given the measurements up to time k. For time-invariant systems, the KF is summarised in Table 5 and the Kalman smoother (KS) in Table 6. In Table 5, the subscript k | k 1 refers to the estimation at time k given the measurements up to time k 1 . Similarly, the subscript k | k refers to the estimation at time k, given the measurements up to time k. The estimation of the state (which effectively corresponds to the estimation of the mean of the posterior distribution) is represented by x ^ . Therefore, x k | y k N ( x ^ k | k , P k | k ) . In Table 6, the subscript k | N refers to the estimation at time k, given all the measurements (up to time N). Therefore, x k | y N N ( x ^ k | N , P k | N ) . Notice that the Kalman smoothers in Table 6 are recursive backward equations that correspond to the Rauch–Tung–Striebel (RTS) smoother [39].
In order to understand each stochastic model and their respective filtering/smoothing for the SE motor, we considered the following simulation setup:
  • The true stochastic system was modelled utilising the eighth-order RK discretisation method, with additive Gaussian process noise with variance equal to 0.2 for the armature current and 0.06 for the angular velocity.
  • The process noise variances for the armature currents were Q a E = 6.667 × 10 3 , Q a T = 0.367 × 10 3 , and Q a R K = 0.367 × 10 3 .
  • The process noise variances for the angular velocities were Q ω E = 2 × 10 3 , Q ω T = 0.1 , and Q ω R K = 0.11 .
  • The measurement noise variance was Y a E = Y a T = Y a R K = 0.4 .
  • The motor was started from rest.
  • The number of Monte Carlo simulations is M = 1000 .
The results of all the Monte Carlo simulations are summarised in Table 7, where the MSE is computed as
MSE i a = 1 N M m = 1 M k = 1 N ( i k ( a , m ) , True i ^ k | N ( a , m ) ) 2 ,
MSE ω = 1 N M m = 1 M k = 1 N ( ω k ( m ) , True ω ^ k | N ( m ) ) 2 .
( · ) ( m ) , True represents the true value of the state for the mth Monte Carlo simulation, and i ^ k | N ( a , m ) and ω ^ k | N ( m ) are the estimates of the armature current and the angular velocity, respectively, obtained from the Kalman smoother for the mth Monte Carlo simulation and each discretisation method.
The performance of the KS for the stochastic models follows a similar trend as the deterministic models. However, the difference in the MSE is of just one order of magnitude for the armature current, and the MSEs for the angular velocity are very similar.

4.3. Extended Kalman Filter

In nonlinear systems, the posterior pdfs p ( x k | y 1 : k 1 ) , p ( x k | y 1 : k ) , and p ( x k | y 1 : N ) are usually difficult to obtain in closed-form expressions. Their computation is usually subject to approximations that make them computationally tractable; see, e.g., [37,39]. One of the most popular approximations is based on the linearisation of the nonlinear system around the current estimates and the Gaussian approximation of the posterior pdfs. The result is the extended Kalman filter (EKF) and the extended Kalman smoother (EKS).
In the EKF, we approximate the nonlinear state in (129) by its first order Taylor series at time k around x ^ k | k . The output equation in (130) is approximated by its first order Taylor series at time k around x ^ k | k 1 . These two approximations yield the following time-variant model:
x k + 1 = F k x k + ( f ( x ^ k | k ) F k x ^ k | k ) + e k ,
y k = H k x k + ( h ( x ^ k | k 1 ) H k x ^ k | k 1 ) + η k ,
where F k = f ( x k ) x k x k = x ^ k | k , v k , and H k = h ( x k ) x k x k = x ^ k | k 1 . The recursive equations that define the KF as a solution to the Chapman–Kolmogorov equation in (131) and the measurement update equation in (132) are shown in Table 8, whilst the recursive equations that define the EKS as solution to the smoothing equation in (133) are shown in Table 9.
Remark 2. 
Notice that, in our problem of interest, the armature current (for the SE motor and the series motor) is directly measured, which results in g ( i k ( a ) , ω k ) = i k ( a ) . Therefore, G k = 1 . Similarly, for the shunt motor, we have that g ( i k ( a ) , i k ( f ) , ω k ) = 1 0 0 0 1 0 i k ( a ) i k ( f ) ω k . Therefore, G k = 1 0 0 0 1 0 .

4.3.1. EKF/EKS Applied to the Shunt Motor

The filtering and smoothing equations in Table 8 and Table 9, respectively, were applied to the shunt motor with the following simulation parameters:
  • The true stochastic system was modelled utilising the eighth-order RK discretisation method, with additive Gaussian process noise with variance equal to 0.3 for the armature current, 10 4 for the field current, and 0.02 for the angular velocity.
  • The process noise variances for the armature currents were Q a E = 0.06 , Q a T = 0.175 , and Q a R K = 0.13 .
  • The process noise variances for the field currents were Q f E = 2 × 10 6 , Q f T = 5.833 × 10 6 , and Q f R K = 4.33 × 10 6 .
  • The process noise variances for the angular velocities were Q ω E = 4 × 10 4 , Q ω T = 11.667 × 10 3 , and Q ω R K = 8.667 × 10 3 .
  • The measurement noise variances were Y a E = Y a T = Y a R K = 0.1 , and Y ω E = Y ω T = Y ω R K = 5 × 10 5 .
  • The motor was started from rest.
  • The number of Monte Carlo simulations was M = 1000 .
The results of all the Monte Carlo simulations are summarised in Table 10, where the MSE of the estimation of the field current is computed as
MSE i f = 1 N M m = 1 M k = 1 N ( i k ( f , m ) , True i ^ k | N ( f , m ) ) 2 .
( · ) ( f ) , True represents the true value of the state for the mth Monte Carlo simulation, and i ^ k | N ( f , m ) are the estimates of the field current obtained from the Kalman smoother for the mth Monte Carlo simulation and each discretisation method.
The performance of the EKS is similar for the three nonlinear models. However, the Euler method results in the worst performance (albeit very similar to the performance obtained using the other two discretisation methods). Again, the Taylor and RK methods exhibit an almost identical performance.

4.3.2. EKF/EKS Applied to the Series Motor

For the series motor, we considered the following simulation setup:
  • The true stochastic system was modelled utilising the eighth order RK discretisation method, with additive Gaussian process noise, with a variance equal to 0.4 for the armature current and 0.1 for the angular velocity.
  • The process noise variances for the armature currents were Q a E = 0.14 , Q a T = 6.667 × 10 3 , and Q a R K = 0.02 .
  • The process noise variances for the angular velocities were Q ω E = 0.35 , Q ω T = 1.667 × 10 3 , and Q ω R K = 5 × 10 3 .
  • The measurement noise variance was Y a E = Y a T = Y a R K = 0.1 .
  • The motor was started from rest.
  • The number of Monte Carlo simulations was M = 1000 .
The results of all the Monte Carlo simulations are summarised in Table 11.
Simlar to the shunt motor, the performance of the EKS with the Euler discretisation method was very similar to the performance of the EKS with the Taylor and RK methods. In fact, the MSE with the Euler method was almost twice the MSE with the other methods.

5. Conclusions

In this paper, we have provided detailed expressions for modelling DC motors in discrete-time based on the Euler method, second-order Taylor method, and second-order Runge-Kutta method. Modelling DC motors in discrete-time requires the utilisation of adequate discretisation techniques. Despite its popularity and ubiquity, the Euler method resulted in the worst performance compared to the second-order Taylor and RK methods. This is due to the fact that second-order methods are able to better capture the dynamics of the system.
However, the difference in performance (in terms of the MSE) was not large for the stochastic models of the DC motor. In particular, the MSE of the armature current in the stochastic shunt motor was within an order of magnitude (in the order of 10 3 ) for the Euler, Taylor, and RK methods, whilst it was also within an order of magnitude (in the order of 10 6 ) for the field current and (in the order of 10 1 ) for the angular velocity. The MSE of the armature current in the stochastic series motor with the Euler method was roughly twice the MSE obtained with both the Taylor and RK methods. The MSE of the angular velocity in the stochastic series motor was also within an order of magnitude for the three discretisation methods. This implies that the selection of a particular discretisation technique (and therefore stochastic model) greatly depends on the type of application. In contrast, for deterministic systems, the Taylor and RK discretisation methods will provide better performance.

Author Contributions

Conceptualisation, R.C. and C.R.; methodology, R.C. and C.R.; software, E.A. and R.H.H.; validation, R.C., C.R., R.H.H. and D.K.; formal analysis, R.C, C.R. and D.K; investigation, E.A. and R.H.H.; resources, R.C.; data curation, E.A. and R.H.H.; writing—original draft preparation, R.C., C.R., R.H.H. and D.K.; writing—review and editing, R.C., C.R., R.H.H. and D.K.; visualisation, R.C., C.R., R.H.H. and D.K.; supervision, R.C., C.R. and D.K.; project administration, R.C.; funding acquisition, R.C. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Pontificia Universidad Católica de Valparaíso—VINCI grant number 039.471/2024 and supported by the Chilean National Agency for Research and Development (ANID) through grant ANID-Fondecyt 1211676.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
ACAlternate current
DCDirect current
CTContinous-time
DTDiscrete-time
SESeparately excited
RKRunge–Kutta
MSEMean square error
pdfProbability density function
KFKalman filter
KSKalman smoother
EKFExtended Kalman filter
EKSExtended Kalman smoother

References

  1. Reusser, C.A.; Young, H.A.; Perez Osses, J.R.; Perez, M.A.; Simmonds, O.J. Power Electronics and Drives: Applications to Modern Ship Propulsion Systems. IEEE Ind. Electron. Mag. 2020, 14, 106–122. [Google Scholar]
  2. Amet, L.; Ghanes, M.; Barbot, J.P.; Santomenna, G. Step-by-step super-twisting observer for DC series motor in the presence of magnetic saturation. In Recent Trends in Sliding Mode Control; The Institution of Engineering and Technology: London, UK, 2016; Chapter 4.4; pp. 341–360. [Google Scholar]
  3. Rigatos, G.G. Particle and Kalman filtering for state estimation and control of DC motors. ISA Trans. 2009, 48, 62–72. [Google Scholar] [PubMed]
  4. Barkas, D.A.; Ioannidis, G.C.; Psomopoulos, C.S.; Kaminaris, S.D.; Vokas, G.A. Brushed DC Motor Drives for Industrial and Automobile Applications with Emphasis on Control Techniques: A Comprehensive Review. Electronics 2020, 9, 887. [Google Scholar] [CrossRef]
  5. Yu, H. Application of in DC Motor Control Method in Intelligent Vehicles and Robots. In Proceedings of the 2022 IEEE 5th International Conference on Automation, Electronics and Electrical Engineering (AUTEEE), Shenyang, China, 18–20 November 2022; pp. 1018–1021. [Google Scholar]
  6. Cai, W.; Wu, X.; Zhou, M.; Liang, Y.; Wang, Y. Review and development of electric motor systems and electric powertrains for new energy vehicles. Automot. Innov. 2021, 4, 3–22. [Google Scholar] [CrossRef]
  7. Vanchinathan, K.; Valluvan, K.R.; Valluvan, C.G.; Gokul, C. Numerical Simulation and Experimental Verification of Fractional-Order PIλ Controller for Solar PV Fed Sensorless Brushless DC Motor using Whale Optimization Algorithm. Electr. Power Components Syst. 2022, 50, 64–80. [Google Scholar] [CrossRef]
  8. Mariscotti, A.; Sandrolini, L. Review of models and measurement methods for compliance of electromagnetic emissions of electric machines and drives. Acta IMEKO 2021, 10, 162–173. [Google Scholar] [CrossRef]
  9. Mariscotti, A. Measurement Procedures and Uncertainty Evaluation for Electromagnetic Radiated Emissions From Large-Power Electrical Machinery. IEEE Trans. Instrum. Meas. 2007, 56, 2452–2463. [Google Scholar] [CrossRef]
  10. Ferrari, P.; Mariscotti, A.; Motta, A.; Pozzobon, P. Electromagnetic emissions from electrical rotating machinery. IEEE Trans. Energy Convers. 2001, 16, 68–73. [Google Scholar] [CrossRef]
  11. Wisniewski, M.; Kubichek, R.; Pierre, J. EMI emissions up to 1 GHz from adjustable speed drives. In Proceedings of the IECON’01. 27th Annual Conference of the IEEE Industrial Electronics Society (Cat. No.37243), Denver, CO, USA, 29 November–2 December 2001; Volume 1, pp. 113–118. [Google Scholar] [CrossRef]
  12. Vanegas, D.P.; Alvarez-Valle, R.S.; Tamayo, M.F.V. Non-linear State Estimation of a DC Series Motor: A Review and a Novel Tuning Method. In Proceedings of the 2019 IEEE 4th Colombian Conference on Automatic Control (CCAC), Medellin, Colombia, 15–18 October 2019; pp. 1–6. [Google Scholar] [CrossRef]
  13. Amet, L.J.; Ghanes, M.; Barbot, J.P. Super Twisting based step-by-step observer for a DC series motor. In Proceedings of the 11th IFAC Workshop on Adaptation and Learning in Control and Signal Processing, Caen, France, 3–5 July 2013; Volume 46, pp. 21–26. [Google Scholar]
  14. Wan, Y.; Li, Z.; Xia, Y.; Gong, F.; Chen, F. Dynamic Characteristic Analysis of Permanent Magnet Brushless DC Motor System with Rolling Rotor. Appl. Sci. 2022, 12, 10049. [Google Scholar] [CrossRef]
  15. Jesenik, M.; Hamler, A.; Trbušić, M.; Trlep, M. The Use of Evolutionary Methods for the Determination of a DC Motor and Drive Parameters Based on the Current and Angular Speed Response. Mathematics 2020, 8, 1269. [Google Scholar] [CrossRef]
  16. Jesenik, M.; Ravber, M.; Trbušić, M. Innovative Approach for the Determination of a DC Motor’s and Drive’s Parameters Using Evolutionary Methods and Different Measured Current and Angular Speed Responses. Mathematics 2024, 12, 42. [Google Scholar] [CrossRef]
  17. Chaoying, C.; Di Barba, P.; Savini, A. An innovative digital method for the dynamic simulation of DC electromechanical systems. Adv. Eng. Softw. 1999, 30, 21–30. [Google Scholar] [CrossRef]
  18. Swamy, C.P.; Singh, B.; Singh, B.P. Investigations on dynamic behavior of permanent magnet brushless DC motor drive. Electr. Mach. Power Syst. 1995, 23, 689–701. [Google Scholar] [CrossRef]
  19. Delgado-Quintero, J.; Escarela-Perez, R.; Campero-Littlewood, E.; Olivares-Galvan, J. Modeling and Simulation of Brushless DC Motor Considering Magnetic Saturation. In Proceedings of the 2022 IEEE International Autumn Meeting on Power, Electronics and Computing (ROPEC), Ixtapa, Mexico, 9–11 November 2022; Volume 6, pp. 1–6. [Google Scholar] [CrossRef]
  20. Arof, S.; Sukiman, E.D.; Diyanah, N.H.N.; Noor, N.M.; Noorsal, E.; Mawby, P.; Arof, H. Discrete-Time Linear System of New Series Motor Four-Quadrant Drive Direct Current Chopper Numerically Represented by Taylor Series. In Progress in Engineering Technology II; Abu Bakar, M.H., Azwa Zamri, F., Öchsner, A., Eds.; Springer International Publishing: Cham, Switzerland, 2020; pp. 101–112. [Google Scholar] [CrossRef]
  21. Seung-Ki, S. Control of Electric Machine Drive Systems, 1st ed.; Wiley: Hoboken, NJ, USA, 2011. [Google Scholar]
  22. Krause, P.; Wasynczuk, O.; Sudhoff, S.; Pekarek, S. Analysis of Electric Machinery and Drive Systems, 3rd ed.; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 2013. [Google Scholar]
  23. Shao, J. An Improved Microcontroller-Based Sensorless Brushless DC (BLDC) Motor Drive for Automotive Applications. IEEE Trans. Ind. Appl. 2006, 42, 1216–1221. [Google Scholar]
  24. Gunasekaran, M.; Potluri, R. Low-Cost Undergraduate Control Systems Experiments Using Microcontroller-Based Control of a DC Motor. IEEE Trans. Educ. 2012, 55, 508–516. [Google Scholar]
  25. Hong, S.C.; Park, M.H. Microprocessor-Based High-Efficiency Drive of a DC Motor. IEEE Trans. Ind. Electron. 1987, IE-34, 433–440. [Google Scholar] [CrossRef]
  26. Lopez-Gomez, J.; Vargas-Treviño, M.A.D.; Vergara-Limon, S.; Vargas-Treviño, M.; Gutierrez-Gutierrez, J.; Palomino-Merino, A.D.; Martínez-Solis, F.; Felix-Beltran, O.G. Influence of PWM Torque Control Frequency in DC Motors by Means of an Optimum Design Method. IEEE Access 2020, 8, 80691–80706. [Google Scholar]
  27. Guerrero-Ramirez, E.; Martinez-Barbosa, A.; Contreras-Ordaz, M.A.; Guerrero-Ramirez, G.; Guzman-Ramirez, E.; Barahona-Avalos, J.L.; Adam-Medina, M. DC Motor Drive Powered by Solar Photovoltaic Energy: An FPGA-Based Active Disturbance Rejection Control Approach. Energies 2022, 15, 6595. [Google Scholar] [CrossRef]
  28. Hsu, C.F.; Lee, B.K. FPGA-based adaptive PID control of a DC motor driver via sliding-mode approach. Expert Syst. Appl. 2011, 38, 11866–11872. [Google Scholar] [CrossRef]
  29. Chapra, S.C. Applied Numerical Methods with MATLAB for Engineers and Scientists, 4th ed.; McGraw-Hill Education: New York, NY, USA, 2018. [Google Scholar]
  30. Kharab, A.; Guenther, R. An Introduction to Numerical Methods: A MATLAB Approach, 4th ed.; CRC Press: Boca Raton, FL, USA, 2018. [Google Scholar]
  31. Butcher, J. Numerical Methods for Ordinary Differential Equations; Wiley: Hoboken, NJ, USA, 2016. [Google Scholar]
  32. Lenze. DC Motors Catallogue. Available online: https://www.tecnicaindustriale.it/lenze_catalogues/CAT_DC_motors_en.pdf (accessed on 5 March 2025).
  33. Krishnan, R. Electric Motor Drives: Modeling, Analysis, and Control; Pearson: London, UK, 2001. [Google Scholar]
  34. Söderström, T. Discrete-Time Stochastic Systems: Estimation and Control, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2002. [Google Scholar]
  35. Caines, P.E. Linear Stochastic Systems; John Wiley & Sons, Inc.: New York, NY, USA, 1988. [Google Scholar]
  36. Dörfel, G. The early history of thermal noise: The long way to paradigm change. Ann. Phys. 2012, 524, 117–121. [Google Scholar] [CrossRef]
  37. Anderson, B.D.O.; Moore, J.R. Optimal Filtering; Prentice-Hall Inc: New Jersey, NJ, USA, 1979. [Google Scholar]
  38. Jazwinski, A. Stochastic Processes and Filtering Theory; Academic Press: New York, NY, USA, 1970. [Google Scholar]
  39. Särkkä, S. Bayesian Filtering and Smoothing; Cambridge University Press: Cambridge, UK, 2013. [Google Scholar]
Figure 1. Equivalent circuits of a separately excited DC motor.
Figure 1. Equivalent circuits of a separately excited DC motor.
Actuators 14 00160 g001
Figure 3. Equivalent circuit of a series DC motor.
Figure 3. Equivalent circuit of a series DC motor.
Actuators 14 00160 g003
Figure 4. Continuous-time behaviour of the separately excited DC motor. (a) Armature current. (b) Angular velocity.
Figure 4. Continuous-time behaviour of the separately excited DC motor. (a) Armature current. (b) Angular velocity.
Actuators 14 00160 g004
Figure 5. Error signals for the SE DC motor. (a) Armature current error for the three discretisation methods. (b) Angular velocity error for the three discretisation methods.
Figure 5. Error signals for the SE DC motor. (a) Armature current error for the three discretisation methods. (b) Angular velocity error for the three discretisation methods.
Actuators 14 00160 g005
Figure 6. Continuous-time behaviour of the shunt DC motor. (a) Armature current. (b) Field current. (c) Angular velocity.
Figure 6. Continuous-time behaviour of the shunt DC motor. (a) Armature current. (b) Field current. (c) Angular velocity.
Actuators 14 00160 g006
Figure 7. Error signals for the shunt DC motor. (a) Armature current error for the three discretisation methods. (b) Field current error for the three discretisation methods. (c) Angular velocity error for the three discretisation methods.
Figure 7. Error signals for the shunt DC motor. (a) Armature current error for the three discretisation methods. (b) Field current error for the three discretisation methods. (c) Angular velocity error for the three discretisation methods.
Actuators 14 00160 g007
Figure 8. Continuous-time behaviour of the shunt DC motor. (a) Armature current. (b) Angular velocity.
Figure 8. Continuous-time behaviour of the shunt DC motor. (a) Armature current. (b) Angular velocity.
Actuators 14 00160 g008
Figure 9. Error signals for the series DC motor. (a) Armature current error for the three discretisation methods. (b) Angular velocity error for the three discretisation methods.
Figure 9. Error signals for the series DC motor. (a) Armature current error for the three discretisation methods. (b) Angular velocity error for the three discretisation methods.
Actuators 14 00160 g009
Figure 10. Separately excited DC motor MSE variation as function of sampling time. (a) Armature current MSE. (b) Angular velocity MSE.
Figure 10. Separately excited DC motor MSE variation as function of sampling time. (a) Armature current MSE. (b) Angular velocity MSE.
Actuators 14 00160 g010
Figure 11. Shunt DC motor MSE variation as function of sampling time. (a) Armature current MSE. (b) Field current MSE. (c) Angular velocity MSE.
Figure 11. Shunt DC motor MSE variation as function of sampling time. (a) Armature current MSE. (b) Field current MSE. (c) Angular velocity MSE.
Actuators 14 00160 g011
Figure 12. Series DC motor MSE variation as function of sampling time. (a) Armature current MSE. (b) Angular velocity MSE.
Figure 12. Series DC motor MSE variation as function of sampling time. (a) Armature current MSE. (b) Angular velocity MSE.
Actuators 14 00160 g012
Table 1. Simulation parameters for the three types of DC motors considered in the analysis.
Table 1. Simulation parameters for the three types of DC motors considered in the analysis.
Separately ExcitedShuntSeries
Armature voltage ( V a )170 V
Field voltage ( V f )210 V
Line voltage ( V L )170 V230 V
Nominal armature current 12.4 A17 A 12.5 A
Nominal field current 1.1 A 0.9 A 12.5 A
Nominal velocity1000 rpm1100 rpm2000 rpm
Nominal electric torque 15.5 N m 17.8 N m 10.7 N m
Armature inductance ( L a ) 17.8 mH 17.8 mH 0.12 mH
Field inductance ( L f )1 µH10 H30 mH
Mutual inductance ( L a f ) 1.136 H 1.1634 H 68.5 mH
Armature resistance ( R a ) 3.1533   Ω 2.9051   Ω 3.3576   Ω
Field resistance ( R f ) 190.909   Ω 188.889   Ω 0.7   Ω
Inertia (J) 0.0142 kg m2 0.0142 kg m2 0.015 kg m2
( K L ) 0.148 N m s 0.1545 N m s 0.0511 N m s
Table 2. Mean square error for the three discretisation methods applied to the separately excited motor.
Table 2. Mean square error for the three discretisation methods applied to the separately excited motor.
EulerTaylorRunge–Kutta
Armature current MSE1.7583 0.0249 0.0249
Angular velocity MSE1.6776 8.269 × 10 3 8.269 × 10 3
Table 3. Mean square error for the three discretisation methods applied to the shunt motor.
Table 3. Mean square error for the three discretisation methods applied to the shunt motor.
EulerTaylorRunge–Kutta
Armature current MSE 0.643 8.9525 × 10 3 9.1522 × 10 3
Field current MSE 12.9414 × 10 6 2.1223 × 10 6 2.1223 × 10 6
Angular velocity MSE 0.1574 1.3874 × 10 3 0.3689 × 10 3
Table 4. Mean square error for the three discretisation methods applied to the series motor.
Table 4. Mean square error for the three discretisation methods applied to the series motor.
EulerTaylorRunge–Kutta
Armature current MSE 0.6574 1.2613 × 10 3 13.8958 × 10 3
Angular velocity MSE 4.7641 15.4825 × 10 3 25.2639 × 10 3
Table 5. Kalman filter for linear systems with Gaussian process and measurement noise.
Table 5. Kalman filter for linear systems with Gaussian process and measurement noise.
System model
x k + 1 = Ax k + Bv k + e k , y k = Cx k + η k , e k N ( 0 , Q ) , η k N ( 0 , Y ) .
Time update
x ^ k | k 1 = A x ^ k 1 | k 1 + Bv k P k | k 1 = AP k 1 | k 1 A T + Q ,
Measurement update
ε k = y k Cx k 1 | k 1 , S k = CP k | k 1 C T + Y , K k = P k | k 1 C T S k 1 , x ^ k | k = x ^ k | k 1 + K k ε k , P k | k = P k | k 1 K k S k K k T .
Table 6. Kalman smoother for linear systems with Gaussian process and measurement noise.
Table 6. Kalman smoother for linear systems with Gaussian process and measurement noise.
RTS smoother
G k = P k | k A T P k + 1 | k 1 , x ^ k | N = x ^ k | k + G k ( x ^ k + 1 | N x ^ k + 1 | k ) , P k | N = P k | k G k ( P k + 1 | N P k + 1 | k ) G k T .
Table 7. Mean square error of the estimation utilising the Kalman smoother for the three discretisation methods applied to the SE motor.
Table 7. Mean square error of the estimation utilising the Kalman smoother for the three discretisation methods applied to the SE motor.
EulerTaylorRunge–Kutta
Armature current MSE ( MSE i a ) 960.5 × 10 3 68.83 × 10 3 68.83 × 10 3
Angular velocity MSE ( MSE ω ) 0.7185 0.7021 0.7021
Table 8. Extended Kalman filter for nonlinear systems with additive Gaussian process and measurement noise.
Table 8. Extended Kalman filter for nonlinear systems with additive Gaussian process and measurement noise.
System model
x k + 1 = f ( x k , v k ) + e k , y k = h ( x k ) + η k , e k N ( 0 , Q ) , η k N ( 0 , Y ) .
Time update
x ^ k | k 1 = f ( x ^ k 1 | k 1 , v k ) P k | k 1 = F k 1 P k 1 | k 1 F k 1 T + Q ,
Measurement update
ε k = y k h ( x k 1 | k 1 ) , S k = H k P k | k 1 H k T + Y , K k = P k | k 1 H k T S k 1 , x ^ k | k = x ^ k | k 1 + K k ε k , P k | k = P k | k 1 K k S k K k T .
Table 9. Extended Kalman smoother for nonlinear systems with additive Gaussian process and measurement noise.
Table 9. Extended Kalman smoother for nonlinear systems with additive Gaussian process and measurement noise.
RTS smoother
G k = P k | k F k T P k + 1 | k 1 , x ^ k | N = x ^ k | k + G k ( x ^ k + 1 | N x ^ k + 1 | k ) , P k | N = P k | k G k ( P k + 1 | N P k + 1 | k ) G k T .
Table 10. Mean square error of the estimation utilising the extended Kalman smoother for the three discretisation methods applied to the shunt motor.
Table 10. Mean square error of the estimation utilising the extended Kalman smoother for the three discretisation methods applied to the shunt motor.
EulerTaylorRK
Armature current MSE ( MSE i a ) 74.173 × 10 3 56.3795 × 10 3 56.1337 × 10 3
Field current MSE ( MSE i f ) 34.0361 × 10 6 28.9177 × 10 6 28.9177 × 10 6
Angular velocity MSE ( MSE ω ) 0.23 0.2279 0.2142
Table 11. Mean square error of the estimation utilising the extended Kalman smoother for the three discretisation methods applied to the series motor.
Table 11. Mean square error of the estimation utilising the extended Kalman smoother for the three discretisation methods applied to the series motor.
EulerTaylorRunge–Kutta
Armature current MSE ( MSE i a ) 137.6553 × 10 3 66.656 × 10 3 72.0259 × 10 3
Angular velocity MSE ( MSE ω ) 2.5498 1.3078 1.5499
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Arévalo, E.; Herrera Hernández, R.; Katselis, D.; Reusser, C.; Carvajal, R. On Modelling and State Estimation of DC Motors. Actuators 2025, 14, 160. https://doi.org/10.3390/act14040160

AMA Style

Arévalo E, Herrera Hernández R, Katselis D, Reusser C, Carvajal R. On Modelling and State Estimation of DC Motors. Actuators. 2025; 14(4):160. https://doi.org/10.3390/act14040160

Chicago/Turabian Style

Arévalo, Erik, Ramón Herrera Hernández, Dimitrios Katselis, Carlos Reusser, and Rodrigo Carvajal. 2025. "On Modelling and State Estimation of DC Motors" Actuators 14, no. 4: 160. https://doi.org/10.3390/act14040160

APA Style

Arévalo, E., Herrera Hernández, R., Katselis, D., Reusser, C., & Carvajal, R. (2025). On Modelling and State Estimation of DC Motors. Actuators, 14(4), 160. https://doi.org/10.3390/act14040160

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop