A Survey of Identification For Experimental DC Motor by
A Survey of Identification For Experimental DC Motor by
Abstract: This paper presents a method for estimating the parameters of a Permanent Magnet DC Motor (PMDC) using
the "Parameter Estimator" tool in MATLAB. The authors also conducted simulations and experiments with the
identified motor on a Rotary Inverted Pendulum (RIP) using a Linear Quadratic Regulator (LQR) controller to validate
the results. The findings demonstrate that the system responds well, with a close match between simulation and
experimental results.
Keywords: Parameter Estimator, PMDC Motor, RIP, LQR.
described by mathematical equations (1) and (2) with six parameters of motor model: Dm , J m , Kt , Kb , Ra , La .
initial parameters of PMDC motor. These parameters are By knowing from our physical insight that these
obtained from another motor with known specifications parameters cannot be negative, we set their lower limits
and loaded into workspace. to zero.
c. Load estimation data by adding a new experiment.
Select inputs as the voltage signal with a Fourier series
and the corresponding output as the rotor speed.
d. Add progress plots by clicking Add Plot on the
Fig. 7. Simulating the motor system in Matlab Simulink. Parameter Estimation tab, in Experiment Plots select
Exp. In Cost Function select Sum Squared Error.
5.1. Estimate Parameter PMDC Motor. Select More Option > Optimization, in tag Estimation
To estimate the parameters of the PMDC motor, Options select method Nonlinear least squares, Trust-
we use Parameter Estimator toolbox for Matlab. Here, Region-Reflective algorithm, click ok, and run the
we use Matlab 2023a. All steps follow the guidelines estimation.
provided by MathWorks as (from [10]): Fig. 8 shows experimental data overlaid with
a. In the Simulink, we select Apps > Parameter simulated data. Simulated data comes from the model
estimator. with six estimated parameters. Results of estimation
b. Selecting Parameters for Estimation. Estimation show that output matches.
parameters are chosen by clicking Select Parameters in
Parameter Estimator tab. For PMDC Motor, we obtain
Fig. 8. Relationship between Simulated and experimental outputs with the Fourier input signal.
The estimated parameters are shown as
a. Load the validation data by selecting Validation >
La =0.007703 ( H ) ; J m =0.0069575 (Kgm2); New Experiment. Select the inputs as the sinusoidal
Dm =0.037751 (Nm/rad); K t =0.54897 (Nm/A); (8) voltage signal and the corresponding output as the rotor
K b =0.024502 (Vs/rad); Ra =0.47345 ( ) speed.
b. Right-click on the added dataset, select Use
5.2. Validation Parameter PMDC Motor. Experiment for Validation, then choose Validate.
Successful estimation will not only match The results after validation are presented on Fig.
experimental data that was used for estimation but also 9. Validation demonstrates that the model effectively
other data sets experimentally collected [10]. Therefore, handles sinusoidal input signal from the validation data,
we added an evaluation step with a sinusoidal input indicating that model parameters were successfully
signal. The validation in the Parameter Estimator follows estimated.
the following steps:
Fig. 9. The relationship between the simulated and experimental outputs with the Sinusoidal input signal.
6. Evaluate the PMDC Motor Parameter using K tV −K K
LQR Controller on RIP = + ( t b − Dm ) − J m (10)
Rm Rm
Because the objective of parameter estimation for Tab. 2. The parameters and variables of the system.
the motor is to model and design a controller for the
Values Description Value Unit
system. Therefore, to evaluate the estimated parameters
for the motor, the authors will design an LQR controller m1 Mass of pendulum 0.05322 Kg
on the represented RIP in Fig. 10. l1 Length of pendulum stick 0.33 m
m1 L0 Length of pendulum arm 0.22 m
J0 Inertia moment of arm 0.00817 kgm2
Inertia moment of
J1 0.00912 kgm2
Z pendulum
l1 g Gravitational acceleration
9.81 m/s2
constant
X Pendulum arm angle rad
Y
Pendulum angle rad
L0 V Armature voltage V
Torque applied to the arm
Nm
Fig. 10. RIP model. axis
Kt Torque constant 0.54897 Nm A
According to [5], we have mathematical
equations describing RIP system as follows: Kb Back emf constant 0.024502 Vs rad
J 0 + m1 L20 + m1l12 sin 2 −m1 L0l1 cos Ra Armature resistance 0.47345
+
−m1 L0l1 cos J1 + m1l12 Jm Moment of inertia of rotor 0.0069575 kgm2
The control signal here is torque of motor ( ). It With system parameters from Tab. 2, the matrices
needs to be converted into voltage to fit the real system. A, B, C at the x = 0 operating point are as follows:
Torque produced by DC motor is defined by: