I nte rna t io na l J o urna l o f   Rec o nfig ura ble a nd   E m be dd e d Sy s t e m s   ( I J R E S)   Vo l.   6 ,   No .   3 ,  No v em b er   201 7 ,   p p .   1 2 7 ~ 1 3 2   I SS N:  2 089 - 4 864 ,  DOI : 1 0 . 1 1 5 9 1 / ij r es . v6 . i3 . pp 127 - 1 3 2          127       J o ur na l ho m ep a g e :  h ttp : //ia e s co r e. co m/jo u r n a ls /in d ex . p h p / I JR E S /in d ex   ARM Co nt ro ller  a nd EE G   Ba sed  Dro w sines s Tra ck ing  and   Co ntrolling  durin g  Driving       B .   Na re s h ,  S.  Ra m ba b u ,  D.   K ha la nd a r  B a s ha     De p a rtm e n t  o f   El e c tro n ics   a n d   C o m m u n ica ti o n   E n g in e e rin g ,   In st it u te o f   A e ro n a u ti c a l  En g in e e rin g ,   In d ia       Art icle  I nfo     AB ST RAC T   A r ticle  his to r y:   R ec eiv ed   J u l y   0 5 ,   2 0 1 7   R ev i s ed   Sep   0 6 ,   2 0 1 7   A cc ep ted   Sep   20 ,   2 0 1 7       T h is  p a p e r  d isc u ss e d   a b o u t  EE G - Ba s e d   Dro w sin e ss   T r a c k i n g   d u ri n g   Distra c ted   Driv in g   b a s e d   o n   Bra in   c o m p u ter  in terf a c e s   (BCI).   BCIs  a r e   s y ste m s  th a t  c a n   b y p a ss   c o n v e n ti o n a l  c h a n n e ls  o f   c o m m u n ica ti o n   ( i. e . ,   m u sc le s  a n d   t h o u g h ts)  t o   p ro v id e   d irec t  c o m m u n ica ti o n   a n d   c o n tr o l  b e tw e e n   th e   h u m a n   b ra in   a n d   p h y sic a l  d e v ice s  b y   tran sla ti n g   d iff e r e n t  p a tt e rn s  o f  b ra in   a c ti v it y   c o m m a n d s  th ro u g h   c o n tro ll e r  d e v ice   in   re a l  ti m e .   W it h   th e se   sig n a ls  f ro m   b ra in   in   m a t  l a b   sig n a ls  sp e c tru m   a n a l y z e d   a n d   e sti m a tes   d riv e r   c o n c e n tratio n   a n d   m e d it a ti o n   c o n d it i o n s .   If   t h e re   is  a n y   n e a re st  v e h icle s  to   th is  v e h icle   a   v o ice   a lert  g iv e n   t o   d riv e r  f o r  a lert.   A n d   d riv e r  g o in g   to   sle e p   g iv e s   v o ice   a lert  f o r  d riv e r  u sin g   v o ice   c h ip .   A n d   g iv e   th e   in f o r m a ti o n   a b o u t   traff ic  sig n a l  in d ica ti o n   u si n g   RF ID.  T h e   p a tt e rn s  o f   in tera c ti o n   b e tw e e n   th e se   n e u ro n s  a re   re p re se n ted   a s  t h o u g h ts  a n d   e m o ti o n a l  sta tes .   A c c o rd in g   to   th e   h u m a n   f e e li n g s,  th is  p a tt e rn   w il l  b e   c h a n g in g   w h ich   in   tu r n   p ro d u c e   d if fe re n t  e lec tri c a l  w a v e s.  A   m u s c le  c o n trac ti o n   w il l  a lso   g e n e ra te  a   u n iq u e   e lec tri c a l  si g n a l.   A ll   th e se   e l e c tri c a l  w a v e s   w il l  b e   se n se d   b y   th e   b ra in   w a v e   se n so r  a n d   it   w il l  c o n v e rt  t h e   d a ta  in t o   p a c k e ts  a n d   tran sm it   th r o u g h   Blu e to o th   m e d iu m .   Lev e l  a n a l y z e r  u n it   (L A U)  is  u se d   t o   re c e iv e   th e   ra w   d a ta   f ro m   b ra in   w a v e   se n so r  a n d   it   is  u se d   t o   e x trac t  a n d   p r o c e ss   th e   si g n a l  u sin g   M a t  lab   p latf o rm .   T h e   n e a re st  v e h icle s  in f o rm a ti o n   is  in f o rm a ti o n   is  tak e n   th ro u g h   u lt ra so n ic  se n so rs  a n d   g i v e s  v o ice   a lert.   A n d   traf f ic  si g n a ls  c o n d i ti o n   is  d e tec ted   th r o u g h   RF   tec h n o l o g y .   K ey w o r d s :   AR M  co n tr o ller   B lu eto o th   B r ain   w a v e  s e n s o r   DC   m o to r   Ultr aso n ic  s e n s o r   Co p y rig h t  ©   2 0 1 7   In stit u te o f  A d v a n c e d   E n g i n e e rin g   a n d   S c ien c e .    Al l  rig h ts  re se rv e d .   C o r r e s p o nd ing   A uth o r :   B.   Nar esh ,   Dep ar t m en t o f   E lectr o n ics a n d   C o m m u n icat io n   E n g i n ee r in g ,     I n s tit u te  o f   A er o n a u tica l  E n g i n ee r in g ,   Du n d ig al,   T elan g a n a,   I n d ia.   E m ail:  n ar ib . n ar es h @ g m ail. co m       1.   I NT RO D UCT I O N   Dr iv i n g   is   a  co m p lex   tas k ,   r eq u ir in g   f u ll  co n ce n tr atio n   a n d   a  ca l m   attit u d e.   S tr ess ed   an d   s tr o n g   e m o tio n s ,   w h et h er   t h e y   r esu lt   f r o m   t h e  d r iv i n g   tas k   i ts el f   o r   u n r elate d   m atter s ,   ca n   a f f ec t   a  d r iv er ’ s   ab il ities .   Fo r   ex a m p le,   r esear ch   h as  s h o w n   th at  a n g r y   d r iv er s   ar e  m o r e  lik el y   to   ta k e  r is k s   s u c h   as  s p ee d in g ,   r ap id l y   s w itc h in g   la n es,  tail g ati n g   a n d   j u m p in g   r ed   li g h t s .   E E G  s ig n al  ca n   b e  o n e  o f   t h e  f ea t u r es  o f   B C I   f o r   d etec tin g   d r iv er ’ s   s tate  o f   m in d .     T h e  m ai n   o b j ec tiv e  o f   th i s   p ap er   is   to   s tu d y   t h e  d if f er en t   m en tal  s ta te  r ec o g n it io n   m e th o d s   b ased   o n   E E G  s ig n als.  L ater   w o r k   ca n   b e  d o n e  o n   an al y zi n g   d if f er en t  m en ta l  s tate s   o f   a  d r iv er   in   d if f er e n t  tr af f ic   s itu a tio n   a n d   b ased   o n   th e  s tu d y ,   p r ed ictin g   w h et h er   d r iv er   is   m e n tall y   f it  o r   n o t.  I n   r ec e n t  p ast,  it  h as  b ee n   o b s er v ed   th at  d r iv er s   w it h   m e n tal  f ati g u e  lead   to   ac cid en t.  I n   th i s   p r o p o s o l ,  w e  p r o p o s ed   a  r o b u s t  r ea l - ti m e  e m b ed d ed   p latf o r m   to   m o n i to r   th e  lo s s   o f   atten tio n   o f   th e  d r iv er   d u r in g   d a y   a n d   n i g h t  d r iv in g   co n d itio n s .   T h e  aler tn es s   lev el  ca n   b e  m ea s u r e d   b y   u s i n g   d if f er en t  p ar a m eter s ,   s u c h   as  elec tr o   en ce p h alo g r a m   ( E E G)   s ig n a ls ,   v is u al  f ea t u r es,  b lo o d   s a m p le s ,   s p ee ch   a n d   o th er s .   T h e  E E G -   b ased   m et h o d   h as  b ee n   r ep o r ted   to   b e  h ig h l y   au th e n tic   f o r   esti m ati n g   t h e   s t ate  o f   d r o w s i n e s s .   I n   a   n e w   m et h o d   f o r   m u lti   f r ac tal   a n al y s i s   o f   E E G   s i g n als   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4 864     I J R E S   V o l.  6 ,   No .   3 ,  N o v e m b er   2 0 1 7   :   1 2 7   –   1 3 2   128   n a m ed   g en er alize d   Hi g u c h i  f r ac tal  d i m e n s io n   s p ec tr u m   ( GHFDS)   w as  p r o p o s ed   an d   ap p lied   in   m e n ta l   ar ith m etic  tas k   r ec o g n itio n   f r o m   E E G   s i g n al s .       2.   P RO P O SE D  B L O CK   DIA G RAM   T h e  ab o v e  b lo ck   d iag r a m   s h o w s   t h e  co n tr o l  o f   v e h icle  t h r o u g h   AR M  C o n tr o ller ,   it  id en ti f ies  t h e   d r o w s i n ess   w h ile  d r iv i n g   a n d   also   it  d etec ts   th e   o b s tacle s   n ea r   to   th e  v eh icle.   Fi g u r e  1   s h o w s   B C I -   a tten tio n   tr ac k in g .   I t  co n s is t s   o f   t w o   s e ctio n s ,   i.e .   ( a)   d es ig n   a n d   i m p le m e n tatio n   a n d   ( b )   s y s te m   h a r d w ar e  u s in g   AR M   P r o ce s s o r .           Fig u r e  1 .   B C I -   atten t io n   tr ac k i n g   ( a)   d esig n   a n d   i m p le m en tat io n   an d   ( b )   s y s te m   h ar d w ar e  u s in g     AR M  p r o ce s s o r         2 . 1 .   Desig n a nd   I m ple m e nta t io n   E lectr o en ce p h alo g r ap h y   ( E E G)   is   t h e  m ea s u r e m e n t  o f   ele ctr ical  ac tiv i t y   i n   t h e  li v i n g   b r ain .   I n   t h i s   p r o j ec t  w e   u s ed   a   b r ain w a v e  s e n s o r   MW 0 0 1   to   an al y z e  th e   E E G  s i g n al s .   T h is   d esig n   d i s cu s s   ab o u t   p r o ce s s in g   a n d   r ec o r d in g   t h e  r a w   E E G  s i g n al  f r o m   th e  s en s o r   MW 0 0 1   in   th e  M A T L A B   en v ir o n m e n t  a n d   th r o u g h   Ser ial  tr an s m i s s io n   c o n tr o l  co m m a n d s   w i ll  b e  p ass ed   to   th e  v o ice  c h i p .   T h is   MW 0 0 1   s en s o r   is   n o t   u s ed   f o r   m ed ical  p u r p o s e,   b u t   it  is   u s ed   to   m ea s u r e  n eu r o n s   f ee d b ac k .   T h e  B r ain   co n tr o l  in ter f ac e  i s   a  d ir ec t   co m m u n icatio n   p at h w a y   b et wee n   th e  b r ain   a n d   an   e x ter n al  d ev ice.     2. 1. 2 .   Wo rk ing   P rinci ple   T h e  p r in cip le  o f   o p er atio n   i s   q u ite  s i m p le.   I t  co n s is ts   o f   t w o   d r y   s en s o r s   ar e  d etec t  an d   f ilter s   th e   E E G  s ig n als.  T h e  s e n s o r   tip   d etec ts   elec tr ical  s i g n als  f r o m   th e  f o r e h ea d   o f   th e  b r ai n .   A t   th e  s a m e  ti m e,   t h e  s en s o r   p ick s   u p   a m b ien t  n o is e  g en er ated   b y   h u m a n   m u s cl e,   co m p u ter s ,   li g h t   b u lb s ,   ele ctr ical  s o ck ets  a n d   o th er   elec tr ical  d ev ice s .   T h e  s en s o r   an d   ea r   clip   p ick s   u p   th e  in f o r m atio n   f r o m   g r o u n d s   a n d   r ef er en ce ,   w h ic h   allo w s   t h i n k   g ea r   c h ip   to   f i lte r   o u t  t h e  elec tr ica l  n o is e.   T h e  d ev ice  m ea s u r es  t h e   r a w   s i g n al,   p o w er   s p ec tr u m   ( alp h a ,   b eta,   d elta,   g a m m a,   th eta) ,   atten t io n   le v el,   m ed iat io n   lev el  a n d   b lin k   d etec tio n .   Fo r   ev er y   clo c k   f r eq u en c y   o f   5 1 2   Hz,   it  r ec eiv es  t h e  r a w   d ata  f r o m   E E G.   Oth er   m ea s u r ed   v al u es  ar e  m ad e  ev er y   s ec o n d .   T h er ef o r e,   r aw   E E G  d ata  is   a  m ai n   s o u r ce   o f   i n f o r m atio n   o n   E E G  s ig n als  u s i n g   Min d   W av e   MW 0 0 1 .     2 . 1 . 3 .   M a t la b  B a s ed  Desig n T heo ry   T h e  MA T L A B   allo w s   in c lu d in g   th i n k g ea r . d ll.  T h is   en v ir o n m e n t  h as  b r o ad   s u p p o r t  in   to o lb o x ,   w h ic h   m a k es  it id ea l   f o r   a   s cie n ti f ic  r esear c h .   T h is   p ap er   p r esen t s   h o w   r ec o r d in g   an d   p r o ce s s i n g   t h e  r a w   E E G   s ig n al  in   M A T L A B   en v ir o n m en t  u s in g   Min d   W av e  s e n s o r .   a  s y s te m   o f   d ig ital  r u le s   f o r   m es s ag e  e x ch a n g e   b et w ee n   M A T L A B   e n v ir o n m en t  a n d   Mi n d   W av e  MW 0 0 1   d ev ice  i s   p r o ce s s i n g   th r o u g h   co m m u n icatio n s   p r o to co l.   T h is   s ec tio n   al s o   p r esen t s   th e  m ai n   p a r a m eter s   o f   t h in k   g ea r   lib r ar y .     Evaluation Warning : The document was created with Spire.PDF for Python.
I J R E S      I SS N:  2089 - 4864       A R M C o n tr o ller   a n d   E E G  B a s ed   Dro w s in ess   Tr a ck in g   a n d   C o n tr o llin g   d u r in g …   ( B .   N a r esh )   129   2 . 1 . 4 .   T he  Co mm u nica t io ns   P ro t o co l    I t c o n s is t s   o f   7   b asic step s ,   w h ich   a r e  p r esen ted   in   f o llo w in g   s tep s .   L o ad   T h in k   Gea r   lib r ar y   i n to   MA T L A B   Get  a  co n n ec tio n   I D  h a n d le  to   T h in k   Gear   A tte m p t to   co n n ec t th e  co n n ec tio n   I D  h a n d le  to   s er ial  p o r t   "COM x "   W aitin g   to   es tab lis h   th e   co n n e ctio n   R ea d   p ac k ets  f r o m   th e   co n n ec t io n   C lo s e  th e   co n n ec tio n   Un lo ad   T h in k   Gea r   lib r ar y   I n   th e  f ir s t s tep   ar e  f u n ctio n s   w it h   p ar a m eter s   in   t h e  f o llo w i n g   o r d er     L ib is lo ad ed   ( „ T h in k   g ea r ‟) – r etu r n s   tr u e  i f   th e  T h i n k   Gea r   lib r ar y   i s   lo ad ed ,   an d   f alse   o th er w i s e.     L o ad   lib r ar y   ( ' T h i n k   g ea r . d ll ' , 'th i n k   g ea r . h ' ) – lo ad s   th e  f u n cti o n s   d ef i n ed   in   th e  h ea d er   f ile  an d   f o u n d   in   th e   lib r ar y .   No w ,   th e  f u n ct io n   ca ll lib   ( )   ca n   ca ll a   f u n ctio n   i n   t h e   T h in k Gea r   lib r ar y .     C al llib   ( ' T h in k g ea r ' T G_ GetDr iv er Ver s io n ' ) – r etu r n s   t h e  v er s io n   o f   lo ad ed   lib r ar y .   I n   t h e  n ex t  s tep ,   th e   f u n ctio n   ca llli b   ( ' T h in k g ea r ' ,   'T G_ GetNe w C o n n ec tio n I d ' )   g ets  a  n e w   co n n ec tio n   I D  h an d le  to   T h in k Gea r .   T h e  v alu e  - 1   is   r et u r n ed   i f   to o   m an y   co n n ec tio n s   h a v e  b ee n   cr ea ted .   Select  C o n n ec t io n   I D ,   n u m b er   o f   t h e   s er ial  p o r t,  B au d   r ate  an d   t y p e   o f   d ata  f r o m   t h e  T G  co n n ec t.   T h e  n u m b er   o f   th e   s er ial  p o r t   is   g i v en   d u r in g   th e  p air in g   o f   t h e  d ev ice.   T h e   d ev ice  ca n   co n n ec t  o n   m o d es  1 2 0 0 ,   2 4 0 0 ,   4 8 0 0 ,   9 6 0 0 ,   5 7 6 0 0   an d   1 1 5 2 0 0   b its   p er   s ec o n d   ( b p s ) .   Her e,   w e  u s e  th e  9 6 0 0   b p s   r ate   an d   s tr ea m   5 V  R A W   m o d e,   b ec au s e  th es e   p ar am eter s   h a v e  th e  m i n i m u m   o f   tr an s m i s s io n   er r o r s .     2 . 2 .   Sy s t em   H a rdw a re   L P C2 1 4 8   P r o ce s s o r   I n   th i s   p ap er   it  u s e s   L P C 2 1 4 8   p r o ce s s o r ,   is   b elo n g s   to   o n e  o f   th e  f a m il y   o f   AR M7 .   T h is   p r o ce s s o r   e m p lo y s   th e  p ip eli n e  ar ch itec tu r e,   h e n ce   d ata  p r o ce s s i n g   a n d   m e m o r y   o p er atio n s   ar e  ex ec u ti n g   p ar allel,   i t   r ed u ce s   th e  e x ec u t io n   ti m e.     I t c o n s is t s   o f   t w o   in s tr u c tio n   s ets.     Stan d ar d   3 2 - b it ARM v 5 T E   s et     16 - b it T HUM B   s et     2 . 2 . 1 .   T hin k g ea r  Asi c  M o du le     I t  is   u s ed   to   in ter f ac e  t h e  d r y   elec tr o d e,   On e  E E G  ch an n el   w it h   th r ee   co n tact s   n a m el y   E E G,   R E F,  an d   GND.     I m p r o p er   f it  d etec ted   th r o u g h   “ P o o r   Sig n al  Q u ali t y ”  w ar n in g   f r o m   ASI C   to   r eset  i f   o f f   t h e  h ea d   f o r   f o u r   co n s ec u tiv e  s ec o n d s ,   o r   i f   it is   r ec eiv in g   a  p o o r   s ig n al  f o r   s ev en   co n s ec u ti v e   s ec o n d s .     I t is ap p licab le  f o r   lo w   p o w er   co n s u m p tio n   d ev ices.     Ma x   p o w er   co n s u m p tio n   1 5 m A   @   3 . 3   V     R a w   E E G  d ata  o u tp u t a t 5 1 2   b its   p er   s ec o n d .     2 . 2 . 2 .   DC   M o t o r   A   m o to r   co n s i s ts   o f   a  r o to r   an d   a  p er m a n en t  m a g n e tic  f ield   s tato r .   T h e  m a g n etic  f ield   is   m ai n tai n ed   u s i n g   eith er   p er m a n en t  m a g n e ts   o r   elec tr o m a g n et ic  w in d i n g s .   Mo to r s   ar e  th e  d ev ices  th at   p r o v id e  th e  ac tu al   s p ee d   an d   to r q u e  in   a  d r i v e  s y s te m .   T h is   f a m il y   i n cl u d es  AC   m o to r   t y p es  ( s in g le  a n d   m u ltip h a s e  m o to r s ,   u n i v er s al,   s er v o   m o to r s ,   in d u ctio n ,   s y n c h r o n o u s ,   an d   g ea r   m o to r )   an d   DC   m o to r s   ( b r u s h   les s ,   s er v o   m o to r ,   an d   g ea r   m o to r )   as  w e ll a s   li n e ar ,   s tep p er   an d   air   m o to r s ,   an d   m o to r   co n tacto r s   an d   s tar ter s .     2 . 2 . 3 .   Ult ra s o nic Sens o r     Ultr a  So n ic  Se n s o r   O u r   u ltra s o n ic  r an g e  f i n d er   is   ca p ab le  o f   al lo w in g   t h e   u s er   to   d eter m i n e  h is   o r   h er   d is tan ce   f r o m   a n   o b j ec t o r   w all.   I t is  u s ed   to   id en ti f y   th e  o b s tacle ,   n ea r er   to   v eh icle  w h i le  d r iv in g .       3.   SYST E M   SO F T WAR E   Usi n g   M A T L A B ’ s   GUI DE ,   t h e  p r o ce s s es   o f   la y i n g   o u t   a  GUI   ( i.e . ,   its   b u tto n s ,   p o p - u p   m en u s ,   etc. )   an d   p r o g r am m i n g   th e  o p er atio n   o f   th e  GUI   ar e  d iv id ed   co n v e n ie n tl y   in to   t w o   ea s il y   m a n ag ed   an d   r elati v el y   in d ep en d en t   ta s k s .     3 . 1 .   Ro le  o f   M a t la b  in   B CI   T h e  MA T L A B   allo w s   i n cl u d in g   th i n k g ea r . d ll.  T h is   en v i r o n m e n t  h as  b r o ad   s u p p o r t  in   to o lb o x ,   w h ic h   m a k es  it id ea l   f o r   a   s cie n ti f ic  r esear c h .   T h is   p ap er   p r esen t s   h o w   r ec o r d in g   an d   p r o ce s s i n g   t h e  r a w   E E G   s ig n al  in   M A T L A B   en v ir o n m en t  u s i n g   Mi n d   W av e   s e n s o r .   T h e  C o m m u n icat io n   P r o to co l  s h o w s   a  s y s te m   o f   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4 864     I J R E S   V o l.  6 ,   No .   3 ,  N o v e m b er   2 0 1 7   :   1 2 7   –   1 3 2   130   d ig ital  r u les   f o r   m e s s a g e  e x c h an g e  b et w ee n   M A T L A B   en v ir o n m en t  a n d   Mi n d   W av e   MW 0 0 1   d ev ice.   T h is   s ec tio n   also   p r esen ts   t h e  m a in   p ar am eter s   o f   th in k g ea r   lib r ar y .   T h e  C o m m u n icatio n   P r o to co l,  s h o w s   a  s y s te m   o f   d ig ital   r u les  f o r   m es s ag e  e x ch a n g e   b et w ee n   MA T L A B   e n v ir o n m en t   an d   Min d   W av e   MW 0 0 1   d ev ice.   T h is   s ec tio n   also   p r ese n t s   t h e   m ai n   p ar a m eter s   o f   th i n k g ea r   lib r ar y .   T h e  co n n ec tio n   is   e s tab lis h ed   th r o u g h   co m m an d :  ca ll lib   ( ' T h in k g ea r   ' , 'T G_   C o n n ec t' ,   I d ,   C o m P o r tNa m e, T G_ B A UD_ 1 1 5 2 0 0 , T G_   S T R   E A M  _ 5 VR A W ) .   I n   t h e  n e x t  s tep ,   w e  m u s t  atte m p t  to   r ea d   a  P ac k et  o f   d ata  f r o m   t h e  co n n e ctio n .   W e  u s e  t h e  T G_ R ea d   P ac k ets   ( )   f u n ctio n   w it h   I D  p ar a m eter   a n d   n u m b er   o f   p ac k et  to   r ea d .   T h e  co m m an d   ca llli b   ( ' T h in k g ea r ' , ' T G_ R ea d P ac k ets ' ,   I d ,   1) .   Fig u r e  2   s h o w s   B r ian   s ig n al  r ep r esen tatio n   i n   M A T L A B .           Fig u r e  2 .   B r ian   s ig n al  r ep r esen tatio n   i n   M A T L A B       T h e  ab o v e  g r ap h   r ep r esen tatio n   i n cl u d es t h e   atten tio n   v al u e  an d   b lin k   s tr e n g t h .   B ased   o n   t h is   s i g n al s   d ev ice  co n tr o l f ile  w i ll b e  o p e n ed   an d   th e  d ev ice  w i ll g e t c o n tr o lled   b ased   o n   th e  b r ain   s i g n als.       4.   ANAL Y SI S O F   H ARD WA RE   S E CT I O N   AR M  C o n tr o ller   r ea d   th e  v a lu e  o f   r a w   E E G  s ig n al  w i th   th e  m ax i m u m   f r eq u en c y   o f   5 1 2   Hz.   Sa m p li n g   f r eq u e n c y   i s   s et  o n   5 1 2   Hz,   an d   w e  co n tr o l  ti m e  d elay s   i n   s a m p l in g .   T h e  v alu e  o f   th e  s i g n al  an d   ti m e  ar e  w r itte n   to   th e  ar r a y   d ata. T h e   d ata  w h ic h   ar e  s to r ed   in   ar r ay   w ill  b e  co m p ar ed   w it h   t h e  th r es h o ld   p o in ts   g i v e n   b y   t h e  u s er .   I n   th is   P ap er ,   th e  Ma tlab   s ec tio n   w ait s   f o r   th r ee   co n s ec u ti v e  b lin k   in   o r d er   to   s en d   th e  h ar d w ar e  ac tiv atio n   s i g n a l.  T h en   b ased   o n   th e  b lin k   lev el  s i g n a l,  th e  cu r s o r   w ill  b e  p lace s   u p o n   an y   s ec tio n   to   g et  th e  d ev ice  co n t r o l.  Fu r th er   th e  p er s o n   h as  to   r aise  th e  atten t io n   to   s w itc h   th e  d ev ice.   Fig u r e  3   s h o w s   B r ain   w a v e  s i g n al  id en t if icatio n   in   Ma t lab .   Fig u r e  4   s h o w s   Dr o w s i n es s   id en ti f icat io n   th r o u g h   Ma tlab       Evaluation Warning : The document was created with Spire.PDF for Python.
I J R E S      I SS N:  2089 - 4864       A R M C o n tr o ller   a n d   E E G  B a s ed   Dro w s in ess   Tr a ck in g   a n d   C o n tr o llin g   d u r in g …   ( B .   N a r esh )   131           Fig u r e  3 .   B r ain   w a v e  s i g n al  id en ti f icatio n   in   Ma tlab   Fig u r e  4 .   Dr o w s i n es s   id en ti f ic atio n   th r o u g h   Ma tlab       5.   CO NCLU SI O N   T h e  m a in   g o al  o f   th i s   p ap er   is   to   d esi g n   a n d   i m p le m e n t   a  h u m a n   t h o u g h t  co n tr o lled   elec tr ical  s w itc h in g   s y s te m   u s in g   B C I   t ec h n o lo g y   f o r   th e   p h y s icall y   ch alle n g ed   p eo p le.   No n   in v as iv e  B C I   m e th o d   is   u s ed   f o r   ca p tu r in g   t h e  b r ain   s ig n a ls   w i th   th e  h elp   o f   b r ain   w a v e  s e n s o r .   Dif f er en t  co g n it iv e  s tate  o f   th e  u s er   lik e  atte n tio n   le v el,   m ed ita tio n   le v el,   an d   e y e - b li n k   ca n   b e  u s ed   to   m ea s u r e  th e  h u m an   t h o u g h t.  T h e  s ig n al s   ar e  class if ied   ac co r d in g   t h eir   r esp ec tiv e  f r eq u e n cie s   r an g i n g   f r o m   0 . 5   Hz  to   3 0   Hz.   B y   s ettin g   th e  t h r es h o ld   v alu e  f o r   an   e v e n t,  th e  in ter r u p t  is   g e n er ated .   T h is   I n ter r u p t   is   s e n t  to   t h e  m icr o co n tr o ller   u n it  f o r   o p er atin g   th e  ap p lian ce s.       RE F E R E NC E S    [1 ]   Ch in - T e n g   L in ,   F u - Ch a n g   L in ,   S h i - A n   Ch e n ,   S h a o - W e i  L u ,   Te - Ch i  Ch e n ,   L i - W e i   Ko ,   “ EE G - b a se d   Bra in - c o m p u ter  In terf a c e   f o r  S m a rt  L iv in g   En v iro n m e n tal  A u to - a d ju stm e n t”,  J o u rn a l  o f  M e d ica l  a n d   Bi o lo g ica l  E n g in e e rin g ,   Ye a r:  2 0 1 0 ,   Vo l.   3 0 ,   P a g e :  2 3 7 - 2 4 5 .   [2 ]   W o lp a w ,   J.R. , ” Bra in - c o m p u ter  in terf a c e   re s e a rc h   c o m e s  o f   a g e :  t ra d it io n a l  a ss u m p ti o n s  m e e t  e m e rg in g   re a li ti e s. ”   J o u rn a l  o f  mo t o r b e h a v io r ,   Ye a r:  2 0 1 0 ,   Vo l.   4 2 ,   P a g e :  3 5 1 - 3 5 3 .   [3 ]     A n u p a m a . H.S ,   N.K.Cau v e r y ,   L i n g a ra ju .   G . M ,   “ Br a in   c o m p u ter  in terf a c e   a n d   it s  t y p e s   -   a   stu d y ” ,   In ter n a ti o n a l   J o u rn a l  o f  A d v a n c e s in   En g in e e ri n g   &   T e c h n o lo g y ,   Ye a r:  2 0 1 2 ,   V o l.   8 ,   P a g e :  1 1 7 - 1 1 9 .   [4 ]   T .   Ka m e s wa ra   R a o ,   M .   Ra j y a la k sh m i,   Dr.  T .   V .   P ra sa d ,   “ A n   Ex p lo ra ti o n   o n   Bra in   Co m p u ter  I n terf a c e   a n d   Its   Re c e n t  T re n d s” ,   In ter n a ti o n a l   J o u rn a l   o f  Ad v a n c e d   Res e a rc h   in   Arti fi c ia l  I n telli g e n c e ,   Ye a r:  2 0 1 2 ,   V o l .   1 ,   P a g e :   17 - 22.                             Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 9 - 4 864     I J R E S   V o l.  6 ,   No .   3 ,  N o v e m b er   2 0 1 7   :   1 2 7   –   1 3 2   132   B I O G RAP H I E S O F   AUTH O RS       B. Na re sh   w o rk in g   a s  As so c iat e   p ro f e ss o r  in   In stit u te  o f   a e ro n a u t ica l  e n g in e e rin g ,   H y d e ra b d ,   T e lan g a n a .   A r e a   o f   in tere st i s  Em b e d d e d   S y ste m s an d   VL S I  S y ste m   De sig n .         S . Ra m b a b u   w o rk in g   a s  As sista n t  p ro f e ss o r  in   In stit u te  o f   a e r o n a u t ica l  e n g in e e rin g ,   H y d e ra b d ,   T e lan g a n a . A r e a   o f   in te re st i s V L S I.         D.Kh a lan d e r  Ba sh a   w o rk in g   a s  A ss o c iate   p ro f e ss o r  in   In stit u te  o f   a e ro n a u ti c a l  e n g in e e rin g ,   Hy d e ra b d ,   T e lan g a n a .   A re a   o f   in tere st i s Im a g e   p ro c e ss in g .     Evaluation Warning : The document was created with Spire.PDF for Python.