Next Article in Journal
Inertial Sensors for Hip Arthroplasty Rehabilitation: A Scoping Review
Previous Article in Journal
Skywave Detection and Mitigation for the MF R-Mode Continuously Operating Reference Station
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

GWO-Based Multi-Stage Algorithm for PMDC Motor Parameter Estimation

by
Adam Pawlowski
*,†,
Maciej Ciezkowski
,
Slawomir Romaniuk
and
Zbigniew Kulesza
Department of Automatic Control and Robotics, Faculty of Electrical Engineering, Bialystok University of Technology, ul. Wiejska 45D, 15-351 Bialystok, Poland
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Sensors 2023, 23(11), 5047; https://doi.org/10.3390/s23115047
Submission received: 24 April 2023 / Revised: 13 May 2023 / Accepted: 22 May 2023 / Published: 24 May 2023
(This article belongs to the Section Electronic Sensors)

Abstract

:
During the design of a wheeled mobile robot, the problem of the proper selection of the parameters of its motor controllers was encountered. Knowing the parameters of the robot’s Permanent Magnet Direct Current (PMDC) motors, precise tuning of the controllers can be performed, which then results in improved robot dynamics. Among many methods of parametric model identification, optimization-based techniques, particularly genetic algorithms, have gained more and more interest recently. The articles on this topic present the results of parameter identification, but they do not refer to the search ranges for individual parameters. With too wide a range, genetic algorithms do not find solutions or are time-inefficient. This article introduces a method for determining the parameters of a PMDC motor. The proposed method performs an initial estimation of the range of searched parameters to shorten the estimation time of the bioinspired optimization algorithm.

1. Introduction

PMDC motors are widely utilized, e.g., as drive units of wheeled mobile robots, or as DC–DC converters [1]. High-speed accurate performance of a robot can be provided by setting the proper parameters of the motor speed/torque controllers. The most frequently used controllers are digital PID controllers [2], and their modifications [3]. Other algorithms for PMDC control can also be found. The authors in [4] introduced the model reference adaptive system (MRAS)-based method to control the motor, and compared the results with a PI controller. Different simulation methods can be used to design the controller of the PMDC motor, yet the parameters of the motor model need to be known in advance [5]. In the literature, a simple linear viscous friction model is mostly implemented. The friction model is more complex and takes into account Coulomb, Stribeck, and sticky friction as presented by the authors in paper [6]. The shape of the friction characteristics is a nonlinear curve and is often approximated by an exponential or polynomial function, as demonstrated by the authors in paper [7].
There are many methods of parametric model identification [8]. The most popular of the optimization methods used for identification is the Recursive Least-Squares (RLS) method [9]. It is recommended for its simplicity and applicability to real systems in addition to its advantage of lower computational complexity. An interesting solution for PMDC model estimation using binary-valued measurements is presented in [10]. In the paper, the suitable regression model is used to model the relationship between the input voltage and the output speed of the motor, to support online estimation utilizing cheap and low-complex binary sensors. A similar approach was utilized by the authors in [5,11], where the authors presented a deeper description and a wider scope of examples. A sensorless method for speed estimation of a PMDC motor is shown in [12]. The authors utilized the RLS method and the first-order mathematical model of the PMDC to reduce the number of samples required for online implementation. The authors in [13] presented a method for estimating a PMDC motor speed considering the effect of the armature teeth-slots and commutation. Different motor responses are used to gather the data required for parameter estimation. In [14], authors used a Pseudo-Random Binary Sequence (PRBS) for the system identification process. The authors in [15] utilized multiparametric programming to estimate the parameters of the DC motor. Multiparametric programming is a mathematical optimization technique that can be used to solve parameter estimation problems. In this method, the parameters of a system are estimated by minimizing a cost function subject to a set of constraints. The authors in paper [16] suggested a novel approach for parameter estimation based on the Rao-1 algorithm, which is a modified version of the Kalman filter. Another approach to motor parameter estimation is proposed in [17]. The article presents the method for identifying the parameters of a DC motor using a compound least-squares (CLS) approach. Articles [18,19] propose novel methods for identifying the parameters of a DC motor based on algebraic equations. Motor parameter estimation methods utilizing Swarm Intelligence algorithms are presented in [20,21].
Optimization-based methods, in particular the techniques based on genetic algorithms, have gained broad interest [22]. Particularly interesting is the work presented by the authors in [23], which uses the Gray Wolf Optimization (GWO) genetic algorithm to determine the parameters of a brushed electric motor. However, the downside of the method is a very wide range of searched parameters, which results in a long estimation period and uncertainty of the obtained results. Furthermore, the fitness/cost function presented by the authors can be questioned due to the lack of weighting for current and speed components. Due to the significant order-of-magnitude difference between the current and speed, the above-mentioned fitness/cost function focuses on matching the speed waveform, almost completely ignoring the current response of the motor.
All the above-mentioned methods can be characterized in terms of the accuracy, complexity, and time of parametric model identification. The time of identifying the parameters is directly related to the range in which the solution is sought. To increase the efficiency of optimization methods, it is necessary to roughly define the values of the parameters, to establish search ranges for individual parameters.
In the following paper, a new method for quick estimation of the PMDC motor parameters is proposed. The method consists of two stages. In the former one, rough values of parameters are calculated, while in the latter one, they are carefully evaluated to estimate the fine values. Since the second stage requires a little more time to finish, the method intends to shorten the whole procedure by starting fine parameter estimation with rough estimates of the values from the first stage.

