Int ern at i onal  Journ al of  P ower E le ctr on i cs a n Drive  S ystem   (I J PE D S )   Vo l.   11 ,  No.   4 Decem be r   2020 , p p.   1719 ~ 17 30   IS S N:  20 88 - 8694 DOI: 10 .11 591/ ij peds . v 1 1 .i 4 . pp 17 19 - 17 30       1719       Journ al h om e page http: // ij pe ds .i aescore.c om   Hardw are in  the loop   c o - s imulati on of fi nite set - m odel  predicti ve co ntr ol u si ng F PGA for  a thr ee level CH B invert er       Ma V an   Chu ng 1 D Tu an  An h 2 Ph uong  V u 3 M anh Li nh Ng uyen 4   1 ,2,3, 4   School  of E le c tri c al E ngin eering ,   Hano un iv ersit of   sci enc e   and  t ec hnology ,   No.1,   Da Co   Vi et ,   Hai   Ba   Trung ,     Ha  Noi,   Viet Na m   1   Hung Vuong Unive rsity ,   Nguye Tat  Tha nh,   No ng  Tra ng ,   Vi et Tri,  Phu  Tho, Viet   Nam       Art ic le  In f o     ABSTR A CT   Art ic le  history:   Re cei ved   Feb   9 , 2 0 20   Re vised  M a y   26 , 2 0 20   Accepte J un   20 , 2 020       Along  with   the  dev el opm e nt  of   powerf ul  mi cro pro ces sors   and   mi cro cont rol le rs ,   the  appl i ca t ion of   the  mode l   pre dictive  cont r oll er ,   which   req uire high   co mput ational  cost ,   to  f ast  dynami ca sys tems  suc as  power  conve rt ers  and   e le c tri c   driv es  ha ve  be come  a   t en denc r ecent ly .   I thi p ape r ,   two  soluti ons  ar offe r ed  to  qu i ckl dev el op  the  fini t set  pr edic ti ve  cur ren cont rol   for  indu ct ion  mot or   fed   by  3 - le v el   H - Bri dge  c asc ad ed  in ver te r .   First ,   the  field   prog r am m abl e   g at e   arr ay   (FP GA )   with  ca pab il i ty   of   par al l el  com put at ion  is  em ploy ed  to  m i nim ize  th computat ion al   ti m e.   Second,   th e   har dware   in   the  loop   (HIL)   co - simul ation   is   u sed  to   qu ic kly   ver ify   th deve lop ed  con tr ol  al gor it hm   wi thout   burde n   of   ti m on  h ard ware   d esign  since   th mot or   and  the   powe sw it che ar e mu la t ed  on  r ea l - time  pl at form   with  high - fid el i t ma th em a ti c al   mode ls.  The   implementation  pr oce dure   and   HIL  co - simu lati on  result s   of  th dev el op ed  co ntrol   al gori thm  show the   eff ective n ess of the  pro posed   sol uti on.   Ke yw or d s :   Ca scaded H - bri dg e i nv et e r   FPGA    Hardwa re i th e loop   Ind uction m otor c on tr ol   Pr e dicti ve  cu rrent co ntr ol   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 nh Lin h Nguy e n P huong  Vu   School  of Elec tric al  Engineer ing   Hanoi  Un i ver si ty of  Scie nce a nd Tec hnolog y   No.1,  Dai Co   Viet  Roa d,   Hai  Ba Tr ung,  Ha no i,   Viet   Nam   Emai l:   li nh . nguy e nm a nh@ hu st.ed u.vn phuo ng.vu ho a ng@ hust.e du.vn       1.   INTROD U CTION     Nowa day s m os co mmercia inv erter f or  AC  mac hin es   are  instal le with  fiel d - ori e nted - co ntr ol   (F OC ).  T f ur t her  im pro ve  t he   dy namic   res pons e   of  the   F OC,   ne w   co ntr ol  st rategies   ha ve   bee stu di ed  f or   the  c urren t   co nt ro l oop  su c as   s yn c hro nous  vect or  c on t ro l,  sta te   fee dbac c ontr ol,  dea dbeat   c on t ro l,   ne ur al   netw ork  a nd   f uzzy   co ntr ol  [ 1].  A mon th em,  m odel   pre dicti ve  co ntr ol  (MPC)  has  be en  c on si der e as  a   powe rful  al te r native  c ontr ol  method   f or  power  c onver te rs   an el ect rical   dr i ves  [ 2 - 8].   T he   M PC w hich  wa s   early d e velo pe i t he  1960s,   is  a a ppli cat i on o f   the   opti mal  co ntr ol  th e ory  [ 2] ,   in  w hi ch  t he  s ys te m  model  is   us e to   pr e dic the  fu t ur e   be hav i or  of   the   sy ste m   sta te i a   pr e def i ned  ti me  horizo and  the obta in  t he  op ti mal  co ntr ol   act ion   w hich   minimi zes   giv e cost  fun ct ion Des pite  of   a dv a ntag e su c as  intu it ive  con ce pt,  quic dyna mic  res ponse a bili ty  to  handle  c onstrai ne li nea a nd  no nliner   m ulti var ia ble  dy namic   sy ste ms  [3],   t he  ap plica ti on  of   M PC  is  re stric te in  the  fiel of  proce s con t ro due  t it relat ively   high   com pu ta ti onal   cost.   I rece nt  yea rs,  with   th de velo pme nt   of   of  high - spe ed  micr ocontr oller  a nd  FP G A,  the   high  co mputat ion al   c os pro blem  of  th M P can   be   so l ve f ollow i ng  t ha the   ap plica ti on  of  the   M P has   been  e xpan de to   fa st  dyna m ic al   sy ste ms   s uch  as   powe el ect ro nic   c onver te r a nd  el ect rical   dri ves.  Du e   t o   the  fact  that  the  po wer   el ec tro nic  co nv e rters  only  ha ve   finite   switc hi ng   sta te s,  finit con t ro set   model  pr e dicti ve  co nt ro ( FCS - MPC has   bee devel op e to  sel e ct   the  switc hi ng  sta te   f or   t he   conve rters  dir ect ly  Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele Dr i   S ys t ,   V ol 1 1 , N o.   4 D ecembe r   2020   :   17 19     17 30   1720   instea d of u sin mod ulator   wh ic is al s c ompli cat ed,  es pecial ly in m ulti  level i nv e rter s.  T he  FCS - MPC  h as   been  s uccess ful ly  ap plied   to   t he  c urre nt  c ontrol  i t hr ee - phase   i nverters   [9 - 14 ],  matri conve rter  [ 15] A n inducti on  mac hin [ 16 - 18 ].   An  imp r ov e FCS - M PC  is  a lso  propose t s olv e   the  vari able  switc hi ng  pro bl e m   ininducti on  mot or   (IM fe d b y 2 - le vel  vo lt ag e sour ce  in ver t er (VS I) [ 19].   M ulti le vel  c onver te r is  wide ly  us ed   f or  me diu m - vo lt age   ( HV)  a nd  high  powe a pp li cat ion s   due  t it rema rk a ble   ad va ntages   over   the   co nven ti on al   tw o - le ve VSI  s uc a s:  lo wer  volt age   stress lo we r at of   vo lt age  ch a nge  ( dv/dt ) , red uce total   har m oni c d ist ort ion (T HD) a nd lo wer switc hing  fr e quenc y w hich re su lt in   imp r ov e s witc hing  l os [ 9,20].   A mon the  m ulti le vel  inv e rter  t opol ogie s,  t he  C HB  is  the  m os s uc cessf ul   config ur at io and  al rea dy   c om me rcial iz ed   beca us of   it mod ularit [ 21 - 23].   T ypic al ly,  m otor  con t ro sy ste c onsist of  c on ve ntion al   c ontr oller   su c as   pro po rtion al - i nteg ral - dif fer e ntial   (PID ),   sta te   feedback ,   et c.,  a nd  a   pul se  wi dth  m odul at ion   (PWM ).  F or  m ulti le vel  in ver te rs t he  higher   the   le ve l,  the   m or e   co mp le x   the  P W M   al gorith is,  e spe ci al ly  when  oth e in her e nt   pro blems  of  the  m ulti le vel  topolo gies  s uc as   capaci tor  volt age   bala nce,   fa ul tolera nt  a bili ty  a re   co ns ide r ed. Hen ce t his   re searc f ocus es o t he  a ppli cat ion   of   FCS - M PC  t I M   fed   by  m ulti le vel  casca ded   H - bri dge  ( CHB)  in ver te r s.  I ns te ad  of   usi ng   t he  co nve ntion al   P W M ,   the   volt age  vecto w hich  minimi zes  t he  pr e dicti ve  c urren t   tracki ng   er ror  is  sel ect ed  directl in  ever consecuti ve  sa mp li ng  c ycle.  Without  P W al gorithm  a nd  by   us i ng   FP G [ 24 - 26]  as  t he   co ntro ll er th FCS - M PC  al go rith can  ea sil be  s ov le   in   ve ry   s hor ti me  f ollow i ng  that  the  res ponse   of   the  in ner   c urr ent  is   sign ific a ntly   imp rove i co mp a rison   with   the  c onve ntio na PID   co ntr oller.   Be sides m ulti ple  ob je ct iv es  ca al so   be  ac hiev ed  by  ap pro pr i at el ch oosin the  co st  f un ct i on.   T a void  wasti ng  ti me  on  ha r dware  des ign   a nd   the  ris ky  e xp e riments   with   hi gh  po wer  sys te ms,  HI L   platfo rm   ma nufact ur e by  T yphoon   is  em ploy ed  t qu ic kly  ve rif the d evel op e con t ro al gorithm.   By   usi ng  t he  T ypho on  H I L,  the  b eha vior   of  the   m otor  a nd  the   CHB  inv e rter   are  preci sel eval uated  i real - ti me  by  hi gh - fi delit mathe mati cal   mo dels Re al ti me  simulat ion s   with  va rio us  scen arios  a re  c onduct ed  an t he  r esults  s how  t ha the  em ploye FC S - M PC  a pp li ed   to  CHB - fe I M   dr i ve  ca achieve   go od  performa nce  not  only   in   te r ms  of  tracki ng  acc ur ac bu al so     dynamic  res pons e.         2.   SY STE M DESC RIPTIO N   2.1.   Ov er view o f CHB in vert er   The   ty pical   c onfig ur at io of  a   th ree - pha se   m ulti le vel  CHB  is  sho w i Fig ure   1   ( a ) T he  fun dame ntal  c ompone nt  of  t he   CHB   is  a   s ing le - phase   H - br i gd e   in ve rter   w hic is   nor mall cal l ed   a   po wer  cel l. Each  phas e of the  CHB c on sist of se ve ral cel ls co nne ct ed  in  series.       HB - A 1 HB - A 2 HB - An Z A Z A Z B Z C B C HB - B 1 HB - B 2 HB - Bn HB - C 1 HB - C 2 HB - Cn   ( a)     v dc v ac S 2 S 1 S 3 S 4   ( b)     Figure  1 .   (a St ru ct ur of a C HB  in ver te r; ( b) T opolog y of  a cel l       Assume  that  each  phase  c onsist of  n   ce ll con necte in  series  an each  cel is  fed   with  a ind e pende nt d c   volt age  s ource   V dc.   T he  powe s witc hes  S 1 - S 4   in  cel i   of  a   phase  ca be  c ontr olled  to   ge ne rate   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow Elec   & Dri S ys t   IS S N:  20 88 - 8 694       Ha r dw ar e i t he  lo op   c o - si m ula ti on  of fi nite set -   model  pre dicti ve co ntrol  u sin F PGA     ( Mai  Van C hung )   1721   three  vo lt age   le vels  {+V dc 0,  - V dc c orres pondin t cel sta te   S xi   ={1, 0,  - 1}  w her x   re pr ese nts  ph ase   a,   b   or  c . T he vo lt age   le vel of a  phas e is de fine as   the s um   of all   cel l st at es in tha t ph a se as  f ollow i ng :     0 n x x i i SS   (1)     The n umber o f  possible  volt age levels  for o ne ph a se is:     21 mn =+   (2)     The o utput v ol ta ge  of eac h p ha se is cal culat e d by     0 0 0 ;; n n n A N d c a i B N d c b i C N d c c i i i i v V S v V S v V S   (3)     2. 2.   Spa ce  volt age  vector  of 3 - le ve l CHB in verte r   volt age   vect or  is  f ormed   by  a   c ombinati on  of  s witc hi ng  sta te s.  T he  t ota com bi nations  of   the   CHB   inv e rter is as  foll ow :       3 ( 2 1 ) m Kn =+   (4)   2 1 2 6 1 v K n n = + +   (5)     In   mu lt il evel  CHB  co nverte rs,   sa me  vo lt a ge  vecto ca be  im plemente by  seve ral  c ombinati on  of  switc hing  sta te s.  He nce,   the  numb e of   volt age  vect or ar normall le s than   the  tota switc hing  sta te as  fo ll owin [ 9].   In   this   re searc h,  a   th ree   phase  thr ee   le vel   CH in ver te r   is   us ed  with  2 7 po s sible vo lt age  vec tors  in  sta ti αβ   co ordinate.   By   el imi nating  the  s witc hing  sta te s   w hich   ge ner at high   co mm on - mode  volt ag e,  the   numb e of  em ployed   volt age   vecto rs  a re  r edu ce t 19  as  sho wn  in  Fig ure   2.   The se  volt age  vet or   are   employe i th e FCS - M PC  in  the  nex sect io n.       ( 1 , - 1 , - 1 ) V 7 ( 1 , 1 , - 1 ) V 9 ( - 1 , 1 , - 1 ) V 11 ( - 1 , 1 , 1 ) V 13 ( - 1 , - 1 , 1 ) V 15 ( 1 , - 1 , 1 ) V 17 ( 0 , - 1 , - 1 ) ( 1 , 0 , 0 ) V 1 ( 1 , 1 , 0 ) ( 0 , 0 , - 1 ) V 2 ( - 1 , 0 , - 1 ) ( 0 , 1 , 0 ) V 3 ( 0 , 1 , 1 ) ( - 1 , 0 , 0 ) V 4 ( - 1 , - 1 , 0 ) ( 0 , 0 , 1 ) V 5 ( 1 , 0 , 1 ) ( 0 , - 1 , 0 ) V 6 ( 1 , 0 , - 1 ) V 8 ( 0 , 1 , - 1 ) V 10 ( - 1 , 1 , 0 ) V 12 ( - 1 , 0 , 1 ) V 14 ( 0 , - 1 , 1 ) V 16 ( 1 , - 1 , 0 ) V 18 ( 0 , 0 , 0 ) ( 1 , 1 , 1 ) ( - 1 , - 1 , - 1 ) V 0 2 1     Figure  2. S pac e volt age  vecto r of  a  3 - le vel C HB  in ver te r       2.3.   Model ing  of the i nduc tio motor   In stat ion a ry fr ame  α β, t he be hav i or of the  IM ca n be  repre sented  by t he  f ollow i ng equat ion s:     ;0 s s s s s s s r s s s r r p r d d R R j z d t d t = + = + Ψ Ψ u Ψ ii   (6)   Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele Dr i   S ys t ,   V ol 1 1 , N o.   4 D ecembe r   2020   :   17 19     17 30   1722   s s s s s s s s s m r r m s r r L L L L Ψ ; Ψ = + = + i i i i   (7)     I n w hich   s s r r R L R L ,, are r e sist ance and i nducta nce  of the  stat or  a nd  ro t or,  res pecti vely.    The  c urre nt and  flu x of  t he  st at or  a nd roto a re e xpr esse in  v ect or  form  as  foll ow :     [ ] [ ] [ ] [ ] [ ] s T s T s T s T s T s s s s s s r r r s s s r r r u u i i i i = = = = = u ; i ; i     (8)     Def i ning  new  var ia bles as:     2 1 ; , ; 1 ss sm r r m r r s m r s s r LL L TT L C R L L = = = =    (9)   f unda me ntal mani pu la ti on  on (1) an d ( 2)   r esults i n:     11 22 s s s s s s s r m s ss rm r m s d i dt d dt = + + =+ i A B u P A B i   (10)     with      1 1 2 2 1 1 1 1 ( 1 ) 1 1 ( ) 0 0 0 ,, 1 1 1 ( 1 ) 1 1 1 0 ( ) 0 0 s r s r r r s r s r r r T T L T T T T T L T T T  −− −+ −− = = = = = + A B , P ,   A B   Fo r   MPC   co ntr ol  desi gn,  the  con ti nu ous - ti m model  ( 10)  ne eds  to   be  t ransforme int di screte - ti me   model wit h sa mp li ng  per i od  T by  us i ng forwar d - Euler  me thod as  foll ow i ng :     , 1 1 , 1 , , , 1 2 , 2 , s s s s s k s k s k k r m k s s s r m k r m k s k + + = + + =+ i i u D i   (11)     in which     1 2 1 2 2 2 1 1 2 2 2 10 01 s s s s k s T T T TT = + = + =  = = =         I A I A B B ;   D P ;   I     Ba sed on ( 11),  the pre dicti ve c urren t i n N st ep  a head ca n b e comp uted b y:       11 , 1 , 1 2 1 1 1 1 1 , 2 , 2 , 12 12 1 1 1 1 1 1 1 1 1 ,, 0 . . . 0 0 . . . 0 . . . 0 . . . 0 . . . . . . ... ... ss k s k s k ss kk s k s k s sk NN N N N ss k k k s k N s k N ++ ++ −− −− ++ ++ = + + D iu DD iu i D D D iu   , ,1 1 ,1 ... s r m k s r m k s N r m k N + +−                (12)       3.   CONTR OL   D ESIGN   3.1.   FCS - M PC  des ign   The  blo c diagr a of  the   I M   c on t ro s ys t em  is   sho wn   i Fig ure   3 ( a )   wh ic c on ist s   of   t wo   oute r   loops  i nclu ding  a   spe ed   re gu la tor,   a   fl ux  re gu la to a nd  a inn e c urren t   loop  us i ng  FCS - MPC .   T he   tw ou te r   loops   desi gne i sync hro nous  ref e re nce   f rame   dq  ge ner at e   the   re f eren ce   sta to r   currents The n,  t hese   ref e ren ce   c urre nts  a re  t ran s f orme d   i nto  α β  c oor din at a nd  us e for   the   F CS - MPC   desi gn.   Ba sed   on  th I Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow Elec   & Dri S ys t   IS S N:  20 88 - 8 694       Ha r dw ar e i t he  lo op   c o - si m ula ti on  of fi nite set -   model  pre dicti ve co ntrol  u sin F PGA     ( Mai  Van C hung )   1723   model,  the  opti mal  vo lt age  ve ct or   is  c ho s en   to  minimi ze  a   cost  f unct ion   in  w hich  one  or   se ve ral  obje ct ives   may  be  c on si de red   s uc as:   minimal   tracki ng   e rro r,   ca pa ci tor  vola ge  ba la nce,  mi n im al   switc hing  lo ss,  et c.  The   detai FC S - M PC  al gorithm   w hich   is   act ivate i e very   co ns ec utive  sam pling  per i od  is  sho wn  in     Fig ure   3 ( b ) ,   i n detai ls.       w *( k ) Ψ rd ( k )* w ( k ) + - S p e e d   c o n t r o l l e r   i s q * F l u x   c o n t r o l l e r   i s d * i αβ ( k )* F l u x   m o d e l α β   d q   Ψ r _ α β   ( k ) i αβ ( k ) i αβ ( k ) w ( k ) θ s w ( k ) S a S b S c C o s t   f u n c t i o n P r e d i c t i v e   c u r r e n t   a t   i n s t a n t   k + 2 i αβ ( k + 2 ) F C S -   M P C + Ψ rd ( k ) - IM c b a v dc v dc v dc N 3 - l e v e l   c o n v e r t e r   C H B a b c i a α β   IE i b i c A p p l y   o p ti m al   v o l tag e   v e c to r   V ( k ) S tar t    Kn o w n             f r o m   o u te r   l o o p   C al c u l a te   s tato r   c u r r e n t F l u x   r o to r                         a n g l e       C a l c u l a te   r e f e r e n c e   c u r r e n t   0   + 1             Me as u r e   S to r e   o p ti m a l   v a l u e 19 Y N Wa i ti n g   f o r   n e x s am p l i n g   i n s tan t   (a)     ( b)     Figure  3. FCS  con t ro l st rateg y ( a)  IM   c ontr ol sc heme,  ( b)  Pr e dicti ve  cu rrent co ntr ol alg or it hm       3.2.   Co s t func tio sel ection   In  this  resea rc h,  the  cost   f unct ion   is   ch os e base on   the  predict ive   cu rr e nt  er r or  in   αβ   c oor din at of   the in du ct i on  mo to r.     3.2. 1.   Form ulat i on   of the cu rrent err or   The  e rror  between  the   predi ct ive  cu rr e nt  a nd  it re fer e nc can   be   ex pre ssed  a a a bsolt ute  value,   s quare  value   or  integ ral  valu [3].   If  only   the  pr ese nt  trac king  er r or   is  use by  the  c ost   functi on,  a bsolute   error   a nd  squa re  er ror  gi ve  s ame  pe rforma nce.  W he t he   pr ese nt  a nd   pa st  values  of   t he  trac king  er r or   a re  consi der e d,  the   square   of  e rro gi ves  bette t rack i ng  pe rformance  t han  the   abs olu te   e rror  wh il the   integ ral  of   error  gi ves  t he  best  performa nc e.  Howe ver ,   a   cost  f un ct io with  i ntegr al   of  trac king  e rro r   al so   re qu i res  hi gh e com pu ta ti onal   cost.     Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele Dr i   S ys t ,   V ol 1 1 , N o.   4 D ecembe r   2020   :   17 19     17 30   1724   3.2. 2.   Delay c om pens at i on   In  the   ideal   c ase,  th ti me  need e f or  ca lc ulati on   is   ne gligible.   A ssume  that   the   c urren ts   are   measu red  at   ti me  insta nce  t k the   opti mal  vo lt age   vecto r   that  mi nimize the  e r ror  at   ti me  instance   t k+1   is   chosen  a nd  a pp li ed   imme diate ly  at   t k T her e fore,  t he  l oad  cu rr e nt  tr acks  the   pre dicte cu rr e nt  a t k+1 Howe ver,  if  t he   cal culat ion  ti me  is  sig nifica nt  co mp a re t the   sam plin ti me,  the re  is  delay   be twee the   measu red  c urr ent  insa nt  a nd   the  a ppli ed  ne volt age  ve ct or   i ns ta nt.   D ur i ng  the   dela ti me,   the   pr e vious  vo lt age   vecto r   is  sti ll   ap plied,   w hich   makes   t he  l oa c urre nt  m ov e   a wa from   the   re fe rence   a nd  inc reas es  the   current  rip ple.   sim ple  s olu ti on  to  c omp ensate  this  del ay  is  to   ta ke  t he  cal culat io ti me  into  acc ount  a nd  app l t he  sel e ct ed  vo lt age   ve ct or   a fter   the   ne xt  sam plin in sta nt  [3 14 16] T he  l oa c urre nt  rea ches  t he   pr e dicte d value  at t k+2     3.2. 3.   Predi cti on   of futur e r eferences   In  ge ne ral,  th e   f uture  ref e rence are   un known   a nd  nee de t be  est imat ed  by  us in a   seco nd - or der  extra po la ti on  [ 10] H ow e ve r,  for  s uffici ently  small   sam pli ng   ti me the  f uture  re fer e nce   value  at   ti me  t k+2  is   assume to  b e  ap pr ox imat el y equ al   to   th e pr esent ref e re nce  v al ue   at   ti me   t k   [ 3] :   ** ) 2 ) (( kk + ii Ba se on   the  aforeme ntio ne a nalysis,  the  cost  f unct ion i s  chose as:     ** ( ) ( 2 ) ( ) ( 2 ) J k k k k =+ + + i i i i   (13)     * ) ( k  i Re fer e nce   sta tor  c urre nt of t he  m otor i n αβ  coor din at e at t ime i ns ta nce  t k .   2) ( k  + i Pr e dicti ve   sta tor  c urre nt of t he  m otor i n αβ  coor din at e at t ime i ns ta nce  t k+2 .       4.   FPGA   I MPL EMENT ATION   4.1.   Functi onal int ernal cir cuit  (IC)  desig n.   c ompli cat ed   al gorith ca be   di vid e i nto   man small er  cal culat io ste ps   a nd  a i nt ern al   ci rcu it   needs  to  be  de sign e an pro gr a med  func ti on al y   to  perf orm  each  ste p.   A IC  inclu des  tw f unda mental   blo c ks fi nite  sta te   machin (F S M)  an a   processi ng   un it   (P U)   a sho wn   i n   Fig ure   4 ( a ) T he  F SM  blo c con ta in al fin it sta te of   the   IC  an co ntr ol   sign al to pro c essing  unit Me anly  or  Moor method   a re  usual ly   us e to  desi gn  the FS M   with  s ever al  t yp ic al  s ign al s:  cl k r st init   and  do ne.   I n wh ic h,   Clk   a nd  rst   are  ope r at ing   cl ock  a nd  reset  sig nal  f or  the   ci rcu it res pect ively.   I nit   a nd  done   sig nal   is  set   to   1’  for   only   one   cl oc per i od   wh e t he  IC  s t arts  an finis hes  it operati on.  T he  done   sign al   is   co nn ect ed  to   the  i ni sign al   of  th othe r   ci rcu it   s that  seq uen ti al   cal c ulati on  ca be   imple mente d.  Since   a inter nal  ci rc uit  only  operates   in   a   fi xed   small   ti me  an is  inact ive  m os of  th ti me this  de sig a vo i ds   the   pr opagati on  of  un e sp ect ed  glit che an reduces   the   F P GA  powe c on su m ptio n.  T he  PU  bl ock  c onta ins  operat or s   +,  - ,   x,  a nd  ta kes   D ata_in   as   in pu t   data  to   cal culat an t hen  se nd  the   re su lt t the  D ata_out  unde r   the   co ntr ol  of  t he  F S M .   The   s tr uctu re  of  the   PU  is  desig ne by  t he  pi pelined   str uctu re   as   s how i F igure  4 ( b )   t s yn c hro nize  t he   data   a nd  sig na ls.   c.   Pr e dicti ve  cu rrent co ntr ol im pl ementat ion ba sed o FP G A p la tfor m .   The   fl ow  c har t   s how i Fig ure  5 ( a )   il lustrat es  how   to   im plement   the   FCS - MPC   for   cu r r ent  loop  of   the  I M   on  F PGA  platf orm.   To  so l ve  the  al gorithm  desc ribe in  the  previo us   sect io n,  there  are  nin e   ste ps   corres pondin to  ni ne  inte rn a ci rcu it s.  T he  name  of  Ste p1   to  Step are:  ADC_re ad ab c_to β Dq_t o_αβ Is_ t o_ fl ux Pr e_mo del J _c al c   ci rcu it ,   Fin d_mindJ αβ_ t o_dq   a nd  Flu x_mo del,  res pe ct ively Since   Ste p2   requires   the   da ta   cal culat ed   in  Step 1   w hile  Step 3   re qu ire the  data  from   Step 2 ,   the   ope r at ion   of  ci rc uits  1,2 ,3  is  sequ e ntial S imi la rly,   the  ci rcu it 3,5 , 6,7  a nd   8,9  mu st  run  se qu e ntial ly.  M ea nwhile St ep5   re qu i res  th data   from  bo t Ste p3   a nd  Ste p4 so   that  ci rc uit  an m us op e rate  in  paral le l.  Be cause  ci rcu it   needs   more   cal culat ion  ti me  tha ci rcu it   3,  ci rc uit  only  ta ke   the   i nput  data  wh e ci rcu i e nds  it operati on,   wh ic means   the   done   sig nal  of  ci rc uit  is  the   init   sig nal  of  ci rc uit  5.  On  the   ot her   ha nd,  Step 9   on l re qu ire s   data  from  Ste p8   w hi ch  mea ns   ci rc uit  an ope rate  in  pa rall el   with  ci rc uit  3,5 ,6 , 7.  Finall y,   t he  e xec ution  ti me  of   th FC S - M PC   is  sho wn  i Fig ure   5b.   As   ca be   ob se r ved,   se ver al   ste ps  can   be   ca rr ie ou t   in   par al le wh ic reduces  the  c omp utati on al   ti me  of  the  im plemented  al gori thm.  T he  par al le computat io abili ty  of  the   FPGA,   wh ic is  not  a vaila ble  in  c onve ntio nal  D S P/mi cro c ontr oller,  al lows  the   M PC  to   be  a pp li ed   to  ma ny  ot her  fiel ds   without  hav i ng to w orr a bout the  c omp utati on al  ti me.      Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow Elec   & Dri S ys t   IS S N:  20 88 - 8 694       Ha r dw ar e i t he  lo op   c o - si m ula ti on  of fi nite set -   model  pre dicti ve co ntrol  u sin F PGA     ( Mai  Van C hung )   1725   F S M Pr o cessi n g   Un i t C ont r ol   s i g nal I nit D o n e r s t c l k I nit r s t D a t a _ in D a ta _ out Done     (a)     RE G RE G RE G RE G RE G RE G RE G X X X X RE G RE G RE G RE G RE G RE G MUX sel + - + - A 11 K 11 A 12 Ψ  K 21 A 22 K 22     ( b)     Figure  4 .   F un ct ion al (a) IC  str uctu re, (b)  Pip el ined  str uct ure       1 . R e a d   A D C - M C P 3 2 0 8 ( S P I   s t a n d a r d ) 2 C l a r k   t r a n s f o r m a t i o n   o f   c u r r e n t a b c _ to _ αβ 4 C a l c u l a t e   f l u x   r o t o r   i n   α β   c o o r d i n a t e Is _ t o F lu x 7 F e c t h   v o l t a g e   v e c t o r   t o   m i n i m i z e   t h e   c o s t   f u n c t i o n   F i n d _ m i n J A D C _ r e a d R e f e r e n c e   c u r r e n t   f r o m   s p e e d   a n d   f l u x   r e g u l a t o r 5 P r e d i c t i v e   c u r r e n t   m o d e l   a t   i n s t a n t   k + 1 k + 2     P r e _ m o d e l G e n e r a t i n g   t r i g g e r   s i g n a l s 6 C o s t   f u n c t i o n   J _ c a lc C u r r e n t l oop   F C S - M P C 8 T r a n s f o r m   i αβ   i n t o   i d q     αβ _ to _ dq 9 F l u x   r o t o r   m o d e l   F lu x _ m o d e l 3 T r a n s f o r m   i * αβ   i n t o   i * d q     Dq _ to _ αβ     (a)   A D C _ r e a d αβ _ to _ dq dq _ to _ αβ Is _ t o F lu x αβ _ to _ dq P r e _ m o d e l J _ c a l Fi n d _ m i n J Flu x _ m o d e l E xe c ut i on t i m e ( s ) C i r c ui t   ( s t e p     (b)     Figure  5.   Flo w char t,   ( a F PGA im pleme ntati on   ( b)   IC’s  exe cution t ime       Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele Dr i   S ys t ,   V ol 1 1 , N o.   4 D ecembe r   2020   :   17 19     17 30   1726   4.2.   HIL - FP GA pl atfo r m   To   quic kl veri fy  the   FCS - MPC   f or  IM  without  risky   ex pe riments,   real - ti me  simulat io base o HI platfo rm  a re  co nducte d.   The  vi rtual  I mo to wit pa rameters  pro vid ed  i Table  1   and   t he  3 - le vel   CHB  inv e rter  a re  si mu lt ed  by  T yphoon  HI 402  de vice.  T he  c on t ro al go rith is  impleme nted  by  F PGA  car name ZYB O - 27.  The   blo c diag r am   an the  e xperime nt al   de vices  of  t he  real - ti me   si mu la ti on  s ys te a re   sh ow in  Fi g ure   a nd Fi g ure   7,   res pecti vely .       w *( k ) w ( k ) + - S p e e d   r e g u l a t o r i s q * F l u x   r e g u l a t o r i s d * Ψ rd ( k )* i αβ ( k )* F l ux m ode l α β   d q   Ψ r _ α β   ( k ) i αβ ( k ) i αβ ( k ) w ( k ) θ s w ( k ) C o s t   f u n c t i o n P r e d i c t i v e   c u r r e n t   a t   i n s t a n t   k + 2 F C S -   M P C + Ψ rd ( k ) - IM c b a v dc v dc v dc N 3 - l e v e l   c o n v e r t e r   C H B ZY BO - Z 7 IE i a i b i c w V d c V dc ( k ) V d c a b c α β   Typ h oon  H I 402 S i g n a l   m e a s u r e m e n t Tr i g g e r   s i g n a l s     Figure  6. Bl oc k diag ram of  th e HIL - base si mu la ti on s ys te m       Table  1 . Para m et ers  of t he  I M   Sy m b o l   Qu an tity   Valu e   P r ate   Rate p o wer   2 .2k W   T r ate   Rate to rqu e   7 .3Nm   I r ate   Rate p h ase current   4 .7A   V r ate   Rate p h ase v o ltag e   400V   f r ate   Rate freq u en cy   5 0 Hz   N r ate   Rate sp eed   2 8 8 0  r p m   R s   Stato resistan ce   1 .99  Ω   R r   Ro to resistan ce   1 .84  Ω   L m   Mutu al  in d u ctan ce   0 .37  m H         Figure  7. Ex pe riment  de vices       5.   RESU LT S   A ND D I SCUS S ION     In  this  sect io n,  va rio us   real - ti me  simulat io ns   a re  ca rr ie out  to   ve rif the  de velo pe FC S - M PC  app li ed  t I M   con t ro l.  Fi rst,  the  tran sie nt  re sp onse  of   t he  con t ro s ys te m   with  the  loa disturba nce  is  te ste d.  At  ti me  instan ce  t = {0.0 5s 0.5s,   0.7 5s } th load   to rque  is  su dde nly   c ha ng e with  co rr es pondin va lues     T L = {0 0 . 5 T rate   T rate   w hile  the  ref e re nc sp ee is  fix ed  at   ω ref = 300(    1 ).   As  can  be   ob se r ved   i   Fig ure   8,  the  e le ct ro ma gn et ic   tor que  gen e rat ed  by  the  I M   quic kly  trac ks   t he  loa t orq ue  to  mainta i the   r oto r   Evaluation Warning : The document was created with Spire.PDF for Python.
In t J  P ow Elec   & Dri S ys t   IS S N:  20 88 - 8 694       Ha r dw ar e i t he  lo op   c o - si m ula ti on  of fi nite set -   model  pre dicti ve co ntrol  u sin F PGA     ( Mai  Van C hung )   1727   sp ee at   it de sired   val ue.  Fr om   ti me  in sta nce  t = 1.5s ,   s peed  re ve ral  of   the   I w it co ns ta nt  l oad  is   inv est igate d.   T he  re fere nce  s peed  is  cha nge at   ti m insta nce  t = 1.5s   a nd   t = 4.3s   with  c orres pondin va lues   N ref = - N rate   and   N ref = 0 I this  case,  the  r otor  sp ee al so   qu i ckly  trac kes  it ref e ren ce  with  ne gligible  tr ackin error,  i.e. ab out  0.2   rad/s .   I the  sec ond  sc enar i o,   t he  a bili ty  to  gen e rate  el ect ro ma gn et i tor que  at   sta nd sti ll  of   t he  I M   c ontr ol  sy ste i cl arified.  W it employe FCS - M PC  f or   the  cu rr e nt  loop,  t he  ge ne rated  el ect ro ma gn et i tor que  quic kl trac ks  the   load   to rque   at   zero  s peed  in   j us 3ms   as   s hown  in   Fi g ure   9.  This   qu ic respo nse   is  suffici ent   for  mo st  pra ct ic al   app li cat ion an c ompara ble  to   the   well - known   direct    tor qu e  contr ol  (D TC ).       S p e e d   m o t o r T o r q u e   m o t o r       (a)     T w S p e e d   m o t o r T o r q u e   m o t o r   ( b)     Figure  8.  E le ct romag netic  to r qu e ( a)  Time - varyin s pee d moto a nd loa d t orq ue,   ( b) Z oom - in  res ult     Evaluation Warning : The document was created with Spire.PDF for Python.
            IS S N :   2088 - 8 694   In t J   P ow  Ele Dr i   S ys t ,   V ol 1 1 , N o.   4 D ecembe r   2020   :   17 19     17 30   1728   S p e e d   m o t o r T o r q u e   l o a d   (a)       ( b)     Figure  9.  Ge ne rated t orqu e ,   ( a L oad to rque a nd loa c urren t  at sta nd sti ll ( b) Tor qu e  step  respo ns e       6.   CONCL US I O N   In   t his  pap e r,   a a dv a nce s ol ution  to  quic kl dev el op  the  FCS - M PC  for  IM  fe by  m ulti le vel  CHB   inv e rter  is  dis cusse d.   First,  t he  beh a vi or   of   the  sta to c ur ren i fu t ur e   is  pr e dicte w it each   of  po ssible   vo lt age  vect or   base on  the  e xp li ci discrete - ti me  m at hem a ti cal   mo del  of  the  I M T he  opti mal  vo lt age  ve ct or  wh ic fu l fill   the  obje ct ive  of  prede fine c os f unct io is  sel ect ed  an a pp li ed   to   the   CHB  in ver te r.   S econd,   the  FP G with  par al le cal c ulati on   abili ty  is  us e to   mi ni mize   the  c ompu ta ti onal   ti m of  the   co mpl ic at ed   con t ro al gorithm   li ke  M PC Finall y,  to   el imi nate  the   bur den  of  ti me  on  ha rdwa re  desi gn  as   well   as   t a void   po te ntial   risks  with  high  pow er  e xp e rime ntal  sy ste ms real - ti me  simulat i on s   wit hi gh - fideli ty  mat he mati cal  models   im plemented   by  H I platf orm  are   co nducted   to   ver i fy  the  c ontr ol  al gorith m.  Ach ie ved  r eal - ti me   simulat ion show  t hat  the  de velo ped   FCS - M PC  giv es  good   perf or m anc no on l in  s te ady - sta te   bu t   al so   i transient - sta te .   Evaluation Warning : The document was created with Spire.PDF for Python.