Intelligent Control of Electric Scooters
Intelligent Control of Electric Scooters
D.T. Lee∗ C. H. Wu
S.J. Shiah Department of Electrical and Computer Engineering
C.M. Lee Northwestern University
Institute of Information Science Evanston, IL 60208
Academia Sinica email: [email protected]
Taipei, Taiwan
email:{dtlee,bioman,cmlee}@iis.sinica.edu.tw
through a user interface which could be a lever, button, or a
.P
touch pad, and the commands will be converted into proper
;2
signals obtained from the muscle-like control law to drive ∫
9GHVLUHG 2:8
/ 2:8
the electric scooter according to the feedback velocity sig- [
nals. The signal can drive the scooter to move as fast as
!
it could to the extent as if it were operated under an open-
7
2:8
∫
loop control, so the rider does not have to change driving
'GHOD\ "
behavior. The muscle-like control also possesses a capabil-
'
ity to filter out noisy or high-frequency disturbance input
signals. It lets the scooter react to speed commands even
the road condition changes constantly. On the other hand,
the energy management system (EMS) monitors the power Figure 2. An illustration of the Drive Control Subsystem
consumption of batteries and by learning the battery dis-
charge characteristics, computes the maximum travel dis-
tance and safe speed, and provides this important informa-
tion to the rider through a user interface. When the rider ity command Vd and the feedback velocity signal V . The
gets the important information, he/she will be able to make motor command C mus used in muscle-like model is de-
adjustments to the speed of the scooter by using DCS. fined as
The details of these two subsystems will be discussed in the
following sections. C mus = (Vdelay − Vdesire )dt (1)
The reflex signal of the spindle-like model, r mus , scaled load voltage method[14, 15], ampere hour accumulation
through a reflex gain coefficient, H, is combined with the method[16, 17, 18], and internal resistance method[19].
motor command to produce a reflex-induced command for The load voltage method is suitable for constant load cur-
muscle force. The linear feedback gain L represents the rent applications. For electric soccters, it cannot provide
effect of muscle length-tension which will vary with load precise estimations, because the load current will vary a lot
position. Any change in muscle length will produce a mus- with the road condition, and the load and speed change of
cle force through muscle stiffness K m . The muscle force the scooter. The ampere hour accumulation method is used
used in the present implementation of DCS is defined as to accumulate the discharge current, and estimate the SOC
the DC motor control voltage v m . It can also be defined as according to this accumulated value and pre-recorded data
the DC motor control current, depending on the type of DC describing the relations between battery discharge current,
motor driver used. Thus, the control law for generating v m voltage, and capacity. The pre-recorded data is not valid in
can be expressed as every discharge condition, so methods making use of mod-
els of fixed parameters to estimate SOC will suffer from
vm = Km (Lxmus + LP F (Hrmus − C mus )) (2) loss of precision when the discharge conditions are chang-
ing over time. The internal resistance method needs to mea-
where LP F (·) represents a low pass filter. The spindle- sure the frequency response of the battery to determine its
like model with the nonlinear, fractional, damping effect SOC. Because it needs extra electric circuits and function
multiplied by the short-range elasticity enhancement cab generators, it is difficult to implement.
be expressed as In our EMS, we use four learning modules, as shown
1 in Fig.3. These four learning modules are implemented
Bp ẋpn (|xp | − xp0 ) = Kr (xmus − xp ) with FNNs and CMAC networks, as shown in Fig. 4.
= rmus (3)
where xp , ẋp , and xp0 are the internal position, velocity,
and bias position of the spindle model, n is an odd integer
(n=5 in our case), B p is a damping coefficient, and K r is
,N
the reflex stiffness. The muscle equilibrium position x mus
62+ N
'0
62+ N
logically inspired and intended to model human experience '
UHPDLQ
N
NGLV N
[10, 11, 12] are an attractive alternative to dealing with non-
LQLWLDO
UHPDLQ
&+$
linear systems of incomplete models or inaccurate model N
- '&+
F G
þ Âû
NPKU
D
,25
80
Figure 8. Results of Speed Response to Varying Loads
slope. The current flowing into the motor increased, which ËÃÃÁÃ
reflects that controller intends to maintain the speed of the
ÉÃÃÁÃ
ã
ø»êô¼
ÃÁÃ
ÉÃ
[
ÈÃ ÃÁÃ ÅÃÁÃ ÇÃÁÃ ÉÃÁÃ ËÃÁÃ ÄÃÃÁÃ ÄÅÃÁÃ
ÇÃ \
ÆÃ çü ø»øö¼
]
ÅÃ
ÄÃ
Ã
Ä ÊÈ ÄÇÌ ÅÅÆ ÅÌÊ ÆÊÄ ÇÇÈ ÈÄÌ ÈÌÆ ÉÉÊ ÊÇÄ ËÄÈ ËËÌ
D
ÅÈ
ÅÃ
ÄÈ
ÄÃ
È
Ã
Ä ÊÉ ÄÈÄ ÅÅÉ ÆÃÄ ÆÊÉ ÇÈÄ ÈÅÉ ÉÃÄ ÉÊÉ ÊÈÄ ËÅÉ ÌÃÄ
cording to this curve repeatedly until the battery voltage
E
dropped under the cutoff voltage, 10.25V. We then charged
this battery to its stantard voltage 13.2V. The discharge and
Figure 7. Change of Road Condition Test charge process is called a testing cycle. We repeated the
testing cycle, and checked how the EMS performed. The
battery under test is a sealed lead-acid battery with a rating
of 12V open-circuit voltage and 50Ah capacity, manufac-
The final test was first performed by a rider with tured by Long Battery Co. The programmable system used
weight 65 kg. He accelerated the scooter from stop to a to perform testing cycles is manufactured by DIGATRON
Co., and the charge and discharge currents provided range
between 0A and 200A. The EMS was implemented in the ÄÅÃ
same way as the DCS. Initial weights of all learning mod- ÄÃÃ
æâÖ»¸¼
discharge process. Every data set included a time history ÉÃ
5HODWLYH
of battery voltage, discharge current, discharge efficiency, ÇÃ
and capacity. ÅÃ
ÄÅÃ
ÄÃÃ
ËÃ
æâÖ»¸
ÉÃ
ÇÃ
Figure 11. The battery SOC predicted by EMS and ampere
ÅÃ
Ã
hour accumulation method at the 20th testing cycle
Ã Å Ç É Ë Äà ÄÅ ÄÇ
çü ø» ü¼
(a) (b)
D
ÄÉ ÈÃ
ÄÇ
ÇÃ
ÆÃ
ÕôÁ éÿôúø»é¼
ÄÅ
ÅÃ
ÄÃ
ÄÃ
Ã
Ë
Ã Å Ç É Ë Äà ÄÅ ÄÇ
Ã Å Ç É Ë Äà ÄÅ ÄÇ
çü ø» ü¼
ÄÇ
6HQVHG ÄÇÃ
ÄÅ ÄÅÃ
çü ø» ü¼
×üöûôúø Öø»ô ¼
ÄÃ ÄÃÃ
Õôø éÿôúø»é¼
E Ë ËÃ
F
É
(VWLPDWHG ÉÃ
Ç ÇÃ
Å ÅÃ
à Ã
Figure 10. (a) The battery SOC predicted by EMS and à ÃÁÈ Ä ÄÁÈ
çü ø» ü¼
Å ÅÁÈ Æ Ã ÃÁÈ Ä ÄÁÈ
çü ø» ü¼
Å ÅÁÈ Æ
ÉÃ
ÇÃ
ÅÃ
Ã
à ÃÁÈ Ä ÄÁÈ Å ÅÁÈ Æ
çü ø» ü¼
first testing cycle, all learning modules started to learn the F