2. Methods

This section presents the methods of modeling and estimating PMDC motor parameters.

2.1. Modeling of the PMDC Motor

The principle of operation of a PMDC motor is related to basic electrical and mechanical laws [24]. The flow of current through the rotor winding creates a force as a result of the interaction of the stator’s magnetic field with the rotor’s magnetic field. The torque of the force acting on the rotor is proportional to the current flowing through the rotor winding, and the mechanical constant K m . A DC motor with a permanent magnet can be modeled in the form of two analogous circuits: electrical and mechanical (see Figure 1). The parameters of the electric circuit are rotor winding resistance R, rotor winding inductance L, and electromotive constant K ϕ . The parameters of the mechanical circuit are friction coefficient b, rotor inertia J, mechanical constant K m , and loading torque T L . Due to the analogy between the two circuits, the mechanical circuit is modeled using electrical symbols.
The mathematical model of the motor can be described by two differential equations. Using the second Kirchhoff law, the following relationships can be obtained:
u ( t ) = i ( t ) R + d i ( t ) d t L + ω ( t ) K ϕ
K m i ( t ) = d ω ( t ) d t J + ω ( t ) b + T L
The total power of the motor (or any other electrical device) is expressed as P = u ( t ) i ( t ) . According to Equation (1), the total power of the motor is:
P = u ( t ) i ( t ) = ( i ( t ) R + d i ( t ) d t L + ω K ϕ ) i ( t ) = i ( t ) 2 R + i ( t ) d i ( t ) d t L + ω K ϕ i ( t )
The motor power that is converted into mechanical power is described by the third term of Equation (3) (the first term describes the power associated with Joule–Lenz heat, while the second describes the magnetization of the coil). Since the mechanical power of a rotating motor is also defined as P m = ω K m i ( t ) , it can be assumed that in all the previous and following Equations, there is an equality:
K ϕ = K m = K
Equations (1) and (2) form a system of differential equations, where the unknown functions are i ( t ) and ω ( t ) . The most common approach to solve this differential equations system is to use numerical methods (e.g., using Simulink). However, this system can be solved analytically. The advantage of such an approach is that it speeds up further calculations performed during numerical optimization. Analytical solutions of Equations (1) and (2) take the form:
ω ( t ) = K U e t ( A + b L + J R ) 2 J L A 2 e t ( A + b L + J R ) 2 J L + e A t J L + 1 + e A t J L 1 ( b L + J R ) 2 A b R + K 2
i ( t ) = U e B t e A t J L 1 b 2 ( L ) + b J R + 2 J K 2 A b e A t J L 2 e B t + 1 2 A b R + K 2
where A = b 2 L 2 + J 2 R 2 2 J L 2 K 2 + b R and B = A + b L + J R 2 J L . These solutions are obtained under the following assumptions: u ( t ) = U = const , i ( 0 ) = ω ( 0 ) = 0 .

2.2. Characteristic Points Method

To simplify and speed up calculations, the characteristic points method (CPM) of parametric model identification is introduced. The method assumes that the values of model parameters are calculated based on current and speed values at characteristic points for which the derivative is equal to zero.
Equation (1) for characteristic points t 0 and t 1 (see Figure 2) can be written as:
u ( t 0 ) = i ( t 0 ) R + ω ( t 0 ) K
u ( t 1 ) = i ( t 1 ) R + ω ( t 1 ) K
Equation (2) in time t 1 , on the other hand, can be written in the following form:
K i ( t 1 ) = ω ( t 1 ) b + T L
Based on Equations (7)–(9) with condition u ( t 0 ) = u ( t 1 ) = U , the following parameters of the PMDC motor model can be obtained:
R = u ( ω ( t 1 ) ω ( t 0 ) ) i ( t 0 ) ω ( t 1 ) i ( t 1 ) ω ( t 0 )
K = U i ( t 1 ) R ω ( t 1 )
b = i ( t 1 ) K T L ω ( t 1 )
L = τ e R
J = τ m K 2 R
where τ m and τ e are mechanical and electrical time constants, respectively. Observing a certain dependence for most DC motors that τ e << τ m , we can simply assume that it is a first-order system. We can approximately assume that moments after forcing the voltage on the motor terminals, the system behaves like a regular RL circuit. Therefore, the electrical time constant can be estimated as the time it takes for the current to reach 63.2% of its maximum value. The error in this estimation will increase as the τ m / τ e ratio increases. Due to the fact that the CPM method is used only to determine the ranges, such a simplification is justified.
It should be noted that the described CPM method is not precise, because it is strongly sensitive to unavoidable measurement noise at characteristic points t 0 and t 1 and an error in the graphical determination of T e and T m . However, it can roughly estimate the parameter values and determine the scope of their search for the optimization method.

