Sei sulla pagina 1di 4

Proceedings of the 26th Annual International Conference of the IEEE EMBS

San Francisco, CA, USA • September 1-5, 2004

REAL-TIME HEAD MOVEMENT SYSTEM AND EMBEDDED LINUX


IMPLEMENTATION FOR THE CONTROL OF POWER WHEELCHAIRS
H.T. Nguyen, L.M. King, G. Knight
Key University Research Centre for Health Technologies, Faculty of Engineering,
University of Technology, Sydney, NSW, AUSTRALIA

Abstract –- Mobility has become very important for our quality of In 1998, we developed an alternative telemetric head
life. A loss of mobility due to an injury is usually accompanied by a movement device for the control of powered wheelchairs. In
loss of self-confidence. For many individuals, independent mobility is contrast to Coyle’s system, we used a tilt sensor and wireless
an important aspect of self-esteem. Head movement is a natural form technology [6]. This system had many benefits for the disabled
of pointing and can be used to directly replace the joystick whilst still
allowing for similar control. Through the use of embedded LINUX
wheelchair operator: visual benefit (no wiring, small motion
and artificial intelligence, a hands-free head movement wheelchair detector), operator mobility and posture (full mobility, upright
controller has been designed and implemented successfully. This posture), individual training and ease of installation [7-8].
system provides for severely disabled users an effective power In this paper, we describe the development of a real-time head
wheelchair control method with improved posture, ease of use and movement system and an embedded Linux implementation for
attractiveness. the control of power wheelchairs. The integration of an
embedded system will have a number of positive aspects for the
Keywords – Head movement, power wheelchair control, neural user such as freeing up the space directly in front of the user and
network, embedded system. creating a more natural environment for the user of the
wheelchair. This system has been designed to enable disabled
people to control a powered wheelchair easily, accurately and
I. INTRODUCTION comfortably.
The number of people who need mobility assistance is
regularly increasing, not only as a result of longer life II. METHODOLOGY
expectancy, but also due to improved resuscitation techniques
following perinatal, automobile or sports accidents. A. Real-Time Head Movement System
Conventional electrical wheelchairs are not always sufficient
to compensate for mobility disabilities: serious spasticity An Analogue Devices ADXL-202EB232 is used as the head
(cerebral palsy), excessive weak residual physical capacities movement transducer. It contains an ADXL-202JQC tilt sensor, a
(tetraplegia), or some cognitive impairments (head trauma) 16C63 Microchip microcontroller, an AD666 for voltage
exclude or hamper their use. For many, even the operation of regulation of the RS-232 request-to-send (RTS) signal, an
powered wheelchairs is a difficult and demanding task. ADM202 for the RS-232 interface, and a crystal. The serial
To overcome the problems associated with joystick control, a communication protocol uses a 9600 baud rate and an 8N1
new variety of interfaces have been designed to aid in the use of parity. The sensor outputs this data as a pulse width modulated
the joystick. This includes repositioning or adding mechanical signal and this signal is transmitted via a serial RS232 connection
attachments to the end of the joystick so that it can be operated on request, the request being the reception of the ASCII character
by a person’s elbow or chin. Other replacements for the joystick “G”.
include eyewink control [1] and voice control [2-3]. Head movements are detected by tipping the head in a
One of the hands-free technologies we have focused over in nodding action for the desired direction. This movement is
the past eight years is head movement. Head movement is a sampled upon a request from a computer or an embedded system,
natural form of pointing and can be used to directly replace the maintained at a rate of approximately 20 Hz.
joystick whilst still allowing for similar control. This method of The data obtained from the head movement sensor contains
wheelchair control has been used previously by sufferers of high offsets, and is normalised to remove these effects. In addition, an
level spinal lesions and motor neurone disease. adaptive base level implementation is used to allow the sensor
One head movement-sensing device (the Oxford Optical position on the head to be moved without requiring recalibration
Pointer) was developed by Tew [4]. This device used a photo of the zero level.
quadrant sensor which is made up of four photodiodes fabricated Various trials have been performed to evaluate the possibility
on one substrate. As a light spot from an infrared emitting diode of a future technique using an adaptive structure to handle
passed over the detector, the relative proportion of photocurrents changes to the system environment. They are implemented in
from each quadrant was used to determine the light source Labview and an example can be seen in Figure 1. Normalised
position. Recently, Coyle [5] developed a system which uses a head nods in the forward, backward, left and right positions are
combination of technologies: standard hand controlled joystick, recorded using the data-logging feature of the developed
ultrasonic non-contact head controller and a small vocabulary software. For this implementation, a real-time neural network is
voice recognition system. designed to classify intended commands.

