Int ern at i onal  Journ al of Ele ctrical  an d  Co mput er  En gin eeri ng   (IJ E C E)   Vo l.   10 ,  No.   4 A ugus t   2020 ,   pp.  4416 ~ 44 25   IS S N:  20 88 - 8708 DOI: 10 .11 591/ ijece . v 10 i 4 . pp 4416 - 44 25           4416       Journ al h om e page http: // ij ece.i aes c or e.c om/i nd ex .ph p/IJ ECE   Self - ch eckin g method for f ault tole ra n ce solu tion    in wir eless senso r netw ork       Muayad  S ad i k C r oock,  S aja Dh yaa Khu der ,   Z ah r aa Abbas H as s an   Com pute Engi n ee ring   Depa r tment,   Univ ersity   of   Technol og y ,   Ir a q       Art ic le  In f o     ABSTR A CT    Art ic le  history:   Re cei ved   Ja n 6 , 2020   Re vised  Ma r   2 2 ,   2020   Accepte Ma r   28 , 202 0       Rec en tly ,   th wire le ss   sensor   net work  (W SN has  bee n   c onsidere in   diffe ren appl i c at ion ,   pa rticula r l y   in   emerge n c y   s y stems .   Therefore,  i is   important   to   k ee t hese   n etw orks  in  high   rel i ability   usi ng  software   engi ne eri ng  t ec h nique in  the   fi el of  fau lt   tol e ran ce.  Thi pap er  proposed     fau lt   nod detec t ion  m et hod  i W SN  using  the   self - ch ec king   te chni qu e   ac cor d ing  to  the  rule of  softwa re  engi n ee r ing.   The n,   the   d etec t ed  fau l ted   node  is  cove r ed  emplo y ing  the   r ea ding  of  n ea res nei ghbor  node (sensors ).   In  addi ti on ,   the   proposed  m et hod  sends  m essa ge  for  m ai nte na nce   to  solv e   the   f aul t .   The   p roposed  m et hod   ca n   red u ce   the  ti m b et we en  t he  de te c ti o n   and  re cove r y   of  fau lt   to  pre v en the  conf usion   of  ado pt ing  wro ng  rea d ings,  in  which  the   d et e ct ion  is  m aki ng  with  m ista ke.   Moreove r ,   it  guar ant e es     the   re li ab il i t y   o the   W SN ,   in  te rm of  oper at i on  and  data  trans m ission.    The   proposed   m et hod  has  b e en  t este d   over   diffe r ent  sce n ari os  and     the   obta in ed  re sults  s how   the   superior   eff ic i ency   in  te rm of  rec ove r y ,   rel i abi l ity ,   and   c onti nuous data tr ansm ission.   Ke yw or d s :   Fault t olera nce     Self - c heck i ng t echn i qu e   So ft war e  engin eerin g   WSN    Copyright   ©   202 0   Instit ut o f Ad vanc ed   Engi n ee r ing  and  S cienc e   Al l   rights  reserv ed .   Corres pond in Aut h or :   Muay ad Sadi k C roock,   Dep a rtm ent o f C om pu te  Engi neer i ng,     Un i ver sit y o f Te ch no l og y ,   Al - sinaa  Street , Bag hdad , Ira q .   Em a il 1 Muay a d. S .Cr oo c k@u otech no l og y. ed u. iq 2 1200 99@uotec hn olog y.edu.i q 3 120052@ uote chnolo gy.e du.iq       1.   INTROD U CTION   It  is  well   kn own  that  the  WSN   has  been   c on si der e in  num ero us   fiel ds  of   the  m od ern  li fe,  su ch  a s   sm art  bu il din gs  an em erg en cy   syst e m [1 ] These  a ppli cat ion prov i de  the  W S with   high  im po rtan ce  and  sh oul be  m or reli able,  fl exible  an e xt end a ble.  T hes prop e rtie ha ve  bee a ddr essed  by  desi gn i ng     the  so ft war al gorithm accord in to  the  sof tware  en gin ee r ing   te ch niques   [2 ] The  fa ult  toleran ce  m et ho is  on of  the  m os i m po rtant  pa r in  the  softwa re  en gin ee rin that  can  gu a ra ntee  the  op e rat ion   of   syst em   with  high  reli abili ty.  T be  m or preci se,  t he  sel f - chec king  te c hniq ue  ca be  c on si der e f or  c heck i ng  the   sta tus  of  su c syst em   based   on  th e   rea di ng s   with   the   ti m e.  The  c once pts  of  this  te c hniq ue  a re  bu il on  al locat in uppe and   l ow e th re sh ol values  f or   rig ht  operat ion   to  any  par t   of   syst em These  values  a re  us e for  c he ckin   the v al idit of  t he  syst em , in  w hic the  f a ult can  be dete ct e e ff ic ie ntly  [3 ]   In   ge ner al t he   fau lt   in  WSN   are  occ urre m ai nly  in  the  nodes  (se ns ors [ 1].  T hese  fa ults  can  be   cl assifi ed  into   hardw a re  an so ftwa re.  T he se  two  cl assifi cat ion are  al s bei ng   unde r   the  per m anent   and   tem po rar y faul ts.  As  m entione ab ov e,  t he  s el f - chec ki ng   a ppr oach   is use f or  d et ect in the  fa ult  of  no des  a nd  the  m on it or in syst e m   send m essage  f or   m ai ntenan ce  f or   s olv i ng   t he  occurre pro ble m [2 ] Th r oughout   the  m ai ntenance   pr oc ed ur e the  syst e m   can  cov er  this  er r or   in  di ff e ren ways  dep e ndin on  the  desig an sta tus of t he  rel at ed  co ndit ion s  [3].    In   this  pa per a   m on it or i ng   sy stem   fo WSN  is  pr op os e ba sed  on  s of t wa re  en gin ee rin te chn iq ues .   The  pr opos e m et ho a dopt the  fau lt   to le ran ce  a ppro a ch  f or   m anag i ng   t he  operati on   of   node inside     Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       Self - checki ng  meth od for  fa ul t t oleran ce  s olu ti on in  wi rel e ss sensor  n et w or ( M ua y ad  Sadik Cr oock )   4417   the  W S N.   I the  fa ult  detect ion   pa rt  of   t he  pro po se m et ho d,  the  sel f - c he ckin te ch nique  is  co ns ide re with   uppe an lo w er th re shold  for  each  node  i nc lud e in a clu ste r.  T he  de sig ne d WSN  c onta ins num ero us  cl us te rs   and   eac of  w hich  incl ud es  diff e r e nt  node s.  At  tim e   t hat  the  fau lt   is  occurre in  node,   the  propose m et ho ta ke the  nei ghbor  no des  rea ding  to  ta ckle  the  pro bl e m   in  an  eff ic ie nt  way.  T he  r ecov e ry  operat ion   is   perform ed  by  cal culat ing   the   aver a ge  value   of   near e st  nei ghbor  nodes  unti the  fau lt   is   so lve d.   T he  propose syst e m   is  te st ed  unde dif fe ren co ndit ions  and   the  ach ie ved   res ults  pro ve  the  sat isfact ory   in  te rm s   of   accuracy a nd e ff ic ie ncy.       2.   RE LATE D  W ORK   The  ap plica ti on of  W S and   relat ed  s upporte syst e m at tract   the  at te ntion o num ero us  researc hers  in  disti nct  fiel ds Each  gr oup  of  them   ta ckled  side  of  ap pe ared   pro blem s,   su ch  as  fa ults,  data   transm issi on All  these  rese arch es  f ocu se on   i ntr oducin r obus syst e m with  hig accuracy,  reli abili ty flexibili ty  an exten dib il it y.   Ther e f or e,  the   con ce pts a nd a ppr oach es  of s of t war e e ngine erin g were  a do pted.    In  [ 4],  the   au thors  pr ese nte de velo pe m anag em ent  m et ho f or  W S base on  s of t ware   eng i neer i ng   r ul es.  They  cl ass ifie the  sit uat ion of   WSN  in  te rm of   inf rastr uctur e   an fou nd   t he  s uitable   adap ti ng   softw are.  Wh il e   the   aut hors  of  [5 ]   pro pose a   re al   tim oil  an gas  m on it ori ng  syst em   based   on   WSN  us i ng   th so ftw are  de ve lop m ent  as  par of  softwa r eng i neer in g.   The  prese nted  syst e m   too care  of   diff e re nt  equ i pm ent,  su ch  as  pu m ps sens or and   m et ering   infr ast r uctu re.   In   ad diti on it   m anag ed  the  fl ow   of  oil  and   gas  se qu e ntial ly In   [6 ] ne f ra m ewo r f or   WSN  was  pr e sented The  in tro du ce f ram ewor   was  bu il ba s ed  on  softwa r en gin ee rin chall en ges  i nc lud in flexi bi li t and   sc a la bili ty It  wor ke as     m idd le war that  cou ld  m a nag the  data  m ining ene r gy   con su m ption  and   sel f - orga nizat ion In   a ddit ion ,     the  auth ors  of   [7 ]   pe rfor m ed  m od el ing   fr am ewo r f or  analy zi ng   the   featur es  i te rm of   var ia ti on   a nd   com m inati on These  feat ur es  pro vid e co m ple te   view  for  the  W S bas ed  ag ricult ure  syst e m All  pr opos e al gorithm and  so ft war we re   desig ne un de the  ru le of  s of t war e ngine erin g.   In   [8 ] a   searc hing  ba s ed  on  so ft war e ngineeri ng   was  i m ple m ented  in  WSN.  Th i m ple m ented  m et ho a dopt ed  the  m ulti - ob j ect iv e   al gorithm   to  be  so lved  us in gen et ic   m e thod.  It  al so   co ns i der e the  fixe ob sta cl es  in  th searching  pr ocess.  The  aut hors  of  [ 9]  introd uce ha rdwa re  an softwa re  in f rastr uctur f or  W S base on   t he  re gu la ti on   of   so ft war e ng i neer i ng,  pa rtic ularly   the  software  requirem ents.  T he  f oc us e on  the  r ecei ver   a nd   how  it   descr i bed   it sel to  the  oth e rs   nodes  of  W S N.   The  wor was  done  in  physi cal   la ye i real  tim s itu at ion.     It  is  i m po rtant   to  no te   that  the  te st  resu lt s   of   the  li te ratur r e searc works  we re  cl ear  en ough  to   prov e     the cla im  o au thors.    At  the  ot her   ha nd,  the   fa ult  to le ran ce  of  s of t war e   en gin ee ri ng  wa a dopte in   s olv in t he   pro blem   of   reli abili ty In   [ 10 ] a   s urvey  on  fa ult  detect ion   a nd  the   sol ution s   we re  presente d.   It  c ons ide red  the  re la ti on   betwee dif fere nt  ty pes  of   fa ults  in  W S node an the  c hoos i ng   of   s uitable   fau lt   dete ct or   as  well   as   fau lt   tolerance   m et h od.  T his  relat ion  co uld   le a to  the  root  of   f aulte node,  in   w hich  the   so l ution  was   pres ented .   The  aut hors  of  [11]   propos ed  m anag e m ent  arch it ect ur of  W S base on   f aul tolerance  ap proac h.     The  pro posed   arc hitec ture  ta ckled  tw s ides  of   c halle ng e insi de  WSN.  T he   fir st  one  is  the   pow e r   consum ption wh il the  ot he side  is  the  f ault  tolerance  to  co ver   the  s el f - or gan iz e netw ork.   T his  was  to   increase  the  r el ia bili ty   of   t he  WSN   a nd  beco m fau lt   tolerance I [ 12 ] new   t r end   of  guara nt eei ng    the  reli abili ty   of   WSN  was  pr ese nted   ba se on  fa ult  tolerance   m et ho d.  Both  t heory  a nd  ap plica ti ons  we re   consi der e in  the  ori ent e r esearch In  [ 13] cl us te r   he ad  base faul tolerance   syst e m   was  pro po s ed .     The  ob j ect ives   of   the  pro po s ed  syst em   were  to  keep   ey on   t he  W S t hro ughout  the  op e rati on  in  te rm of   data tra ns m issio n, m ob il it y and   fau lt   occur.    The  so l utions  wer al so   pr ovide to  guara ntee  the  reli ab il ity.  The  auth or of   [ 14]   us ed  an  age nt   factor   t pro pose  fa ult  tolerance  m et ho for  W S N.   T he   platfo rm   of   the  pro pose m et hod  w orke acro s diff e re nt  le vels  including  se nsors cl us te hea ds   an base  sta ti on s.  I [ 15] the  r esea rch e rs  e m plo ye the  f ault  tolerance   m et h od  f or  re du ci ng  the   re dunda ncy  an pac ke loss  ov e the   bro ken  li nks  (p at hs of  WSN  a nd  fin ding  the  sol ution to  kee the  W S in   op erati on.   More over,  they   su pp or te the  secur it of   the   data  transm issi on   usi ng   cry ptogra ph m et ho ds The  aut hors  of   [1 6]  desi gn e so ftwar e nginee rin base fau lt   detect ion   m et ho f or   op ti m izati on   m et ho t hat  was  pro posed.   In   [ 17 ] a   li st  of   the  rec ent  m et ho ds   of  fa ult   detect ion   a nd   diag nosin wa pr ese nted It  include real   su r vey  on  fau l detect ion   in  WSN.  T he  res earche r s   of   [18]  pr opose fa ult  detec ti on   based   cl ust ering   netw ork .   The  pro po se m et ho i nvolve tw side s;  fi rstly the  cl us te c onfi gurati on,  w hile  the  oth e r   is  fau lt   detec ti on   an re co ver y.  In   [19],   m et ho of  so lvin   the  pro blem   of   node  is olati on   i A GR - M AC  prot oco was  prese nted .   The  pr opos e m et ho use fa ult   tolerance  te c hniq ue  f or  m ain ta inin the  i so la ti on   pro bl e m The  aut hors  of  [ 20 ]   propose gu a r anteed  al gorithm   of   bi oin f or m at ic   connecti vity   in  WSN  base on  fau lt   tole rance   te ch nique  f or  am bu la nce  syst e m .     In   [ 21] WSN   bas ed  wildfire  detect ion  syst e m   was  pro po se ba se on  sel f - org anizat ion   a nd  fau lt     tolerance  app r oach e s.    Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  10 , No 4 A ugus t   2020   :   4416   -   4425   4418   At  the  ot her   ha nd,  syst em   based   virt ual  bio lo gical   co m m un it of   na ture  li ving  st yl has  been  pro po se d.  The   evo l ution a ry  gam m et ho w as  ad op te to   intr oduce  fa ult  tolerance   pro cedure  for  m anag in the  pro blem o W S [ 22 ] I [23],  fau lt   tolerance  m et ho was  pr ese nte f or   s olv in the  pro blem   of   cl us te r   head  fail ures.  This  wa do ne   by  p la nn i ng   t he  s olu ti on  ba sed  on   virt ual  heads  an th colle ct ed  in for m at ion The  resea rc her  of   [ 24 ]   pr opose data  tran sm issi on   proto col  in  save  sit uation  us in fa ult  tolerance  m et ho d.   This  protoc ol  us e the   resi dual   inf or m at ion   reg a rd i ng  the   li nk s   of  WSN  t bu il plan   for  tole ran t   the   fa ults.   In   [ 25 ] t he  cl ust er  hea sel ec ti on   m et ho w as  pro posed   ba sed  on  fa ult  tolerance  an fu z zy - log ic   a ppr oa ches .   The  s of c om pu ti ng  m et ho pro vid e the  s yst e m   with  optim a li ty   in  al locat ing  the  cl us te hea d,   in   wh ic   the   fail ur is  c ov e re w el l.  I [ 26,  27] dif fer e nt  m et ho ds  for  WSN  st ruct ur a nd  cl us t erin m et ho ds  ha ve   been   pro po se to  so l ve  num ero us   pr oblem They  us ed  softwa re  eng i neer i ng   re gu la ti ons  in  bu il di ng     the pr opos e d m et ho ds.        3.   THE  PROPO SED SYSTE M   As  m entione earli er,   the   pro po se syst e m   includes   t wo  sides   of  work  based  on  s of t war eng i neer i ng   m et hods   that  are u se f or  g ua ra ntee  the  reli abi li ty   of   the  ad opte W S N.   T he  first  one  is  rela te to   detect   the o cc urre fau lt   i a  n ode at  the   ad opte d WSN  us i ng  t he  sel f - c hec king  m et ho d. Wh il t he  sec ond  one  ta kes  care   of  f ind in t he  s olut ion   of   t he  detect ed  fa ult  us i ng  the  a vaila bl tolera nce  in  fin ding  the  rec ov e ry   values  w it hi t he neig hborh ood area .     3.1.     Sy s tem  s truc t ure   In   this  sect io n,  the  gen e ral  structu re  of   th pro posed  syst e m   is   exp la ine as  blo ck  dia gr am   sh own  in  Fig ur e   1 It   is  sh own  t hat  the  colle ct ed  read i ng   data  from   the  un de rly ing   sen sors  of  al locat ed  WSN   i s   entere to   the   fau lt   detect io un it T his  unit   is  res pons i ble  on  detect ing  the  fau lt   t ha can  b occ urred  in    node  us in t he  sel f - chec ki ng   a ppr oac h.   This  a ppro ac is  base on  uppe a nd   l owe thr esh old   val ues  f or  each  sen sor  as  tolerance  range.  T he  recei ve val ues  that  f al within  the  outa ge  tole ran ce   area  is  cl assifi ed  as   a fa ult. If the re  is no   detect ed fault , t he data  is sent t the  sy stem  saf el y.            Figure  1 .   The   pro po se syst e m  stru ct ur e       The  detect ed  fau lt are  pas sed  to  the  fa ul tolerance  unit This  un it   is  responsi bl on   fin ding    the  s olu ti on  to   the  pro blem   of  fa ult  us i ng  the  avail a bl tolera nces.  The   so l ution  ad op te in   the  pro po s e m et ho us e th val ues  of  nei ghbor   no des  w it co rr ect  v al ue f or  guessi ng  the  e xpect ed  r eadin of  the   f aulte sens or  no de.   Wh il st  the   pro cessi ng  of  fin di ng   t he  s olu ti ons,   c omm un ic at ion   betwee fau lt   dete ct ion  unit   and fa ult t olera nce  un it . T he r easo be hind t his co m m un ic at ion  is e xch a ng ing  t he  in form at ion  a nd corre ct  an y   error   ca be  ha pp e ne in  fin di ng  the  tole ran t   so luti on.   The   resu lt of   fa ult  detect ion  an the  tolera nt  s olu ti on  is  app li e to  sen the  c orre ct ed  rea dings  as  well   as  the   est i m at ed  read in to   the  sy stem   fo c onti nui ng     the pr ocess.      3.2.    Prop os ed   al gori th m   It  is  well   known  t hat  the  s oft war e   al gorith m   is  necessar to  be  pro posed  f or  m anagi ng   t he  fa ult   detect ion  an fin ding  the   s ol ution .   I n   t his   sect ion,  the   pro po se al gorithm   is  pr ese nted  a flo wch a rt,     sh ow in   Fi gur e   2.      Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       Self - checki ng  meth od for  fa ul t t oleran ce  s olu ti on in  wi rel e ss sensor  n et w or ( M ua y ad  Sadik Cr oock )   4419       Figure   2. Flo w char of the  pro po s ed  alg or it hm       Ba sed  on  the  flo wch a rt  of   t he  pro posed  al gorithm the  work i ng  proce dure  can  be  su m m arized  in     the foll owin g:   a.   Coll ect i ng  the   read i ng s  of t he  sen s or no des  i the  ado pted   WSN.    b.   Checki ng   the  validit of   the   received  read i ng by  the  cl ust er  hea d.   I c ase  the  read i ngs  are  no va li d,    a re qu est  is  sent  b ack  to  t he n od e s fo r prov i di ng  a nothe c opy o f readi ngs.      c.   The  valid  readi n gs   are  c hec ke f or   fa ult  de te ct ion   us in the  sel f - c hec kin process  bas ed  on  the  uppe and lo wer t hr e sh ol as  explai ned m at he m ati cal ly  in  (1):      ( , )       (1)     Wh e re      an     ar the   uppe a nd  l ower   th res hold   values.  In  case  of  fau lt   oc cur,  t he   pro po sed   al gorithm   sends  the  inf orm ati on   t the  ne xt  ste p.   Otherwis e,  the  rea dings   can  be   pas sed   to  the  syst em     Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  10 , No 4 A ugus t   2020   :   4416   -   4425   4420   It  is  i m po rtant  to  highli ght  th at   the     and       val ues  are  sel ect e de pe nd i ng   on  the  ty pe  of   use sens or   as  well  as the  s urr ound ing  c onditi ons.     d.   The  fa ulted  re adin gs   are  pas sed  to  the  fa ul tolerance  unit This  unit   adopts  the  val id  read i ng of    the  cl os neig hbour  no des.   The  m os i m p or ta nt  conditi on  is  the  validit of   these   rea ding  as  cou l be   happe ned the  e ven the cl os ne ighbou rea di ng s  have  f a ults as we ll  accord ing  t the  foll owin e qu at io n:     ( , ) = , { ( ± , ± ) ,            ( ± , ± )   ( , )                   ,                                                                                                  }      (2)     Wh e re   ( , )   is  the   instant   rea ding  of  a   no de  with   locat io (i, j )   i t he  c ov ere area.   ( ± , ± )   is   the n e xt  neig hbor  read i ngs,  i ncr ease d by    to ta l WSN dim ensio n,  a nd k = {1,2, 3, ,K }   e.   It  is  no te fro m   (2 hat  the  i ns ta nt  rea ding  of   no de  can  be  re placed  with  the  neig hbour  nodes  in  ca se  they   are  valid.  In   orde to   incr e ase  the  validit of   est im at ion   an the  a ccu ra cy the  a ver a ge   value   can   be   adopted   am ongs th valid  c lose  neig hbour in   the   est im a ti on   proces s.  T her e fore,   the   e stim at ed  value  ( , )   of r ea ding  of a  nod e   ( , )   is m a them at ic ally wr it t en  as:       ( , ) =  ( ± , ± ) =     (3)     Wh e re     is t he  t otal n um ber  of  adopted  n ei ghbor  no des  to  the  und e rly ing n ode  ( , )   f.   Checki ng the e stim at ed  value of  a  node  ( , )   if it   is wit hin t he u pp e a nd lo wer t h res hold  vlu e s as:      ( , )     (4)     g.   Sendin the  v a li value s (sen so rs ’ rea dings) t the  syst em  f or futu re  proce ssing.        4.   RESU LT S     In   order   t te st  the  pro po se m et ho that  ha been   e xpla in ed  in  early   sect ion s si m ulatio m od el   is  adopted T he  pro posed  m od el   include a W S with f our  cl us te rs each o wh ic in vo l ves   cl us te hea a nd   si sens or s as  show in  Fi gure   3.   The  cl us te hea ds   are  c onnecte to  the   dev ic m anag er  as  base  sta ti on.   Tem per at ur s ens or a re  a dopted  in   this  si m ula te m od el   that  can  be  ch ang e to   dif fere nt  ty pes  of  se ns ors .   This  m od el   is  bu il us in Vis ual  St ud i C la nguag e   a nd  t he  i nterf ace   presents  t he  resul ts  in  nu m ero us  col or   for  m or ex planati on.  T he  gr een  bo xes  re pr esent  the  well   work i ng  node s w h il the  re boxes  a re  the  f aulte d   nodes I ns ide  each  bo x,   the  instant  sens or  read i ng   is  s hown.  The  node are  co nn ect e to  the  cl us te he a within eac h o ne  ind i viduall y.           Figure   3 .   Sim ulate m od el  interf ace,  case st udy   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       Self - checki ng  meth od for  fa ul t t oleran ce  s olu ti on in  wi rel e ss sensor  n et w or ( M ua y ad  Sadik Cr oock )   4421   Diff e re nt  case  stud ie hav e   been   c onside red   t te st  the  syst e m   un de cha ngeable   conditi on s .     The  case  stu dy show in  Fi gure   3 e xp la in s   that  the  cl us te one  has  t hr ee   fau lt ed  se nsor   nodes,   m entioned   i red   c olor.  I add it io n,   cl ust er  two  i nvolve two  fau lt ed   sens or with   red   la bel.  M or e ov er,  cl us te thre e   include faul te sensor,   w hile  the  four th   cl us te po i nts   three  sens or   nodes  to  be  fa ulted.  De pe nd i ng   on    the  pro po se a lgorit hm   and   based   on  eq uations   (1 - 4),  the  pro po se m et h od   c om pen sat es  the  fau lt ed  re adin gs   with  est i m at ed  values.   It   is  i m po rtant  to  no te   that  the  pro po se al go rithm   a m on gs t   al c lusters  checks    the  read i ngs  of  neig hbor  no des  if  they   are   within  the  thr esh old to  be  consi der e d.   Otherwise,  it   consi ders     the  nex nei ghbor  instea to  gu a ra ntee  the  est i m ation   with  m ini m u m   er ro oc cu r.   T he  si m ulati on   para m et ers   are  buil based  on   the  upper   a nd   lo we thres ho l of  ( 35 o   c)   and   ( 55 o   c),  s equ e ntial ly for  whole  Ju ly   m on th   in Bag hdad  cit y at  I ra q.   Figure   4   s how the  sam cas stud of  Fig ure   3   afte ap pl yi ng   the  pr opose al gorithm can  be  seen   that  the  fa ulted   read i ng s of  th sens or i al cl us te rs  a re  es tim a te bas e on   t he  ne ig hbors  an la be le i bl ue  colo r.   A m ent ion e earli er,  t he  res ults  are  m easur ed  for  thirty   days  am on J uly  m on th.   The  pe rfor m ance  of  each  se ns or  in   al cl us te rs  can  be  m easur e accuratel y.  Fi gure   sho ws  the  pe rfo rm ance  of   se nsor  no des  in   cl us te one.  Th case  her that  there  is  no   fau lt   is  detect ed,   and   al senso r a re  work i ng   well   in  cl us te one .   It is see that t he whole   read i ng s  are  w it hi n t he  validit y ra nge  betwee n upper  and l ow e t hr es holds           Figure   4 .   Ca se  stud of  Fig ure   a fter a pply in the  pr opos e d al gorithm           Figure   5.   Cl us t er  on e  p e rfor m ance in  case  of  nor m al  w orki ng   Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  10 , No 4 A ugus t   2020   :   4416   -   4425   4422   At  the  othe ha nd,  the   sam clu ste one  passe by  w or st  c on diti on s in   w hi ch  the re  a re  t hree  se nsors   su f fer   f r om   fau lt s.  This  can  le ad  to  cha ng i ng  in  the  read in gs  of   these  sen s or s These  fa ul ts  are  detect ed  us in the  pro pose al gorithm   that  is  base on   sel f - c heck i ng  process T he  detect ed  fau lt s   are  c om pen sat ed  by   app ly in th pro po se fa ul tolerance  m et hod  base on   the  neig h bor  no des  as   exp la ine e arli er .   Figure   e xpla ins  the  rea dings  of  sen sors  inside  cl ust er  one,  w he re  the  fau lt ed  read i ngs  excee the  uppe r   thres ho l d value s.  It is  sho wn that the  fa ults a re s ta rte at   da y s eve n,  t we lv e an d four te e n, seq ue ntial ly .           Figure   6 .   Cl us t er  on e  p e rfor m ance in  case  of  f a ult detect ion       Now  the  pro po sed  m et ho shou l so l ve  this  pr oble m   by  a pp ly in the  pr esented  al gorit hm s.  This  is   done  e ff ic ie ntl y as show in  Figure   7. T he  f aulte rea dings  are  fixe d by est i m a ti ng  r e placed v al ues  de pe nd i ng   on  the v al i re adin gs  of n ei ghbo nodes . To b m or e p reci se, sen s or  no de  n um ber  f our  i cl us te one ha s b een  analy zed in   Fi gure   8. It is shown that the es tim a te values of  this se nsor  a re w it hin  t h e va li dity  r ang e be tween   thres ho l ds   with  accepta ble er r or.             Figure   7.   Cl us t er  on e  p e rfor m ance in  case  of  f ixi ng f a ults   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       Self - checki ng  meth od for  fa ul t t oleran ce  s olu ti on in  wi rel e ss sensor  n et w or ( M ua y ad  Sadik Cr oock )   4423       Figure   8 .   Se nsor  four a naly sis re gardin g n orm al , f ault an d f ixed       Figure   il lustrate the  perf or m ance  of  th ad op te WSN  with   f our  c lusters.  For  ea ch  cl us te r,    the av e ra ge values  of no rm al fau lt ed  and  fix ed  cases  are  eva luate acc ordi ng to  t he follo wing e qu at io n:      ( , ) ( ) =   ( , ) = =     (5)     w he re   ( , ) ( )   is  the  a ver a ge  values   of   t he  cl ust er  z an d   z={ 1,   2,  3,  …,  Z}  an d   is  the  num ber   of   cl us te rs   within  the  WSN.      is  the  nu m ber   of   al rea d ing of  sens ors  inside  the  cl us te z re presente as  m at rix  of  ( X   30)   f or  six   se ns ors  a nd  thirty   days.   I   is  c onside r ed   as   the  num ber   of   sens ors,  wh ic is  si x,  wh il J   represe nts  the   num ber   of  da ys  (thirty  da ys).  T hese  values  a re  com pa red   i this  fi gure   a nd  sho wn  that     the  est i m at ed  values  a re  ve r cl os to  the  norm al   on es,  wh il the  fa ulted  rea ding  inc reased  i nota ble  way .   This m eans th a t t he  pr opos e d al gorithm  an d m et ho a re  w orki ng in  e ff ic ie nt w ay .             Figure   9 .   The  total  cluster  p e r form ance f or  n or m al , f aulte and fi xed cases       Table  sho ws   the  reco r de r eadin gs   of  sen so rs  ov e thirt days  of   Ju ly   m on th  f or   cl ust er  three  at     the  pr e sent  of   fau lt   occ ur a an  exam ple  to  the  pro pose syst e m   fau lt   m on it or in g.   I can  be  seen   that    the  val ues  of  read i ng of  th 6 th   sen sor  a re  inc reased  s harply   after  t he   10 th   day  as  the  fa ult  ha ppened.   In  a ddit ion , t he  r eadi ng of se ns or  four   dec re ased to   bec ome  zero s a nd thi s is ind ic at ed  a s a f ault as t he values   Evaluation Warning : The document was created with Spire.PDF for Python.
                          IS S N :   2088 - 8708   In t J  Elec  &  C om En g,   V ol.  10 , No 4 A ugus t   2020   :   4416   -   4425   4424   wen dow the   lower   t hr es hold  sta rtin f ro m   day  11 th At   th oth er  ha nd,  s ens or   tw pr ovides  w ron rea dings   after  23 rd   day,  wh e re  the  values  are  in creased  no ta bly.  The  values ,   highli gh te with  ye ll ow   col or ,   are  rec orde as   fau lt due  to  t he  e xceed i ng  of  up per  an lo wer   t hr es holds   (25 - 55 o c) wh i ch  are   the  m axi m u and m ini m u m  t e m per at ures a m on this m onth.         Table  1 .   Cl us te r 3 se ns ors  afte r   fa ult (i se nsor  2,   4,   6)   Day   Sen so 1   Sen so 2   Sen so 3   Sen so 4   Sen so 5   Sen so 6   1.   36   43   31   38   34   47   2.   40   40   49   40   43   49   3 .   44   37   31   34   31   48   4 .   39   42   41   44   32   32   5 .   47   32   36   49   34   38   6 .   50   36   48   43   41   36   7 .   46   48   41   49   50   34   8 .   46   46   32   30   49   37   9 .   32   33   31   45   40   43   10.   49   44   48   45   37   76   11.   39   37   40   0   39   70   12.   40   39   38   0   43   71   13.   34   38   39   0   31   76   14.   33   30   49   0   45   74   15.   39   43   34   0   35   71   16.   41   49   30   0   45   70   17.   47   42   43   0   38   75   18.   41   40   33   0   38   63   19.   41   50   49   0   40   78   20.   45   34   34   0   34   68   21.   47   45   38   0   40   68   22.   32   42   35   0   32   74   23.   46   65   49   0   49   74   24.   38   65   31   0   32   63   25.   45   59   34   0   31   60   26.   33   75   37   0   31   58   27.   35   66   30   0   47   74   28.   37   68   31   0   36   63   29.   34   64   50   0   40   77   30.   33   75   30   0   39   78       It  is  im po rtant   to  no te   t hat  th pro posed   al gorithm   do es   not  cha nge  the   com plexity   of   the  WSN  as   there  is  no  any   add it io to  th hardw a re  sid e.  In   a dd it io n,   in  fau lt   ap peara nce  cases,  the   so luti o is  pro du c e un ti they   a re  fixe d.   T he refo re,  t he  pr opose al go rithm   consum ed  s ensible  ti m t re co ver  the  error s ,     in which  the  re al - tim e con cep ts are sti ll  sati sfied.        5.   CONCL US I O N     This  pa per   pro po s ed  s of tw are  en gin ee rin base fa ult  tolera nce  m et h od   for  fa ult  de te ct ion   an introd ucin s olu ti on  in   WSN.  The   pro pos ed  m et ho ad opte t he  sel f - c heck i ng  pr oces f or  fa ult  dete ct ion In   ad diti on,  th pr op os e al gorithm   con side red   the  neig hbor   se ns or  no de to  est i m a te   t he  fa ulted  readi ng in   eff ic ie nt  way.   The  av era ge  va lue  of   t he  cl ose   neig hbors  was  ad opte i the  propose al go rit hm   to  increase     the  acc ur acy   of  est i m at ion   as  well   as  the   reli abili ty In   ca se   of  fa ult  occur  in  the   cl os nei ghbor   no de,   t he   ne xt  valid  on e   wa consi der e d.  It  is  i m po rtant  t not that  the   rob us res ponse   of  the   pro po sed  m et ho al lowe   the  us i rea l - tim syst e m   with  hi gh   act i vity   of   fa ult  tolera nce.  T he  pro po se m et ho was  te ste ov e r   diff e re nt  case  stud ie at   a a ssu m ed  si m ulati on   m od el   with  di ff e ren cl ust ers  in  WSN.  The  ob ta ine r esults  sh owe t he pr oved  p e rfo rm ance of th e  prop ose m et ho d i t erm s o reli abil it y and  acc ur ac y.       REFERE NCE S     [1]   Hos sam   Mahm o ud  Ahm ad,   W i rel ess  Sensor  Networks  Conce p ts,  Applicati ons,   Expe riment at io and  Anal y s is ,”   Springer ,   2016 .   [2]   Ian   Som m erv il le,  S oftwa re engineer ing ,”   10 th   Ed it ion, Pears on  E ducat ion ,   In c ,   20 17.     [3]   Miikka   Kuut il a a ,   Mika   Mant y l a a,   Um ar  Farooq a,   and  Ma el i ck  Cla es,   Ti m Pr essure  in  Softw are   Engi n ee ring :     A S y stem atic  R e vie w ,”   Esl iv er ,   2 020.     [4]   V.  V.  Phoha  and  Shashi  Phoha,   Situa ti on - Aw are   Software   Eng ine er ing  for  Sensor  Networks ,”   2nd  Inte rnation al   Confe renc on   C omm unic ati on  S yste ms   Soft ware   and  Middleware ,   2007 .     Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  Elec  &  C om En g     IS S N:  20 88 - 8708       Self - checki ng  meth od for  fa ul t t oleran ce  s olu ti on in  wi rel e ss sensor  n et w or ( M ua y ad  Sadik Cr oock )   4425   [5]   A y uba  J,  S afwa na  H,  and  Abdu la z ee z   Y,  Software   Deve lopment  of  Int egr a ted  W ire le ss   Sensor  Networks  For  Rea l Ti m Monit oring  of  Oil  and   Gas  Flow  Rat Mete ring  Infr astruc tur e ,”   Journ al  of  Informatio Technol ogy  &   Soft ware  Engi ne ering ,   vo l. 8, no. 2, p p.   1 - 10,   201 8.     [6]   Savit ha   S,  Li nga   Redd y ,   Sanjay   Chit n is,  Ene rg y   Eff i ci en t   Cluste ring   and   Routi ng  Optimi za t ion  Model   fo Maximizi ng  Li f et ime  of   W ire l ess  Sensor  Network ,”   In te rnationa l   Journal  o E lect rical   and   Computer  Eng ine erin g   ( IJE CE) vol. 10 ,   no .   5 ,   2020 .     [7]   Sridhar  R. ,   and   N.  Guruprasad,   Ene rg y   eff ici ent   cha o ti wha le   opti m izati on  te chn ique   for  dat ga the ring  i n   wire le ss   sensor  net work ,”   Inte rn ati onal   Journal  of  Elec tri cal   an Computer  Eng ine ering  ( IJE C E ) vol.   10,   no.   4 ,   pp.   4176 - 4188 ,   2020.     [8]   Abdus y   S y ari f,  Abdelha fid   Abouaissa,   Lha ss a ne  Idoum ghar ,   Achm ad  Kodar,  Pasca Lore n z,  Sear ch  Base d   Software   Engi n e eri ng  on  Evol u tionar y   Mul ti - Obj ec t ive   Approac h ,”   I E EE -   ICC  N ex t - Gen erati on  Net working  and   Inte rnet   Symposi um ,   2016.     [9]   Aadit i y V enkat  Kanna n,   Har dware   and  Soft ware   Archi t ectu re  of  W ire le ss   Sensor  Networks ,”   Journal  of  Adv anc es  in   Co mputer  N et work s vol. 2, no. 3, p p.   207 - 210 ,   201 4.     [10]   Emm anue Eff a h,   Ous m ane   Thi are ,   Surve y Fa ult s,  Fault   Det ection  and  Fault   T ole ran ce   T ec hni ques  in  W ire le ss   Sensor Net works ,”   Int ernati onal   Journal  o Com pute r Sc ie nc an Information  S e curit y ,   2018 .     [11]   Khadidj E l   Mer rao ui,   Abde ll a ziz  Ferdjouni ,   M’h amed  Bounekhl a ,   Rea ti m obs erv er - base st at o fau lt   di agnosis  for  IM ,”   Int ernati onal   Journal  of   El e ct rica and   C omputer  Engi n e ering  ( IJE CE) v ol.   10 ,   no .   1 ,   pp 210 - 222 ,   2020 .     [12]   Sus hruta   Mishra,   La m bodar   Jen a,   Aart Pradha n,   Fault   Tolera nce   in  W ireless  Sensor  Networks ,”   Inte rnat ion al   Journal  of   Ad va nce Re search   i Computer  Sc ience   and   Sof tware  Eng ine ering ,   v ol.   2 ,   no .   10 ,   p p .   146 - 153 ,   2014 .     [13]   Mana s vi  Manna n,   and  Shashi   B .   Ran a,   Fault  T ole ran ce   in  W ir el ess  Sensor  Ne twork ,”   In te rnat ional   Journal   of  Curr ent   Engi n eer ing  and  Techno logy vol .   5 ,   no .   3,   p p .   1785 - 178 8,   2015 .     [14]   A.V.  Sutagunda r ,   Vid y S.  Bennur,   Anus ha  A.  M.  Bhanu  K.  N.,   Agent  Based  F aul To l era n ce   i W ire le ss   Sens or   Networks ,”   In te r nati onal  Con fe re nce   on   Inv ent i ve  Computati on  Te chnol ogi es  ( ICICT) ,   2016.     [15]   H.S.Annapurna ,   and  M.Sidda pp a ,   Secur Da ta   Aggrega ti on   wit Fau lt   Tol er ance  for  W ireless  Sensor  Networks ,”   Inte rnational   Co nfe renc on   Eme rging R ese arch   i Elec troni cs,   C omputer  Scienc e   and  Techno logy ,   2015 .     [16]   Ta oChen a Miqi ngLi ,   and  XinYaoc b ,   Standi ng   on  the   shoulder of  gia nts:  See ding  s ea rch - b ase m ult i - objectiv e   opti m iz ation  wi th  prior  knowle dge  for  software   service  compos it ion ,”   Journal  of  Informatio and  Soft wrae   Technol ogy vo l. 114, pp .   155 - 17 5,   2019 .   [17]   Zey Zha ng ,   Am ja Mehm ood,   Le Shu,  Zhi q i ang  Huo,  Yu  Zha ng  and  Mithu Mukherje e ,   Surve y   on  Fault  Diagnosis  in  W i rel ess Sensor Ne tworks ,”   I EE E   A cc ess vol. 8, p p.   11349 - 11364,   2 018.     [18]   Mehdi  Naz ari  Chera ghlou ,   Ah m ad  Khade m - Za deh  and  Ma ji d   Haghpa rast ,   New  Fault - T ole ran Clust ering  Protocol   for  W i rel ess  Sensor  Networks ,”   In te rn ati onal  Journal  of  Sec uri ty   and   Its  Appl i cat ions vol.   12 ,   no .   4,     pp.   29 - 40 ,   2018 .     [19]   M y eongse ung  H an,   Eun - Sung  C ho,   Jun - h y uk  Lee,   and   Intae  R yoo,   Stud y   o Fault   To le r an ce   T ec hn ique   fo AGR - MA Pro toc ol  b ase Sen sor  Networks ,”   Inte rnational   Confe renc on  In formation  Net w orking  ( ICOIN )   pp.   457 - 460 ,   20 19.     [20]   As m aa   Shaal an  Abdul  Munem ,   and  Mua y ad  Sa dik  Croock,   Sm art   Tra ffi Li g ht  Control   S y st e m   for  Emerge nc y   Am bula nce ,”   Int ernati onal  Jour nal  of  Adv an ce d   Re search  in  C omputer  Engi ne ering  &   Technol ogy  ( IJA RCE T) vol.   5 ,   no .   1 ,   201 6.     [21]   Feli pe  T al i ar  Giunti ni,   De la no  Mede iros  Bede and  Jo´  Ue y ama,  Expl oi ti ng  Sel f - orga nizati on  a nd  Fault   Tol er an ce   in  W ire l ess  Sensor  Networks:  Case  Stud on  W il dfire  Dete c ti on  Appli ca t ion ,”   Inte rna ti onal  Journal  of  Distribute S ensor Ne tworks vo l .   13 ,   no .   4 ,   p p .     1 - 16,   2017 .     [22]   Ric ard Vi llalón   and  Patr ic G .   Bridge s,  Fault - Tol er ant   W irele ss   Sensor  Networks  using  Evolutiona r y   G ames ,”   PhD   The sis,  The Unive rsit y   of  N ew  Mexic o ,   201 2.   [23]   Jenn - W ei   Li n ,   P et huru   Ra C . ,   Meng - Chie H . ,   a nd  Jia - Xin   H . ,   Eff ic i ent   Fau lt - Tol er ant   Rou ti n in  IoT   W ire l ess  Sensor Net works   Based  on   Bipa r ti te - Flow   Graph M odel ing ,”   I EEE  A ccess vol .   7 ,   pp.   14022 - 1403 4,   2019 .     [24]   L.   Mottol a G.  P.  Picc o F.  J.  Opperm ann ,   et   al ,   Sim pli f y ing   the   Inte gr at ion  of  W ire le ss   Sensor  Networks  in to  Busin ess Proce ss es ,”   I EE E   Tr ansacti on  on   Soft w are  Engi n ee ring vol. 45, no. 6, p p.   576 - 596 ,   201 9.   [25]   Farna Pakd el   1 ,   Mansour  Esm aeilpour ,   Fuzz y   L ogic   Method   for   Enha n ce m ent   F aul t - Tol er ant   of   Cluste He ad  in  W ire le ss   Sensor  Networks Cl uste ring ,”   TEM  Journal vo l.   5,   no.   3,   p p.   268 - 277,   20 16.     [26]   Evi z al   Abdul  Kadir ,   Hitoshi  Iri e ,   Sri  Li stia   Rosa ,   and  Mahm od  Othm an,   Mode ll ing  of  wire l ess  sensor  net works   for  det e ct ion   land  and  fore st  f ire   hotspot ,”   T ELKOMNIKA  (Tele communic a t ion,   Computing ,   El e ct ronics  an Control) ,   vol .   17 ,   no .   6 ,   pp .   2772 - 2781,   2019 .     [27]   Ngan  Ngu y en ,   Quoc  Cuong  Ngu y en ,   and  Min Thu y   Le,  novel   aut o nom ous  wire le ss   sensor  node  for  IoT  appl i ca t ions ,”   T ELKOMNIKA  (Tele communic a t ion,   Computing ,   El e ct roni cs  and  Control) v ol.   17,   no.   5 ,     p p.   2389 - 2399 ,   2019.     Evaluation Warning : The document was created with Spire.PDF for Python.