2.3. Optimization Method

The purpose of the below analysis is to find a nonlinear fit between experimental and theoretical data using an optimization method. The experimental data are the angular speed ω ^ ( t i ) and current i ^ ( t i ) of the motor (for example, such as those shown in Figure 2), while the theoretical data are the results ω ( t i ) and current i ( t i ) obtained from Equations (5) and (6), which depend on motor parameters R, K, b, J, and L.
The goal of the optimization algorithm is to find such R, K, b, J, L that minimize the following objective function:
F ( R , K , b , J , L ) = i = 1 N a ω t i ω ^ t i 2 N + i = 1 N i t i i ^ t i 2 N
where i is the sample number and N is the number of step response samples measured in the experiment.
Thus, the minimization problem can be presented in the following form:
( R , K , b , J , L ) = arg min ( R , K , b , J , L ) R F ( R , K , b , J , L )
To normalize the values of motor speed and current, a weighting factor in Equation (15) is introduced. This coefficient takes the form:
a = i = 1 N i ^ t i i = 1 N ω ^ t i
Equation (15) clearly shows the advantage of analytical solutions of differential Equations (1) and (2)—the values of ω ( t i ) and i ( t i ) can be calculated immediately from Equations (5) and (6) instead of numerical simulation.
Optimization algorithms search the solution space in different ways. Some are better suited to given issues, and some are worse. Optimization methods differ in effectiveness and time of finding solutions. To select the best bioinspired algorithm to solve the presented problem, preliminary simulation tests were performed. A set of test data was prepared, and parameters were identified using five different algorithms. The value of the objective function and the number of iterations served as a qualitative indicator for each of the algorithms. Algorithms that were selected for the comparison group were GWO algorithm [25], whale optimization algorithm (WOA) [26], particle swarm optimization (PSO) algorithm [27], chimp optimization algorithm (CHIMP) [28], and bat algorithm (BAT) [29]. The obtained results are presented in Figure 3.
In solving the presented identification problem, the GWO algorithm turned out to be the most effective, which is why it was chosen.
GWO is a metaheuristic algorithm inspired by the hunting behavior of gray wolves. The algorithm mimics the social hierarchy and hunting mechanism of gray wolves to solve optimization problems.
The algorithm starts with the initialization of a population of candidate solutions, which are called wolves. The position of each wolf in the search space represents a potential solution to the problem. The population of wolves is then divided into four groups, namely alpha, beta, delta, and omega wolves Figure 4, based on their fitness values. The alpha wolf has the best fitness value, while the omega wolf has the worst fitness value.
In each iteration of the algorithm, the position of each wolf is updated based on its position and the positions of the alpha, beta, and delta wolves. This update is performed using three different equations, each representing one of the three types of wolf behavior: searching, encircling, and attacking. The search behavior is used by the omega wolf to explore the search space, while the encircling and attacking behaviors are used by the alpha, beta, and delta wolves to converge toward the optimal solution.
The algorithm terminates when a stopping criterion is met, such as a maximum number of iterations or a desired level of fitness is reached. The final solution is the position of the alpha wolf, which represents the best solution found by the algorithm.
Overall, the Gray Wolf Optimizer is a simple yet effective algorithm that has shown promising results in solving a wide range of optimization problems, including engineering, finance, and machine learning. Its ability to balance exploration and exploitation makes it a popular choice for solving complex optimization problems.
The following equations are proposed to mathematically model the encircling behavior of gray wolves during the hunt:
D = C X p ( t ) x ( t )
X ( t + 1 ) = X p ( t ) A D
where X p is the victim position vector, X is the gray wolf position vector, t indicates the current iteration, A and D are coefficient vectors. Vectors A and C are computed as follows:
A = 2 a r 1 a C = 2 r 2
where vector a linearly decreases during iteration from 2 to 0, r 1 and r 2 , are random vectors with a value between 1 and 0.
To mathematically simulate the hunting behavior of gray wolves, it is assumed that the alpha (the best candidate solution), beta, and delta have a better understanding of the potential location of the prey. Thus, the first three best solutions obtained thus far are saved, and the other search agents (including the omegas) are required to update their positions according to the position of the best search agent. In this regard, the following formulas are proposed:
D α = C 1 · X α X , D β = C 2 · X β X , D δ = C 3 · X δ X
X 1 = X α A 1 · D α , X 2 = X β A 2 · D β , X 3 = X δ A 3 · D δ
X ( t + 1 ) = X 1 + X 2 + X 3 3
A more detailed description of the algorithm can be found in [25].

2.4. Combined CPM-GWO Method

