System Identification of A DC Servo Motor Using ARX and ARMAX Models
System Identification of A DC Servo Motor Using ARX and ARMAX Models
Abstract — System identification is a major preoccupation in the experience in their determination (black box, gray box,
most scientific disciplines. Its use in the robotics field has grown etc.).1
exponentially in recent years, due to the high interest shown to
movement accuracy in the industry. Therefore, this article As mentioned in [5], in system identification of experimental
describes an application of system identification to a DC models, we distinguish between:
Servomotor widely used in robots. The aim of such an
• Non-parametric models where the structure is non-
experiment is to reproduce a mathematical model of the system
using experimental data. To collect the inputs and output and to
defined and the number of parameters is infinite. We
meet the application requirements, we have built a usually represent them on a graph or a table of
microcontroller-based acquisition card. Afterward, we focused numerical values (e.g. step response).
our study on identifying two model structures ARX and • Parametric models where the structure is well defined
ARMAX of the system to test and compare their results based and have a finite number of parameters. The
on validation criterions. Finally, the ARMAX model has
description is given about the system often contain
reproduced a better adjustment to the measurements compared
equations (e.g., transfer function, differential
to ARX model.
equations).
Keywords— System identification, acquisition card, ARX, In this article, Section II highlights the identification of the
ARMAX, PEM, DC Servomotor. parametric models, especially for ARX and ARMAX models.
Section III describes the different steps carried out for the
I. INTRODUCTION
implementation of the application. In IV, we present and
Identifying a process or a system is looking for a discuss the results obtained from the experiment.
mathematical model from a known model class, which
reproduces a static and dynamic output response to input test
signals as close as possible to the real system [1].
According to [2], system identification is about to follow
a specific procedure containing many steps to get a valid
model that describes the system behavior. In chart fig.1, we
cover the experimental organization of this procedure, going
from experiment preparation to validation. The main aim of
the resulting models from this operation can be either to
understand the behavior for study purposes, e.g. [3], or to
build adaptive control loops for the system, e.g. [4].
The notion of a mathematical model of a system, a process,
or a phenomenon is a fundamental concept in physics and
much more in other disciplines. There is a multitude of model
types in literature, each one is for a particular application, but
we can group them into two major classes [2] [5].
A. Theoretical models:
These are physical and mathematical laws based models.
They give a complete description of the system and are used
for the theoretical study and the simulation of the processes.
These models are often complex models difficult to define [6].
B. Experimental models
These are models based on experimental input/output data. Figure 1: Experimental approach for defining a parametric model of a
They can take many forms depending on the involvement of system
Where:
III. APPLICATION
( )=1+ + ⋯+ (7)
A DCSM is a DC motor with position angle feedback.
This information is usually in the form of an analogic voltage
( )=1+ + ⋯+ (8) from a potentiometer processed through a controller that
ensures the control of the position according to the instruction
reference it receives from an external member (fig.3). This
B. Parameters estimation
reference must be in the form of a PWM signal. For the
Parameter estimation is a mathematical process, which servomotor used in this application, a time of 20 ms between
consists of estimating the model parameters from the two rising edges must not be exceeded.
observed data; this can be done by minimizing a criterion. However, there is a major problem in achieving a
Therefore it’s necessary to choose the most suitable method satisfactory dynamic performance using these servomotors,
of estimation. In this paper, parameter estimation is done with and this is due to the existence of an integrated circuit that
the prediction error method described in fig.2 and [2], the aim serves as servo-position controllers [11]. Therefore the main
of such method is to minimize the error between the predicted objective will be to estimate the ARX and ARMAX models
system and the measured one. containing all the system components presented in fig.3 to be
able to compare and exploit the results obtained in more
complex systems.
The table below presents the estimated parameters of the
proposed structures with the calculation of the validation
criterions (Best fit and FPE).
As presented in table bellow, we can conclude that the
ARMAX model provides a better fit of 94.28, a smaller FPE
and lower parameters order than the ARX model who provide
a higher parameters order with lower fit and higher FPE, and
this result is confirmed graphically in the two figures 7 and 8.
− .
Figure 3: Internal structure of a DC Servomotor. = .
.
To extract reliable input and output data, we have .
developed a microcontroller-based acquisition card, which ARX 74.45 0.37
will be the interface between the computer and the
servomotor. It contains eight analog inputs of 10bits . −
resolution, eight digital inputs, eight digital outputs, and two =
.
PWM outputs. (Fig.4). .
1
= −1.98562856547525
0.985745253359852
1
=
−1.00000001489413