Eog-Based Signal Detection and Verification For Hci
Eog-Based Signal Detection and Verification For Hci
=
84 . 18
1
=0.053 Hz
Figure 4. High pass filter.
The high pass filter is shown in figure 4, in which the
signal frequency below than 0.05 Hz would be isolated. In
figure 5, the first-class low-pass filter is used to isolate
signals of frequency higher than 23.417Hz. In Fig 6, the
second-class low-pass filter would deal with the signals
passing through the first-class filter to get a higher Q value
of signals.
fH=
2
4 3 10 9
1
C C R R
=
) 10 1 . 0 10 68 ( 2
1
6 3
=
3
10 8 . 6 28 . 6
1
=
3
10 704 . 42
1
=23.417Hz
Figure 5. First-class low-pass filter
fH=
2
6 5 14 13
1
C C R R
=
) 10 1 . 0 10 82 ( 2
1
6 3
=
3
10 2 . 8 28 . 6
1
=
3
10 496 . 51
1
=19.418Hz
Figure 6. Second-class low-pass filter.
A.5 Horizontal Movement
Since the voltage range of AD converter in our
microprocessor was from 0 to 3.3V, we needed to design an
Voltage output to SPCE061A
Instrument amplifier
Adder
High-pass filter of 0.05Hz
Voltage adjusting and filting
Low-pass filter of 23Hz
Low-pass filter of 19Hz
Sinnals input of EOG
Proceedings of the Eighth International Conference on Machine Learning and Cybernetics, Baoding, 12-15 July 2009
3345
adjusting circuit to let the detected voltage available.
A.6 Input into microprocessor
The reason why we selected SPCE061A as our core
microprocessor was due to its advantages like
re-programming capability, real-time debugging, low cost,
and simple interface. After AD converting, the signals are
sent to the microprocessor through an RS-232 interface
[10].
B. Preliminary Experimental Results
The following paragraph will illustrate the EOG
analog signal for bio-potential changes when the eye moves
up, down, left, and right.
B.1 EOG Analog Signal
Figure 7 show the fuzzy set values for the EOG analog
signal waves recorded by the Oscillograph. The related
fuzzy distinction rules are shown in Table 1. More testing
results are shown in Appendix I.
Table 1: Fuzzy Distinction Rule
If A is high and B is high, then Up.
If A is mid and B is mid, then Right.
If A is mid and B is mid, then Stop.
If A is mid and B is low, then Down.
If A is low and B is mid, then Left.
Where A is Left-Right signal and B is Up-Down
signal.
Figure 7. Fuzzy Set values for EOG
B.2 EOG Digital Signal Detection
The signals after A/D conversion are sent to a
computer through the RS232 interface. The signal detection
flow chart is shown in Figure 8.
timer1_Tick {
If(isTestOk == true) {
if(num==stopsignal){
stopcount++;
if (stopcount > 20)
waitFlag = true;
} }
else stopcount = 0
if(waitFlag == true){
if(num==Up Dn Lf Rt signal)
{
dirction=1,2,3,4;
waitFlag = false;
stopcount = 0;
}}
Figure 8. RS232 signal detection flow chart.
4. Detection of Eye-Movement
After designing three kinds of detecting the interface
of eye-movement, the system could be applied into the
system of controlling TV, DIY eye-sight level checking, and
eye-controlling game.
A Platform of control with eye-movement
Application selection user interface is shown in Figure
9.
if (rs232.isStart== true){
if (Program.rs.direction==direction){
textBox3.Text=direction;
switch (Up Dn Lf Rt signal){
3 case
break;
}
if (direction count >= 3) {
direction count = 0;
timer1.Enabled = false;
rs232.timerFlag = false;
Show();
}
} }
Ti
pe
riod0.1
Sto
p?
Stop
counter=0
Stop
counter+1
Stop
counter>=20
u d l ri
U Dow Le Rig
Stop
Proceedings of the Eighth International Conference on Machine Learning and Cybernetics, Baoding, 12-15 July 2009
3346
Figure 9. Applications Selection view.
B. The adjusting system of eye-movement
As shown in figure 10, whenever the users open the
system, the system would execute the adjusting system
automatically.
The design could meet with the eye-movement ranges
of different users.
The system could record and figure out the different
movement ranges of users to judge the real action of eyes.
After the adjustment of the system, the precision of the
whole system could get up to 90%.
need help with others.
button1_Click
if (timer1.Enabled){
timer1.Enabled = false;
}
else{
timer1.Enabled = true;
}
button8_Click
{
if (!File.Exists("record.txt"))
Sw=File.CreateText("record.txt");
else
sw=File.AppendText("record.txt");
}
Figure 10. EOG signal adjustment sub-system view.
C. EOG based remote-control System for TV
Turn on the TV with Electro-Oculography interface as
shown in Fig 11. Its function is to shift the channels and to
adjust the volume. timer1.Enabled = true;
pInfo.UseShellExecute = true;
if (rs232.isStart==true){
if (P.r.d==direction){
textBox1.Text = direction;
if (UpDnLfRtsignal==direction){
rs232.count = 0;
SendKeys.Flush();
}
}
}
Figure 11. EOG based Remote-control System for TV view.
D. Eye-sight Level Checking System
Upon starting the system, it would give out the test
items, and users could answer the test items with
Electro-Oculography interface and test out the eyesight
level as shown in Fig.12.
After comparing with the level tested by the hospital, a
precision of up to 95% could be obtained.
It worked without any help from others.
if (rs232.isStart == true){
label2.Text
if (Up Dn Lf Rt signal ==direction){
if (UpDnLfRtsignal ==direction)
r++;
else
w++;
nextPic();
count = 0;
}
}
if (end == true && final == true && r == 2){
end = false;
}
Proceedings of the Eighth International Conference on Machine Learning and Cybernetics, Baoding, 12-15 July 2009
3347
Figure 12. EOG-based eye-sight level checking system view
E. EOG-based Game with Eye-control
The practical game interface is shown in Figure 13.
new PictureBox[15];
for(int i=0;i<3;i++)
for(int j=0;j<5;j++){
picrecord[i * 5 + j] = index;
}
Up{
if (picrecord[5 * i + mypicloc] == mypicindex){
pic[5*i+mypicloc].Image=null;
picrecord[5*i+mypicloc]=99;
if (count == 15){
Show("Win!!!")
break;}
}
}
Down{
mypicindex=(++mypicindex)%3;
}
Left or right{
mypicloc--;(mypicloc++;)
}
Figure 13. EOG-based Game with eye-control view.
5. Experimental Discussion
A. Distortion of EOG Signals
In the experimental processes, we found that there
would be 30 to 90 minutes of best signal stability for every
user with different physical conditions and environment,
and over the time period, the signals would shift. We tried
to explain this situation as resulting from long time
attachment of EOG and sweating of skin. If we wash the
EOG with alcohol, the situation would be improved.
A.2 Movement of Eyes
Since the range of horizontal movement of eyes was
wider than the vertical movement, the detected signals
became significant and larger and did not easily cause
error .
A.3 Face muscle and eyes movement
If the users are nervous, blink eyes, or make much
exaggerated gestures and speech, all of such actions would
cause irregular movement of face muscle and eyes to
decrease the precision of detecting eye-movement.
6. Conclusions
In this paper, we proposed a multi-purposes
eye-movement tracking system. Integrating
Electro-Oculography (E.O.G) installations we detected the
signal with different directions in eye-movements and then
analyzed to understand what they represented about (e.g.
horizontal direction or vertical direction). We converted the
analog signal to digital signal and then used as the control
signals for Human Computer Interface (HCI). We finally
accomplished the multi-purposes eye-movement HCI
platform, and this system cost was much lower than other
methods. The system adapted the direction-sensor interface
design, and the system would be active according to the
indicated direction. Users could easily use this system and
the precision of the system after adjustment could get more
than 90%.
Acknowledgements
This study was awarded the prize of Masterpiece in the
Instrument Group in the Microprocessor Design and
Application Contest in 2008 authorized by the Taiwan
Education Ministry.
References
[1] A. Geetha, V. Ramalingam, S. Palanivel, B.
Palaniappan, Facial expression recognition A real
time approach, Expert Systems with Applications,
36(1), 303-308, 2009
[2] A. J. Glenstrup and T. E. Nielsen, Eye Controlled
Media: Present and Future State, Thesis of Bachelor in
Information Psychology, Psychological Laboratory,
University of Copenhagen, Denmark. 1995
[3] Ayegl Gven, Sadk Kara, Classification of
electro-oculogram signals using artificial neural
Proceedings of the Eighth International Conference on Machine Learning and Cybernetics, Baoding, 12-15 July 2009
3348
network, Expert Systems with Applications, 31(1),
199-205, 2006
[4] Ayegl Gven, Sadk Kara, Diagnosis of the
macular diseases from pattern electroretinography
signals using artificial neural networks, Expert
Systems with Applications, 30(2), 361-366, 2006.
[5] Budi Thomas Jap, Sara Lal, Peter Fischer, Evangelos
Bekiaris, Using EEG spectral components to assess
algorithms for detecting fatigue, Expert Systems with
Applications, 36(2-1), 2352-2359, 2009.
[6] ChungHwa, Digi-image, Alliance Co. Ltd., 2002,
http://www.nownews.com/2002/03/13/91-1274722.ht
m
[7] C. S. Lin, C. C. Huan, C. N. Chan, M. S. Yeh, and C.
C. Chiu, Design of a computer game using an
eye-tracking device for eye's activity rehabilitation,
Optics and Lasers in Engineering, 91-108, 2004.
[8] G. Norris and E. Wilson, The Eye Mouse, An Eye
Communication Device, IEEE Proceedings of
Bioengineering, 6667, 1997.
[9] Jean-Dominique Bauby, The Diving Bell and the
Butterfly, 1997.
http://divingbellandbutterfly.cmcmovie.com/
[10] Sunplus Technology Co., Ltd. http://w3.sunplus.com/
[11] K. S. Park and K. T. Lee, Eye-controlled human
computer interface using the line-of-sight and the
intentional blink, Computer Engineering, 30(3),
463-473, 1996.
[12] Kumar, A., and Krol, G., Binocular infrared
oculography. Laryngoscope, 102, 367378, 1992.
[13] Muhammed B. Kurt, Necmettin Sezgin, Mehmet Akin,
Gokhan Kirbas, Muhittin Bayram, The ANN-based
computing of drowsy level, Expert Systems with
Applications, 36(2-1), 2534-2542, 2009.
[14] Rangaraj M. Rangayyan, Biomedical Signal Analysis:
A Case Study Approach, John Wiley and Sons Inc.,
First Edition, 2001.
[15] R. V. Kenyon, A Soft Contact Lens Search Coil for
Measuring eye Movements, Vision Res. 25(11),
1629-1633, 1985.
[16] S. Venkataramanan, Pranay Prabhat, Shubhodeep Roy
Choudhury, Harshal B. Nemade, and J.S. Sahambi,
Biomedical Instrumentation based on EOG Signal
Processing and Application to a Hospital Alarm
System, Proc. of IEEE ICISIP 2005, 535-540, 2005.
[17] Texas Instruments, http://www.ti.com/, 2008.
[18] Y. Tomita, Y. Igarashi, S. Honda, and N. Matsuo,
Electro-Oculography Mouse for Amyotrophic Lateral
Sclerosis Patients, IEEE Conference Engineering in
Medicine and Biology Society, 531, 1708-1781, 1996.
[19] Z. Zhu and Q. Ji, Eye gaze tracking under natural
head movements, IEEE Computer Society
Conference on Computer Vision and Pattern
Recognition, 1, 918-925, 2005.