A common problem that occurs when solving optimization tasks is the possibility of the objective function becoming stuck in a local minimum. To prevent this, constraints can be imposed on the parameters. This is generally problematic because it requires a priori knowledge of the range of solutions being sought.
To overcome this difficulty, a new method called CPM-GWO is proposed, which combines the two algorithms: the characteristic points method (CPM) described in Section 2.2 and the GWO introduced in Section 2.3. The estimation process in this case is as follows: first, make a rough identification of model parameters using the characteristic points method, then use model parameters p obtained during the first stage (i.e., CPM) to define the solutions range according to the following notation:
[ 0.1 p , 10 p ] , p R
The range is defined as the area of searching for individual parameters in the optimization method. Figure 5 shows an example comparison of the GWO method with the searching area taken as [ 0.0000001 , 10 ] (which appears to be a reasonable area for the PMDC motor parameters) and the CPM-GWO method where the search area was narrowed using the CPM solution.
It can be seen that despite using the same objective function given by Equation (15), the GWO solution is stuck in the local minimum.
The discrepancy in the GWO results can be seen in detail in Table 1, where the methods used are compared.

3. Experimental Results

Model identification was carried out for the Buhler DC motor 31 × 51 1.13.021.764.
Step responses i ( t ) and ω ( t ) of the selected motor were measured. Motor parameters were then identified at a nominal voltage of 12 V using CPM, GWO and CPM-GWO methods.

3.1. Test Rig

A block diagram of the test rig is shown in Figure 6 and the photo of the rig in Figure 7. The motor was connected to a supply voltage source KA3005D set for the rated voltage of 12 V (1). An oscilloscope (2) was used to record the voltage and current of the motor (5). A current probe (4) was placed at the power cord to measure the current value. Motor rotational speed was measured using an optical encoder and a USB frequency recorder Teensy 3.2 (3) triggered by an oscilloscope. The measurement of the step response of the motor was forced by switching on the key controlled from the Teensy board.

3.2. Parameters Estimation Using the CPM

Based on the recorded step responses of the Buhler gear motor, the points for which the d i d t = 0 condition is met were determined. Then, using Equations (10)–(14), parameters R, L, K, J, b were calculated. In the next stage, using the graphical method, time constants τ m and τ e were determined. Next, parameters J and L were calculated according to Equations (13) and (14). Step responses for model parameters obtained with the proposed characteristic points method were generated and are presented in Figure 8. Parameter values obtained through the characteristic points method are listed in Table 1.

3.3. Motor Model Identification Using CPM-GWO

Using the results obtained from the CPM method, search ranges for individual parameters were determined in accordance with Equation (24). The objective function was assumed in the form given by Equation (15). A comparison of experimental and simulation step responses obtained for the identified model parameters is presented in Figure 9.
The obtained values of the PMDC model parameters are collated in Table 1, together with the reference values given by the manufacturer of the tested motor. To improve the overall credibility of the obtained results, parameter estimation was repeated 100 times for each of the CPM-GWO and GWO methods. Table 1 describes the average values of the parameters obtained throughout this process, and the minimum, maximum and standard deviation of the estimated values.
The results shown in Table 1 clearly demonstrate that the GWO method with an a priori assumed searching range [0.0000001, 10] produces unreliable results. The average values of parameters K, J, b are not close to the factory reference values. In addition, these results are characterized by a large scatter, which can be seen in the standard deviation, min and max values. In contrast, it can be seen that the results for the CPM-GWO method are comparable to the reference factory data. According to the data in Table 1, the CPM-GWO method produces a little scatter in the results, as demonstrated by the value of the standard deviation, and in the worst cases (see min and max) the results differ from the average by a few percent at most. The exception is the value of the friction coefficient for which the standard deviation is a percentage point larger ( σ = 7.81 ×10 7 to a v g = 6.11 ×10 6 ) compared to the rest of the parameters. The problem with the friction coefficient is discussed further.
Step responses of the motor for the calculated parameters and the reference values provided by the manufacturer are shown in Figure 10.

3.4. Motor Identification for a Wide Range of Supply Voltages

The identification of motor parameters described in Section 3.2 and Section 3.3 was performed for a nominal voltage of 12 V. Thus, the results obtained can be compared with the parameters declared by the motor manufacturer. However, for purposes such as simulation, it is required to know the parameters of the motor for any voltage and not just the nominal one. To determine the parameters for a wide range of supply voltages, the measurements of motor step responses were carried out for voltages from 5 V to 16 V. In the next step, the CPM-GWO method was applied to the obtained data and the motor parameters were determined. The obtained results are shown in Figure 11 (for a few selected supply voltages), in Figure 12 and in Table 2.
As can be seen in Figure 12 and Table 2, the values of almost all estimated parameters for different voltages are constant and they fluctuate around the average value. However, in the case of friction coefficient b, its value depends on the angular speed of the shaft. This problem with the friction coefficient is discussed further in the next section.
Similar results as presented in Table 2 can be also obtained using a single optimization calculation, using the measured parameters for different voltages to obtain a single set of parameters for the motor, valid for different voltages. Such techniques of parameter optimization have been recently proposed by the authors in [31].

4. Discussion

