Next Article in Journal
Event-Based Vision Application on Autonomous Unmanned Aerial Vehicle: A Systematic Review of Prospects and Challenges
Previous Article in Journal
One-Year Prospective Study on Smartphone-Based Coefficient of Variation Analysis of Seated Stepping Movements for Fall Risk Prediction in Older Adults
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Identification of Dynamic Parameters in a DC Motor Using Step and Ramp Torque Response Methods

by
Jorge Antonio Cardona Soto
1,
Israel U. Ponce
2,
Israel Soto
2,*,
Miguel A. García
2 and
Guillermo Mejía
2
1
Universidad Tecnológica de Chihuahua, Chihuahua, CP 3126, Mexico
2
Departamento de Ingenieria Industrial y Manufactura, Universidad Autónoma de Ciudad Juárez, Juaréz, CP 32310, Mexico
*
Author to whom correspondence should be addressed.
Sensors 2026, 26(1), 78; https://doi.org/10.3390/s26010078
Submission received: 2 November 2025 / Revised: 16 December 2025 / Accepted: 19 December 2025 / Published: 22 December 2025
(This article belongs to the Section Electronic Sensors)

Abstract

DC motors play a fundamental role in robotic and mechatronic systems applied to the manufacturing industry; but broadly speaking, they are necessary in any system where motion is required. In these types of applications, precise control of position and speed is essential. To achieve this, accurate estimation of dynamic parameters such as inertia, viscous friction, and Coulomb friction is necessary to design efficient and sustainable control strategies. This study presents two methodologies for parameter identification based on the analysis of angular position data from a DC motor. The first method uses a constant (step) torque input, while the second is based on ramp excitation. The proposed method is entirely analytical, that is, it is based on the behavior of the system’s responses to the inputs; this makes the procedure practical and does not require computational cost. The experimental platform integrates a hardware-in-loop (HIL) system that allows for real-time acquisition and actuation, with responses processed in MATLAB/Simulink R2022a to provide the basis for estimating the inertia and friction parameters. To validate the values of the physical parameters, a closed-loop proportional-integral (PI) speed control system was implemented. The results confirm the accuracy and consistency of the identified parameters, highlighting their applicability for improving motor control performance in a wide range of robotic applications.

1. Introduction

The increasing demands of Industry 4.0 call for highly precise motor drive systems to achieve advanced automation with superior control quality. Reliable motion control is also required in mobile robotics applications such as environmental disinfection with ultraviolet light or in search and rescue operations, where precise navigation depends heavily on motor control. In this context, accurate control of position and velocity in servo motors used in robots and manufacturing machines is important. To enhance the performance of these systems, it is essential to determine key mechanical parameters, such as the coefficients of Coulomb and viscous friction, and the moment of inertia [1]. Effective friction compensation requires an accurate estimation of these parameters to model the physical system correctly and predict its behavior [2]. Inaccurate parameter estimation can result in measurement errors that undermine the efficiency and precision of the control system [3].
The moment of inertia is a fundamental parameter that enables the accurate estimation of motor velocity and the proper design of gain settings for the velocity and position controllers [4,5].
Identifying DC motor parameters, particularly the determination of the moment of inertia and friction coefficients, remains a critical challenge for high-performance motion control systems [6]. Various methodologies have been developed to address this challenge, each with different advantages and computational requirements [7,8,9]. These approaches can be broadly classified into numerical optimization-based methods, observer-based techniques, artificial intelligence approaches and direct analytical methods.
Numerical optimization approaches, including recursive least squares (RLS) [10,11] and Extended Kalman Filter (EKF) methods [12,13], offer online adaptability and robustness against measurement noise. Brosch, in [14], demonstrated data-driven RLS for model predictive control in permanent magnet motors. However, these methods require iterative numerical algorithms with associated computational overhead and convergence considerations.
Metaheuristic optimization techniques have also been extensively explored. Amiri, in [15,16], applied Genetic Algorithms for the estimation of the DC motor parameter, while in [17], multiple nature-inspired algorithms were compared including Particle Swarm Optimization and Differential Evolution [18]. Although capable of handling non-convex optimization landscapes, these approaches present different limitations such as non-deterministic behavior, different runs yield different results due to stochastic initialization and evolution; convergence time unpredictability, the number of iterations required to reach acceptable accuracy varies significantly between problem instances; and hyperparameter proliferation—population size, mutation rates, inertia weights, and crossover probabilities create a high-dimensional tuning space [15,17].
Artificial intelligence methods, particularly neural networks, have shown promise in modeling complex friction behaviors [19]. In [20] physics-informed neural networks were used to estimate friction torque, while in [21], feedforward networks were applied to identify asynchronous motor parameters. Despite their capability to capture nonlinearities, these machine learning methods, particularly neural networks, require extensive training data sets that cover various operating conditions and special training infrastructure, such as GPU acceleration and significant memory for backpropagation [20,21].
However, these recent methods still rely fundamentally on iterative numerical algorithms, whether in the form of recursive updates, optimization loops, or gradient descent training. This common characteristic limits their applicability in three specific scenarios; first, rapid commissioning applications where immediate parameter values are required without iterative convergence waiting; second, educational and research settings where transparent physical interpretation and reproducibility are prioritized over sophistication; and finally, periodic calibration workflows where computational resources are temporarily constrained.
In contrast to these computationally intensive approaches, direct analytical methods based on steady-state and transient analysis offer an attractive alternative. In [22] experimental friction identification was investigated, while in [23], integrated identification was proposed using force/torque sensors. Among the existing techniques for estimating viscous and Coulomb friction in DC motors are those that use a constant ramp input signal [24] and those that apply a constant torque input [25]. These methods allow for obtaining a linear operating range for the system and have been used in prior research to estimate friction parameters in motors [26].
The distinctive value of the analytical methods presented in this work lies in eliminating the iteration paradigm entirely. By exploiting steady-state and transient response characteristics directly, the proposed constant torque and ramp input methods provide closed-form algebraic solutions with three critical advantages: first, deterministic single-step computation; i.e., identical input data always produces identical parameter estimates without convergence concerns; second, minimal computational footprint which is suitable for microcontroller execution without floating-point coprocessors or extended precision arithmetic; and finally, physical transparency—each mathematical operation maps directly to observable physical phenomena (steady-state torque-velocity relationship, transient decay rate), facilitating validation and fault diagnosis.
Although the proposed methods sacrifice the online adaptability of recursive approaches, the sophisticated nonlinearity modeling of machine learning, and the global optimization capabilities of metaheuristics, they fulfill an important niche for applications requiring rapid, reproducible, and interpretable parameter identification with minimal computational infrastructure.
The main advantage of the approach presented in this work is the provision of direct analytical solutions without requiring iterative numerical algorithms, optimization procedures, or extensive computational resources. Unlike methods that require multiple iterations and convergence criteria, our approach employs direct algebraic solutions based on steady-state analysis combined with closed-form expressions for parameter extraction.
The key objectives of this research are:
  • To present two complementary direct analytical methods for identification of inertia and friction coefficients;
  • To provide comparative analysis between the constant torque method and ramp input method;
  • To validate identified parameters through closed-loop control implementation;
  • To offer an accessible experimental platform using Arduino-based data acquisition.
The rest of this work is distributed as follows: Section 2 introduces different mathematical models to describe the phenomenon of friction in the dynamic equations of the motor. Section 3 details the methods for estimating the friction coefficients and the inertia coefficient of a DC motor. Section 4 shows the experimental results for parameter identification using the two described methods, and Section 5 presents the conclusions.

2. Friction Modeling for DC Motors

Friction is a resistive force that opposes relative motion between two surfaces and is a critical factor in many control systems, including high-precision servomechanisms and more basic pneumatic and hydraulic systems [27,28]. Friction models can be broadly classified into two categories: static and dynamic models [29]. Static models characterize friction as a function of the relative velocity between sliding surfaces, offering a simplified representation of the friction phenomenon. These models are often based on variations in Coulomb’s law of friction, with notable examples including the Karnopp, Quinn, and Kikuuwe models, among others [30]. In contrast, dynamic models treat friction as a time-dependent phenomenon, allowing for the representation of more complex behaviors such as hysteresis. Some dynamic friction models include the Dahl model, Armstrong model, and the LuGre model, the latter resulting from a collaboration between the control groups in Lund and Grenoble [31]. In addition, friction parameters can be estimated using models based on the dynamics of the mechanical system [1].

2.1. Dynamic Model of a DC Motor with Friction

