I nte rna t io na l J o urna l o f   E lect rica l a nd   Co m p ute r  E ng in ee ring   ( I J E C E)   Vo l.   8 ,   No .   5 ,  Octo b e r   2 0 1 8 ,   p p .   3 6 4 7 ~ 3 6 5 6   I SS N:  2 0 8 8 - 8708 ,  DOI : 1 0 . 1 1 5 9 1 / i j ec e . v8 i 5 . pp 3 6 4 7 - 3656          3647       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 JE C E   Fuel  S ta tion M o n itoring  and Au tom a tion  b a sed o n  WSN       E ha b Ab du lRa zz a q H us s ein ,   M a hra n O ba id Wa heed   De p a rtme n t  o f   El e c tri c a l,   F a c u lt y   o f   En g in e e rin g ,   Ba b y lo n   Un iv e rsity ,   Ira q       Art icle  I nfo     AB ST RAC T   A r ticle  his to r y:   R ec eiv ed   Feb   7 ,   2 0 1 8   R ev i s ed   Ma y   1 0 , 2 01 8   A cc ep ted   Ma y   1 6 ,   2 0 1 8     T h e   Ira q i  f u e l  sta ti o n   stil l  n o w   u se s  o ld   tec h n o lo g ies   to   c o n tr o l  it s  a c ti v it ies   f ro m   f il li n g   tan k s   to   th e   f il li n g   c a rs.  A u to m a te   th e   a c ti v it y   o f   f u e l  sta ti o n   is  th e   o b jec ti v e   o f   th is  w o rk .   T h e   a i m s o f  f u e l  sta ti o n   a u to m a ti o n   a re   to   sa v e   th e   f u e l  q u a n ti ti e s  a n d   q u a li t ies   su p p li e d   i n   f u e l  sta ti o n ,   a n d   to   k e e p   th e   f u e l  sta ti o n ,   t h e   w o rk e r  a n d   it s  m a i n   p a rts  sa f e .   T h is  w o rk   u se s  th e   n a ti o n a l   in stru m e n t  w irele ss   se n so r  n e t w o rk   (NI  W S N).  T h e   NI  W S N  u se d   to   a u to m a te t h e   p ro tec ti o n   s y ste m   a n d   lev e l  c o n tro ll i n g   s y ste m   w h ich   m a k e s   th e   f u e l  sta ti o n   w o rk   u n d e r  n o rm a l  a m b ien t  te m p e ra tu re ,   a n d   n o rm a l  p ro tec ti o n   c o n d i ti o n s.  A u to m a ti o n   b a se d   o n   a   w irele ss   se n so r  n e tw o rk   g i v e s   e x c e ll e n t   c a p a b il it ies   to   a u to m a te  a n d   m o n it o r  f u e l  sta ti o n .   T h ro u g h   th e   u se r  in terf a c e   w in d o w   th e   u se r  m o n it o r  t h e   sta t u s  o f   a c tu a to rs,  p ro tec ti o n   sy ste m   c o n tr o ll e r  m e ss a g e s,  f u e l  le v e ls,   w a ter   lev e l,   e n v iro n m e n t  te m p e ra tu re ,   p o w e r   so u rc e   a n d   it s  q u a li ty .   T h e   so f t  c o n tro ll e r  d e v e lo p e d   w a s  b u il t  with in   T h e   LA BV IEW   e n v iro n m e n t .   T h e   re su lt s  o f   c o n tro ll e r  g iv e   th e   d e sire d   a c ti o n   th ro u g h   " on "   a n d   “ o f f ”   sta te s o f   th e   a c tu a to rs   K ey w o r d :   Au to m a tio n   Fire   p r o tectio n   Fu el  s tatio n   L A B VI E W   Mo n ito r in g   NI   W SN   T em p er atu r e  p r o tectio n   Co p y rig h t  ©   2 0 1 8   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 :   E h ab   A b d u l   R az za q   Hu s s ei n ,    Dep ar t m en t o f   E lectr ical  E n g i n ee r in g ,     Facu lt y   o f   E n g i n ee r i n g ,   B ab y lo n   U n i v er s it y ,   B ab y lo n ,   I r aq .   E m ail:  d r . eh ab @ itn et. u o b ab y l o n . ed u . iq       1.   I NT RO D UCT I O N     Au to m a tio n   a n d   m o n it o r i n g   h av e  a  b ig   r o le  in   all  li f e  s id es,   in d u s tr ial  f ield s   an   ex a m p le.   On e  o f   t h e  m ai n   to o ls   o f   a u to m at io n   i s   a  w ir ele s s   s en s o r   n et w o r k   ( W S N) ,   its   u s e  a   g r o u p   o f   s en s o r s   co n n ec ted   w i th   ea ch   o th er   v ia  a  w ir ele s s   n et w o r k   to   en s u r e  co n n ec t iv i t y   b et w ee n   an y   s e n s o r   i n   i n d u s tr ial  lo ca tio n   an d   t h e  m ai n   s tatio n ,   th i s   m a k es  d ata   o n   u n s af e   lo ca tio n   ea s il y   ar r iv e   to   t h e  m ai n   s tatio n .   Au to m atio n   b ased   o n   a  w ir ele s s   s en s o r   n et w o r k   g i v es   ex ce l l en t  ca p ab ilit ie s   to   au to m ate   an d   m o n ito r   f u el   s tatio n ,   e s p ec iall y   it  w a s   an   in d u s tr ial  lo ca tio n   w h ic h   co n t ain s   th e   to x ic   an d   f la m m ab le  g ase s .   L A B VI E W   is   i n d u s tr ia l  s o f t w ar e  t h at  h av e   g o o d   u s er   in ter f ac e  co m p ar e  w it h   o th er   s o f t w ar e,   it  u s ed   t o   i m p le m en t  t h e  p r o ce s s i n g   o f   w ir ele s s   s e n s o r   n et w o r k   d ata  to   co n tr o l  th e  ac tu ato r s   i n   t h e  f u el   s tatio n .   Fi g u r e  1   s h o w s   t h e  s i m p li f ied   b l o ck   d iag r a m   o f   t h e   s y s te m   d o n e  in   th i s   w o r k .   F ig u r e  1   s h o w s   th a t  th er e  ar e  s e n s o r s   as  i n p u t  to   t h e  s y s te m   a n d   o u ts   o f   t h e  s y s te m   u s ed   to   co n tr o l  th e  ac t u ato r s   th r o u g h   w ir e  ac r o s s   th e   m ic r o co n tr o ller s   o r   w ir eles s   t h r o u g h   t h e  W SN   en d   n o d es.  T h e  s en s o r s   th at  u s ed   ar e  tem p er at u r e,   s m o k e,   lev el ,   w ater ,   lig h t,  v o lta g e,   p h ase  f ail u r e,   p r ess u r e  as   in p u t s   to   t h e  s y s te m .   T h e  ac t u ato r s   ar e  s u b m er s ib le  m o to r ,   d is p en s er   m o to r ,   f ili n g   m o t o r ,   co o lin g   m o to r ,   alar m   b u zz er ,   lig h t s ,   en g in e  i g n itio n   a n d   s tar ter   o f   t h e  lo ca l s o u r ce   g en er ato r .       Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I n t J   E lec  &   C o m p   E n g ,   Vo l.  8 ,   No .   5 ,  Octo b er   2 0 1 8   :   3 6 4 7   –   3 6 5 6   3648       Fig u r e  1 .   B lco k   d iag r a m   f o r   g u r ep r o p o s ed   s y s te m       2.   RE L AT E D  WO RK   T h e  s u r v e y   co v er s   t w o   to p ics.  T h e  f ir s t  in clu d es  t h e  u s e  o f   th e  w ir eless   s e n s o r   n et w o r k   i n   au to m at io n   an d   in d u s tr ial  ap p licatio n s .   T h e  s ec o n d   is   th e   u s in g   o f   t h e  n atio n a l  in s tr u m en t  s o f t w ar e  an d   h ar d w ar e  to   i m p le m e n tatio n   t h e  au to m ato n   b ased   o n   NI   W S N.     T h er e  ar e  r ec en t  ef f o r ts   t h at  d ea l  w it h   u s i n g   w ir ele s s   Se n s o r   Net w o r k   i n   in d u s tr ial  ap p lic atio n .   T h e  in ter esti n g   s id es  w er e  ad v a n t a g es o f   w ir ele s s   tec h n o lo g ies b e y o n d   th e  w ir e  tec h n o lo g ies,  w h er e:   a.   W aq as  I k r a m   &   Ni n a  F.  T h o r n h i ll,  2 0 1 0   [ 1 ]   p r esen ts   th e  p r o b lem s   o f   w ir ed   tec h n o lo g ies   in   i n d u s tr ial  ap p licatio n s   an d   th e  b e n ef i ts   o f   tech n o lo g ies  t h at  u s e  wir eless   co m m u n ica tio n .   I n   t h e  s tu d y ,   t h e  r esear ch er   co n cl u d es  t h at  lo w   p o w er   an d   s h o r t  r an g e  w ir ele s s   co m m u n ica tio n   ar e  s u itab le  f o r   in d u s tr ial   au to m at io n   ap p licatio n s .   b.   Gan g   Z h ao   &   Da v is ,   2 0 1 1   [ 2 ]   s h o w   th a t  t h e  w ir eles s   s e n s o r   n et w o r k   b r in g   s ev er al  ad v an ta g e s   o v er   w ir ed   tec h n o lo g ies   f o r   m o n ito r in g   an d   co n tr o l  o f   i n d u s tr ial   s y s te m s ,   i n   th e   s t u d y ,   th e   r ese ar ch er   p r esen t  th e  c h allen g e s   th a t  f ac e  t h e  tr an s it io n   f r o m   w ir ed   to   w ir ele s s   as  p o w er   m a n a g e m en t,  s m ar t  r o u tin g   an d   s elf   h ea li n g .     c.   Dr .   P.Ve l m an i,  2 0 1 3   [ 3 ]   d em o n s tr ates  t h e  p o s s ib ilit y   to   a p p ly   t h e  w ir eless   s e n s o r   n et w o r k   in   in d u s tr ial   ap p licatio n s   b y   u s e  o f   a  s m all  d etec to r   s y s te m ,   s tr ati f ied   An al y ze r   to   a  m icr o   elec tr o   m ec h an ical  s y s te m   an d   d ata  ac q u is itio n   o f   m ac h i n e  v i s io n .   Als o   th e  a u t h o r   s h o w ed   t h at  t h er e  ar e  t w o   t y p es  o f   W SN  u s e  i n   in d u s tr ial  f ie ld s ,   th e  f ir s t  is   th e  in tell ig e n t  m an a g e m en t   o f   in d u s tr y   an d   th e  s ec o n d   is   th e  s ec u r e   m an a g e m e n t  o f   in d u s tr ie s .   W h er e  m ac h i n e  v is io n   s y s te m ,   s m ar t  tr an s m it ter ,   p r o ce s s   m o n ito r in g   an d   b u ild in g   au to m atio n   ar e  class if ied   as  in te lli g en t  i n d u s tr ial  m an a g e m e n t  an d   f ir e  alar m ,   l ea k   d etec tio n ,   u n a u t h o r ized   v e h icle  d etec tio n   a n d   s m o k e   d etec tio n   ar e   c lass i f ied   a s   s ec u r e  i n d u s tr ial  m an a g e m e n t.  A l s o   t h e  a u t h o r   s h o w s   th e   ch a llen g es   th a t  f ac e  m i g r ati n g   f r o m   w ir ed   to   W SN   tech n o lo g ie s   ar e  co v er ag e   ar ea ,   th e  s i g n al  s tr en g t h ,   b alan ce   b et w ee n   b atter y   li f e  an d   r ate  o f   d ata  u p d ate,   W SN  p r o to co ls ,   w ir eles s   s ec u r it y   an d   q u ali t y   o f   s er v ice   r eq u ir e m en t s .   d.   A .   A j it h   K u m ar   S.,   K n u t  Ø   v s th u s ,   L ar s   M.   Kr i s ten s en ,   2 0 1 4   [ 4 ]   s h o w   t h at  t h er e  a r e  d if f er e n ce s   b et w ee n   th e  co n v en tio n a l  W S N  an d   in d u s tr ial  W SN  ( I W SN)   w h er e  in d u s tr ial  ap p licatio n   n ee d   s p ec if ic  p r o to co ls   b ased   o n   ce r tain   f ac t o r s .   T h e  au th o r s   r ef er   to   m ai n   f ac to r   m u s t b e  n o t c h an g e  w h e n   r ep lace   t h e   w ir ed   w it h   I W SN  tech n o lo g ie s ,   q u alit y   o f   s er v ice  ( Qo s )   is   t h e  m ain   f ac to r ,   a t  s a m e  ti m e  lo w   co s t   lo w   p o w er   I W SN.  A cc o r d in g   to   t h e  a u th o r   t h er e  ar e  s i x   cla s s e s   o f   t h e  i n d u s tr ial  s y s te m ,   t h e y   ar e  s a f et y   s y s te m ,   clo s e  lo o p   r eg u lato r y   s y s te m ,   clo s e  lo o p   s u p er v i s o r y   s y s te m ,   o p en   lo o p   co n tr o l  s y s te m ,   aler ti n g   s y s te m   an d   i n f o r m atio n   g a th er in g   s y s te m .   A cc o r d in g   to   th ese  c lass   r eq u ir e m e n t s   t h e   p r o to co ls   o f   m ed iu m   ac ce s s   co n tr o l,  tr an s p o r t a n d   r o u tin g   f u n ct io n   w ill b e  s elec ted .   Natio n al  in s tr u m e n ts   i n tr o d u c e  L A B VI E W   s o f t w ar e   an d   it s   s u p p o r ted   h ar d w ar e   as  NI   W SN  an d   d ata  ac q u is itio n s   ( D AC ) .   T h er e  ar e  g o o d   w o r k s   to   i m p le m e n t   au to m atio n   a n d   i n d u s tr ial  a p p licatio n   b y   L A B VI E W   s o f t w ar e  an d   NI   p r o d u cts,  as b ello w :   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J   E lec  &   C o m p   E n g     I SS N:  2 0 8 8 - 8708       F u el  S ta tio n   Mo n ito r in g   a n d   A u to ma ti on  b a s ed   o n   W S N   ( E h a b   A b d u l   R a z z a q   Hu s s ein )   3649   e.   B asil   Ha m ed ,   2 0 1 2   [ 5 ]   p r esen ts   th e  a u to m at io n   s y s te m   f o r   s m ar t  h o u s e  u s i n g   L A B VI E W   s o f t w ar e  as  a   m ai n   co n tr o ller ,   alth o u g h   t h er e  ar e  s u b   co n tr o ller s   lo ca l l y   r e m o te  co n tr o lled   an d   g l o b ally   t h r o u g h   in ter n e t  co n tr o ller .   T h e  co n tr o l  s y s te m   ca n   m o n ito r   t h e  te m p er atu r e,   lig h ti n g ,   h u m id it y ,   g a s   d en s it y ,   f ir e   an d   b u r g lar   s ec u r it y   alar m s .   T h e  s y s te m   co n s i s ts   o f   f iv e  s u b s y s te m s ,   s ec u r it y ,   li g h t in g ,   r e m o te  co n tr o l,  te m p er atu r e  a n d   m ai n   h o u s e   p o w er   s u b s y s te m s .   T h er e  ar e  t w o   i n ter f ac e s ,   co m p u te r   an d   r e m o te   co n tr o ller   in ter f ac e.   f.   S.  R aj esh   K u m ar   &   S.  R a m esh k u m ar ,   2 0 1 3   [ 6 ]   p r o p o s e  co n tr o l  an d   m o n ito r in g   s y s te m   u s i n g   d ata  ac q u is itio n   an d   L A B VI E W .   T e m p er atu r e   s e n s o r   w ith   D AQ  an d   L A B VI E W   s o f t w ar e  u s ed   to   im p le m e n t   th e  co n tr o l  s y s te m .   Au t h o r   co n clu d e s   th a t  th e   u s e  o f   E t h er n et  in   i n d u s tr ial  a u to m at io n   i s   a   g o o d   s o lu tio n   b ec au s e  o f   s p ee d   o f   E th er n et  t h at  r ea ch   u p   Gb p s .   g.   S.  Sat h i y s m o o r t h y ,   2 0 1 4   [ 7 ]   s h o w s   t h at  t h e  m a c h i n e  v is io n   o f f er s   th e   b est  s o l u tio n   f o r   q u alit y   co n tr o l  in   in d u s tr ial  ap p licatio n s .   D i m e n s io n al   m ea s u r e m e n ts ,   p r o ce s s   co n tr o l  o f   th e   i m ag e   p r o ce s s i n g   a n d   o p tical  ch ar ac ter   r ec o g n itio n   ( OC R )   tech n iq u es  ar e  u s ed   to   ch ec k i n g   p r o d u cts  p ar ts   in   f in is h i n g   s tag e  o f   t h e  p r o d u ctio n   lin e.   Ma ch in e   Vis i o n   ( MV )   ap p r o ac h   p r o v id es  t h e  a u to m a tic  i n s p ec tio n   b ased   o n   t h e  i m a g e  p r o ce s s in g .   MV   h as  t h r ee   p ar ts   i m a g e  ac q u i s itio n ,   i m a g e  p r o ce s s in g   an d   co n tr o ller   d ec is i o n .   T h e  o p tical   g au g i n g   o f   s h a f t,  en g i n e  ass e m b l y   a n d   in s p ec tio n   o f   le v el  an d   ca p   o f   b o ttle  ar e  m a ch in e  v is io n   ap p licatio n s   p r ese n ted   i n   t h e   w o r k .   A u th o r   co n clu d es   t h at  th e  u s in g   o f   M V  i n   in d u s tr ial   ap p licatio n s   r ed u ce   th e  co s t a n d   s u b s eq u e n t stag e s   o f   p r o d u ctio n   an d   i m p r o v e  th e  q u alit y   o f   p r o d u cts.   h.   P o o r n en d u   K,   Ma n o j   G  &   K an n a n   E .   P . ,   2 0 1 5   [ 8 ]   p r esen t   m o n ito r in g   a n d   co n tr o llin g   t h er m al   p o w er   p lan t  p ar a m eter s   s u ch   as  p r ess u r e,   h u m id it y ,   an d   te m p er atu r e.   T h e  t w o   p ar ts   o f   th e  s y s te m   ar e  h ar d w ar e   an d   s o f t w ar e.   T h e  h ar d w ar e  p ar t  co n s is t s   o f   w ir eles s   tr an s c eiv er   an d   m icr o co n tr o ller ,   b u t   th e  s o f t w ar e   p ar t  b u ilt  w it h i n   L A B VI E W   w h er e  s er ial  p o r t  u s ed   in   v ir t u al  in s tr u m e n t  s y s te m   ar ch ite ctu r e  ( VI S A ) .   T h e  au th o r s   co n cl u d e  th at  t h e  s y s te m   g i v es e f f icie n t r esu lts   i n   m o n ito r in g   an d   d ata  ac q u is it io n .   i.   A .   D h ad i w i w a l  ,   P a y al  Dis o j a  &   P r o f   Am it   H.   P alv e,   2 0 1 5   [ 9 ]   s h o w   th a t  t h e  s m ar t  p o w er   co n tr o l  in   in d u s tr ials ,   lar g e   an d   s m all  b u ild in g s   ar e  t h e  b est   s o l u ti o n   to   p o w er   lo s s   d u e   to   t h e  w o r k i n g   o f   u n n ec es s ar y   lo ad s ,   b ec au s e   o f   th e  s tate   m o n ito r in g   o f   ele ctr ical  d ev ices  i n   th e   b u i ld in g   u s i n g   W SN   tech n o lo g y .   T h e  s y s te m   i m p le m en ted   b y   t h e  m icr o co n tr o ller   w h ic h   led   to   f lex ib le,   lo w   c o s t  an d   r o b u s t  s y s te m .       3.   T H E   P RO P O SE D  SYS T E M   Fig u r e  2   s h o w s   th e  m ai n   co m p o n en t  o f   a  f u el  s tatio n   a n d   its   eq u ip m en t s .   T h e  f u el  s t atio n   is   th e   in d u s tr ial  lo ca tio n   w h er e  f u el  is   d is p en s ed   in to   th e  f u el  ta n k   o f   ca r s   o r   f u el  co n tain er s .   Fu e l   s tatio n   co n s i s ts   o f   th e  f o llo w i n g   co m p o n e n ts ,   s to r ag e  tan k ,   f u el  d is p en s er ,   s u b m er s ib le  p u m p ,   f il lin g   p u m p ,   an d   f ill in g   s y s te m .           Fig u r e  2 .   Fu el  s tat io n   co m p o n en ts       T h e  m a in   g o al   o f   t h e  p r o p o s ed   s y s te m   i s   to   d esi g n   a  f u el  s t atio n   co n tr o ller   to   au to m ate  a n d   m o n ito r   th e  m ain   ac t iv i ties   o f   f u el  s tat io n .   T h e  m ain   ac t iv it ies  i n   th e   f u el  s tatio n   w h ic h   d ea l  w it h   i n   r esear ch er   w o r k   ar e,   m ain   ta n k   an d   ca r   ta n k   f ili n g   s y s te m   au to m atio n ,   f ir e  p r o tectio n   s y s te m ,   a n d   te m p er atu r e  p r o tectio n   s y s te m ,   i n ter n al  an d   ex ter n al  lig h ti n g   s y s te m .   T h e  to o ls   th a t  u s ed   in   t h i s   w o r k   ar e  NI   W SN  s y s te m ,   lap to p ,   L A B VI E W   s o f t w ar e,   m icr o co n tr o ller ,   te m p er atu r e  s e n s o r ,   s m o k e  s en s o r ,   w ater   d etec to r ,   lev el  s en s o r   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I n t J   E lec  &   C o m p   E n g ,   Vo l.  8 ,   No .   5 ,  Octo b er   2 0 1 8   :   3 6 4 7   –   3 6 5 6   3650   e m u lato r ,   d en s it y   s en s o r   e m u lato r ,   g lo b al \ lo ca l  p o w er   s o u r ce   e m u lato r ,   an d   p h o to   s en s o r .   T h e  NI   W SN  s y s te m   co n tai n s   g ate w a y   n o d e ,   en d   n o d e,   an d   r o u tin g   n o d e  w h ic h   f o r m s   t h e  W SN  s y s te m .   T h e  W SN  s y s te m   is   r esp o n s ib le  to   r ec eiv e  s en s o r   d ata   f r o m   s en s o r s   an d   tr an s m i t  co m m a n d s   to   th e  ac t u at o r s   an d   to   th e  m ai n   s tatio n   ( L ap to p ) .   T h e  lap to p   u s ed   as  h ar d w ar e  th at  r esp o n s i b le  to   ex ec u te  t h e  m a in   s o f t  c o n tr o ller .   T h e  m ai n   co n tr o ller   w as  b ei n g   b u ilt  b y   th e  L A B VI E W   s o f t w ar e.   T h e  m icr o co n tr o ller   is   u s ed   to   i m p le m e n t  t h e  m ai n  s y s te m   w i th o u t  W SN  as  p r e  m o d el  an d   u s ed   as  ass is tan ce   w it h   th e  W SN  to   r ea d   in f o r m atio n   a n d   tr an s f er   co m m a n d   to   th e  m ai n   co n tr o ller .   T em p er at u r e  an d   s m o k e  s en s o r s   u s ed   to   g iv e  i n f o r m at io n   ab o u t  th e  f u el   s tatio n   en v ir o n m e n t  to   d ec id e   if   th e   s ta te  i s   s a f e  o r   u n s a f e.   T h e  lev el  s en s o r   e m u lato r   a n d   th e   d en s i t y   s e n s o r   e m u lato r   u s ed   to   g i v e  in f o r m atio n   f o r   th e  m ai n   co n tr o ller   to   co n tr o l  o p e r atio n   o f   s u b m er s ib le  p u m p s ,   f u el   d is p en s er ,   an d   t h e  m ain   tan k   f illi n g   s y s te m .   T h e  g lo b al \ lo ca l  p o w er   s o u r ce   e m u lato r   u s ed   t o   e m u late  th e   w o r k i n g   o f   m ain   p o w er   s u p p ly   ( g lo b al  s o u r ce )   a n d   lo ca l  p o w er   s u p p l y   ( p o w er   g e n er ato r   s et) .   T h e  m i s s io n   o f   g lo b al \ lo ca l  p o w er   s o u r ce   e m u lato r   is   to   g iv e   in f o r m at io n   f o r   th e  au to m atic  p o w er   ch a n g er   s y s te m   to   d ec id e  w h ic h   p o w er   i s   ap p ea r   an d   p r o v id e  th e  p r o p er   co m m a n d s .   P h o to   s en s o r   u s ed   to   p r o v id e  in f o r m atio n   ab o u t  lig h t  i n te n s it y   f o r   th e   m a in   co n tr o ller   to   co n tr o l  t h e  li g h tin g   s y s te m   i n ter n al  a n d   e x ter n al  l o ca tio n s   o f   th e   f u el   s tatio n .   F ig u r e  3   is   b r ief l y   il lu s tr atin g   to   t h e  p r o p o s ed   s y s te m   w h e r e  th e  h ea r t  o f   s y s te m   i s   th e  m ai n   co n tr o ller   ( L ap to p ) . T h e  m ai n   co n tr o ller   co n n ec ted   to   th e   s e n s o r s   a n d   th e  ac t u ato r s   w ir ele s s l y   th r o u g h   t h e  W SN   an d   co n n ec ted   to   s u b   co n tr o ller s   lo g icall y   ( t h r o u g h   t h e  L A B VI E W   s o f t w ar e) . T h e  r em o te  ac t u ato r s   co n n ec ted   to   NI   W SN  en d   n o d es  v ia  p o w er   I s o lato r s   as  p h o to   co u p ler s   o r   r elay s .   T h e  lo ca l   ac tu ato r s   co n n ec ted   to   th e  lo ca l  s u b   co n tr o ller   v ia  U SB   ca b le  an d   p o w er   in s u la to r .   W h er e  th e  ele m en ts   o f   t h e  Fi g u r e  3   d ef in ed   b y   th e  T ab le  1 .           Fig u r e  3 .   P r o p o s ed   s y s te m   i m p le m en ta tio n       T ab le  1 .   T h e  Def in it io n s   o f   th e  P r o p o s ed   Sy s te m   E le m e n ts   N o .   C o mp o n e n t   N o .   C o mp o n e n t   1   A N P R   s y st e m (b e y o n d   t h e   p a p e r   sco p e )   15   T e mp e r a t u r e   se n so r   2   W S N   c o mp o n e n t s   16   L i g h t   se n so r   3   P A C   “ p r o g r a mm a b l e   a u t o ma t i o n   c o n t r o l l e r ”   17   M a i n   f u e l   t a n k   4   W S N   e n d   n o d e   18   S mo k e   se n so r   5   W S N   g a t e w a y   19   G e n e r a t o r   se t s    6   En v i r o n me n t a l   se n so r s   20   W a t e r   p u m p   7   M i c r o c o n t r o l l e r   ( A r d u i n o )   21   F u e l   d i s p e n se r   8   G e n e r a t o r   se t s,  se n so r s   22   S u b me r si b l e   mo t o r   9   P o w e r   d i st r i b u t i o n   p a n e l   23   F i l l i n g   mo t o r   10   F u e l   st a t i o n   e q u i p me n t s   24   L i g h t i n g   so u r c e s   11   W i r e   c o n n e c t i o n   25   En g i n e   o i l   P r e ssu r e   se n so r     12   W i r e l e ss c o n n e c t i o n   26   En g i n e   t e mp e r a t u r e   se n so r   13   D i st a n c e   se n so r   ( l e v e l   se n so r )   27   C a me r a     14   D e n si t y   se n so r   28   W a t e r   se n so r       T h e  s y s te m s   t h at  co n ta in ed   w i th i n   t h e   p r o p o s ed   s y s te m   ar e  f ir e  p r o tectio n   s y s te m ,   h i g h   te m p er at u r e   p r o tectio n   s y s te m ,   au to m atic  p o w er   ch an g er   s y s te m ,   le v el  co n tr o ller   s y s te m ,   a n d   lig h ti n g   co n tr o ller   s y s te m       Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J   E lec  &   C o m p   E n g     I SS N:  2 0 8 8 - 8708       F u el  S ta tio n   Mo n ito r in g   a n d   A u to ma ti on  b a s ed   o n   W S N   ( E h a b   A b d u l   R a z z a q   Hu s s ein )   3651   w h ic h   i m p le m e n ted   as:     3 . 1 .   F ire  pro t ec t io n sy s t e m   Fig u r e  4   s h o w s   th at   t h e  u s er   in ter f ac e   o f   th e   f ir e  p r o tectio n   s y s te m .   T h e  s y s te m   i n p u t s   ar e  t y p e  o f   p r o tectio n ,   te m p er atu r e   th r e s h o ld   v alu e,   te m p er at u r e  s en s o r   v al u e,   s m o k e  s en s o r ,   an d   j u m p   f ir e  alar m .   T h e   o u tp u t  o f   th e  f ir e  p r o tectio n   s y s te m   i s   t h e  f ir e  alar m .   T h e  f i r s t  ca s e  o f   f ir e  d etec ted   ( f i r e  a lar m   =  o n )   a n d   th e   s ec o n d   ca s e  is   n o   f ir e  d etec ted   ( f ir e  alar m =o f f )   o r   n o r m al  s tate.   T h e  s en s o r s   w h ich   u s e d   ar e  L M3 5   as  th e   te m p er atu r e  s en s o r   an d   MQ - 2   as  s m o k e   s e n s o r .   L M3 5   is   t h e  an alo g u e  s en s o r   h a s   t h e  d at a  s h ee t   i n   r ef er e n ce   [ 1 0 ]   an d   MQ - 2   u s ed   as  d i g ital   s m o k e  s e n s o r   w h ich   g i v es  a n   in d icato r   u n d er   s p ec if ic  co n d itio n s ,   ac co r d in g   to   th e  f ac to r y   s ett in g s ,   its   d ata  s h ee t  i n   r ef er en ce   [ 1 1 ] .   T h e  L A B VI E W   co d e  th at   ac h iev e s   th e   f ir e  p r o tectio n   s y s te m   s h o w n   i n   th e  F ig u r e  5 .           Fig u r e  4 .   User   in ter f ac e  o f   f ir e   p r o tectio n   s y s te m           Fig u r e  5 .   Fire   p r o tectio n   s y s te m   co d e     Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I n t J   E lec  &   C o m p   E n g ,   Vo l.  8 ,   No .   5 ,  Octo b er   2 0 1 8   :   3 6 4 7   –   3 6 5 6   3652   3 . 2 .   H ig h t e m pera t ure  pro t ec t io n sy s t e m   T h e  n atu r e  o f   f u el  s tatio n   m ak es  t h e  w o r k in g   eq u ip m en t s   ( d is p en s er s ,   f illi n g   s y s te m . . . )   in   d ir ec t  co n tact  w ith   t h e  o u ter   en v ir o n m en t  f ac to r s   as  a m b ie n t  te m p er atu r e  w h ic h   in cr ea s e s   in   t h e   s u m m er   s ea s o n   i n   I r aq .   A ls o   th e   p r o b ab ilit y   o f   a n   ac cid e n t  i s   d ir ec tl y   p r o p o r tio n al  to   i n cr ea s e   t h e  te m p er atu r e  ab o v e  t h e  n o r m al   s tate  i n   t h e  f la m m ab le  e n v ir o n m e n t.  Hi g h   te m p er at u r e  p r o tectio n   s y s te m   w a s   i n tr o d u c ed   to   p r o tec t  th ese   eq u ip m e n ts   ag ai n s t  a n   ab n o r m al  in cr ea s e   i n   t h e  a m b ien t  te m p er at u r e,   T h e  te m p er atu r e  c o n tr o ller   u s e s   s i m p le   tech n iq u es  to   o v er co m e  t h e  o s cillatio n   p h e n o m e n a  w h ich   m ak e  th e  s y s te m   u n s tab le.   T h is   tech n iq u e  clea r l y   ex p lain ed   i n   t h e  Fi g u r e  6   w h er e  th e  o u tp u t  m a y   b e  o n   o r   o f f   f o r   t h e  s p ec i f ic  o v er lap s   i n ter v al   ( R 2   a n d   R 4 )  w h ic h   lie  b et w ee n   t h e  m in i m u m s   a n d   m ax i m u m s   al lo w ab le  in ter v a ls   f o r   u p p er   an d   lo w er   l ev els.  W it h o u t  th i s   tech n iq u e,   t h e  s y s te m   o s c illat es  b et w ee n   s w itc h i n g   o n   an d   o f f   o f   t h e  lo ad s   i f   th e   s e n s o r   d ata  s w i n g   ab o u t  th e   th r es h o ld   v alu e.   T h e  u s er   in ter f ac e  o f   t h e  h i g h   te m p er at u r e  s u b s y s te m   is   s h o w n   in   t h e  Fi g u r e  7 .               Fig u r e  6 .   Oscill atio n   p r ev e n tio n   tech n iq u e   Fig u r e  7 .   User   in ter f ac e  o f   h i g h   te m p er at u r e  p r o tectio n   s y s te m       3 . 3 .   Aut o m a t ic  po w er   cha ng er   s y s t e m   Un f o r tu n atel y   t h e  g e n er al  p o w er   s o u r ce   in   I r aq   h as  p r o b le m s   m a k i n g   th e   lo ca l  p o w er   s o u r ce   n ec es s ar y   to   m ak e  th e  f u el  s t atio n   s er v ices  a v ailab le  alo n g   th e  w o r k i n g   ti m e.   T h e  au to m atic  p o w er   ch a n g er   s y s te m   u s ed   to   co n tr o l  t h e  ac tiv itie s   o f   ch a n g in g ,   c h ec k in g   th e  p o w er   s tate,   a n d   c h ec k i n g   t h e  h ea lth   o f   t h e   g en er ato r   s et.   T h e  s y s te m   tes ted   b y   u s in g   t h e  e m u la to r   ca r d   th at ' s   d esi g n ed   to   e m u late  t h e  b eh a v io r   o f   t h e   p o w er   s o u r ce s   ( g lo b al  an d   lo ca l  p o w er   s o u r ce s ) .   Fig u r e  8   s h o w s   t h e  co n tr o ller   u s er   i n t er f ac e  o n   th e  f r o n t   p an el  o f   th e   L A B VI E W .   T h is   u s er   i n ter f ac e  m ak e s   t h e  u s er   f r ee l y   to   s e lect  t h e  o p er atin g   m o d e  an d   ad j u s t  th e   n o r m al  te m p er atu r e  o f   t h e  en g in e  an d   t h e  ti m e  o f   t h e  en g in e  s tar ter   m o to r .           Fig u r e  8 .   User   in ter f ac e  o f   au t o m a tic  p o w er   ch a n g er   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J   E lec  &   C o m p   E n g     I SS N:  2 0 8 8 - 8708       F u el  S ta tio n   Mo n ito r in g   a n d   A u to ma ti on  b a s ed   o n   W S N   ( E h a b   A b d u l   R a z z a q   Hu s s ein )   3653   3 . 4 .   L ev el  co ntr o ller  s y s t e m   T h e  m a in   s er v ice  o f   th e  f u el  s tatio n   is   p r o v id i n g   th e  f u el  f o r   th e  v eh icle s .   A   le v el  co n tr o ll er   s y s te m   d esig n ed   to   p r o tect  th e  q u alit y   o f   th e  f u el  a n d   m ak e  t h e  s er v ice  p r o v id ed   b y   th e  f u el  s tatio n   b etter .   T h e   o u tp u ts   o f   th e  lev el  co n tr o ller   s y s te m   ar e  d is p en s i n g   m o t o r   co n tr o ller ,   s u b m er s ib le  m o to r   co n tr o ller   an d   f illi n g   m o to r   co n tr o ller .   T h e  d ata  th at  en ter ed   in to   th e  co n t r o ller   ar e  lev el  s en s o r ,   d en s it y   s en s o r ,   an d   w ater   s en s o r   d ata.   L ev el  s en s o r   an d   d en s it y   s e n s o r   r ep lace d   b y   a  p o ten tio m eter   to   em u late  its   b eh av io r .   T h e  an ti  o s cillatio n   tech n iq u e  u s ed   to   p r ev en t  t h e  o s cillatio n   o f   t h e  lo d es  th at   d ep en d   o n   th e   lev e l  co n tr o ller   s y s te m .   Fig u r e  9   s h o w s   t h e  u s er   in ter f ac e  o f   th e  le v el  co n tr o ller   s y s t e m .           Fig u r e  9 .   User   in ter f ac e  o f   lev el  an d   d en s it y   co n tr o ller   s y s te m       4.   RE SU L T S   T h e  r esu lt s   o f   t h e  s u b s y s te m s   w h ich   h a v e  a f f ec ted   o n   th e   s a m e  ac t u ato r s   m a k e  t h e  r es u lt s   a m b ig u o u s   f o r   in d iv id u al  s u b s y s te m .   T h e  A cti v ate \ d ea cti v at e  s u b s y s te m s   s tr ate g y   u s ed   to   s o lv e  t h is   p r o b le m .   T h e  A c ti v atio n   u s ed   to   th e  u n d er   test   s u b s y s te m   a n d   d ea c tiv atio n   f o r   t h e  o th er s .   A cti v a tio n   b y   v ar y i n g   t h e  in p u t s   o f   t h e  s y s te m   a n d   g et   t h e  r es u lt s .   Dea ct iv atio n   b y   m ak in g   in p u ts   i n   n o r m al   m o d e  o r   eli m i n ate  s y s te m   af f ec t  b y   j u m p i n g   t h e  s u b s y s t e m   alar m .   T h e  r esu l t s   o f   t h e  m ai n   co n tr o ller   s u b s y s te m s   ill u s tr ated   in   T ab le   2 ,   T ab le   3 ,   T a b le   4 ,   T a b le   5 ,   an d   T ab le   6.       T ab le  2 .   T h e  R esu lt s   o f   Fire   P r o tectio n   C o n tr o ller   N o .   S mo k e   S e n so r   ( 0 , 1 )   T e mp e r a t u r e   S e n so r   ( C ° )   F i r e   S y st e m  t y p e   F i r e   B u z z e r   F i r e   F i g h t i n g   C o n t r o l l e r   F i l l i n g   M o t o r   C o n t r o l l e r   D i sp e n se r   C o n t r o l l e r   S u b me r si b l e   C o n t r o l l e r   1   0   < 7 0   C o mp o u n d   Off   Off   On   On   On   2   0   > 7 0   C o mp o u n d   On   On   Off   Off   Off   3   1   < 7 0   C o mp o u n d   On   On   Off   Off   Off   4   1   > 7 0   C o mp o u n d   On   On   Off   Off   Off   5   0   < 7 0   S mo k e   se n so r   Off   Off   On   On   On   6   0   > 7 0   S mo k e   se n so r   Off   Off   On   On   On   7   1   < 7 0   S mo k e   se n so r   On   On   Off   Off   Off   8   1   > 7 0   S mo k e   se n so r   On   On   Off   Off   Off   9   0   < 7 0   T e mp e r a t u r e   se n so r   Off   Off   On   On   On   10   0   > 7 0   T e mp e r a t u r e   se n so r   On   On   Off   Off   Off   11   1   < 7 0   T e mp e r a t u r e   se n so r   Off   Off   On   On   On   12   1   > 7 0   T e mp e r a t u r e   se n so r   On   On   Off   Off   Off   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I n t J   E lec  &   C o m p   E n g ,   Vo l.  8 ,   No .   5 ,  Octo b er   2 0 1 8   :   3 6 4 7   –   3 6 5 6   3654   T ab le  3 .   T h e  R esu lt s   o f   T e m p er atu r e  P r o tectio n   C o n tr o ller   N o .   T e mp e r a t u r e   S e n so r   ( C ° )   F i l l i n g   M o t o r   C o n t r o l l e r   D i sp e n s e r   C o n t r o l l e r   S u b m e r si b l e   C o n t r o l l e r   L a st   C a se   P r e se n t   C a se   1   1   5 < T S < 4 5   5 < T S < 4 5   On   On   2   2   5 < T S < 4 5   4 5 < T S < 5 0   On   O n   3   3   5 < T S < 4 5   1 < T S < 5   On   On   4   4   4 5 < T S < 5 0   4 5 < T S < 5 0   S a me   l a st   o u t   S a me   l a st   o u t   5   5   4 5 < T S < 5 0   T S > 5 0   Off   Off   6   6   1 < T S < 5   1 < T S < 5   S a me   l a st   o u t   S a me   l a st   o u t   7   7   1 < T S < 5   T S < 1   Off   Off   8   8   T S > 5 0   T S > 5 0   Off   Off   9   9   T S > 5 0   4 5 < T S < 5 0   Off   Off   10   10   T S < 1   1 < T S < 5   Off   O ff   11   11   T S < 1   T S < 1   Off   Off       T ab le  4 .   T h e  R esu lt s   o f   L ev e l Co n tr o ller   No   L e v e l   c o n t r o l l e r   D e n si t y   se n so r   D i sp e n se r   c o n t r o l l e r   S u b me r si b l e   c o n t r o l l e r   F i l l i n g   mo t o r   c o n t r o l l e r   L a st   C a se   P r e se n t   C a se   1   Y < L S < J   Y < L S < J   1   On   On   On   2   Y < L S < J   J<L S < K   1   On   O n   On   3   Y < L S < J   X < L S < Y   1   On   On   On   4   J<L S < K   J<L S < K   1   S a me   l a st   o u t   S a me   l a st   o u t   S a me   l a st   o u t   5   J<L S < K   L S > K   1   On   On   Off   6   X < L S < Y   X < L S < Y   1   S a me   l a st   o u t   S a me   l a st   o u t   S a me   l a st   o u t   7   X < L S < Y   L S < X   1   Off   Off   On   8   L S > K   L S > K   1   On   On   Off   9   L S > K   J<L S < K   1   On   O n   Off   10   L S < X   X < L S < Y   1   Off   Off   On   11   L S < X   L S < X   1   Off   Off   On   12   Y < L S < J   Y < L S < J   0   On   On   Off   13   Y < L S < J   J<L S < K   0   On   On   Off   14   Y < L S < J   X < L S < Y   0   On   On   Off   15   J<L S < K   J<L S < K   0   S a me   l a st   o u t   S a me   l a st   o u t   Off   16   J<L S < K   L S > K   0   Off   Off   Off   17   X < L S < Y   X < L S < Y   0   Sa me   l a st   o u t   S a me   l a st   o u t   Off   18   X < L S < Y   L S < X   0   Off   Off   Off   19   L S > K   L S > K   0   On   On   Off   20   L S > K   J<L S < K   0   On   On   Off   21   L S < X   X < L S < Y   0   Off   Off   Off       T ab le  5 .   A u to m a tic  P o w er   C h an g er   R e s u lts   C las s   A   N o .   G l o b a l   s o u r c e   s e n s o r   Lo c a l   so u r c e   se n s o r   P h a se   f a i l u r e   s e n s o r   G e n e r a t o r   S e t s   G l o b a l   s o u r c e   c o n t r o l l e r   Lo c a l   so u r c e   c o n t r o l l e r   I g n i t i o n   c o n t r o l l e r   S t a r t e r   c o n t r o l l e r   P r e ssu r e   S e n s o r   Te mp e r a t u r e   S e n s o r   1   1   0   0   d   d   0   0   1   1   2   1   d   1   d   d   1   0   0   0                         Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J   E lec  &   C o m p   E n g     I SS N:  2 0 8 8 - 8708       F u el  S ta tio n   Mo n ito r in g   a n d   A u to ma ti on  b a s ed   o n   W S N   ( E h a b   A b d u l   R a z z a q   Hu s s ein )   3655   T ab le  6 .   A u to m a tic  P o w er   C h an g er   R e s u lts   C las s   B   N o .   G l o b a l   s o u r c e   s e n s o r   Lo c a l   so u r c e   se n s o r   P h a se   f a i l u r e   s e n s o r   G e n e r a t o r   se t s   G l o b a l   s o u r c e   c o n t r o l l e r   Lo c a l   so u r c e   c o n t r o l l e r   I g n i t i o n   c o n t r o l l e r   S t a r t e r   c o n t r o l l e r   N o t e s   P r e ssu r e   S e n s o r   Te mp e r a t u r e   S e n s o r   1   1   0   0   d   d   0   0   1   1   I n p u t   S t a t e s   2   0   0   d   d   d   0   0   1   1   3   0   0   d   d   d   0   0   1   1   S e c o n d   A t t e mp t   4   0   0   d   d   d   0   0   1   1   T h i r d   A t t e mp t   5   0   1   1   1   < 9 0   0   1   1   0   N o r mal   L o c a l   S o u r c e   6   0   1   1   d   > 9 0   0   0   0   0   H i g h   t e mp e r a t u r e   7   0   1   1   0   d   0   0   0   0   L o w   O i l   P r e ssu r e   8   0   1   0   d   d   0   0   0   0     9   0   0   d   d   d   0   0   0   0   T h e   En g i n e   F a i l s t o   R u n       5.   RE SU L T S DI SCUS SI O NS    T h e  r esu lts   o f   t h e  f ir e  p r o tectio n   co n tr o ller   p r esen ted   in   T ab le  2 ,   w h er e  j u m p   f ir e  p r o tectio n   b u tto n   d ea ctiv ated .   W h en   j u m p   f ir e  b u tto n   ac ti v ated   t h e  s y s te m   d o n ’ t  w o r k   an d   s till   w it h o u t  a ctio n .   T h e  b u tto n s   ab o v e  r ea ch ed   th r o u g h   th e  u s e r   in ter f ac e  o f   t h e  f ir e  p r o tectio n   s y s te m   s h o w n   i n   t h e  Fi g u r e  4 .   A ls o   t h e  s m o k e   s en s o r ,   tem p er at u r e  s en s o r ,   f ir e  p r o tectio n   ty p e,   f ir e  b u zz er ,   an d   ac tu ato r   co n tr o ller s   th at  f o u n d   o n   to p   o f   th e   T ab le  2   ar e  ap p ea r in g   in   th e   u s er   i n ter f ac e  o f   th e  f ir e  p r o tectio n   co n tr o ller .   T h e  co m b in atio n   o f   th e  u s e r   in ter f ac e   w it h   t h e  r es u lt s   tab le   g i v es  a   g o o d   v ie w   o f   th e   f ir e  p r o tectio n   p er f o r m an ce . T h e  r e s u lt s   o f   t h e  n o r m al   te m p er atu r e  co n tr o ller   ar e  s h o w n   i n   T ab le  3 ,   w h er e  j u m p   te m p er atu r e  p r o te ctio n   b u tto n   d ea ctiv ated .   W h e n   j u m p   te m p er atu r e  p r o tectio n   b u tto n   ac ti v ated   th e  s y s te m   d o n ’ t  w o r k   a n d   s till   w it h o u t  ac tio n . T h e  lev e l  co n tr o ller   r esu lt s   ar e  s h o w n   i n   T ab le  4 .   T h e  r esu lt s   d ep en d   o n   t h e  le v el   s e n s o r   ( v ar iab le  r esis ta n ce ) ,   d en s i t y   s en s o r   ( v ar i ab le  r esis tan ce ) ,   an d   w ater   s en s o r .   T h e  o u tp u ts   o f   th e  co n tr o ller   co n ce r n   w i th   d is p en s er ,   s u b m er s ib le,   a n d   f illi n g   m o t o r   co n tr o ller s .   A lt h o u g h   t h e   co n d itio n s   o f   w o r k   n ee d ed   f o r   d is p e n s er   a n d   s u b m er s ib le  s a m e,   b u t  th er e  a r e  in h er e n t  d ep en d en cie s   o f   t h e  s u b m er s ib le  o n   d is p en s er s ,   w h er e  s u b m er s ib le   d o n ’ t  r u n   else  at  least  o n e  d is p en s er   in   o n   m o d e.   I n   ca s e  o f   w ater   s e n s o r   d etec t  w ater   in   f u el  tan k ,   th e  o u tp u ts   o f   co n tr o ller   tu r n   o f f   t h e  f illi n g ,   d is p en s in g ,   a n d   s u b m er s ib l e  m o to r   an d   an   a lar m   o f   h ig h   ( u n ac ce p ted   w ater   co n ten t)   w ater   co n te n t i n   th e  f u el  tan k .   I n   t h e  d en s it y   s en s o r   f ield   th e  “ 1 ”.     Me an   th e  d en s it y   o f   f u el  i n   t h e  f il in g   s y s te m   i n   th e  p r e  s p ec if ied   r an g e  o f   f u el  t y p e.   T h e  v ar iab les   ( X,   Y,   J,   K)   r ep r esen t  th e  le v el  li m its   u p p er   an d   lo w er   li m it s   w h ic h   s p e cif ied   b y   a  u s er   th r o u g h   th e  u s er   in ter f ac e  i n   Fi g u r e  8 .   T h is   li m it  u s ed   to   cr ea te  g u id es  b e t w ee n   o p er atin g   r eg io n s   o f   t h e  an ti  o s ci llatio n   co n tr o ller   s h o w n   i n   F ig u r e  5 .   T h e  r esu lts   o f   t h e  a u to m atic  p o w er   ch a n g er   ar e  s h o w n   in   cla s s es  a s   i n   T ab les  5 ,   an d   6 .   T h e  r esu lts   ar e  o n   ( Au to m at ic)   m o d e  o n l y   w h er e  t h er e  ar e  th r ee   an o th er   r es u lt s   co m e  f r o m   a n o th er   th r ee   m o d es  o f   o p er atio n .   T h e  m o d es  else  o n   m o d e  ar e  o f f ,   lo ca l  s o u r ce   o n ly ,   an d   g lo b a l  s o u r ce   o n l y .   T h e  “ o f f ”  m o d e  m ak e s   o u ts   o f   t h e  co n tr o ller   in   t h e  “ o f f ”  s tate .   T h e  lo ca l  s o u r ce   o n l y   m o d e  m a k es   th e   g lo b al  s o u r ce   co n tr o ller   in   t h e  “ o f f ”  s tate  an d   m a n u all y   o p er atio n   o f   g e n er ato r   s et  ( lo ca l  s o u r ce ) .   T h e  g lo b al  s o u r ce   o n l y   m o d e  m a k es   th e   lo ca l  s o u r ce   co n tr o ller   in   th e   “ o f f ”  s ta te  an d   g lo b al  s o u r ce   co n tr o lle r   in   t h e  “ o n ”  s tate.   T h e  o n   m o d e  is   t h e  a u to m atic   m o d e,   w h ic h   c h a n g e s   t h e  p o wer   s o u r ce   ac co r d in g   to   t h e  p r es en ce   o r   ab s en ce   o f   th e  g lo b al  s o u r ce   p o w er .   T a b l e  5   s h o w s   th e  r es u lts   u n d er   p r esen ce   o f   g lo b al  p o w er   s o u r ce   an d   n o r m al  a n d   ab n o r m al  p h ase  v o ltag e  q u alit y .   T h e  letter   “ d ”  r ef er ee   to   d o n ’ t c ar e  in p u t.   T ab le  6   s h o w s   t h e  r esu lts   u n d er   th e  ab s e n ce   o f   t h e  g lo b al  p o w er   s o u r ce   o f   t h e  No .   “ 1 ”  in   th e     T ab le   6 ,   w h er e  th e  co n tr o ller   tr ies  to   tu r n   o n   th e  lo ca l  g en er ato r   s et  th en   ch ec k   t h e  p r esen ce   o f   th e  lo ca l   p o w er   an d   en g i n e  s en s o r s .   Ma x i m u m   n u m b er   o f   tu r n s   o n   t r y in g   is   th r ee   co n s eq u en t   atte m p ts .   T h e  letter   “ d ”   r ef er ee   to   d o n ’ t c ar e  in p u t.       6.   CO NCLU SI O NS   T h is   p ap er   d em o n s tr ate s   to   an   a u to m at io n   a n d   m o n ito r i n g   co n tr o ller ,   w h ic h   u s ed   NI   W SN  an d   A r d u i n o   m icr o co n tr o ller .   T h e   co n tr o ller ,   w h ich   d e v elo p ed   b y   L A B VI E W   en v ir o n m en t  t ested   an d   g i v e  g o o d   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 0 8 8 - 8708   I n t J   E lec  &   C o m p   E n g ,   Vo l.  8 ,   No .   5 ,  Octo b er   2 0 1 8   :   3 6 4 7   –   3 6 5 6   3656   r esu lt s   w h ich   e n co u r a g e  th e  r esear ch er   to   i m p l y   t h e  d ev elo p ed   co d e  f o r   th e  NI   r ec o n f ig u r e  ab le  in p u t  o u tp u t  d ev ice  w h ic h   m ak e  t h e  co n tr o l ler   ap p licab le  to   r ea l - ti m e  ap p l icatio n .       RE F E R E NC E S    [1 ]   W a q a s  Ik r a m   a n d   Nin a   F .   T h o rn h il l,   “ W irele ss   Co m m u n ica ti o n   i n   P r o c e ss   A u to m a ti o n :  A   S u rv e y   o f  Op p o r tu n it ies ,   Re q u irem e n ts,   a n d   Ch a ll e n g e s ” ,  UKACC I n ter n a ti o n a l   Co n fer e n c e   o n   C o n tr o l ,   UK ,   S e p tem b e r  2 0 1 0 .   [2 ]   G a n g   Zh a o   a n d   Da v is,   “ W irele s s  S e n so r  Ne tw o r k s  f or   In d u stria l  P r o c e ss   M o n it o rin g   a n d   Co n tr o l:   A   S u rv e y ” ,  M icr o th in k   In st it u te,   Ne two rk   Pro to c o ls   a n d   A l g o rit h ms ,  v o l.   3 ,   n o.   1 ,   p p .   4 6 - 6 3 ,   2 0 1 1 .   [3 ]   P .   V e lm a n i,   “ S u rv e y   o n   A p p li c a ti o n s  a n d   C h a ll e n g e s  o f   W irele s s  S e n so r  Ne t w o rk   in   In d u stries ” ,  In ter n a ti o n a l   J o u rn a l  o f  Co m p u ter   S c ien c e   a n d   Co mm u n ica ti o n   Ne tw o rk ,   v o l.   4 ,   n o .   2 ,   p p .   4 1 - 4 5 ,   2 0 1 3 .   [4 ]   A .   A ji th   Ku m a r  S . ,   Kn u t  Øv sth u s,  L a rs  M .   Kriste n se n ,   “ A n   In d u s tri a l  P e rs p e c ti v e   o n   W irele ss   S e n so r  Ne tw o rk s  –   A   S u rv e y   o f   Re q u ire m e n ts,   P ro to c o ls,   a n d   C h a ll e n g e s ” ,  IEE E  Co m mu n ica t io n   S u rv e y s  a n d   T u to ri a ls ,  v o l.   1 6 ,   n o .   3 ,   p p .   1 3 9 1 - 1 4 1 2 ,   2 0 1 4 .   [5 ]   Ba sil  Ha m e d ,   “ De sig n   a n d   Im p le m e n tatio n   o f   S m a rt  Ho u se   Co n tr o l  Us in g   LA BV IE W ” ,  In ter n a ti o n a l  J o u rn a l  o f  S o ft   Co mp u ti n g   a n d   E n g in e e rin g   ( IJ S CE ) ,  v o l.   1 ,   n o .   6 ,   p p .   9 8 - 1 0 6 ,   2 0 1 2 .   [6 ]   S .   Ra jes h   Ku m a r  a n d   S .   Ra m e sh k u m a r,   “ In d u stri a l  T e mp e ra tu re   M o n it o ri n g   a n d   C o n tr o l  S y ste m  t h ro u g h   Et h e rn e t   L AN ” ,  In ter n a ti o n a l  J o u rn a l  o f  E n g i n e e rin g   a n d   Co m p u ter   S c ien c e ,  v o l.   2 ,   no.   6 ,   p p .   1 9 8 8 - 1 9 9 1 ,   2 0 1 3 .   [7 ]   S .   S a t h iy s m o o rth y ,   “ In d u strial  A p p li c a ti o n   o f   M a c h in e   V isi o n ” ,  I n ter n a ti o n a l   J o u r n a l   o f   Res e a rc h   i n   En g in e e rin g   a n d   T e c h n o l o g y   ( IJ RE T ) ,  v o l.   3 ,   n o .   7 ,   p p .   6 7 8 - 6 8 2 ,   2 0 1 4 .   [8 ]   P o o r n e n d u   K,   M a n o j  G   a n d   Ka n n a n   E.   P . ,   “ Da ta  Ac q u isit io n   a n d   Co n tro ll in g   i n   T h e rm a l  P o w e r   P lan ts  Us in g   a   W irele ss   S e n so r  Ne t w o rk   a n d   LA BV I EW ” ,  In ter n a ti o n a l  J o u rn a l  o f  En g i n e e rin g   &   T e c h n o lo g y   ( IJ ER T ) ,  v o l.   4 ,   n o .   7 ,   p p .   5 6 8 - 5 7 2 ,   2 0 1 5 .   [9 ]   A rti   Dh a d iw i w a l,   P a y a l  Diso ja  a n d   P ro f   Am it   H.  P a lv e ,   “ S m a rt  Ce n tralize d   P o w e r  Co n tro l   f o r  B u il d i n g s  Us in g   W S N ” ,  Gr e e n   Co mp u ter   a n d   I n te rn e t  o f  T h i n g s ( ICGCo T ),   I EE E  I n ter n a ti o n a l  C o n fer e n c e ,   2 0 1 5 .   [1 0 ]     “ L M 3 5   Pre c isio n   Ce n ti g r a d e   T e mp e ra t u re   S e n so r ” ,   2 0 0 0 ,   a v a il a b le  a t,   h tt p : // ww w . e c e . u su . e d u /ec e sto re /sp e c /l m 3 5 d t - 3 p . p d f .   A c c e ss e d   o n   Ju n e   2 0 1 7 .   [1 1 ]   T e c h n ica l  Da t a   o f  M Q - 2   Ga s  S e n so r ” ,   a v a il a b le  a t,   h tt p :/ /w ww . h a o y u e lec t ro n ics . c o m / A tt a c h m e n t/ M Q - 2 / M Q - 2 . p d f .   A c c e ss e d   o n   Ju n e   2 0 1 7       B I O G RAP H I E S   O F   AUTH O RS        Eh a b   A b d u l   R a z z a q   H u ss e i n ,   Ph D.  M S c .   El e c tri c a l  En g i n e e rin g   w a s  b o rn   in   Ba b y lo n   o n     Ja n u a ry   1 ,   1 9 7 6 .   He   o b tai n e d   h i s  BS c   d e g re e   (1 9 9 7 )  i n   El e c tri c a l  En g in e e rin g   a t  th e   F a c u lt y   o f  En g in e e rin g ,   Un iv e rsity   o f  Ba b y lo n   a n d   M S c   d e g re e   (2 0 0 0 ),   i n   e lec tri c a l  e n g in e e rin g   a t  th e   De p a rtme n t  o f   El e c tri c a l  En g in e e rin g ,   Un iv e rsit y   o f   T e c h n o lo g y   a n d   h is  P h D.  De g re e   f ro m   th e   De p a rtme n t  o f   El e c tri c a l  En g in e e rin g   a t  th e   F a c u lt y   o f   En g in e e ri n g ,   Un iv e rsit y   o f   Ba sra h ,   Cu rre n tl y   h e   w o rk s  a s  a ss ista n t  p r o f e ss o r  a t  th e   El e c tri c a l  De p a rtme n t  a t  th e   F a c u lt y   o f  En g in e e rin g ,   Un iv e rsity   o f   Ba b y l o n .   His  m a in   in tere st  is  sig n a l  p ro c e ss in g ,   a n a l y sis,  in f o r m a ti o n   tran siti o n ,   se n so rs an d   c o n tr o l  sy s tem   a n a l y sis.         M a h r a n   O b a i d   W a h e e d ,   El e c tr ica l  En g in e e r  w a s  b o rn   i n   Ba b y lo n ,   1 9 8 2 .   He   o b tai n e d   h is  BCs   d e g re e   (2 0 0 5 )  in   El e c tri c a l  En g i n e e rin g   a t  th e   F a c u lt y   o f   En g in e e rin g ,   Un iv e rsit y   o f   Ba b y lo n .   Cu rre n tl y   h e   is  stu d y in g   f o r  a   m a ste r ' s  d e g re e   in   El e c tri c a l  En g in e e rin g   a t  th e   F a c u lt y   o f  En g in e e rin g ,   Un iv e rsity   o f   Ba b y l o n .   His  m a in   in tere st  is  sig n a l  p r o c e ss in g ,   a n a ly sis,  m e a su re m e n t  a n d   c a li b ra ti o n   u n it   a n d   c o n tro l  s y ste m   a n a l y sis.           Evaluation Warning : The document was created with Spire.PDF for Python.