To confirm the dependence between friction coefficient b and angular speed ω , the friction characteristics of the motor as a function of its angular speed were measured. The measurement was carried out at the same test stand as explained in Section 3. The obtained results are shown in Figure 13b. The obtained friction force moment b ω (Figure 13a,b) corresponds to the Stribeck curve [32], which is characteristic for DC motors [33]. For lower rotational speeds (less than 200 rad/s) the dependency between the friction moment and angular speed is highly nonlinear. For higher rotational speeds (over 200 rad/s) the dependency is almost linear (both for positive and negative speeds). These observations agree with Stribeck friction theory, according to which at lower speeds dry friction (boundary lubrication) is present, and for higher rotational speeds viscous friction (hydrodynamic lubrication) takes advantage. In the viscous friction area, the viscous friction coefficient is usually assumed to be constant, and these almost constant values of b can be observed in Figure 13b for rotational speeds greater than 200 rad/s. For lower speeds (less than 200 rad/s) the relationship between b and ω is highly nonlinear, because, in this speed range, dry friction takes advantage. Thus, the obtained results confirm that the commonly assumed linear viscous friction model is not correct for all rotational speed ranges, and Stribeck or other more accurate friction models [6,7] should be included.
To compare the results of the two methods, the root mean square error (RMSE) qualitative indicator was proposed:
R M S E = 1 N i = 1 N ( p i p ^ i ) 2
where p is the step response sample for the parameters calculated with a given method, p ^ is the experimental step response sample, N is the number of the step response samples. The indicator has been calculated for measurement data obtained from step responses at supply voltages ranging from 5 to 16 V. The more accurately the step response is reproduced, the smaller the indicator. The value of the RMSE for the current and speed is shown in Figure 14. As can be seen, the application of the CPM-GWO method reduces the error by about 50% when compared to the CPM method.
As shown in Figure 5 the GWO method used solely has great difficulties in estimating parameter values of the PMDC model. The GWO achieves significantly worse accuracy than the CPM-GWO, and stops improving just after the 15th iteration.

5. Conclusions

In the current paper, the CPM-GWO method has been proposed and evaluated in experimental tests. It has been demonstrated that the proposed method offers significantly lower matching error when compared to the CPM and GWO methods used solely. Moreover, the proposed method provides much lower computational time required to estimate the values of model parameters when compared to the GWO method.
The GWO method requires a priori information to provide correct and accurate estimates of the parameters. In the CPM-GWO method, this information comes from the initial estimates of the parameters achieved by the CPM, making the proposed method present correct, accurate, and reliable estimates.
The manufacturer provides values of nominal parameters that average the characteristics of the electric motors produced. Differences in the parameter values obtained using the presented CPM-GWO method in relation to the values declared by the manufacturer may result from differences arising at the production stage, wear of motor components (e.g., brushes, bearings).
The conducted tests have shown that friction coefficient b depends on the angular speed ω of the motor, and that this relation is in good agreement with Stribeck friction theory. Due to the observed variability of parameter b, it is worth including a more accurate friction model in future research related to this subject. In addition, future research could focus on more complex applications, such as when the motor is running under a constant or variable load.

Author Contributions