The dynamic model of a DC motor, which incorporates friction, is described in [28,32], as follows:
J θ ¨ ( t ) + F ( θ ˙ ( t ) ) = τ ( t ) ,
where J represents the moment of inertia of the motor, θ ( t ) is the angular position, θ ˙ ( t ) denotes the angular velocity, θ ¨ ( t ) is the angular acceleration, F ( θ ˙ ( t ) ) is the friction force opposing the motion of the motor, τ ( t ) is the external torque applied to the motor.
The friction force F ( θ ˙ ( t ) ) can be modeled using various approaches, such as the Dahl model, Armstrong model, LuGre model, or Viscous and Coulomb friction models [26]. Additionally, the moment of inertia and the coefficients of viscous and Coulomb friction can be estimated through the mechanical system model including the friction torque, the parameters are obtained through the integration of the torque reference over a half period of a low frequency sinusoidal velocity control input [1].

2.2. Coulomb and Viscous Friction Model

The phenomenon of friction is present in all systems with moving parts. Since its discovery in 1493 by Leonardo Da Vinci, with his studies on the movement of blocks on surfaces, friction has been recognized as a key aspect of modern tribology [27,33]. Advances in the study of friction have improved our understanding of its effects, such as how it introduces a dissipative influence that shapes the transient response by providing natural damping. Friction is commonly modeled with a Coulomb friction component and a viscous friction component. Coulomb friction, also known as dry friction [34], according to Coulomb’s law, opposes motion and is proportional to the normal force of the object. Viscous friction, on the other hand, is proportional to the velocity between surfaces. These two components sufficiently capture the friction forces in a DC motor system [31].
The Coulomb and viscous friction model is relatively simple, encompassing two essential terms: viscous friction, proportional to velocity, and a discontinuous term representing Coulomb friction, which depends on the sign of the velocity. This model is given by [24]:
F k θ ˙ ( t ) = f v θ ˙ ( t ) + f c sign θ ˙ ( t ) ,
where f v is the viscous friction coefficient, and f c is the Coulomb friction coefficient. The sign function sign ( ξ ) takes the values defined in Equation (3):
sign ( ξ ) : = 1 if ξ > 0 0 if ξ = 0 1 if ξ < 0
Figure 1 illustrates the Coulomb and viscous friction model [24]. The combination of Coulomb friction and viscous friction effects is referred to as kinetic friction [28].

2.3. Static Friction

Static friction refers to the resistance that occurs when two surfaces are in contact and at rest relative to each other. The force required to overcome static friction and initiate motion is known as the breakaway force. Typically, the magnitude of static friction is greater than that of Coulomb friction [35]. Static friction ( F s ), defined for θ ˙ = 0 , can be expressed as follows:
F s ( τ ( t ) ) = τ ( t ) if | τ ( t ) | < f s f s sign ( τ ( t ) ) otherwise
where τ is defined as in Equation (1), f s represents the static friction coefficient, and sign(·) is defined in (3).

2.4. Stribeck Friction

The Stribeck effect describes the transition between maximum static friction and Coulomb friction. One of the expressions used to model this phenomenon is the exponential function known as the Armstrong model (Armstrong 1991):
F s t = sign ( θ ˙ ( t ) ) f c + ( f s f c ) e θ ˙ ( t ) θ ˙ s δ + f v θ ˙ ( t )
This model not only incorporates the static friction ( f s ), Coulomb friction ( f c ), and viscous friction ( f v ) coefficients but also includes the Stribeck velocity coefficient θ ˙ s and an adjustment parameter δ .

2.5. Dahl Model

Friction is a complex phenomenon that remains challenging to model and is not yet fully understood. Traditional friction models typically utilize static mappings between velocity and friction force, with common examples incorporating various combinations of viscous friction, Coulomb friction, and the Stribeck effect [36]. The Stribeck effect, which exhibits a destabilizing influence at very low velocities, resembles the behavior of a system consisting of a stiff spring and a damper, and is sometimes referred to as the Dahl effect [36].
In 1968, P. Dahl proposed a dynamic friction model that accounts for the roughness characteristics of surfaces in contact. Dahl conceptualized this roughness as analogous to the bristles of two opposing brushes [28]. The Dahl model fundamentally represents Coulomb friction with a delay in the response of the frictional force upon a change in the direction of motion. This model has been effectively employed to compensate for friction in mechanical systems, thereby enhancing their performance [27].
The behavior of the Dahl model is predicated on the existing roughness at the contact interface, utilizing a state variable z to represent the average deflection. This deflection, when multiplied by a stiffness coefficient σ 0 , yields the friction torque. In this context, the slip region converges towards Coulomb friction. The model is mathematically represented by [34,37]:
F D θ ˙ ( t ) = σ 0 z ( t )
z is related to viscous friction and has its own dynamics, governed by [37,38]:
z ˙ ( t ) = σ 0 θ ˙ ( t ) f c z ( t ) + θ ˙ ( t )
which incorporates the effect of viscous friction within the Dahl model, where the variable z exhibits its own dynamics, which are dependent on the velocity θ ˙ [28].
The Dahl friction model eliminates the need for the sign(·) function in dynamic modeling, simplifying the solution of the differential equations. However, this simplification results in an increase in the order of the dynamic system for the resulting plant [37].

2.6. Lugre Model

The Lugre model replicates the majority of friction behaviors, including the Stribeck effect, hysteresis, spring-like properties associated with stiction, and variations in break-away force. The LuGre model, as described by [27], is a generalization of the Dahl model and can also be expressed in terms of velocity θ ˙ and average deflection z, but it includes a term proportional to z ˙ , as shown below:
F L θ ˙ , z = σ 0 z + σ 1 z ˙ + f v θ ˙
Here, σ 0 denotes the stiffness parameter, σ 1 corresponds to the damping coefficient, and f v is associated with the viscous friction coefficient. The variable z ( t ) represents the average deflection of the bristles and is described by:
z ˙ ( t ) = θ ˙ ( t ) | θ ˙ ( t ) | g ( θ ˙ ( t ) ) z ( t )
where the second term is associated with the Stribeck effect and g ( θ ˙ ( t ) ) is defined as follows:
g ( θ ˙ ( t ) ) = 1 σ 0 f c + ( f s f c ) θ ˙ ( t ) θ ˙ s 2
It is worth mentioning that this comparative overview is not intended as an exhaustive review, but rather to emphasize why the proposed model was chosen: it provides a sufficiently accurate yet computationally simple representation, facilitating practical implementation for experimental identification

2.7. Mechanical System Model Including Torque and Friction

Equation (11) presents the mechanical system model, incorporating both torque and friction [1]:
J θ ¨ ( t ) + f v θ ˙ ( t ) + f c sign θ ˙ ( t ) + τ L ( t ) = τ ( t )
where τ ( t ) is the torque generated by the motor, τ L ( t ) is the motor load torque, θ ˙ ( t ) is the mechanical rotational velocity of the motor, J is the moment of inertia, f v is the viscous friction torque coefficient, and f c is the Coulomb friction torque coefficient.
The viscous friction torque is proportional to the rotational velocity, whereas the Coulomb’s friction torque is direction-dependent but independent of velocity. The torque due to the moment of inertia, termed as inertia torque τ i n e r t i a ( t ) , is represented by [1]:
T i n e r t i a ( t ) = J θ ¨ ( t ) .
The torque due to friction τ f r i c t i o n ( t ) is given by [1]:
τ f r i c t i o n ( t ) = f v θ ˙ ( t ) + f c sign θ ˙ ( t ) .
The total torque produced by the motor is expressed as follows [1]:
τ ( t ) = τ i n e r t i a ( t ) + τ f r i c t i o n ( t ) + τ L ( t )
Using this mechanical model [1], it is possible to simultaneously determine the moment of inertia, viscous friction coefficient, and Coulomb friction coefficient of a motor by applying a constant torque sinusoidal input signal.
Attempting a direct experimental comparison among all the friction models reviewed above would require the design and execution of additional experimental protocols specifically tailored to excite the phenomena captured by each model. In particular, several of these models rely on dynamic effects or low-velocity behaviors that cannot be adequately identified from the steady-state experiments employed in this work. Furthermore, their parameter estimation typically relies on computationally intensive identification procedures, which fall outside the analytical scope of the proposed methodology.
For clarity and completeness, Table 1 summarizes the friction models considered in this study, along with their classification, the parameters to be identified, and the experimental conditions required for a reliable estimation. This overview highlights the practical trade-offs between model complexity, experimental requirements, and applicability to the identification framework adopted in this work.
This comparison emphasizes that the Coulomb–viscous friction model represents a suitable compromise between modeling accuracy and experimental feasibility for the steady-state identification framework considered in this work.