0-7803-8439-3/04/$20.00©2004 IEEE 4892


Speed
Bluetooth DIMM- Output
telemetry PC
Direction
Output
LCD
Input Display Output

Fig. 3. Hardware layer module

Using both the DIMM-PC module and a DIMM-COMBO


module, which has additional serial interfaces and an LCD
output, we are able to meet all of the I/O requirements of the
figure above. The serial to Bluetooth interface connects directly
to the UART of the DIMM-PC, and both the speed and direction
Fig. 1. Labview interface for the head movement system output are connected to another two UARTs on the device, which
are in turn converted to the 0 to +5V output range via a serial
B. Embedded System digital to analogue converter. The LCD display device is
controlled by the DIMM-COMBO module and is mounted above
The embedded system contains three layers: the hardware the embedded circuitry which is in turn mounted on the arm rest
layer, software layer and the control layer. The hardware layer is of the wheelchair, making visibility straightforward for the user.
responsible for the acquisition of input data, facilitation of the One of the main advantages of using an x86 based
software and control algorithms and the configuration of output architecture for our embedded system is that we can make use of
control signals. The software enables the hardware and control powerful development tools and operating systems to increase
layers to interact and control the wheelchair. The control layer is the efficiency of the development process. For this embedded
a neural network which takes the input data from the hardware system, White Dwarf Linux 1.11 has been chosen as the
layer, processes it and controls the motors on the wheelchair. operating system, since it is specifically designed for use on the
Figure 2 below outlines this structure. DIMM-PC and as such, has been configured and optimised for
the embedded design. This installation has been further
optimised and as such all non-essential services, such as web and
Control Layer file severing, has been disabled.
In addition to the operating system, the software layer is
Software Layer responsible for facilitating control of the wheelchair. These
modules include control of the I/O functionality under Linux,
demodulation of the transmitted telemetry and pre-processing of
Hardware Layer the demodulated data for the control layer. Additionally, error
Input Outputs
checking, normalisation and other processing must also be
Fig. 2. Embedded system layered structure handled in this layer. These components have been developed in
C, due to the availability of open source tools.
The hardware layer uses DIMM-PC based hardware, in which The structure for the neural network is a multilayered neural
a single DIMM module provides CPU, system memory, flash network with a single hidden layer. The input layer consists of
hard disk and other I/O capabilities, all powered from a single 63 neurons, with the first 31 being the input from the
+5V supply with a very low power usage. With all of this forward/backward transducer, the next 31 being the input from
hardware contained on a 68x40mm board, it is an ideal solution the left/right transducer and an augmentation input, -1. The
for the embedded application outlined in this paper. The DIMM output layer consists of five neurons corresponding to each of the
PC used is an AMD Élan SC520-I operating at 133MHz with five commands the network is to classify, which are forward,
32MB of system memory and 32MB of flash hard disk. The back, left, right and stop (which is a sideways shake of the head).
primary advantage of using this technology over other embedded The hidden layer consists of 25 neurons, giving a smooth cycle
solutions is the reduction in development time due to its x86 error for all commands plus one fixed input bias neuron.
architecture and the power and availability of the development Therefore two weight matrices exist for this neural network; they
tools available. Figure 3 outlines the hardware layer, showing its are the hidden layer weight matrix W (25×63) and the output
data inputs and control signal outputs. layer weight matrix W (5×26).

4893
The network requires three exclusive data sets in order to be there is no early stopping point and that these classes have not
trained; these are the training set, the verification set and the test been overtrained. The stop command however does have a
set. For the network shown in this paper samples from five minimum, although this is a local minimum and the error over
people were used to populate the three data sets. The training set the long term does settle to a value approximating zero and again
comprised of 16 sets of each command class, i.e. 16 x 5 = 80 this suggests that the network is not being over trained.
samples which are in turn recycled during the training cycle. The
verification set contains 4 sets of each command class, i.e. 20 Cycle Error - Verification Set