Conceptualization, A.P., M.C., S.R. and Z.K.; methodology, A.P., M.C., S.R. and Z.K.; software, A.P., S.R. and M.C.; validation, A.P.; formal analysis, Z.K.; investigation, A.P., M.C. and S.R.; resources, A.P.; data curation, A.P. and Z.K.; writing—original draft preparation, A.P., M.C. and S.R.; writing—review and editing, Z.K.; visualization, A.P.; supervision, Z.K.; project administration, Z.K.; funding acquisition, Z.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by Bialystok University of Technology grant number WZ/WE-IA/4/2023.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author. The data are not publicly available due to the internal restrictions of the Bialystok University of Technology.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Khan, N.T.; Chakravarty, A.; Mahanta, C.; Iqbal, A.; Hosseinpour, A. Enhanced dynamic performance in DC–DC converter-PMDC motor combination through an intelligent non-linear adaptive control scheme. IET Power Electron. 2022, 15, 1607–1616. [Google Scholar] [CrossRef]
  2. Hung, N.; Ho, D.L. DC motor parameter identification using speed step responses. Model. Simul. Eng. 2012, 2012, 30. [Google Scholar]
  3. Idir, A.; Kidouche, M.; Bensafia, Y.; Khettab, K.; Tadjer, S. Speed control of DC motor using PID and FOPID controllers based on differential evolution and PSO. Int. J. Intell. Eng. Syst. 2018, 11, 241–249. [Google Scholar] [CrossRef]
  4. Sachit, S.; Vinod, B. MRAS Based Speed Control of DC Motor with Conventional PI Control—A Comparative Study. Int. J. Control Autom. Syst. 2022, 20, 1–12. [Google Scholar] [CrossRef]
  5. Obeidat, M.A.; Wang, L.Y.; Lin, F. Real-time parameter estimation of PMDC motors using quantized sensors. IEEE Trans. Veh. Technol. 2013, 62, 2977–2985. [Google Scholar] [CrossRef]
  6. Virgala, I.; Frankovsky, P.; Kenderova, M. Friction effect analysis of a DC motor. Am. J. Mech. Eng. 2013, 1, 1–5. [Google Scholar] [CrossRef]
  7. Wolf, S.; Iskandar, M. Extending a dynamic friction model with nonlinear viscous and thermal dependency for a motor and harmonic drive gear. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), Brisbane, Australia, 21–25 May 2018; pp. 783–790. [Google Scholar]
  8. Awoda, M.; Al-Waily, R. Parameter Estimation of a Permanent Magnetic DC Motor. Iraqi J. Electr. Electron. Eng. 2019, 15, 28–36. [Google Scholar] [CrossRef]
  9. Alkamachi, A. Permanent magnet DC motor (PMDC) model identification and controller design. J. Electr. Eng. 2019, 70, 303–309. [Google Scholar] [CrossRef]
  10. Obeidat, M.A.; Wang, L.Y.; Lin, F. On-line parameter estimation of PMDC motors using binary-valued speed measurements. In Proceedings of the 2012 IEEE Power and Energy Conference, Champaign, IL, USA, 24–25 February 2012; pp. 1–5. [Google Scholar] [CrossRef]
  11. Obeidat, M.A.; Wang, L.Y.; Lin, F. Online parameter estimation of PMDC motors using quantized output observations. In Proceedings of the 2012 IEEE Transportation Electrification Conference and Expo (ITEC), Dearborn, MI, USA, 18–20 June 2012; pp. 1–6. [Google Scholar] [CrossRef]
  12. Moussa, M.F.; Saad, M.; Dessouky, Y.G. Adaptive control and one-line identification of sensorless permanent magnet DC motor. In Proceedings of the 2010 IEEE Region 8 International Conference on Computational Technologies in Electrical and Electronics Engineering (SIBIRCON), Irkutsk, Russia, 11–15 July 2010; pp. 852–857. [Google Scholar] [CrossRef]
  13. Ghosh, M.; Ghosh, S.; Saha, P.K.; Panda, G.K. Sensorless speed estimation of permanent magnet DC brushed motor considering the effect of armature teeth–slots and commutation. IET Power Electron. 2017, 10, 1550–1555. [Google Scholar] [CrossRef]
  14. Ghder Soliman, W.; Rama Koti Reddy, D.V. Microprocessor based prototype design of a PMDC motor with its system identification and PI controller design. SN Appl. Sci. 2019, 1, 549. [Google Scholar] [CrossRef]
  15. Ali, A.N.; Mid, E.C.; Ahamad, N.B.; Ruslan, E.; Hadi, D.A. Parameter Estimation of DC Motor using Multiparametric Programming. J. Phys. Conf. Ser. 2022, 2312, 012035. [Google Scholar] [CrossRef]
  16. Riasat, U.; Mughal, M.A.; Shoukat, A.; Ahmad, S. PMDC Motor Parameter Estimation Using Rao-1 Algorithm. In Proceedings of the 2022 International Conference on Technology and Policy in Energy and Electric Power (ICT-PEP), Jakarta, Indonesia, 18–20 October 2022; pp. 145–149. [Google Scholar] [CrossRef]
  17. Li, M.; Ma, Y. Parameter Identification of DC Motor based on Compound Least Square Method. In Proceedings of the 2020 IEEE 5th Information Technology and Mechatronics Engineering Conference (ITOEC), Chongqing, China, 12–14 June 2020; pp. 1107–1111. [Google Scholar] [CrossRef]
  18. Becedas, J.; Mamani, G.; Feliu, V. Algebraic parameters identification of DC motors: Methodology and analysis. Int. J. Syst. Sci. 2010, 41, 1241–1255. [Google Scholar] [CrossRef]
  19. Petrovas, A.; Pitrėnas, A.; Savickienė, Z. DC motor parameter identification using equation error method. Electr. Eng. 2018, 100, 1–9. [Google Scholar] [CrossRef]
  20. Hafez, I.; Dhaouadi, R. Parameter Identification of DC Motor Drive Systems using Particle Swarm Optimization. In Proceedings of the 2021 International Conference on Engineering and Emerging Technologies (ICEET), Istanbul, Turkey, 27–28 October 2021; pp. 1–6. [Google Scholar] [CrossRef]
  21. Mughal, M.; Khan, M.; Shah, A.; Almani, A. DC Motor Parameter Estimation Using Chaotic Initialized Particle Swarm Optimization. In Proceedings of the 3rd International Conference on Electromechanical Control Technology and Transportation (ICECTT 2018), Chongqing, China, 19–21 January 2018. [Google Scholar] [CrossRef]
  22. Hung, N.; Ho, D.L. PMDC motor parameter estimation using bio-inspired optimization algorithms. IEEE Access 2017, 5, 11244–11254. [Google Scholar]
  23. Rodríguez-Abreo, O.; Rodriguez-Resendiz, J.; Alvarez-Alvarado, J.M.; Garcia-Cerezo, A. Metaheuristic parameter identification of motors using dynamic response relations. Sensors 2022, 22, 4050. [Google Scholar] [CrossRef] [PubMed]
  24. Gieras, J.F. Permanent Magnet Motor Technology: Design and Applications; CRC Press: Boca Raton, FL, USA, 2009. [Google Scholar]
  25. Mirjalili, S.; Mirjalili, M.; Lewis, A. Grey wolf optimizer. Adv. Eng. Softw. 2014, 69, 46–61. [Google Scholar] [CrossRef]
  26. Shivahare, B.D.; Singh, M.; Gupta, A.; Ranjan, S.; Pareta, D.; Sahu, B.M. Survey Paper: Whale optimization algorithm and its variant applications. In Proceedings of the 2021 International Conference on Innovative Practices in Technology and Management (ICIPTM), Noida, India, 17–19 February 2021; pp. 77–82. [Google Scholar] [CrossRef]
  27. Grubisic, S.; Carpes, W.P.; Bastos, J.A.; Santos, G. Association of a PSO optimizer with a quasi-3D ray-tracing propagation model for mono and multi-criterion antenna positioning in indoor environments. IEEE Trans. Magn. 2013, 49, 1645–1648. [Google Scholar] [CrossRef]
  28. Eisham, Z.; Haque, M.; Rahman, M.; Nishat, M.; Faisal, F.; Islam, M. Chimp optimization algorithm in multilevel image thresholding and image clustering. Evol. Syst. 2022, 1–44. [Google Scholar] [CrossRef]
  29. Beskirli, M.; Koc, I. A comparative study of improved bat algorithm and bat algorithm on numerical benchmarks. In Proceedings of the 2015 4th International Conference on Advanced Computer Science Applications and Technologies (ACSAT), Kuala Lumpur, Malaysia, 8–10 December 2015; pp. 68–73. [Google Scholar] [CrossRef]
  30. Buhler. DC Motor 31 × 42 1.13.021.7XX. Available online: https://pdf.directindustry.com/pdf/buehler-motor-gmbh/dc-motor-31x42-1130217xx/7076-924748.html (accessed on 20 April 2023).
  31. Garmendia, I.; Anglada, E. Thermal mathematical model correlation through genetic algorithms of an experiment conducted on board the International Space Station. Acta Astronaut. 2016, 122, 63–75. [Google Scholar] [CrossRef]
  32. Tjahjowidodo, T.; Farid, A.B.; Hendrik, V.B. Friction identification and compensation in a DC motor. IFAC Proc. 2005, 3, 554–559. [Google Scholar] [CrossRef]
  33. Tala-Ighil, N.; Fillon, M. Surface texturing effect comparative analysis in the hydrodynamic journal bearings. Mech. Ind. 2015, 16, 302. [Google Scholar] [CrossRef]