3. Estimation Methods for Viscous and Coulomb Friction and Inertia in DC Motors

In this work, and specifically in this section, the focus is on determining the viscous and Coulomb friction coefficients, as viscous and Coulomb friction are essential for defining models that represent the frictional forces opposing motion. Although static friction has been observed to have a certain impact on the movement of dynamic systems, it is not characterized in this study, though its effects are noted in the experimental results. This section also outlines the method for obtaining the inertia coefficient of a DC motor. The model Equations (1) and (2) form the basis for this analysis.

3.1. Constant Torque Method

Permanent magnet motors are widely utilized in robotic systems and machine tools. For this type of motors, the generated torque behavior as a function of velocity is depicted in Figure 2.
From the analysis of Figure 2, it is evident that permanent magnet motors exhibit a linear relationship between torque and velocity. To maintain constant torque in the motor, the velocity must also remain constant. Consequently, a stable supply voltage is required to ensure a constant torque output. This approach, is named as the constant torque method to estimate the viscous and Coulomb friction coefficients. The method is based on Equations (1) and (2), which describes the dynamics of the motor under steady-state conditions.
Considering τ ( t ) = K u ( t ) , the applied torque equation assumes a proportional relationship between torque and the input voltage u ( t ) of the DC motor. If a constant K = 1 is considered, the system dynamics in (1), taking into account the friction model in (2), will be represented by the following expression:
J θ ¨ ( t ) + f v θ ˙ ( t ) + f c sign θ ˙ ( t ) = u ( t )
Under steady-state conditions, when the motor reaches a constant velocity, i.e., with a constant input voltage u ˜ i , the angular acceleration becomes zero. This simplifies the Equation (15) to:
f v θ ˜ ˙ i + f c sign θ ˜ ˙ i = u ˜ i
If n experiments are performed with different constant voltages u ˜ i , the resulting steady-state angular velocities θ ˜ ˙ i yield n linear equations. These can be expressed as follows:
f v Θ ˙ + f c 1 n × 1 = U ˜
where Θ ˙ = θ ˜ ˙ 1 θ ˜ ˙ 2 θ ˜ ˙ n T , U ˜ = u 1 u 2 u n T , and 1 n × 1 is a column vector of ones.
The coefficients f v and f c can then be estimated using the least squares method:
f v f c = Θ ˙ 1 n × 1 T Θ ˙ 1 n × 1 1 Θ ˙ 1 n × 1 T U ˜
This equation applies the least squares method to identify the linear relationship between the steady-state angular velocities θ ˜ ˙ i and the applied voltages u ˜ i .

3.2. Ramp-Type Input Method

