Beruflich Dokumente
Kultur Dokumente
To control a position servo system of the above men- To model the nonlinear driving circuit, a MATLAB .m
tioned bidirectional driver, we need to divide the task function is written while its function is written as shown
into two stages. They are in the Box 1.
1. to analyse how motor operations are affected by such
if VI > Vmax-input, VI = Vmax-input;
a nonlinear motor driver; and
2. to control the same system by a neural network based
if VI < -Vmax-input, VI = Vmax-input;
controller.
This paper describes our procedures to carry out the if VI > Vdead-zone, Vmntnr (VI - Vdead-zone)*gain;
,
~
35 , . I I 3 , 1 ,
r~.... Weights ---,
3- ..................................
................................................. I8
i
! 1)
6 15
x
0
Dabred positions
Controlled pos!tions
Inputs
; ot
a
: .. ...................................
t ................. i
.&* 2. In order to reduce the training time, the amount of
training data should be as small as possible. How-
-051
I1
0 005
6* '
'=='
01 015
'
02
'
025
'
03
'
035
'
Ok
'
045
'
1'
05
ever, insufficient amount of data or informaton
about the plant will definitely affect the performance
of the trained controller.
Time (sec.) T o solve this, the designer should find out
Fig. 4b Error signal beforehand what sorts of operations are required for
the motor, which depend on its applications. Thus,
whole network will be altered. The goal is to change the he can then generate training data at or near these
weights of the network so that a desired inputloutput operating regions.
relationship is achieved. This process is known as train-
ing the network. 5.1 Neural network control method
4.1 Training of neural networks The neural network control method from Li and Slotine
[2] is adopted in this paper. Its characteristics are briefly
The training of the neural network is that, given a set of described as follows.
input training patterns, a set of weights is found so that a 1. State-space representation is used for the nonlinear
prefined objective can be achieved within minimal error. plant model. Fig. 6a is a state-space representation
The training of neural networks usually involves two of the nonlinear plant. The next states of the plant
steps. ZI, + 1 are determined from the present states of the
Step 1. The input training patterns are sent to the input plant, zk,the present inputs,Uk, and the time dura-
of the network. tion, dt.
Step 2. Based on the errors of the neuron outputs and 2. Each set of Uk, zk and Zk+1 describes the dynamics
the desired outputs, the weights are updated of the plant at a certain operating conditions. If the
according to an adopted learning rule. states and inputs of the plant are rearranged as
shown in Fig. 6b, then it is a discrete time controller
which is capable of calculating the present inputs
when it is given the present states and the desired
next states.
290
h e (sec )
Fig. 9a Motor shaft position
*
..I ' ' ' ' ' ' ' ' :
I
i
i - 05 i
t9 t
+ + + t i
05- I
I
1
j
D 005 01 015 02 025 05 035 04 045 05
h e (sec j
2 02
Fig. 9b Motor controller and driver ouptuts
< -02-
t
t Cmlrollet e/p
generate approximately correct outputs to the sys-
tem; and
-01-
+ I I h\mpllW o/p(/iO) 3. the controller cannot cope with the changes in sys-
U
0
-0.6. tem parameters, such as changes in the payload,
friction, damping,
8. Conclusions
0 005 01 015 02 025 03 035 04 045 05
A discrete time position servo motor controller based on
Time (sec) a neural network was developed. The motor driving
Fig. 8b motor controller and driver outputs circuit is nonlinear in nature and is characterised by
"dead zone" and "saturation". It reveals that when the
From the results, we found that driver and motor are operated in a closed-loop form, the
steady-state error is related to the "dead-zone" of the
1. the steady-state error of the system is not affected by motor driving circuit. However, for the neural motor
the vdead-mne of the motor driving circuit; controller controlled system, the steady-stateerror is not
2. even though some of the motor dynamics were not affected by the "dead-zone"of the motor driving circuit.
taught to the controller before, when it is required to The control actions are based on the plant dynamics
carry out these actions, the controller can still learned beforehand. A small steady-state is always
292