Int ern at i onal  Journ al of  P ower  El ectr on i cs a n Drive  S ystem   (I J PE D S )   Vo l.   11 ,  No.   3 Septem be r 2020 , pp.  1132 ~ 1144   IS S N:  20 88 - 8694 DOI: 10 .11 591/ ij peds . v11.i 3 . pp 1132 - 1144       1132       Journ al h om e page http: // ij pe ds .i aescore.c om   Implem ent ation o f SVM f or  five - l evel  cascaded  H - bridg multile vel i nvert ers utiliz ing  FPG A       Maher  Ab d  I brah im  A l - je wa ri ,  Auza ni  Jidin,  Siti  Azu ra  Ah m ad  T ar usa n , M oh am med  Ra s hee d   Facul ty   of Electr ic a Eng ineeri ng ,   Univer si ti T ekn ika l   Mala ysi M el ak Hang   Tu a Jaya ,   Mal aysia       Art ic le  In f o     ABSTR A CT   Art ic le  history:   Re cei ved   Sep   3 , 2 01 9   Re vised  Dec   20 , 2 01 9   Accepte Fe b   16 , 20 20       The   Spa ce  Vec t or  Modulation  S VM   te chni qu h as  won  large  acc ept an ce  for  AC   drive  appl i ca t ions.  How ev er  the  ut il i za t i on  of   multil ev el  inve r te rs   conne c te with  SV by  Digit al   signal   proc essor  (DS P)  rai se  the   i ntri c ac of   cont rol  al gori th or  com put a ti onal   loa d ,   in cre ase of  th e   obta ini ng   distort ions   outp ut  vo lt ag e.  The  deve lop me nt   of   SV in  mu lt i level   inve r te rs   ma off er  h igh er  numb ers  of   sw it chi ng   vectors  for  a cqui r i ng  furthe r   enha nc em en ts  of   outpu vo lt ag e   per forma n ce s   an i mpl e me nt   by   using  Fiel d   Programm er   Gate  Array  (FP GA ),   inve stig ate  lower   To ta l   Hormonic   Distorti on  (THD).  Th is  p ape r   r ep orts  th p erf orm anc e   ev al u at ion   of  SV for   five - l eve l   of  Casca ded   H - Bridge   Mult il ev el   Inv ert er   C HM using  MA TL AB/S im uli nk,   whi ch  is  sampled  at   the   mi nim u sampling  ti m e,   i.e.   DT  5   μs .   The  sw it chi ng  signa l for  drivi ng   ins ula t ed  ga te   b ipolar  t r ansistor  (IGBTs)  which  are   stor ed  in   MA TL AB  works pac es,   ar th en  used  to  b e   progra mmed  in   FP GA   using  Quart us  II  soft ware .   Which  c a be  st at ed     the  lower   THD  of  th si mul a ti o resul is  about  14. 48%  for   f ive - le ve CHM I   and  expe r im en t   result  is   about  14. 3 1%   for   five - le ve l   CHM a t   modu la t ion   inde M_i=0 . 9.   The  err or  p ercent ag be twee n   the   si mulati on   result an d   expe ri me nt al   r e sults  of  the   fun dam en ta ou tput  volt ag in  SV is  smal l   which  is  appr oxi ma t el le ss   th an 1 % .   Ke yw or d s :   Ca scaded H - bri dg e C H M I   Five  le vels  in ve rter   M ulti le vel in ve rter   Sp ace  vecto r mo du la ti on   This   is an  open   acc ess arti cl e   un der  the  CC  BY - SA   l ic ense .     Corres pond in Aut h or :   M a her   A bd Ibra him  A l - je wa ri ,   Faculty  of  Ele c tric al  Engineer ing ,   Un i ver sit i Te knikal  M al aysia  M el a ka ,   Hang T ua Ja ya , 76100  D ur ia T unggal M e la ka,   M al aysia   Emai l:  mah e r. a bd74@ ya hoo. c om       1.   INTROD U CTION     M a ny  AC  dri ve   a pp li cat ions  util iz V oltage   S ource   I nvert ers   ( VS I )   w hic ha ve   ev olv e as  the  m os t   popula po wer  conversi on.  T he  in vo l veme nt   of   V SI   is  in  li ne  with  the  de velo pm e nt  of  var i ou Pu lse   Width   M od ulati on  ( P W M )   al gorith ms  s upporte by  the   a dv e nt  of  s olid - sta te   switc hing   de vi ce  te ch no l ogie s,  fast   dig it al   sign al   process or s Fi el Program m able  Gate  A rrays  ( FPGA in  orde to  c re at PWM   si gn al   f or    the  real - ti me  a nd  micr oc on tr oller  s ys te as   means   of  di gital   processi ng.  Since  fe w   deca des  a go,  sever a PWM  al go rith ms  ha ve  bee dev el op e t i mpro ve  s om e   performa nces  of   VSI  s uc as   high - powe e f fici ency  [1 5] Few  st ud ie in dicat e that  the ar no acc ount ed  f or   P W M   con t ro wit high  f reque nc an d   div e rsified   te c hn i qu e of  sa mp li ng,  pro duce  gr eat e r   ou t pu volt age  wi th  opti mum  f unda mental   value,   kee p   total   har m onic   distor ti on  (T HD)  lo wer   within   the   crit ic al   range  with  lo wer   rati o   of   s witc hing   f re quency   t o   fun dame ntal  frequ e nc y   [ 6].  Appa ren tl y,  th researc ab out  VSI,  th us   f ar,  ha not  rea che t the  st at of  sat ur at io n,  as  novel   or  sim plif ie P W M   methods   are   sti ll   emer ging  for  va rio us   t opolog inv e rter  ci rcu it an mu lt il evel  in ve rters   [ 7].  Th rough   va rio us  ty pes   of  m odula ti on   strat egies   or  P W M   meth od s ,   Sp ace   Vecto r   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow  Ele & Dri S ys t   IS S N: 20 88 - 8 694       Impleme nta ti on  of SVM fo r fi ve - le vel  ca sc ad ed H - br id ge m ulti le vel  ( M aher A bd  Ib r ahim Al - je w ar i )   1133   M od ulati on  ( S VM)  te c hniq u has   gaine wide   acce pta nc beca us e   of   seve ral  a dv a nt ages  s uc as   higher  ou t pu volt age s,  lo wer  T HD,   high - ef fici enc a nd  fle xib il it to   be   imple mented   in   vec tor  c ontr ol  sys te ms    [8] [ 13].  Be sid es  that,   this   m odulati on   sche m al so offers   in   opti mizi ng  t he   use d of  dc  volt age  li nk   util iz at ion  wh ic mean i can   incre ase  t he  rati on  of  outpu mag nitu de   volt age.   I ge ner al ,   the   im plementat io of  SVM   involve   with  t he  us e of   D S bo a r a nd   re qu i red  sect or  i den ti ficat io w hich   br in gs  int t he   f ormat io ns  of  ro ta ti ng   s pace  vecto diag ram I t he  th ree  phases  sy ste m t her e   are   six   f ra ct ion i the   s pace  vecto dia gr a sp in ning   36 0°  wh ic eac ha e qu al ly   div id ed  by  60°.   T hi s pace  vecto r   diag ram   is  a   tr ansfo rmati on  f rom  balance  of   th re ph ase  quantit ie into  two  phas sy ste of   α - β  ref e rence   f rame.  T he  S V M   main  operat ion   is   to  use   the   ne ar est   three   vect or  rec ogniti on  of  the   re fer e nce  vo lt age   a nd  de te rmin e the   c orres pondin on - ti me   us in t he prin c iples o f vo lt  se cond  e quivale nt  [ 14 - 17]   m ulti le vel  inv e rter  offer s   gr eat er  num be of  volt age  ve ct or as  c ompare to  ei gh vecto rs  f or   two - le vel  in ve rter.  Fi gure  il lustrate the  sp ace  ve ct or   di agr ams  f or   Se ct or   I in  tw o - le vel  inv e rte an three - le vel  in ve rter.  The  sp ac vecto diag ra ms  can   be   use to   co m pa re  t he  im plementa ti on   of   SVM  i tw o - le vel  an t hr e e - le vel  in ve rters.  As   co mp a r ed  to   tw o - le ve sp ace  vect or  diag ram th sect or   i t hr ee - le vel   inv e rter  is  di vid ed   int f our   identic al   small er  tria ng le (i. e.  ∆_ 0,  _1,  ∆_2  an ∆_ 3).   To   re duce  T HD  ( or   dv⁄d t)   an s witc hing  los ses  in   mu lt il evel  in ve rter  (i .e.  th ree - le vel),  it   is  ne cessar to  swit chin vecto rs  wh ic are  the  near est   to  the  re fer e nc vecto v  ̅ _s^ *.   He nce thr ee - le vel  S VM   switc the  vec tors  v  ̅ _2,  v  ̅ _7   an d   v  ̅ _14fo giv e re fer e nce  vec tor.   T he  cal c ulati on   of  on - dur at ion   in  mu lt il evel  SVM  is  quit com plica te and   diff e re nt  f or   va rio us   tria ng le due  to   small   tria ng le s   in  t he  s pace  vecto dia gr a of   t hr ee - le vel  in ve rter  in   Fig. do  no e xa ct ly  imi ta te   th ge om et r of  sect or  of  tw o - le vel  in ve r te r.  I tw o - le vel  S VM,  t he  cal c ulati on  of   on - durati on   is  strai gh t for ward  wh ic is   valid  f or  eve r sect or.  H owever,  the  t hr ee - le vel  S VM  ne eds  to   modif the   re f eren ce   vect or  with  new  ori gi po i nt  to   ap pl the  t w o - le ve base S V f or   cal c ulati ng  on - durati on.  As  s how by  Fig ure  (b),   t he  modifie re fer e nc vecto v  ̅ _s ^ with  vector  v  ̅ _2  as  or i gin   po i nt  is   determi ned  suc that  t he  cal culat ion   of  on - durati on  is   li ke  that  of  tw o - le vel  based  S VM.  T he  cal c ulati on   becomes  c omp li cat ed  if  the  r efere nce  volt age  vect o v  ̅ _s^ *   li es  in  tria ng le   _2,  w he re  the  ori entat ion   of  tria ng le   is  dif f eren a mon ot her s;  as   can   be   seen  t he  tria ngle ∆_ 0,  ∆_ and  ∆_ ha ve  the  same  ori en ta ti on  with   si ngle   tr ia ng le   or   Sect or  I   in   tw o - le vel  S V M ,   as   s hown  in   Fig. 1.  T he   co mp le xity   inc reases   as   numb e r   of  lev el s o i nverter b ec om e higher , e.g.  in  f ive - le vel in ve rter,  the re ar e si tria ngle s am ong  sixtee tri ang le s that ha ve dif fere nt orientat io         Figure  1 .   Com par is on  bet wee (a)   t wo - le vel  sp ace  vecto r di agr a m a nd (b) t hr ee - le vel s p ac   vecto r diagr am , e.g. f or   sect or i       The  im pleme nt at ion   of  S V for  mu lt il evel  inv e rters  re quire  some   im portant  par ts  wh i ch  ar a s   fo ll ows;  ( 1)  de te ct ion   of  sect or    ( 9)  detect i on  of  tria ngle   (10 cal culat ion  of  on - du rati on  f or   switc hi ng   the  ne a rest  vec tors,  an ( 11)  determi nation  the  s witc hing  seq uen ce   f or  e very  s witc hing   pe rio d.   As  f ound  i li te ratur e,  t here  are  t wo  co mmon  meth od to  cal c ulate   the  on - durati on s T he  first   meth od  is  to   detect     the  tria ng le   an s olv e   th ree   s imult ane ou s   e quat ions  of  the   t rian gle  to   de te rmin e   the   on - ti mes  as   s uggest ed  i [18].  The   sec ond  met hod  is  t detect   t he  tri ang le   an us on - durati on  e quat ions  st or e in  a   lo okup   ta ble  for   this  tria ngle ,   as   pro pose in   [ 19 20] B oth  m et hods   howe ve require   co mpl ex  c ompu ta ti on a the   numbe of   le vel  increase s Alte r nativel y,  the  cal culat i on   of  on - dur a ti on   ca be   obta ined   us i ng  gen e ral  al gorit hm s .   Sp eci fical ly,   use a   E uclidea vect or  s ys te with   seve ra matri tra nsf ormat ion,  pro vi ded  that   it   does  no t   pro vid s ys te mati appr oac f or   real  ti me  SVM  imple m entat ion O th oth e wa y,   c al culat ed  on - durati on   and   obta ined  s witc hing  sta te by   m eans  of   c oor din at sy ste m,  w her t he  a xes  are  60  de grees  apa rt.  H oweve r,   the  60  degrees   trans formati on  le ads   to  the   com plexity  sin ce  the  volt a ge   ref e ren ce   is  c om m only  def i ned  in     the  or t hogona coord i nate  syst em.   Re centl y,   sim ple  S VM   al gorithm   for  mu lt il eve inv erter bas ed  o   Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele D ri   S ys t,   V ol 11 , N o.   3 Se ptembe 2020   :   1132     1144   1134   sta nd a rd  tw o - l evel  S VM.  T he   two - le vel  ba sed  S V M   c on c ept  is  init ia te by  [ 21],   howe ver,  the  cal c ul at ion   of  on - durati on   is   base on  or i gin   m odific at ion   a nd  60  de gr ees  c oor din a te   transformat ion,  w hich   can no be   exten ded  in  i mp le me ntin SVM  f or  hi gher  le vels,  i.e great er  tha three.   U nlike   the  f ormer  m et hods ,     the  impleme ntati on   of  S VM   that  include the  detect io of   sect or   an tria ng le a nd  cal cu la ti on   of   on - durati on   wer e  d e rive d g eometrical ly a nd syst emat ic al ly which  su it a ble for  any le ve l of in ver te r  [22 - 24].       2.   RESEA R CH MET HO D   Ba sed  on  the   inv est igati on  i li te ratu re  re view  a bout   ty pe  of  P W M t he  S V M   is   pr efera ble  as  it   offer se ve ral  adv a ntages  a nd   recentl know as  the  mo st  po pu la te chn iq ue  for  man el ect rical   dr iv e   app li cat io ns .   T his  c ha pter   dis cusses   the   devel op me nt   of  spa c ve ct or  m odulati on   (SV M)  al gorithm   ba sed   on   five - le vel  casc aded   H - bri dge   mu lt il evel  inv erter as  pro po s ed  by   [ 18 25].   It  is  ne cessar to  de s cribe    the  pr i nciple  or  f or m ulati on  of   the  SVM  al gorithm  with  t he  ai of   s uitable   diag rams  a nd   e quat ions  f or   e ve r le vel  of  in vert er  is   gi ven  t de velo pro per  m odul at or  f or  e valu at ing  it perf ormances   T H D.  T he   performa nces   evaluati on   will   be   pr e sente in  res ults  a nd  di scussion.   T he n,  the   sim ulati on  model  of  S VM  for   every  le vel  of  inv e rter  is  de ve lop e us i ng  M A TLA B - Si mu li nk.  T he  de velo pm e nt  of   the  simulat io m od el   us es  same   pa r amet ers  value s e. g.  sam plin ti me,   th ree - ph a se  loa d,  D volt age,   et c.,  as   im pleme nted   in    the  ha rdwa re  s ys te m.  The  ve r ific at ion   a nd   e valuati on  ar a lso  car ried  out  via  ex pe rimen ta l.  In   t he  h a r dware   sy ste m,  t he  S VM  al gorith m   is  execu te usi ng   Fiel P r ogram mable  G at Ar r ays  (FP GA)  DEO   C ontr oller.   The   implem en ta ti on   of  t he  hard war e   s ys te e mphasiz e on  s om e   i mporta nt  as pe ct f or  pro per  S V op e rati ons,   pro vid in blan ki ng   ti me   ge ne r at or   t a vo id  s hort  ci rc uit  co nd it io ns ,   en sur ing   t he  DC  vo lt age  su ppl for  ea c H - B rid ge  i nv erter  ci rcu it   ha pr ov i des  is ol at ion   a nd  a   c onsta nt   DC   volt age  a nd  a pplyi ng  gate   dr i ver  ci rc uits wh ic ha ve  suf fici ent p owe a mp li ficat ions  a nd  is olati on  to  sw it ch   O N/OFF  the   IG BTs  o f   V SI .   On ce  t he  simu la ti on   an ex pe rimental   res ul ts  are  ob ta i ned,  al the  reco r de data  is  ta bu la te in  ta bles,   and  gr a phs  for  c ompa rison  t performa nce  evaluati on.   T hen,  base on  s uitable   e quat ions  a nd  t heories,     the  anal ys is  of   performa nces  is  ca rr ie out  to  ve rif the  im pro veme nts/ad van ta ges  of   us i ng   dif fer e nt  ty pe  of   le vels  of  in ve rters  wh ic is  five - le vel  casca ded  H - Bri dg e   mu lt il evel  in ve rters.   The   de ve lop me nt  of  ha r dw a re   is  us e to   obta in  the   e xperim ental   res ults  w hich   will   be   c ompare with   th sim ulati on  resu lt s,   validat ion  of   SVM alg ori th m as  well  as th e ad van ta ges o S V M  in  m ulti le vel inverte rs .     2.1.   Spa ce   vec t or m od ul at i on   of  f ive - le vel c as c ad ed   H - brid ge  multil evel in vert er   This  sect i on  br ie fly  desc ribes   the   pri nciple   of  S V M   for  fi ve - le vel  CH MI  base on  tw o - le vel  SVM.   Since  t he   SVM   co ntr ol  al gorithm   is  base on  tw o - le vel  S VM,  it   can   be  pro ven  that   m os par ts   util ize  sam e   equ at io ns   a nd  appro ac hes  f or   im pleme nting   t he  switc hi ng   m odulati ons.  Fi gure  dep ic ts  fi ve - le vel   Ca scaded  H - B rid ge  Mult il evel  I nv e rter   (C HMI)  w hich   c on sist s   of  six   isolat ed  DC   volt ages.   T he   CHM I   sh ow i Fi gure  is  ref e rr e to  five - le vel  i nv e rter  is   due  t the   fact  t hat  the  in ver te ca pro du ce   fi ve   le vels  of   ou t put  vo lt a ges,   wh ic are  2  5  5 0  5   and   2  5 The  five  ou t pu vo l ta ges  can  be  obta ined  by   pro vid in poss ible  switc hing  sta te   com bin at ion s   on   the   simpli fied   ci rc uit  of  the   fi ve - le vel  CH MI  (i.e.   f or  a   sing le - phase) gi ven   in Figu re 2 . H ence  si ngle - ph ase o utput  volt age  of  th CHMI  (i.e - ph a se  w her = - - , or  - ph ase c an be e xpresse as:        = ( 1 2 ) .  5 +   ( 3 4 ) .  5   (1)     The   tria ngle   f or  five - le vel   CH M I   as   s how in  Fig ur e   is  de fine us i ng  (2)  a nd   ( 3).  It  ca be   s how that ea ch  secto will   hav e  16 t rian gles ( i.e 0 1 2 ,…,   15 ).     = 1 2 + 2 2   (2)   = 1 2 + 2 2 + 1   (3)     The  discussi on   ab ov e   sho ws  the  di ff e ren pa rts  util iz ed  in   five - le vel  C H M I   as  c ompar ed  to   that  of  three - le vel,  w her e   the  five - le vel  CH MI  in vo l ves  gr eat e r   num ber s   of  t rian gles,  le vel  outp ut  vo lt ag es  an vo lt age   vecto rs T he  rest  pa rts  will   util iz same  a ppr oach es   an eq uatio ns .   F or  exa mp le ,   the  on  durati on f or   switc hing  vect or s  in five - le ve l C HMI  a re cal culat ed usin g ( 4), (5 a nd (6).      =   3 2  5 (    1 3  )   (4)   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow  Ele & Dri S ys t   IS S N: 20 88 - 8 694       Impleme nta ti on  of SVM fo r fi ve - le vel  ca sc ad ed H - br id ge m ulti le vel  ( M aher A bd  Ib r ahim Al - je w ar i )   1135       Figure  2 .   The   c ircuit  of  five - le vel  CH MI             Figure  3 .   Sim pl ifie fiv e - le ve l   H - br i dg e  in ve rter  (for an y Phase )     Figure  4 De fin it ion  of  tria ngle   ( = 0 ,   1 2 ,…,  15 f or  e very s ect or       2.2.   Simul at i on   m od el   of sp ace  vector m odul ati on   This  sect ion   presents  sim ul at ion   model  of  Sp ace  Vecto Modula ti on  (S V M)  us i ng   M A TLAB - Simuli nk.  Fi gure  de picts  th simulat ion   m od el sp eci fical ly  the  co ntr ol  al gorithm  of   S VM   w hich  ge ne rates   switc hing  sta tu s.  The  sim ulati on   model  sho wn   i this  fig ure  is  us e to  ge ner at s witc hin sta te f or   dri vin IG BTs   of  fi ve - le vel  CH MI  by  modif ying   th num be of  i nputs   a nd  DC  volt age  te rms  in   s om e   cal culat ion s .   The   simulat io is  performe us in t wo  set s   of  sa mp li ng   ti mes,  s uc a  1 = 200      for  detect ing  s ect or s,   tria ng le a nd  com pu ti ng  on - durati on,  a nd    2 = 5    for  ge ne rati ng   a ppr opriat pulse   width   with  highli near it a nd  accu rac y.   Gen e rall y,  the  simulat ion  m odel   is  co ns tr uc te us i ng  tw t yp e of  pro gr a mmin appr oach es na mely  the   gra phic al   pro gr a m ming  ap proac us in Sim ul ink   blo c ks   a nd  the   c - pro gr a mmin appr oach  wr it te i MATL A f un ct io bloc ks .   T her e   a re  two  in pu ts   r eq uire i t he  simulat ion  mode w hic are  the  dema nds  of  ma gnit ude  an f re qu e ncy.  T hese  tw in pu ts  w il pro du ce  ref e ren ce  of   t hr ee - phase   Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele D ri   S ys t,   V ol 11 , N o.   3 Se ptembe 2020   :   1132     1144   1136   vo lt age The   Si mu li nk  blo c ks  inside  t he  Subs ys te m for  ge ne rati ng  the   re fe ren ce   of   three - ph a se  a re  pr e se nted  in Figu re  6.   It  can  be  see t ha t t he  re fer e nce  is co ns tr ucted usin g (7).     = .  ( 2  )   (5)   = .  ( 2  2 3 )   (6)   = .  ( 2  + 2 3 )   (7)     wh e re    is  the  mag nitud e   of  r efere nce  vo lt a ge.   B c onside rin the  li mit at ion   of  the  poss ible  outp ut  vo lt age  pr oduc ed  in  the  SVM   for   five - le vel  CHMI , t he ma gn it ude    can   be  calc ulate as  foll ows :       =   Μ 4  5 3   (8)           Figure  5 .   Sim ul at ion   m odel  of  sp ace  v ect or   modu la ti on  (SVM)  (e. g.   f or fi ve - le vel  C H MI)       wh e re  Μ   can  be   var ie bet we en  0   to  1   f or   a dj us ti ng   t he  ma gn it ude  of   i nput  an hen ce  ou t pu t   vo lt age s.  T his  means Μ   is  set   to  1   for  pro duci ng   t he  maxi m um   ou t pu volt age.  T he  th ree - phase  vo lt age   is   then   tran sf orm ed  i nto   re fer e nce  volt age  c ompone nts     a nd   as  t he  i nput  of  the   modu la to r.  T he   trans formati on  is o btained  u si ng (9) an d ( 10) .      =   2 3 2 2   (9)      =   1 3   (10)     Using  these  e qu at io ns,  the  t ran s f or mati on  is  con st ru ct e us in Sim ulink   blo c ks   as   pr ese nted  i Figure  7. The s e Simulin k bl oc ks  a re  g r oupe as  a  Subs yst e m2 , as sh own  in  Fi gure  5.       Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow  Ele & Dri S ys t   IS S N: 20 88 - 8 694       Impleme nta ti on  of SVM fo r fi ve - le vel  ca sc ad ed H - br id ge m ulti le vel  ( M aher A bd  Ib r ahim Al - je w ar i )   1137         Figure  6 .   The   s imulat ion m odel  b loc k of t hre e - phase  gen e rato r   (at  Subsy ste m 1 )     Figure  7 .   The   s imulat ion m odel  b loc k of t hre e -   to  two - phase t ransformati on  (at  Subs yst e m2)       It  ca be   noti c ed  from   t he  c omplet sim ulat ion  m od el   s hown  in   Fi gure   that   the   re fer e nce  volt age   com pone nts     a nd     are  sam pled  at    1 = 200      us in Zer o - Or der  H old   blo c ks .   T hese  two  in pu ts   are   us e t pro duce  re fer e nce   volt age  vect or  into   pola r   f orm  us in ( 11)  and  ( 12) The n,  the   ma gn it ude  a n ang le   of  re fer e nce   volt age   ve ct or ,   i.e.     a nd    are   bein fe to   MA TLAB   Fu nction1   bl oc f or  detect in sect or s    ,   tria ngle Δ an cal cul at ing     an  a discusse in   previo us  sect io ns.  T he   s ource   c od e   or  c - pro gr am min g wr it te i the   MATLAB  F un c ti on 1   bl ock as  sh ow in  Fi gur e 8 .       =   ̅  2 + ̅  2   (11)     =  1   ( ̅  2 ̅  2 )   (12)             Figure  8 .   S our ce  co de  li sti ng  for  M A TL AB  functi on1   f or de te ct ing  secto r s,  tria ngle s,  and    cal culat ing      an    Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele D ri   S ys t,   V ol 11 , N o.   3 Se ptembe 2020   :   1132     1144   1138       Figure  9 .   S our ce  co de  li sti ng  for  M A TL AB  functi on2 f or c al culat ing   on - durati on       The  re fe ren ce  vo lt age   co mpo nen ts     an    produce f rom  MATLAB  Fu nc ti on bl ock   a re  the us e as  the  in pu ts  of   MA TL AB  Fu nctio n2   blo c k.   T his  blo c is  res pons ible  to  cal c ulate   on - durati on   fo r   switc hing  vector within  t riang le   for  fi ve - l evel  CH M I T he  sou rce  co de   for  cal culat in on - durati on  sh ow in  Fig ure  9.   T he   on  durati ons     an    pro duced   from   the  MAT LAB  F unct ion2   blo c a re  us e to   cal culat e   du t rati os  o f   pre - s witc hing  st at es  for  eac phase,     an T he  cal c ulati on   i pe rformed   by   Subsy ste m blo c k,   as  ca be   no ti ce in  Fi gure  5.   Fi gure  10   sho ws  Sim ulink   bloc ks   c on ta ine i Su bs yst em blo c k,   wh ic are c on s t ru ct e d usi ng (13),  (1 4) an d (15 f or  five - le vel CH M I .     =   2 (  4 )   (13 )   =   2 (  4 +  2 )   (14)   =   2 (  4 +  2 +  2 )   (15)           Figure  10 .   T he   simulat io m odel  b l ock of  du ty r at ios  calc ul at or   (at  Su bs yst em3)       Figure  11  s ho ws  a   sim ulati on  model  of  pr e - switc hi ng  sta t es  ge ne rato w hich   is  dev el oped   based  on   the  c omparis on  betwee dut rati os  an tri angular   wav e f orm.   The   sim ul at ion   model  or  Si mu li nk   bl oc ks  are  gro up e a a   Subs yst e m4 as   de picte in   Fi gure  5.  T he  t riangular   w ave f orm  is   ge ner at ed  at   sam plin ti me   2 = 5    by the   Re pea ti ng S e quence   bl ock,  wh il e th du t y rati os  a re  updated  ev e r y  1 = 200    .       Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow  Ele & Dri S ys t   IS S N: 20 88 - 8 694       Impleme nta ti on  of SVM fo r fi ve - le vel  ca sc ad ed H - br id ge m ulti le vel  ( M aher A bd  Ib r ahim Al - je w ar i )   1139       Figure  11 .   T he   simulat io m odel  b l o ck   of  pre - switc hi ng sta te s g e ner at or  ( at   Subs yst e m4 )       At  the   la st  part   of  Fi gure  5,  i can   be   obse r ved  that   al th inf ormat io su c as   sect or  (  ),   tria ngle   ( an pre - swit chin sta te (     an  )   for  sel ect ing   ap pro pr i at switc hi ng  s ta te to  dri ve   I GBTs   o f   five - le vel  CH M I T hat  pe rfo rme by  MA T LAB  F un ct io n3   bl ock,  as  s how in  Fig ur e   5,   the   sou rce  cod e   a sh ow in  Fi gur e 12   is  giv e n first sect or  (  )   at  f irst t rian gle ( ).           Figure  12 .   Sou rce  c od e  li sti ng for   MATL AB  FUNCTI ON3 f or  pro duci ng s witc hing stat es       Finall y,   t he  s witc hing  sta te s   are  us e to  dri ve  IG BTs   of   the  in ver te r.   Figure  dep ic ts  simulat ion   models  f or  fi ve - le vel  CH MI.   N ote  that,  t he   switc hi ng   of   IG BT is  determine by  th e   switc hi ng   sta te s,  pro vid e that   the  s witc hing   of  uppe a nd  lo wer  I GBTs  f or  eac le m ust   be  co mp li m ented   to  eac oth e r.    The  ou t pu of  each  in ver te r   is  connecte to  an  i den ti cal   three - phase  a nd   series  c onnected  resist iv and     inducti ve  l oad s     2.3.   The  descri p tio n of  ex peri me nt al  set u   In   this  sect io desc ribes  t he   assignme nts   of   the  ci rcu i ts  or   c ompon ents  em ployed   to  set   up     the  e xperime nt al   platf orm   f or  ve rif ying   the   eff ect ive ness   of  SVM   te ch nique   f or  five - le ve casca de H - br i dg e   mu lt il evel  in ve rters.   T he  str uctu re  of  e xpe rimental   platf orm   in dicat ed  t he  c omp on e nt use d,  a s ho wn  in  Figure  13.  Th Fiel Pro gr a mmable  Gate  Array (FPG A Co ntr oller  w as  util iz ed  to  perform  t he  ta sk of  SVM tec hn i que.      2.4.   FPGA   co nt r ol le   Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele D ri   S ys t,   V ol 11 , N o.   3 Se ptembe 2020   :   1132     1144   1140   The   Fiel Pro gramma ble  Gat A rr a ys  ( FP G A)  Co ntr oller  i kn own   to   ha ve  high - sp ee cl ock  w hich  is  superi or  to  execu te   lo gical   or  dig it al   ope rati on.  It  feat ured   powe rful  Alte ra  C yclo ne   I E P42 2F1 7C6N   FPGA  with  22 ,320   l og ic   el e ments,  32  M B   of   SD R AM,  kb  EE PRO M a nd  64  M serial   co nfi gurati on   memor de vic e.  The   FP GA  bo a r 40 - pi Head e rs  (GPI Os)   pro vid e 72   I/O  pi ns 5V  po wer   pins,  two  3.3V  powe pi ns   a nd  f our  gro und  pin s 15 ma xi mu F PGA  I /O  pins  an 56  em be dd e m ulti pliers.  T he  DE 0 - Nano   boar in cl ud e a   bu il t - i US B   Bl ast er   f or  F PGA  pro gr a mmi ng,   a nd  the   boa rd  co ul be   po wer e ei ther   from   this   U SB  port  or  a exte rn al   po wer  s ource.   I nputs   an outp uts   inclu de pu s hbutto ns ,   us e LED a nd   set   of   dip s witc hes.   T he  boar incl ud e exp a ns i on   hea der t at ta ch  va rio us   te rasic  da ughter  ca r ds   or  o t her  dev ic es Fi gure   13  s hows   the  FPGA  receives   inf ormat io of  Q uar t us   II   pro gr a a nd  pre - s witc hing  sta te s       an  T he  FP GA  is  a cco unta ble  to   perf orm  the   assi gnm ent  of  sel ect in s uitable   swit chin sta te ba sed  on the  date  rec ei ved .  T his  ta s is si mil ar  to  t he  MA TLAB  F un ct io n3  blo c k as  dep ic te d i n Fi gure  5.            Figure  13 .   T he   ex per ime ntal s et up       2.5.   Qua r tu s  II  pr og r am   f or  FP GA  c ontr oller  board   The  Q uar t us   II  abs orbe t he  data  ob ta ine f rom  the   s witc hi ng   sig nals  f or   dri ving  I GBT sto red  in  M A TLAB   wor ks pa ces.   T hen,   the   data   we re   save in   E xce file Ne xt,  t he   data   we re  t ra ns fe rr e to   mif   file .   The   fir st  par t   in  pro gr a mmi ng  c reated   a   project   name   ( N ew  Proje ct ),  f a mil a nd   de vice  set ti ngs  for   FPGA.   The num ber   of wor ( 4001 ) were  sel ect ed wh ic c ou l tr ansf e the  d at from 1 s witc hi ng  stat es  of E xcel file   to  12  s witc hi ng  sta te of   mif .f il e.  T his  file   consi ste of   0 - 4000,  t hen,  dis playe the   mif   file at   Qu a rtus  II .     The   M e g a   Wiz ard  Plu g - I Ma nag e r   w ould  i ns ert   (sa 1…s a 4,  sb1… sb4   an sc 1…sc 4)  un der  ( mif  file ).  VHD L   file   was   create a nd  sa ved  a ‘s vm5level ’.vhd  f or  co mpu ta ti on al   pur pos es.  I ad diti on,  ot her  V H DL   Fil es  save as  ‘clk _div ’.vhd,   blan king_ c ompa rator’. vhd,  blan ki ng _lower _c ounter’.v hd,  blank i ng_mo d18’. vhd,   ‘b la nk i ng_upp er_ c ounter ’.v hd  a nd  blan ki ngte me_ main ’.v hd,  e dit  co ding  wer e   create as  s how i Figure  13.  T he n,  the   project   w as  a na lysed   afte ve rify i ng  the   s uc cess  of  the   ana lyses.   The   assi gn i ng  pin  on  F PGA  sel ec te pi pl ann e for  i np uts  a nd  24  out pu pins  12  lo wer  switc hi ng  ou t pu ts   an up per  switc hi ng  ou t pu ts .   Hen ce a  f ull c ompil at ion  des ign  wa s ucces sfu l   to   pr ogra mme  t he   FP G ha rdwar e   i order  to   see   th dis play   of outp ut  wav e form o n oscil lo sco pe,  as  s how in  Fig ure  14.   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow  Ele & Dri S ys t   IS S N: 20 88 - 8 694       Impleme nta ti on  of SVM fo r fi ve - le vel  ca sc ad ed H - br id ge m ulti le vel  ( M aher A bd  Ib r ahim Al - je w ar i )   1141       Figure  14 .   Flo wch a rt  of   a ppla id   FP G in   quart us  ii  pr ogra m       2.6.   Po wer  in vert e r a n gate  driver ci rcui ts   Figure  15   t he  FPGA  for  ci rc uit  casca de H - bri dge  m ulti le vel  in ver te C HMI  a nd  gate  dr i ver   e .g.  f or  five - le vel.   The   FP G c ontr oller,  it   a ppli ed   the  date   f rom  Qu a rtus  II  P rogr a t a bsor t he   gate   dri ve a n powe in ver te r   ci rcu it th ey   a re  us ed   to  pro du ce   d e sired   outp ut  volt ages .   The   ai of  use   gate  dr i ver  c ircuit was  t pro vide   isolat ion  between  the   el ect ronic  c on t ro ci rcu it a nd  powe i nv e rter   ci rcu it a nd  pr ov i de   enou gh  powe r   ex pa ns io f or  s witc hing  I G BTs.  He nce,   the  same   s witc hing  sta te we re  pro duced   f r om  the   ou t pu t   of  gate  dr i ver  ci rc uits,  yet,   with   diff e r ent  gro unding   po i nts.   T he  i de ntica switc hing  sta te wer e   use to   dr i ve  I GBTs  i CH M with  e nough  volt age  and  cu rr e nt.  Figure  15  s howe the   six   unit of   H - Brid ge  i nverter   ci rcu it to  plan five - le vel   C HMI  as   s how in  Fi gure  2.   E very  H - B rid ge   inv e rter  ci rcu i was  s upplied   by  a isolat ed DC v ol ta ge  sup ply .             Figure  15 .   T he  FPGA  for  ci rc uit   CH M I  and  gate dri ve e .g.  for   five - le vel       3.   RESU LT S  AND DI SCUS S ION   In  this   pa rt  e va luate the   tot al   ha rm on ic   di stortio ns  (T H D)  of   outp ut  volt age  a nd  t he   f unda mental   ou t pu t   volt age     f or  fi ve - le ve inv e rter   of  S pace   Vect or  M od ulati on  (SVM)   te ch niqu e.  T he   eval uat ion  is  base on the si mu la ti on r es ults i.e. the  value s o f TH a nd   f undame ntal o ut pu t v oltage a r e o btaine d usin Fast   Four ie Tra ns f orms  ( FFT an al ys is  an validat ed  with  the   exp e rime ntal  resu lt s.   T he  re su lt are  ob ta i ned   a t                                               Start   Generat o r F P GA   O Switchi n g   Sta te   Wo rk spa ce   Exc el fil e   Start   Qua rtus II   N ew  pro jec t   Ap p li ed  wi th  N am e   M e m o r y  In itial iz ati o n  Fil e   m if.   fil e   M ega   Wiz ard  P lu g - In   M an a g er   p ro ces s es   u n til fin i sh   VH D L  Fil e   C o m p u tat i o n   o f  VHDL  Fi les   Fu ll  c o m p il atio n   D e sig n   P ro g ra m m er   H ard ware  S e tup   B y   - US B   Outp u Wa v ef o r m   D isp laye d   A ssig n m ents   P in   P lan n er       Y es   Un successful   No   Y es   Un successful   No   P ro g ra m m er  is  succ essful   End   Evaluation Warning : The document was created with Spire.PDF for Python.