This method is thoroughly described in [24]. The method involves applying a ramp-type input to the motor, represented by:
u ( t ) = r t ( t ) .
where r is a constant slope, and t denotes the time.
The dynamics of the open-loop system ((15) and (19)), when subjected to input (19), are described by:
J θ ¨ ( t ) + f v θ ˙ ( t ) = r t f c sign ( θ ˙ ( t ) )
Equation (20) is solved for θ ˙ under the condition t f c r , using the Laplace transform with initial conditions θ ˙ ( f c r ) = 0 and θ ( f c r ) = 0 . Additionally, since sign ( θ ˙ ) = sign(r), which can be easily verified, the solution is given by:
θ ˙ ( t ) = 0 , for t < f c r r f v γ ( t ) J r f v 2 1 e f v J γ ( t ) , for t f c r
where γ ( t ) = t f c / r .
From Equation (21), in the steady-state condition (i.e., as t , the behavior of θ ˙ tends towards that described by:
θ ˙ s = r f v t f c f v + J r f v 2
When performing experiments on the DC motor by applying a ramp-type input, as defined in Equation (19), the angular velocity of the motor ( θ ˙ ) exhibits a similar behavior as shown in Figure 3.
It can be observed that the velocity tends to increase at a constant rate, denoted as M. A trend line (dashed line in Figure 3) can be drawn to determine the value of the y-intercept, b. The slope m is related to Equation (22) as follows:
m = r f v
Similarly, the y-intercept b is related to Equation (22) as follows:
b = f c f v + J r f v 2
Then, the viscous friction coefficient is calculated using (23):
f v = r m
and the Coulomb friction coefficient is determined using (24):
f c = b f v J r f v
If r is small enough such that r b f V 2 / J , then equation Equation (26) simplifies to the following equation:
f c = b f v
The above agrees with what is stated in [24], with the difference that in [24] is mentioned that r must be large enough, such that r m 2 J b . This last statement is confusing, since it sets a minimum bound, unlike the maximum bound given by Equation (27), and this also results in an overestimation of f c if a sufficiently large value is considered for r, since in [24] the second term of Equation (26) is neglected.

3.3. Identification of the Inertia Coefficient

The inertia coefficient of the motor is obtained in the transient state. The transient state refers to a period during which the system variables transition asymptotically from initial to final steady-state conditions. Analytically, for an initial velocity θ ˙ 0 = θ ˙ ( 0 ) and zero input u = 0 , the final velocity, θ ˙ f = θ ( t f ) , obtained from the solution of differential Equation (15), considering (19), is given by:
θ ˙ f = f c sign ( θ ˙ 0 ) f v + θ ˙ 0 + f c sign ( θ ˙ 0 ) f v e f v J t f
From Equation (28), the inertia coefficient, J, is determined by:
J = f v t f ln θ ˙ f f v + f c sign ( θ ˙ 0 ) θ ˙ 0 f v + f c , sign ( θ ˙ 0 )

3.4. Velocity Control of DC Motor Using PI Controller

To validate the experimentally determined viscous friction, Coulomb friction, and inertia coefficients using the proposed methods, these coefficients are applied in the modeling of the DC motor dynamics. Subsequently, a proportional-integral (PI) controller is designed to maintain the motor velocity at a given constant velocity. Figure 4 shows the block diagram of the closed-loop system to be implemented for velocity control in the DC motor.
For the controller design, the error to be stabilized at zero is defined as follows:
e ( t ) = θ ˙ ( t ) θ ˙ d
where e ( t ) represents the velocity error, θ ˙ ( t ) is the motor velocity, and θ ˙ d is the desired velocity.
The error dynamics, e ˙ ( t ) , are obtained from the time derivative of Equation (30), i.e.,
e ˙ ( t ) = θ ¨ ( t ) θ ¨ d
Substituting θ ¨ ( t ) from (15) in (31), and considering that θ ¨ d = 0 since θ ˙ d is constant, the resulting error dynamics are given by:
e ˙ ( t ) = 1 J f v e ( t ) f v θ ˙ d f c e ( t ) + θ ˙ d + u ( t )
To stabilize the error dynamics given by (32), a Proportional-Integral (PI) control with compensation is proposed. The compensation is implemented to cancel out the constant terms in (32). Hence, the proposed control is given by:
u ( t ) = f v θ ˙ d + f c sign e ( t ) + θ ˙ d + k 1 e ( t ) + k 2 0 t e ˙ ( t ) dt
As a result, the error dynamics of the feedback system are represented by:
e ˙ ( t ) = 1 J f v e ( t ) + k 1 e ( t ) + k 2 0 t e ˙ ( t ) dt .
The closded-loop system is stable under the conditions k 1 f v and k 2 0 .
For the measurement of velocity, an encoder is employed, which directly measures the angular position of the motor θ ( t ) . To obtain the angular velocity θ ˙ , it is necessary to use a velocity estimator, which in this case is implemented through the time derivative:
θ ˜ ˙ = d d t θ
The estimated velocity θ ˜ ˙ is utilized to generate the control signal (33). This process is illustrated in Figure 4.

4. Experimental Results

A 12-volt regulated power supply was designed to feed the L298N motor driver, which controls both the speed and rotation direction of the DC motor through two digital control lines and a Pulse Width Modulation (PWM) signal generated by an Arduino Uno. The experimental platform employs a CHR-GM25-370 DC motor rated at 12 V, featuring a 1:34 mechanical gearbox and a maximum speed of 350 RPM (≈36 rad/s). This motor integrates a two-channel incremental encoder that provides 374 pulses per revolution (PPR), allowing the Arduino Uno to determine the angular position and direction of rotation. The L298N driver also provides an internal 5 V output to supply power to the encoder.
The entire system is operated from a laptop running MATLAB/Simulink R2022b, equipped with an Intel Core i7 processor. Communication between Simulink and the Arduino Uno is established via USB serial interface, enabling the generation of control signals (PWM and direction) and the simultaneous acquisition of encoder feedback in real time. The sampling time used in Simulink is 35 milliseconds, and the numerical integration is performed using the ODE4 (Runge–Kutta) solver, ensuring stable and precise data acquisition. Through this configuration, angular position data are captured and processed for the estimation of viscous friction, Coulomb friction, and moment of inertia. The physical setup and block diagram of the experimental platform are presented in Figure 5 and Figure 6, respectively.
It is worth mentioning that this type of DC motors, due to their ease of control and widespread availability, are frequently used in robotic platforms for educational and research purposes, such as the one shown in the Figure 7.

4.1. Experimental Scenarios

Two experimental procedures were carried out to identify the viscous friction and Coulomb friction coefficients of the DC motor: the constant torque (step input) method and the ramp-type input method. Both experiments were designed to characterize the motor’s steady-state velocity behavior under controlled voltage excitations, allowing a direct comparison of their accuracy and applicability.

4.1.1. Experiments for Constant Torque Method

The first experimental approach employs constant voltage inputs to generate fixed torque levels on the motor shaft. The purpose of this test is to obtain the steady-state angular velocity θ ˙ ( t ) for different constant voltages, and from this relationship, estimate the friction parameters.
As shown in Figure 8, a positive input voltage is applied to the motor, first decreasing from 12 V to 0 V, and then increasing again from 0 V to 12 V. This bidirectional procedure allows observing the symmetrical velocity response when the torque changes sign, which is essential for distinguishing between viscous and Coulomb friction effects.
To capture the nonlinear region dominated by static friction, voltage samples are taken with fine resolution between 0 V and 2.5 V at 0.1 V increments (0, 0.1, 0.2, …, 2.5 V). Beyond this range—where the response becomes approximately linear—the sampling step increases to 0.5 V (2.5, 3.0, 3.5, …, 12 V). A marked change in behavior is observed below 2.5 V, indicating the voltage threshold required to overcome stiction and initiate motion.
Figure 9 presents the corresponding results for negative input voltages, where the voltage is first increased from 12 V to 0 V and then decreased from 0 V to 12 V, confirming the same friction characteristics in reverse motion. It should be mentioned that the sign of the input only indicates the change in the direction of rotation of the motor.
The consolidated results for all voltage conditions are shown in Figure 10, where the steady-state velocity data are linearized using the Least Mean Squares (LMS) method according to Equation (18). The identified parameters for both positive and negative torque directions are summarized in Table 2.
By averaging the results, the viscous friction coefficient is found to be f v = 0.3935 N·m·s, and the Coulomb friction coefficient f c = 0.5141 N·m. These values confirm a linear trend in the velocity–torque relation, validating the applicability of the linear friction model for the tested DC motor.
The quadratic error behavior ( e i 2 ) is expressed by
e i 2 = θ ˙ i θ ˙ l i 2
where θ ˙ i represents the steady-state velocity response of the motor for the i-th experiment, while θ ˙ l i denotes the corresponding velocity obtained through the linearization of the velocity response.
The quadratic error between the experimental velocity and the linearized velocity, computed from Equation (36), is shown in Figure 11. This analysis reveals that the motor behaves linearly within the velocity range of approximately ± 6 rad/s to ± 26 rad/s, which defines the effective linear operating region to be considered for control design.

4.1.2. Experiments for Ramp-Type Input Method

In the second scenario, a ramp-type input voltage is applied to the motor to estimate friction parameters dynamically as a function of time. Three ramp slopes were used: 0.2 V/s, 0.5 V/s, and 0.94 V/s, for both positive and negative directions.
Figure 12, Figure 13 and Figure 14 depict the corresponding angular velocity responses. The motor requires a minimum voltage of approximately 2.3 V to overcome static friction and begin rotating. The obtained data were processed using Equation (18) to derive the parameters listed in Table 3, where r is the ramp slope, m is the velocity slope, and b is the intercept on the velocity axis.
By averaging the positive and negative results, the viscous friction coefficient is f v = 0.3952 N·m·s and the Coulomb friction coefficient f c = 0.3293 N·m.
Comparing both identification approaches, the ramp-type method produces slightly smaller Coulomb friction values due to the dynamic nature of the test, while the viscous coefficient remains consistent. This consistency reinforces the reliability of the proposed identification framework based on simple excitation profiles.

4.1.3. Comparison of Estimated Parameters

Table 4 presents the comparison between the friction coefficients obtained through both methods. The viscous friction coefficient shows excellent agreement between approaches, confirming the linear dependence of viscous friction on angular velocity. However, a slight difference in the Coulomb friction coefficient is observed. The ramp-type input method yields smaller values of f c , which can be attributed to the constant acceleration present in this test—effectively reducing the influence of static friction. Conversely, under constant torque excitation, the acceleration is zero, making the static friction effect more noticeable.
These results demonstrate the consistency and reliability of the proposed methods for estimating friction parameters using simple experimental inputs.

4.1.4. Experimental Results and Friction Model Selection

Figure 15 shows the steady-state torque–velocity relationship obtained from constant torque experiments under bidirectional operation. For each applied torque level, the motor was allowed to reach steady state, ensuring negligible acceleration ( θ ¨ 0 ). Under these conditions, inertial effects vanish and the measured torque can be attributed primarily to friction.
The experimental data exhibit an approximately linear torque–velocity relationship over most of the operating range, with a clear offset around zero velocity associated with Coulomb friction. A slight nonlinear behavior is observed at very low velocities, which is consistent with the presence of Stribeck-type effects.
Three friction models were fitted to the experimental data using nonlinear least-squares regression: the Coulomb–viscous model, the Stribeck model, and a steady-state evaluation of the LuGre model. Quantitative fitting results are summarized in Table 5.
As shown in Table 5, the Coulomb–viscous model explains more than 98% of the variance in the experimental data using only two parameters. While the Stribeck and LuGre models provide a modest reduction in the root mean square error, this improvement is limited to the low-velocity region and does not significantly affect the overall fit quality in the medium- and high-velocity ranges.
Moreover, the identification of the Coulomb–viscous model requires substantially fewer function evaluations, reflecting its lower computational burden and improved parameter identifiability. In the velocity range relevant for the intended control application ( | ω | > 5 rad / s ), all models exhibit nearly identical behavior, indicating that viscous friction dominates and higher-order nonlinear effects are negligible.
Based on these results, the Coulomb–viscous friction model provides an optimal balance between accuracy, simplicity, and physical interpretability. Consequently, it is adopted for the remainder of this work, as it is sufficient to describe the friction behavior within the operating conditions and control objectives considered.

4.1.5. Experimental Determination of the Moment of Inertia

Once the friction parameters were identified, the motor’s moment of inertia (J) was determined by analyzing its transient velocity response to a train of voltage pulses. During each pulse, the motor accelerates, and upon removal of the input, it decelerates solely due to frictional torques. Figure 16 illustrates the input and corresponding transient velocity response. Equation (29) was used to calculate the moment of inertia, incorporating the previously estimated friction coefficients. The results, summarized in Table 6, show high consistency between both identification methods, with differences explained by the variation in Coulomb friction values.
As expected, the constant torque method yields a slightly higher inertia value due to the larger Coulomb friction term, confirming the sensitivity of J to accurate friction estimation.

4.1.6. Repeatability Analysis for Constant Torque Method

To verify the stability and reproducibility of the constant torque method, each experimental condition spanning voltage levels from 12 V to + 12 V was repeated n = 5 times under identical laboratory conditions with ambient temperature maintained at 22 ± 1 °C and the motor reaching thermal equilibrium after a 20-min warm-up period. Table 7 presents the comprehensive statistical analysis of these repeated trials.
The low relative standard deviations observed across all experimental conditions demonstrate exceptional repeatability with RSD values below 3% for the viscous friction coefficient and below 4% for the Coulomb friction coefficient. The slightly elevated variability in f c compared to f v represents an expected physical phenomenon attributable to the greater sensitivity of Coulomb friction to instantaneous surface conditions and contact geometry variations at the gear tooth interfaces.
A one-way analysis of variance (ANOVA) was performed to assess whether the four experimental conditions yield statistically different parameter values. For the viscous friction coefficient, the test yielded F ( 3 , 16 ) = 2.87 with p = 0.067 > 0.05 , indicating no statistically significant difference across voltage directions and confirming consistent f v estimation regardless of motor rotation direction. In contrast, the Coulomb friction coefficient exhibited significant directional dependence with F ( 3 , 16 ) = 8.42 and p = 0.0014 < 0.05 , revealing meaningful differences between increasing versus decreasing voltage directions and between positive versus negative rotation. This observed directional asymmetry in f c reflects genuine physical phenomena including mechanical hysteresis in the gearbox assembly, directional asymmetry in gear tooth contact patterns due to manufacturing tolerances, and differential stiction effects during startup compared to steady-state operation. The statistically significant directional variation underscores the methodological value of performing identification across multiple operational quadrants and employing averaged parameter values for robust controller design.

4.1.7. Repeatability Analysis for Ramp Input Method

Each ramp input experiment encompassing six distinct conditions (three positive ramp rates and three negative ramp rates) was replicated n = 5 times to establish measurement consistency. Table 8 summarizes the statistical analysis across all experimental trials.
The viscous friction coefficient demonstrates excellent repeatability with RSD approximately 3.2%, exhibiting consistency comparable to the constant torque method. The Coulomb friction coefficient manifests higher variability with RSD approximately 6.5% compared to the constant torque method’s 3.95%, a difference attributable to three interrelated phenomena. First, the mathematical approximation inherent in Equation (27) assumes that the term J r / f v 2 is negligible compared to the intercept b, an assumption that becomes progressively less valid for higher ramp rates, thereby introducing systematic error that varies with precise ramp timing accuracy. Second, the ramp method subjects the motor to continuous acceleration throughout the identification period, creating conditions where transient friction behaviors including presliding displacement and bristle deflection dynamics introduce additional measurement variability beyond steady-state friction alone. Third, different ramp trials may initiate motor motion at slightly different static friction breakaway points depending on the instantaneous mechanical state of the gearbox, directly affecting the velocity-axis intercept estimation used to compute f c . Despite the elevated variability relative to the constant torque approach, the achieved RSD below 7% remains well within acceptable engineering tolerances for practical control system applications, with the ramp method offering the compensating advantage of substantially reduced experimental duration at 6 min compared to 12 min for the constant torque protocol.

4.1.8. Repeatability Analysis for Moment of Inertia Identification

The transient response experiment illustrated in Figure 14 was repeated n = 8 times to comprehensively assess measurement consistency for the moment of inertia parameter. Table 9 presents the detailed statistical analysis across all trials.
The moment of inertia estimates demonstrate good repeatability with RSD values below 4.5% across all trials. The 12.5% relative difference between the two estimation approaches represents an expected systematic deviation arising from the distinct friction coefficient values employed in Equation (29), rather than random measurement error. The non-overlapping 95% confidence intervals provide statistical evidence that the choice of friction parameters derived from either the constant torque or ramp input method exerts a systematic influence on inertia estimation through the coupling present in the transient dynamics equation. For the controller design implementation presented in Section 3.4, the more conservative value of J = 0.1346 kg·m2 obtained from the constant torque method was deliberately selected to provide additional stability margin in the face of parameter uncertainty. Analysis of inter-trial variability through the coefficient of variation metric yields CVj  = 3.05 % for the constant torque approach, indicating excellent experimental consistency, and CVj  = 4.08 % for the ramp input approach, demonstrating good consistency. Application of the ± 2 σ outlier detection criterion across all eight trials revealed no statistical outliers, confirming stable and controlled experimental conditions throughout the measurement campaign.

4.1.9. Consolidated Repeatability and Statistical Summary

Table 10 provides a comprehensive consolidation of all statistical indicators from the parameter identification experiments, offering a unified view of measurement precision and experimental repeatability across all identified parameters and both identification methodologies.
The consolidated statistical analysis across 58 total experimental trials comprising 20 constant torque experiments, 30 ramp input experiments, and 8 inertia transient measurements demonstrates that all identified parameters exhibit RSD values below 7%, indicating highly consistent measurements throughout the experimental campaign. The viscous friction coefficient f v manifests particularly excellent repeatability with RSD below 3.5% for both identification methods, establishing this parameter as the most reliably determined quantity in the identification procedure. Method consistency is evidenced by the remarkable agreement between the two independent identification approaches, with viscous friction values of 0.3935 N·m·s versus 0.3952 N·m·s representing only 0.43% relative difference, thereby providing robust cross-validation of measurement accuracy through methodologically independent pathways.
The Coulomb friction coefficient exhibits comparatively higher variability with RSD ranging from 3.95% to 6.48%, a characteristic consistent with its physical nature as a friction component dependent on surface conditions, susceptible to stick-slip phenomena, and subject to directional asymmetries arising from gearbox mechanical properties. The substantial 36% inter-method difference in Coulomb friction magnitude, with constant torque yielding 0.5141 N·m compared to ramp input’s 0.3293 N·m, warrants emphasis as discussed extensively in Section 4.1.3 where this discrepancy is attributed to the ramp method’s inherent minimization of static friction contributions through maintenance of continuous positive acceleration that prevents the motor from dwelling in the static friction regime.
The sample sizes of n = 20 to 30 for friction coefficients and n = 8 for moment of inertia provide statistically sufficient data for reliable parameter estimation, with the resulting confidence intervals exhibiting widths of ± 3 to 5% typical magnitude, thereby delivering parameter estimates with adequate precision for control system design applications. Comparison with repeatability values reported in the literature reveals favorable performance, with the achieved RSD values of 2.78% to 4.08% for primary parameters f v and J comparing well against Wu’s reported 4.5% RSD for DC motor electrical parameters [10], Virgala and Kelemen’s 5.2% RSD for friction identification [22], and Brablc et al.’s 3.8% RSD for RLS-based identification [11]. This favorable comparison demonstrates conclusively that the computational simplicity of the proposed analytical methods does not compromise measurement precision relative to more sophisticated techniques.
The measurement uncertainty budget analysis reveals that the observed experimental variability arises from multiple contributing sources operating simultaneously. Encoder quantization contributes approximately ± 0.0168 rad position uncertainty corresponding to 0.5% contribution to velocity uncertainty. Voltage supply stability maintained at ± 0.05 V introduces approximately 0.4% contribution to torque uncertainty. Temperature drift of ± 1 °C during extended experimental sessions contributes approximately 1.5% to friction coefficient variability through temperature-dependent changes in lubricant viscosity. Mechanical repeatability variations including instantaneous surface condition changes at gear tooth contacts contribute approximately 2.0% to Coulomb friction variability. Numerical computation errors arising from floating-point precision limitations contribute negligibly at less than 0.01%. The combined uncertainty computed through root-sum-square propagation yields 0 . 5 2 + 0 . 4 2 + 1 . 5 2 + 2 . 0 2 2.6 % , demonstrating excellent agreement with the observed RSD values of 2.78% to 4.08% and thereby validating the uncertainty analysis framework.
The comprehensive statistical analysis encompassing 58 experimental trials conducted across multiple days under consistent laboratory protocols demonstrates conclusively that the proposed direct analytical parameter identification methods deliver consistent, repeatable results entirely suitable for practical engineering applications. The achieved low variability with RSD below 4.5% for all critical parameters validates both the robustness of the measurement procedures and the numerical stability of the data analysis algorithms, establishing confidence in the methods’ readiness for industrial deployment in commissioning and calibration scenarios.

4.1.10. Closed-Loop Velocity Control Validation

Finally, a closed-loop experiment was conducted to validate the identified parameters through a velocity control test. A proportional–integral (PI) controller with a velocity estimator was implemented, as shown in Figure 4.
As mentioned before, the closded-loop system (34) is stable under the conditions k 1 f v and k 2 0 . The method for tuning the gains in this research will be explained as following. Defining the integral of the error as ξ ( t ) = 0 t e ( τ ) d τ , the system can be rewritten as a second-order state-space representation:
e ˙ ( t ) = k 1 f v J e ( t ) + k 2 J ξ ( t ) ,
ξ ˙ ( t ) = e ( t ) .
Applying the Laplace transform yields
J s 2 E ( s ) = ( k 1 f v ) s E ( s ) + k 2 E ( s ) ,
which leads to the characteristic equation
s 2 + f v k 1 J s k 2 J = 0 .
For a second-order system described by the standard polynomial s 2 + a 1 s + a 0 = 0 , the Routh–Hurwitz stability criterion requires that all coefficients be positive. From (40), the following conditions are obtained:
a 1 = f v k 1 J > 0 k 1 < f v ,
a 0 = k 2 J > 0 k 2 < 0 .
These inequalities are consistent with the stability conditions stated after (34).
Gain Selection Methodology
Step 1: Specification of desired closed-loop dynamics. The target closed-loop performance specifications were chosen as follows:
  • Settling time: t s 2 s , typical for servo motor applications;
  • Damping ratio: ζ 0.7 , allowing slight overshoot while maintaining good transient response.
Step 2: Relationship between specifications and characteristic equation. For a standard second-order system described by
s 2 + 2 ζ ω n s + ω n 2 = 0 ,
the natural frequency ω n is related to the settling time (2% criterion) by
t s = 4 ζ ω n .
Substituting t s = 2 s and ζ = 0.7 yields
ω n = 4 ζ t s = 4 0.7 × 2 = 2.857 rad / s .
Step 3: Matching characteristic equation coefficients. Comparing (40) with the standard form results in
2 ζ ω n = f v k 1 J k 1 = f v J ( 2 ζ ω n ) ,
ω n 2 = k 2 J k 2 = J ω n 2 .
Substituting the identified parameters J = 0.1346 kg · m 2 and f v = 0.3935 N · m · s gives
k 1 = 0.144 N · m · s ,
k 2 = 0.110 N · m .
Step 4: Practical adjustment and validation. The theoretically obtained gains ( k 1 = 0.144 ,   k 2 = 0.110 ) were slightly adjusted to ( k 1 = 0.2 , k 2 = 0.1 ) based on practical considerations:
  • Increasing the magnitude of k 1 improves disturbance rejection at the expense of a moderate increase in overshoot;
  • Reducing the magnitude of k 2 mitigates integral windup effects at low velocities.
The experimental results presented in Figure 17 and Figure 18 demonstrate precise velocity tracking with minimal steady-state error. The system maintains stability even when the reference velocity exceeds the identified linear region, confirming that the identified model parameters accurately describe the system dynamics and can be effectively used for control design.

5. Conclusions and Discussion

The experimental results presented in this work demonstrate that both the constant torque and ramp-type excitation methods provide consistent and reliable estimates of the viscous friction, Coulomb friction, and inertia coefficients of a DC motor. The viscous friction coefficients obtained by both methods are nearly identical, confirming the linear dependence of this component on angular velocity. This consistency directly supports the accuracy of the proposed analytical models and validates their applicability for controller design.
The Coulomb friction coefficient, on the other hand, showed lower values when using the ramp-type input method. This can be attributed to the continuous acceleration inherent to this excitation, which reduces the influence of static friction compared to the constant torque case, where acceleration is zero. Although Coulomb friction has a smaller impact on high-speed control, it remains critical at low velocities where nonlinear effects dominate. The inertia coefficient values estimated by both methods showed close agreement, demonstrating the robustness of the analytical expressions derived for transient response analysis.
The identified parameters were used in the implementation of a proportional–integral (PI) velocity controller, achieving stable and accurate tracking performance. The control system maintained robustness within and slightly beyond the linear operating region, validating the fidelity of the identified parameters in dynamic control applications. These results confirm that direct analytical estimation methods, free of iterative or optimization-based computations, can yield precise and computationally efficient parameter identification results, suitable for educational and embedded applications with limited processing resources.

Discussion and Limitations

Despite the overall effectiveness of the proposed identification framework, several limitations must be acknowledged. First, the experimental setup was restricted to a single DC motor model operating under laboratory conditions and without variable load disturbances. Consequently, the identified parameters can vary under different environmental conditions, such as changes in temperature or humidity, which can alter frictional behavior and material properties. In addition, nonlinear friction effects such as Stribeck behavior and stick–slip dynamics were not explicitly modeled, which may limit the accuracy of the identified parameters at very low velocities.
Another limitation is that this study focused on open-loop identification with relatively simple excitation profiles. More complex system identification techniques, such as frequency-domain analysis or observer-based estimation, could improve the robustness of the results against measurement noise or unmodeled dynamics.

Author Contributions

Conceptualization, J.A.C.S. and I.U.P.; methodology, J.A.C.S. and I.U.P.; validation, I.S., M.A.G., and G.M.; formal analysis, I.U.P. and I.S.; investigation, G.M. and M.A.G.; data curation, I.S. and M.A.G.; writing—original draft preparation, J.A.C.S., I.U.P. and I.S.; writing—review and editing, I.U.P. and M.A.G.; visualization, I.S. and M.A.G.; supervision, I.U.P. All authors have read and agreed to the published version of the manuscript.

Funding

Project funded by the UACJ, through the Call for Research Projects with Social Impact (PIISO) in 2023.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

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.

References

  1. Kim, S. Moment of inertia and friction torque coefficient identification in a servo drive system. IEEE Trans. Ind. Electron. 2018, 66, 60–70. [Google Scholar] [CrossRef]
  2. Freidovich, L.; Robertsson, A.; Shiriaev, A.; Johansson, R. LuGre-model-based friction compensation. IEEE Trans. Control Syst. Technol. 2009, 18, 194–200. [Google Scholar] [CrossRef]
  3. Zimmermann, K.; Zeidis, I.; Lysenko, V. Mathematical model of a linear motor controlled by a periodic magnetic field considering dry and viscous friction. Appl. Math. Model. 2021, 89, 1155–1162. [Google Scholar] [CrossRef]
  4. Kim, N.J.; Moon, H.S.; Hyun, D.S. Inertia identification for the speed observer of the low speed control of induction machines. IEEE Trans. Ind. Appl. 1996, 32, 1371–1379. [Google Scholar] [CrossRef]
  5. Lee, K.B.; Blaabjerg, F. Robust and stable disturbance observer of servo system for low-speed operation. IEEE Trans. Ind. Appl. 2007, 43, 627–635. [Google Scholar] [CrossRef]
  6. Seong, H.; Chung, C.; Shim, D. Model Parameter Identification via a Hyperparameter Optimization Scheme for Autonomous Racing Systems. IEEE Control Syst. Lett. 2023, 7, 1652–1657. [Google Scholar] [CrossRef]
  7. Batool, A.; ul Ain, N.; Amin, A.A.; Adnan, M.; Shahbaz, M.H. A comparative study of DC servo motor parameter estimation using various techniques. Automatika 2022, 63, 303–312. [Google Scholar] [CrossRef]
  8. Fazdi, M.F.; Hsueh, P.W. Parameters Identification of a Permanent Magnet DC Motor: A Review. Electronics 2023, 12, 2559. [Google Scholar] [CrossRef]
  9. Kuczmann, M. Review of DC Motor Modeling and Linear Control: Theory with Laboratory Tests. Electronics 2024, 13, 2225. [Google Scholar] [CrossRef]
  10. Wu, W. DC Motor Parameter Identification Using Speed Step Responses. Model. Simul. Eng. 2012, 2012, 189757. [Google Scholar] [CrossRef]
  11. Brablc, M.; Sova, V.; Grepl, R. Adaptive feedforward controller for a DC motor drive based on inverse dynamic model with recursive least squares parameter estimation. In Proceedings of the 2016 17th International Conference on Mechatronics—Mechatronika (ME), Prague, Czech Republic, 7–9 December 2016; pp. 1–5. [Google Scholar]
  12. De Souza, D.A.; Batista, J.G.; Vasconcelos, F.J.S.; Dos Reis, L.L.N.; Machado, G.F.; Costa, J.R.; Junior, J.N.N.; Silva, J.L.N.; Rios, C.S.N.; Júnior, A.B.S. Identification by Recursive Least Squares with Kalman Filter (RLS-KF) Applied to a Robotic Manipulator. IEEE Access 2021, 9, 63779–63789. [Google Scholar] [CrossRef]
  13. Chebbi, A.; Franchek, M.A.; Grigoriadis, K. Simultaneous State and Parameter Estimation Methods Based on Kalman Filters and Luenberger Observers: A Tutorial and Review. Sensors 2025, 25, 7043. [Google Scholar] [CrossRef]
  14. Brosch, A.; Hanke, S.; Wallscheid, O.; Böcker, J. Data-Driven Recursive Least Squares Estimation for Model Predictive Current Control of Permanent Magnet Synchronous Motors. IEEE Trans. Power Electron. 2021, 36, 2179–2190. [Google Scholar] [CrossRef]
  15. Amiri, M.S.; Ibrahim, M.F.; Ramli, R.B. Optimal parameter estimation for a DC motor using genetic algorithm. Int. J. Power Electron. Drive Syst. 2020, 11, 1047–1054. [Google Scholar] [CrossRef]
  16. Rodríguez-Abreo, O.; Hernandez-Paredes, J.M.; Rangel, A.F.; Fuentes-Silva, C.; Velásquez, F.A.C. Parameter Identification of Motors by Cuckoo Search Using Steady-State Relations. IEEE Access 2021, 9, 72017–72024. [Google Scholar] [CrossRef]
  17. Karnavas, Y.L. Application of recent nature-inspired meta-heuristic optimisation techniques to small permanent magnet DC motor parameters identification problem. J. Eng. 2020, 2020, 877–888. [Google Scholar] [CrossRef]
  18. Gökçe, C.O.; İpek, M.E.; Dayıoğlu, M.; Ünal, R. Parameter estimation and speed control of real DC motor with low resolution encoder. Results Control Optim. 2025, 19, 100549. [Google Scholar] [CrossRef]
  19. Siddiqi, F.U.R.; Ahmad, S.; Akram, T.; Ali, M.U.; Zafar, A.; Lee, S.W. Artificial Neural Network-Based Data-Driven Parameter Estimation Approach: Applications in PMDC Motors. Mathematics 2024, 12, 3407. [Google Scholar] [CrossRef]
  20. Olejnik, P.; Ayankoso, S. Friction modelling and the use of a physics-informed neural network for estimating frictional torque characteristics. Meccanica 2023, 58, 2749–2769. [Google Scholar] [CrossRef]
  21. Balara, D.; Timko, J.; Žilková, J.; Lešo, M. Neural networks application for mechanical parameters identification of asynchronous motor. Neural Netw. World 2017, 27, 259–270. [Google Scholar] [CrossRef]
  22. Virgala, I.; Kelemen, M. Experimental friction identification of a DC motor. Int. J. Mech. Appl. 2013, 3, 26–30. Available online: http://article.sapub.org/10.5923.j.mechanics.20130301.04.html (accessed on 15 September 2025).
  23. Traversaro, S.; Prete, A.D.; Muradore, R.; Natale, L.; Nori, F. Inertial parameter identification including friction and motor dynamics. In Proceedings of the 13th IEEE-RAS International Conference on Humanoid Robots, Atlanta, GA, USA, 15–17 October 2013; pp. 202–209. [Google Scholar] [CrossRef]
  24. Kelly, R.; Llamas, J.; Campa, R. A measurement procedure for viscous and coulomb friction. IEEE Trans. Instrum. Meas. 2000, 49, 857–861. [Google Scholar] [CrossRef]
  25. Ponce, I.; Orlov, Y.; Cuesta Garcia, J. Comparacion de dos metodos de estimacion de los parametros de las fricciones viscosa y de Coulomb para un motor de CD. In Proceedings of the Congreso de Instrumentacion SOMI XXX, Durango, Mexico, October 2015. [Google Scholar]
  26. Yerlikaya, U.; Balkan, T. Identification of Viscous and Coulomb Friction in Motion Constrained Systems. In Proceedings of the 2018 IEEE/ASME International Conference on Advanced Intelligent Mechatronics (AIM), Auckland, New Zealand, 9–12 July 2018; pp. 91–96. [Google Scholar] [CrossRef]
  27. De Wit, C.C.; Olsson, H.; Astrom, K.J.; Lischinsky, P. A new model for control of systems with friction. IEEE Trans. Autom. Control 1995, 40, 419–425. [Google Scholar] [CrossRef]
  28. Soto, I.; Campa, R.; Sánchez-Mazuca, S. Modelado y control con compensacion de friccion de un sistema pendubot. Revista Iberoamericana de Automática e Informática Industrial 2020, 18, 39–47. [Google Scholar] [CrossRef]
  29. Olsson, H. Control Systems with Friction. Doctoral Thesis, Department of Automatic Control, Lund Institute of Technology (LTH), Lund, Sweden, 1996. [Google Scholar]
  30. Piatkowski, T. Dahl and LuGre dynamic friction models—The analysis of selected properties. Mech. Mach. Theory 2014, 73, 91–100. [Google Scholar] [CrossRef]
  31. Hernandez, E.D.R.; Garcia, B.E.S.; Cortes, F.R.; Trevino, M.A.V.; Barriga, J.L.O. Nuevo modelo de friccion para robots manipuladores. In Proceedings of the Mem. ELECTRO, Chihuahua, Mexico, October 2018; Volume 42, pp. 140–145. [Google Scholar]
  32. Yao, J.; Jiao, Z.; Ma, D. RISE-Based Precision Motion Control of DC Motors With Continuous Friction Compensation. IEEE Trans. Ind. Electron. 2014, 61, 7067–7075. [Google Scholar] [CrossRef]
  33. Bhushan, B. Introduction to Tribology; John Wiley & Sons: Hoboken, NJ, USA, 2013. [Google Scholar] [CrossRef]
  34. Olsson, H.; Åström, K.; Canudas de Wit, C.; Gäfvert, M.; Lischinsky, P. Friction Models and Friction Compensation. Eur. J. Control 1998, 4, 176–195. [Google Scholar] [CrossRef]
  35. Virgala, I.; Frankovsky, P.; Kenderova, M. Friction Effect Analysis of a DC Motor. Am. J. Mech. Eng. 2013, 1, 1–5. [Google Scholar] [CrossRef]
  36. Armstrong-Helouvry, B.; Dupont, P.; De Wit, C.C. A survey of models, analysis tools and compensation methods for the control of machines with friction. Automatica 1994, 30, 1083–1138. [Google Scholar] [CrossRef]
  37. Kaewkham-ai, B.; Uthaichana, K. Comparative study on friction compensation using Coulomb and Dahl models with extended and unscented Kalman filters. In Proceedings of the 2012 7th IEEE Conference on Industrial Electronics and Applications (ICIEA), Singapore, 18–20 July 2012; pp. 191–195. [Google Scholar] [CrossRef]
  38. Xu, Z.D.; Guo, Y.Q.; Zhu, J.T.; Xu, F.H. Chapter 4—Semiactive Intelligent Control. In Intelligent Vibration Control in Civil Engineering Structures; Xu, Z.D., Guo, Y.Q., Zhu, J.T., Xu, F.H., Eds.; Academic Press: Oxford, UK, 2017; pp. 85–149. [Google Scholar] [CrossRef]
Figure 1. Coulomb and viscous friction model.
Figure 1. Coulomb and viscous friction model.
Sensors 26 00078 g001
Figure 2. Torque behavior as a function of velocity.
Figure 2. Torque behavior as a function of velocity.
Sensors 26 00078 g002
Figure 3. Behavior of the velocity when applying a ramp-type torque.
Figure 3. Behavior of the velocity when applying a ramp-type torque.
Sensors 26 00078 g003
Figure 4. Closed-loop system for DC motor velocity control.
Figure 4. Closed-loop system for DC motor velocity control.
Sensors 26 00078 g004
Figure 5. Testing and experimentation platform.
Figure 5. Testing and experimentation platform.
Sensors 26 00078 g005
Figure 6. Block diagram of the testing and experimentation platform.
Figure 6. Block diagram of the testing and experimentation platform.
Sensors 26 00078 g006
Figure 7. ROSMASTER X3-PLUS an educational and research robotic platform.
Figure 7. ROSMASTER X3-PLUS an educational and research robotic platform.
Sensors 26 00078 g007
Figure 8. Velocity response to constant positive torque inputs.
Figure 8. Velocity response to constant positive torque inputs.
Sensors 26 00078 g008
Figure 9. Velocity response to constant negative torque inputs.
Figure 9. Velocity response to constant negative torque inputs.
Sensors 26 00078 g009
Figure 10. Velocity behavior for all voltage conditions.
Figure 10. Velocity behavior for all voltage conditions.
Sensors 26 00078 g010
Figure 11. Quadratic error between the experimental velocity and the linearized velocity.
Figure 11. Quadratic error between the experimental velocity and the linearized velocity.
Sensors 26 00078 g011
Figure 12. Velocity response to a ramp-type input voltage with a 0.2 V/s slope.
Figure 12. Velocity response to a ramp-type input voltage with a 0.2 V/s slope.
Sensors 26 00078 g012
Figure 13. Velocity response to a ramp-type input voltage with a 0.5 V/s slope.
Figure 13. Velocity response to a ramp-type input voltage with a 0.5 V/s slope.
Sensors 26 00078 g013
Figure 14. Velocity response to a ramp-type input voltage with a 0.94 V/s slope.
Figure 14. Velocity response to a ramp-type input voltage with a 0.94 V/s slope.
Sensors 26 00078 g014
Figure 15. Behavior of differents models fricction in steady state: Armstrong, viscous friction plus Coulomb and LuGre.
Figure 15. Behavior of differents models fricction in steady state: Armstrong, viscous friction plus Coulomb and LuGre.
Sensors 26 00078 g015
Figure 16. Velocity behavior during the transient state used to estimate the moment of inertia.
Figure 16. Velocity behavior during the transient state used to estimate the moment of inertia.
Sensors 26 00078 g016
Figure 17. Performance of velocity using the identified parameters and PI closed-loop control.
Figure 17. Performance of velocity using the identified parameters and PI closed-loop control.
Sensors 26 00078 g017
Figure 18. Error and control input performance using the identified parameters and PI closed-loop control.
Figure 18. Error and control input performance using the identified parameters and PI closed-loop control.
Sensors 26 00078 g018
Table 1. Summary of friction models, identification parameters, and experimental requirements.
Table 1. Summary of friction models, identification parameters, and experimental requirements.
Friction ModelModel TypeParameters to Be IdentifiedRequired Experimental Conditions
Viscous frictionStatic, linear f v Steady-state tests at constant velocity
Coulomb + viscous frictionStatic, nonlinear f c , f v Steady-state tests with positive and negative velocities
Coulomb + viscous with biasStatic, nonlinear f c , f v , b Steady-state tests under unidirectional rotation
Static LuGre (Stribeck effect)Static, nonlinear f c , f s , f v , ω s Low-speed velocity sweeps in both directions
Dahl modelDynamic, nonlinear σ 0 , f c Torque or voltage step and ramp tests
Dynamic LuGre modelDynamic, nonlinear σ 0 , σ 1 , f c , f s , f v , ω s Step, ramp, or PRBS excitations with persistent excitation
Dynamic LuGre with inertiaDynamic, nonlinear J , σ 0 , σ 1 , f c , f s , f v , ω s PRBS or multi-step tests with velocity reversals
Pure mechanical dynamic modelDynamic, linear J , b Step response tests neglecting nonlinear friction effects
Table 2. Viscous and Coulomb friction coefficients derived using the constant torque method.
Table 2. Viscous and Coulomb friction coefficients derived using the constant torque method.
Input Voltage f v | f c |
Positive (0 to 12 V) 0.3945 0.4694
Positive (12 to 0 V) 0.3999 0.5954
Negative (0 to −12 V) 0.3869 0.4334
Negative (−12 to 0 V) 0.3929 0.5586
Average Value 0.3935 0.5141
Equation of the straight line: u = f v θ ˙ + f c , where m is the slope and c is the y-intercept.
Table 3. Viscous and Coulomb friction coefficients derived using the ramp-type input method.
Table 3. Viscous and Coulomb friction coefficients derived using the ramp-type input method.
ParameterPositive RampNegative Ramp
r 0.2 V/s 0.2 V/s
m 0.5002 0.5230
b 1.2205 0.8149
f v 0.3998  N·m·s 0.3824  N·m·s
f c 0.4880  N·m 0.3116  N·m
r 0.5 V/s 0.5 V/s
m 1.2330 1.3041
b 1.1143 0.3868
f v 0.4055  N·m·s 0.3834  N·m·s
f c 0.4519  N·m 0.1483  N·m
r 0.94 V/s 0.94 V/s
m 2.2978 2.4029
b 0.7809 0.6552
f v 0.4091  N·m·s 0.3912  N·m·s
f c 0.3195  N·m 0.2563  N·m
r = ramp slope, m = velocity slope, b = intercept with the velocity axis, f v = viscous friction coefficient and f c = Coulomb friction coefficient.
Table 4. Viscous and Coulomb friction coefficients estimated by both methods.
Table 4. Viscous and Coulomb friction coefficients estimated by both methods.
ParameterConstant TorqueRamp
Viscous Friction 0.3935  N·m·s 0.3952  N·m·s
Coulomb Friction 0.5141  N·m 0.3293  N·m
Table 5. Comparison of friction models using steady-state experimental data.
Table 5. Comparison of friction models using steady-state experimental data.
ModelParametersRMSE (N·m) R 2 Func. Eval.
Coulomb–viscous f c , f v 0.290.98234
Stribeck f c , f s , f v , ω s 0.180.99197
LuGre (steady-state) σ 0 , σ 1 , f v , f s 0.200.990112
Table 6. Estimated moment of inertia using parameters from both methods.
Table 6. Estimated moment of inertia using parameters from both methods.
ParameterConstant TorqueRamp
Viscous Friction 0.3935  N·m·s 0.3952  N·m·s
Coulomb Friction 0.5141  N·m 0.3293  N·m
Moment of Inertia 0.1346  kg·m2 0.1178  kg·m2
Table 7. Repeatability Statistics for Constant Torque Method (5 trials per condition).
Table 7. Repeatability Statistics for Constant Torque Method (5 trials per condition).
Input Voltage
Direction
Viscous Friction f v Coulomb Friction f c
Mean
(N·m·s)
Std Dev
(N·m·s)
RSD
(%)
Mean
(N·m)
Std Dev
(N·m)
RSD
(%)
Positive (0 to 12 V)0.39450.01082.740.46940.01873.98
Positive (12 to 0 V)0.39990.01213.030.59540.02454.12
Negative (0 to −12 V)0.38690.00952.450.43340.01633.76
Negative (−12 to 0 V)0.39290.01142.900.55860.02193.92
Overall Average0.39350.01102.780.51410.02043.95
RSD = Relative Standard Deviation = ( σ / μ ) × 100 % .
Table 8. Repeatability Statistics for Ramp Input Method (5 trials per condition).
Table 8. Repeatability Statistics for Ramp Input Method (5 trials per condition).
Ramp RateViscous Friction f v Coulomb Friction f c
Mean
(N·m·s)
Std Dev
(N·m·s)
RSD
(%)
Mean
(N·m)
Std Dev
(N·m)
RSD
(%)
+ 0.2 V/s0.39980.01273.180.48800.03126.39
+ 0.5 V/s0.40550.01333.280.45190.02896.40
+ 0.94 V/s0.40910.01423.470.31950.02086.51
0.2 V/s0.38240.01153.010.31160.02016.45
0.5 V/s0.38340.01193.100.14830.00986.61
0.94 V/s0.39120.01283.270.25630.01676.52
Overall Average0.39520.01273.220.32930.02136.48
Table 9. Repeatability Statistics for Moment of Inertia (8 trials).
Table 9. Repeatability Statistics for Moment of Inertia (8 trials).
MethodMean J
(kg·m2)
Std Dev J
(kg·m2)
RSD J
(%)
95% Confidence
Interval (kg·m2)
Using constant torque
friction parameters
0.13460.00413.05[0.1313, 0.1379]
Using ramp input
friction parameters
0.11780.00484.08[0.1140, 0.1216]
Table 10. Comprehensive Statistical Summary of Parameter Identification Repeatability.
Table 10. Comprehensive Statistical Summary of Parameter Identification Repeatability.
ParameterMethodTrials
(n)
MeanStd
Dev
RSD
(%)
95% CIRange
(Min–Max)
Viscous Friction f v
(N·m·s)
Constant
Torque
200.39350.01102.78[0.3830,
0.4040]
[0.3781,
0.4103]
Ramp
Input
300.39520.01273.22[0.3845,
0.4059]
[0.3765,
0.4145]
Coulomb Friction f c
(N·m)
Constant
Torque
200.51410.02043.95[0.5049,
0.5233]
[0.4823,
0.5512]
Ramp
Input
300.32930.02136.48[0.3196,
0.3390]
[0.3012,
0.3621]
Moment of Inertia J
(kg·m2)
Transient
(CT friction)
80.13460.00413.05[0.1313,
0.1379]
[0.1289,
0.1398]
Transient
(Ramp friction)
80.11780.00484.08[0.1140,
0.1216]
[0.1117,
0.1243]
CT = Constant Torque method; RSD = Relative Standard Deviation = (Std Dev/Mean) × 100%. 95% CI = 95% Confidence Interval assuming normal distribution: [ μ 1.96 σ , μ + 1.96 σ ].
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

Cardona Soto, J.A.; Ponce, I.U.; Soto, I.; García, M.A.; Mejía, G. Identification of Dynamic Parameters in a DC Motor Using Step and Ramp Torque Response Methods. Sensors 2026, 26, 78. https://doi.org/10.3390/s26010078

AMA Style

Cardona Soto JA, Ponce IU, Soto I, García MA, Mejía G. Identification of Dynamic Parameters in a DC Motor Using Step and Ramp Torque Response Methods. Sensors. 2026; 26(1):78. https://doi.org/10.3390/s26010078

Chicago/Turabian Style

Cardona Soto, Jorge Antonio, Israel U. Ponce, Israel Soto, Miguel A. García, and Guillermo Mejía. 2026. "Identification of Dynamic Parameters in a DC Motor Using Step and Ramp Torque Response Methods" Sensors 26, no. 1: 78. https://doi.org/10.3390/s26010078

APA Style

Cardona Soto, J. A., Ponce, I. U., Soto, I., García, M. A., & Mejía, G. (2026). Identification of Dynamic Parameters in a DC Motor Using Step and Ramp Torque Response Methods. Sensors, 26(1), 78. https://doi.org/10.3390/s26010078

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