Figure 1. Electro-mechanical model of the PMDC motor; where ω is the angular speed of the motor shaft, i is the current flowing through the rotor winding, and u is the supply voltage.
Figure 1. Electro-mechanical model of the PMDC motor; where ω is the angular speed of the motor shaft, i is the current flowing through the rotor winding, and u is the supply voltage.
Sensors 23 05047 g001
Figure 2. Characteristic points of current (red) and angular speed (black) step responses.
Figure 2. Characteristic points of current (red) and angular speed (black) step responses.
Sensors 23 05047 g002
Figure 3. Comparison of different optimization algorithms for the test data.
Figure 3. Comparison of different optimization algorithms for the test data.
Sensors 23 05047 g003
Figure 4. Hierarchy found in a pack of gray wolves.
Figure 4. Hierarchy found in a pack of gray wolves.
Sensors 23 05047 g004
Figure 5. Comparison of the GWO with a too-wide initial range and the CPM-GWO methods.
Figure 5. Comparison of the GWO with a too-wide initial range and the CPM-GWO methods.
Sensors 23 05047 g005
Figure 6. Schematic diagram of the experimental test rig.
Figure 6. Schematic diagram of the experimental test rig.
Sensors 23 05047 g006
Figure 7. Photo of the experimental test rig.
Figure 7. Photo of the experimental test rig.
Sensors 23 05047 g007
Figure 8. Step response for parameters calculated by the CPM.
Figure 8. Step response for parameters calculated by the CPM.
Sensors 23 05047 g008
Figure 9. Step response for parameters calculated by the CPM-GWO.
Figure 9. Step response for parameters calculated by the CPM-GWO.
Sensors 23 05047 g009
Figure 10. Step responses of the motor model for parameter values obtained by different methods for 12 V nominal voltage.
Figure 10. Step responses of the motor model for parameter values obtained by different methods for 12 V nominal voltage.
Sensors 23 05047 g010
Figure 11. Comparison of the measured step response with model responses of the PMDC motor for parameters estimated by the proposed combined CPM-GWO method for different voltages: 6 V (A), 8 V (B), 12 V (C), 16 V (D).
Figure 11. Comparison of the measured step response with model responses of the PMDC motor for parameters estimated by the proposed combined CPM-GWO method for different voltages: 6 V (A), 8 V (B), 12 V (C), 16 V (D).
Sensors 23 05047 g011
Figure 12. Parameter values estimated by the proposed CPM-GWO method for the Buhler DC motor 31 × 51 1.13.021.764 for various voltages.
Figure 12. Parameter values estimated by the proposed CPM-GWO method for the Buhler DC motor 31 × 51 1.13.021.764 for various voltages.
Sensors 23 05047 g012
Figure 13. Friction torque and friction coefficient as functions of angular speed for the Buhler DC motor 31 × 51 1.13.021.764 obtained in experimental tests; (a) friction torque; (b) friction coefficient.
Figure 13. Friction torque and friction coefficient as functions of angular speed for the Buhler DC motor 31 × 51 1.13.021.764 obtained in experimental tests; (a) friction torque; (b) friction coefficient.
Sensors 23 05047 g013
Figure 14. RMSE for two tested methods: CPM and CPM-GWO; (a) current; (b) angular speed.
Figure 14. RMSE for two tested methods: CPM and CPM-GWO; (a) current; (b) angular speed.
Sensors 23 05047 g014
Table 1. Parameters of the Buhler DC motor 31 × 51 1.13.021.764 model obtained by the CPM, GWO, CPM-GWO methods and declared by the manufacturer for the nominal voltage of 12 V [30]. n/a—not applicable.
Table 1. Parameters of the Buhler DC motor 31 × 51 1.13.021.764 model obtained by the CPM, GWO, CPM-GWO methods and declared by the manufacturer for the nominal voltage of 12 V [30]. n/a—not applicable.
ParameterSymbolCPMGWOCPM-GWOReferenceUnit
ResistanceRavg4.584.834.864.40 Ω
σ -0.080.03n/a
min-4.354.83n/a
max-5.175.02n/a
InductanceLavg3.40 × 10 3 4.82 × 10 3 4.78 × 10 3 6.16 × 10 3 H
σ -9.24 × 10 5 8.63 × 10 5 n/a
min-4.40 × 10 3 4.36 × 10 3 n/a
max-4.99 × 10 3 4.92 × 10 3 n/a
Electromotive constantKavg2.44 × 10 2 6.542.49 × 10 2 2.50 × 10 2 Vs rad
σ -2.316.04 × 10−5n/a
min-0.072.47 × 10 2 n/a
max-9.732.51 × 10 2 n/a
Rotor inertiaJavg1.61 × 10 6 0.131.60 × 10 6 1.60 × 10 6 kgm 2
σ -0.072.70 × 10 8 n/a
min-1.13 × 10 5 1.58 × 10 6 n/a
max-0.241.74 × 10 6 n/a
Friction coefficientbavg7.56 × 10 6 0.516.11 × 10 6 6.00 × 10 6 Nms / rad
σ -0.297.81 × 10 7 n/a
min-2.25 × 10 7 2.16 × 10 6 n/a
max-0.996.64 × 10 6 n/a
Table 2. Parameter values estimated by the proposed CPM-GWO method of the Buhler DC motor 31 × 51 1.13.021.764 for various voltages.
Table 2. Parameter values estimated by the proposed CPM-GWO method of the Buhler DC motor 31 × 51 1.13.021.764 for various voltages.
Source [ V ] L [ H ] K [ Vs rad ] J [ kgm 2 ] R [ Ω ] b [ Nms / rad ]
54.99 × 10 3 23.71 × 10 3 1.49 × 10 6 5.181.35 × 10 6
65.21 × 10 3 25.78 × 10 3 1.67 × 10 6 5.0011.70 × 10 6
75.27 × 10 3 24.40 × 10 3 1.55 × 10 6 5.2110.60 × 10 6
84.98 × 10 3 24.72 × 10 3 1.59 × 10 6 5.049.87 × 10 6
95.72 × 10 3 24.37 × 10 3 1.51 × 10 6 5.119.74 × 10 6
104.35 × 10 3 24.95 × 10 3 1.58 × 10 6 4.777.10 × 10 6
114.88 × 10 3 24.52 × 10 3 1.49 × 10 6 5.017.94 × 10 6
124.78 × 10 3 24.83 × 10 3 1.59 × 10 6 4.856.41 × 10 6
135.12 × 10 3 24.53 × 10 3 1.50 × 10 6 5.097.32 × 10 6
145.13 × 10 3 24.71 × 10 3 1.57 × 10 6 4.667.29 × 10 6
154.66 × 10 3 24.40 × 10 3 1.50 × 10 6 5.025.78 × 10 6
164.92 × 10 3 24.98 × 10 3 1.57 × 10 6 4.695.18 × 10 6
avg5.00 × 10 3 24.66 × 10 3 1.55 × 10 6 4.978.53 × 10 6
σ 0.324 × 10 3 0.47 × 10 3 0.0529 × 10 6 0.182.43 × 10 6
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

Pawlowski, A.; Ciezkowski, M.; Romaniuk, S.; Kulesza, Z. GWO-Based Multi-Stage Algorithm for PMDC Motor Parameter Estimation. Sensors 2023, 23, 5047. https://doi.org/10.3390/s23115047

AMA Style

Pawlowski A, Ciezkowski M, Romaniuk S, Kulesza Z. GWO-Based Multi-Stage Algorithm for PMDC Motor Parameter Estimation. Sensors. 2023; 23(11):5047. https://doi.org/10.3390/s23115047

Chicago/Turabian Style

Pawlowski, Adam, Maciej Ciezkowski, Slawomir Romaniuk, and Zbigniew Kulesza. 2023. "GWO-Based Multi-Stage Algorithm for PMDC Motor Parameter Estimation" Sensors 23, no. 11: 5047. https://doi.org/10.3390/s23115047

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