samples. The total number of samples used in the training of this 0.7

network is 217, giving quite a large number of samples and


0.6
exposing the training of the network to a variety of
interpretations of the commands.
0.5

0.4
III. RESULTS

Error
0.3
The success of this system depends heavily on integrity of the
training set data as well as the topology of network chosen. 0.2
Using the topology outlined above, supervised learning was
undertaken using the delta learning rule and a static learning 0.1
constant, whereby the network learns the correct response by
comparing the targeted response with the response of the system 0
and updating the weights. 5 10 15
Cycles
20 25 30

The cycle error plot of both the training and validation set
allow us to judge the success of the neural network and these
have been shown in Figures 4 and 5. Figure 4 shows the training Fig. 5. Validation set cycle error
set cycle error, which has a smooth curve with no sharp changes
indicating the correct number of hidden layer neurons have been After training and validation, a final weight vector was
used. One class has a slower error decent than the others, and generated and applied to the test set, thereby demonstrating the
this is the stop class which is to be expected since it is the most overall system performance. The final system was able to
complicated signal which its horizontal shaking action. One correctly classify 95.8% of the signals fed to the network.
aspect which is interesting is that the shape of the cycle error is
generally the same as the other classes, indicating that the stop
command is being trained like the others only over more cycles. IV. CONCLUSION

Cycle Error - Training Set This project has used DIMM-PC technology or the control of a
35
power wheelchair using head movement technology. It has
achieved this by developing an entire system to capture, sample
30
and train a neural network in the classification of head
movements via a tilt sensor. This project has also dealt with
25
issues relating to the design and manufacture of embedded
hardware, embedded Linux and embedded graphical user
20
interfaces. An operational embedded system has been created
Error

15
which successfully interfaces with the head movement sensor. A
real-time head movement classifier has been developed and
10
tested to above 90% correct classification and the embedded GUI
has been demonstrated operational.
5
REFERENCES
0
5 10 15
Cycles
20 25 30
[1] E.E. Crisman, A. Loomis, R. Shaw, Z. Laszewski, “Using
the Eye Wink Control Interface to Control a Powered
Wheelchair,” Proceedings of the Annual International
Fig. 4. Training set cycle error Conference of the IEEE Engineering in Medicine and
Biology Society, 13:1821-1822, 1991.
Figure 5 shows the cycle error of the validation set which has [2] M. Mazo, F.J. Rodriguez, J.L. Lazoro, J. Urena, J.C.
a number of interesting points. Firstly, for every class except Garcia, E. Santiso, P.A. Revenga, “Electronic Control of a
stop (which again has the slowest descending error) the cycle Wheelchair guided by voice commands,” Control Eng.
errors are identical and do not have an early minimum, indicating Practice, 3: 665-674, 1995.

4894
[3] R.C. Simpson, S.P. Levine, “Voice Control of a Powered
Wheelchair”, IEEE Trans. Neural Systems and
Rehabilitation Engineering, Vol. 10, No. 2, pp. 122-125,
June 2002.
[4] A.I. Tew, “The Oxford Optical Pointer: A Direction-
sensing Device with Proportional Electric Output,” Med. &
Biol. Eng. & Comp., 26: 68-74, 1988.
[5] E.D. Coyle, “Electronic Wheelchair Controller Designed
for Operating by Hand-Operated Joystick, Ultrasonic Non-
Contact Head Control and Utterance from a Small Word-
Command Vocabulary,” IEE Colloquium (Digest), 55: 3/1-
3/4, 1995.
[6] T. Joseph and H.T. Nguyen, "Neural Network Control of
Wheelchairs using Telemetric Head Movement",
Proceedings of the IEEE Engineering in Medicine and
Biology Society, Hong Kong, 2731-2733, 1998.
[7] H. Nguyen, G. Knight, R. Ekanayake, "Telemetric Head
Movement Control of Powered Wheelchair," World
Congress on Medical Physics and Biomedical Engineering,
Sydney, 24-29 August 2003, Paper 2516 (CDROM).
[8] P.B. Taylor, H.T. Nguyen, "Performance of a Head-
Movement Interface for Wheelchair Control", Proceedings
of the IEEE Engineering in Medicine and Biology Society,
Mexico, 1590-1593, 2003.

4895

Potrebbero piacerti anche