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.  4053 ~ 40 72   IS S N: 20 88 - 8708 DOI: 10 .11 591/ ijece . v10 i 4 . pp 4053 - 40 72          4053       Journ al h om e page http: // ij ece.i aesc or e.c om/i nd ex .ph p/IJ ECE   Test  plat form f or electr onic cont rol un its of high - pe rform ance  safety - cr itical mu lti actuat or syst em s       Giovan ni Buc ci , Fabriz io C iance tta,  E doa rdo Fi orucci,   Simone  Mari   Depa rtment  o I ndustria l   and   Inf orm at ion  Eng ineeri ng  and Ec ono m ic s,  Univer sit of  L’Aqui la,  I tal y       Art ic le  In f o     ABSTR A CT    Art ic le  history:   Re cei ved   J un  10 , 2 019   Re vised  Ma r 5 ,   2020   Accepte Ma r   15 , 202 0       In  thi pape we   are   m ostl y   concerne with  the   p roble m   of  te stin el e ct ron i c   cont rol  uni ts  of  s y nchr oni ze d   el ectri power  ac tuators.  Th is  ta sk  is   par ticula r l y   complex  for  safe t y   cri tica applicati ons,  where   it   is  cru cial  th a t   the   con trol   s y s tem   prope rl y   r e a c ts  in  response  to   the   fau lt that   are   har to  rep roduc and  ver if y .   cost - eff ective   f le xib l and  rec onf ig ura ble   t est   pla tform  is  pr oposed,   discussing  it arc hi tectur and  impl ementa t ion .     The   proposed  s y stem  fac il i tates  t he  phase   of  def i nit ion  and  d eve l opm ent   of   the   el e ct roni c ontrol   uni t,  allo wing  the  interfa ci ng  towar ds  bo th  h y dra u li c   and  el e ct rom ec h ani c al   actua tors ,   and  havi ng  high  fle xibilit y   as  reg ard   the   I/O  signal s.   Som result s,  obta in ed  during   the   la bor at or y   te st  activit y ,     are   al so pr ese nt e d.   Ke yw or d s :   Mult i act uator  syst e m   Mult it hr eadi ng techn i qu e   Synchr onous  ha nd li ng   Test  of elect r onic  contr ol  un it   (ECU )   Copyright   ©   202 0   Instit ut o f Ad vanc ed   Engi n ee r ing  and  S cienc e   Al l   rights re serv ed .   Corres pond in Aut h or :   Ed oardo Fio r uc ci ,     Dep a rtm ent o f Ind us tria l an d I nfor m at ion  E nginee rin a nd  Eco no m ic s,   Un i ver sit y o f L’A quil a,   Via G.  Gro nchi  1 8 C am po  d Pil e 6 71 00, L Aquila Ital y .   Em a il : edo ar do.f io ru cci @univ aq. it       1.   INTROD U CTION     Power  act uato rs  are  essenti al ly   s yst e m s   t hat  prov i de  con t ro ll ed  m ove m ents  or   posit ion in in   respo ns t c on t ro si gn al They  em bo dy  m oto rs,   cy li nders,   or  oth er   m otion  de vices  t pro du ce   r otati on s   or   li near   translat ion of   a obj e ct The  m echa nical   com po n e nts  of   the  pow er  transm issi on   co nn ect   the  act uato r   to  the   sh i fted  obj ect As   the   proces in dus try   co ntinu e t ac hieve   m or eff ic ie nt  an pro duct ive  plant,     new   act uato rs   are  desig ne an ap plie (e. g.   pac ka ging  m achines,  pro duct io m achiner y,   et c.).     Ma n act uators  are  ap plied  in  m edical   eq uip m ent,  auto m ot ive  and   ae ro s pace  syst e m s,  and   even   in  ci vil  eng i neer i ng to m ov e large  s ur faces  (e. g.   rive fl ow b a rr ie rs, r oof  se gm ents o f  a stadi um ).   Re gardin the   ty pe  of   powe act uato r,   it   is  possible  to  i den ti fy  tw m ai cat eg or ie of   syst em s:  pr ess uri zed  fl uid   a nd   el ect r ic   m oto r.   I the  rece nt  ye ar s,  m any  co m pan ie are  m oving   to wards  el ect ric   act uator s wh i ch  s how  gr eat   ad van ta ges:  ( i)  re du ct io of  co sts  an dim ension s   due   to  the  a bs e nc of   add it io nal  flui po wer   s up plies;   (ii)  great er  eff ic ie ncy;   (iii )   gr eat e res ponse   sp ee d;  (iv r edu ce m ai ntenan ce   pro blem and   fire  haza r ds .   I n   r e c e n t   y e a r s   t h e   d e v e l o p m e n t   o f   e l e c t r i c a l   a c t u a t i o n   s y s t e m s   h a s   d r i v e n     t h e   t e n d e n c y   t o   r e p l a c e   t h e   h y d r a u l i c   d e v i c e s   h i t h e r t o   u s e d   i n   a   w i d e   r a n g e   o f   a i r c r a f t   a e r o d y n a m i c   c o n t r o l   s u r f a c e s   ( r u d d e r s ,   a i l e r o n s ,   h o r i z o n t a l   s t a b i l i z e r s   o r   f l a p s ) ,   w i t h   t h e   a i m   o f   c o n v e r g i n g   t o   t h e   a l l - e l e c t r i c   a i r c r a f t   [ 1 ] .   Du to  the  li m i te torsional  ri gid it of   the  m ov i ng   dev ic e in  so m app li cat ion m or ac tuato rs  w ork  tog et he to  pos it ion   it sh ari ng  the  loa d.   In   oth e cases,  th ere  are  tw or   m or axes  of   m ot ion   ( ei the work i ng   ind e pende ntly   or   m ov ing  to ge ther)  that  m us be  c oor din at e (m ulti - axis  synch ronizat ion)  s uch  as  for  pri ntin pr ess es,  X YZ  m achines  an rob ots.  Mult iple  el ect ric  act ua tors  are  ap plie in  industry,  f or   exam ple  for   dr ive   wh eel th at   ar par of  the  sam e   asse m bly  li ne  (in - wh e el   te chn ol og y ) they   are  al so  us ed  on  cars   [2 ]   or    bu s es  [ 3 - 5].  T he   con t ro l of   t he   high - pr e ci sion  m ov em ent  of   t he  c oo per at in act uators  is  r at her  d iffic ult  ta sk .   Wh e se ve ral  act uato rs  m ov the   sam platfo rm the  synch ronizat io of   posit ion s   an s peeds  m us be   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 2020  :   4053   -   4072   4054   achieve with  pr eci sio n,   i or der   to  acc urat el determ ine  its  pro gr essi on   over  ti m [6 ] These  as pects  ar a lso   i m po rtant  for  t win  par al le operati ng  act uator t hat  eq uall div ide  t he  lo ad  betwee th e m   to  el i m inate  any   force  fig hting.  I n   s o m e   c r i t i c a l   a p p l i c a t i o n s ,   a f t e r   a  f a i l u r e   o f   t h e  p o w e r  s u p p l y   o r   a c t u a t o r ,   t h e   a c t u a t o r   c o n c e r n e d   m u s t   b e   c o n f i g u r e d   i n   a   p a s s i v e   d a m p i n g   m o d e ,   t h u s   r e i n t r o d u c i n g   t h e   s h a r i n g   p r o b l e m   o f   t h e   l o a d   [ 7 ] .     In  these   ad va nc ed  syst em the  posit ion ,   ve l ocity acce le rati on  an f orce/ torque  are   con t ro ll ed   as    functi on   of   ti m e,  fo ll ow i ng   require ta rget   pr ofi le the  act ual  values  de riv e from   the  feedbac sen so a re   com par ed  wit tho se  of   the   m otion   prof il e,  to  gu ide  th act uator   co r rectl y.  Also   th cl os el con nected  act uator m us al be  in  the  sa m sta te  a al tim es,  acce le rati ng de cel erati ng   an stoppin toge ther.  Fu rt her m or e,  if   o ne  act uato stop due  to  f a ult,  the  ot her   m us al so   stop .   The  pe rfo rm a nce  of  these  ac tuator s   dep e nds  m or on   t he  co ord inati on   of   m ulti ple  m otion   act uator t han   on   i nd i vidual  act uator   be havi our s .     Mult i - act uator  syst e m wit go od   s pee trackin an synch r oniz at ion   perf or m ance  require  el e ct ronic  coor din at in g,   m on it or ing  an c on t ro unit capa ble  of   pre ci sel con tr olli ng  both   the  po sit ion   a nd  the  app li e force  [ 8].  Si nc com plex  syst e m m ay   le ad  t fail ure  a nd  losses,   hi gh  int egr it an fail ur survi val  ca pa bili ty   are  fr e qu e ntly   require (e. g.  a ct uation  f or  fli gh t   co ntr ol).  R edun dan ci es   a nd  fa ult  detect ion s   ar im ple m ented   to  quic kly  detect   fa ult,  in  order  to  a void   syst e m   fail ur e s.  Va rio us   te c hn i qu e are   im plem ented,   bas ed  on   hard war re dund a ncies  (se nsors ,   act uat ors,   co ntr ollers)   [ 9 - 13]   or  on  a ct uator  m od el ing  an pa ram et er  est i m ation   [10]. T hese a dd it io nal co m pone nts incr ea se the  c om plexity  o t he  act uat or co nt ro ll ers.   In   the  pa st  the  te st  of   each  ind ivid ual  act uat or   re presente the  m os dem a nd i ng   te st  act ivit y.  Tod ay   these  te sts  ar par of  r ou ti ne  act ivit ie an are   de fi ned  in  detai by  s pecific  sta nd a rds.  C urre ntly    the  assessm ent  of  the  el ect r onic   co ntr ol  uni ts  (ECUs repr esents  the  m ai te st  act ivit y.  As  t he  co ntr ol le rs   grow   in  c om plexity even   the   te s ti ng   chall eng e [14 - 19] Test ing   act ivit ie fo th co ntro ll er  are  par ti cularly   exp e ns i ve,   due  to  the  high   functi onal   de ns it and  the   num ero us   de gr ees   of  f ree dom   in  the  co ntr oller   config ur at io n.   Their  perf orm ance  m us be  validat ed  against  al operati ng   c on diti on of  the  act uator.     Most  com m on ly this  will   include  posit ion   and   l oad  co ntr ol  thr ough  the   com plete   strok of  the  a ct ua tor  a t   bo t m ini m u m   and   m axim u m   sp eeds.  Furt her m or e,  t he  I /O  sig nal  m an agem ent  sect ion   m us be  eva luate d.  Since  c omm u nicat ion   i nter f aces  al so   play   an  im po rtant   ro le it   is  ne cessary  to  ca r ry  out  te sts  to   ver ify     the  correct   fun ct ion in of  the   basic  and   re dunda nt  com m u nicat ion   syst em .   In   safety - cr it ic al  app li cat ion it   is  essenti al   that  the  co ntr ol  syst e m   reacts  cor re ct ly   in  resp ons t fau lt s.  T t est   these  co nd i ti on s,  th te st  syst e m   m us be  able  to  e m ulate   var io us   erro sit uations.  Exte nsi ve  te sts  in  t hese  at ypic al   conditi ons  are   ver i m po rtant,  also  b eca us fail ure eve nts r a rely   occur,  and t herefo re a re  diff ic ult t o rep rod uc e an d ve rify.   In   t his  pa per   w pro po se a   c os t - e ff ect ive  te st  platfo rm   fo the  aut om at ed  te sti ng   of  EC U s.  To  m eet   the  te st  re quire m ents  of  a   m ulti - act uator   syst e m the  te st  s yst e m   is  able  to  sim ultaneous ly   te st  num ber   of  interco nnect ed   sync hron iz e el ect ric  act u at or s T he  pro pose te st  ben c is  base on  the  N c om pact  RI O   (cRI O)   syst em an  ad va nced   e m bed de c on t ro an data  ac qu isi ti on  syst em .   This  te st  ben ch  is  flexi ble  and  reconfi gura ble test  p la tfor m , s uitable  f or a w ide r an ge  of ap plica ti on s and p er form ance   req ui rem ents.  The  te st  platfo rm   is  able  to  gen e rate   al the  sign al require by  the  ECU,  bo th  as  el ect rical   I/O  sig na ls  and   a com m un ic at ion   buses.  PC  connecte to  t he  syst e m   act s   as  the  m ai actu at ion   c on t ro ll er  an us er  int erf ace.   The pr opose d s yst e m   is scal able, b ase d o th e num ber  of E CUs.    Using  the  pro pose m od ular  syst e m it   is  po ssible  to  te st  ECU  f or   c omm ercial ly   availab le   el ect ric  act uator s;   besi des,  it   is  possi ble  to   ef fici ent ly   perform   fu nc ti on al   te sts  of  the  ECU  duri ng  the   early   st ages  of   de vel op m ent.  I can  al so   ea sil ver ify   stric qu al it com pli ance.  A im po rtant  te st  f or   m ulti   act uator   syst e m is  that  relat ed  to  the  c orrect  f un ct io ning  of   t he  com m un ic at ion   inter faces.   key  c halle nge  f or   te sti ng  s afety - crit ic al  syst e m s is the  posit io syn ch ronizat ion t est  for t he  t rack i ng er ror m easur em ent.    Our  pro posal   is  essenti al ly   mo ti vated  by  the   i m po ssibil it of   fi nd i ng   s pec ific   te st  sys tems  fo the se  ty pes  of  a ppli cat ion on  t he   m ark et F ur th erm or e,  sim i la te st  syst em s   do  not  ap pea to   be   descr i be in     the  rece nt  bib l iograp hy.  So m te st  de vices  are  c omm ercial ly   avail able,  bu sp eci fical l for  te sti ng  c on t ro l   un it f or  inter nal  com bu sti on  en gine s   the   pro po se te st  platfo rm   is  cost - eff ect iv be cause  it   is  bas ed  on   com m ercial ly   avail able  instr um ents.  It  pro vid es  a intuit i ve  en vir on m en fo ge ner at in te st  prof il es,  al arm s ,   us er   inter face   an data  ac qu isi ti on.  I t he  fo ll owin sect ion we   will   discu ss  t he  a rch it ect ur an i m ple m entat io n of t he  te st  pl at fo rm . F urt he r m or e, the  re su l ts of the la bora tory t est s ar e  presente d.       2.   THE  R EFE R ENCE  A RCH IT ECTU RE  OF THE  HIG H - PE RFO R MAN CE  MUL TI AC T U A TOR  SY STE M   The  syst em   ta k en  as  re fer e nc is  an  ad vanced  an r el ia ble  m ulti   act uator   syst e m   with  nu m ber   of   ind e pende nt  act uator s ar ranged   t track  the  desire tr ajecto ries  w hil keep in th ei sp ee the   sa m e.   As  is norm al l the case, a  m ov em ent co ntro l  co m pu te (MCC ),  interf ace with the ope r at or , s e nds com m and to  s up e r visor   el ect ronic  co nt ro un it   ( SEC U) .   T h e   S E C U   i n t e r f a c e s   s o m e   e l e c t r o n i c   c o n t r o l   u n i t s   ( E C U s ) ,   e a c h   o f   w h i c h   o p e r a t e s   a s   s y s t e m   c o n t r o l l e r   f o r   t h e   r e l a t e d   e l e c t r o - m e c h a n i c a l   a c t u a t o r   ( E M A ) ,   a s   s h o w n   i n   F i g u r e   1 .     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       Test pl atform f or  elec tro nic c on tr ol  un it of  high - perfo rm ance s afety   ( Giov anni B ucc i )   4055   M C C SE C U E C U 1 E M A 1 E C U 2 E M A 2 E C U 3 E M A 3 C o n t r o l l ed s u r f a c e     Figure  1. A rch i te c ture of a m ulti  actuat or  syst e m       The  MC rece ives  an proce sses  SEC U’ da ta   and   opera t or   i nputs,  i or der   t m on it or   and  co ntr ol   the  act uator s ECUs  are  esse ntial ly   e m bed ded   de vices  that  com m un ic at e   with  the  SECU  in  order   to  interac t   and   c oor din at e   their  beh a vi our More  in  de ta il the  SECU  m anag es  the  MC co m mands,  set the  EMAs   op e rati ng  m ode,  co ntr ols  the  po sit io a nd  spe ed  of   w ho le   s urface,  a nd  dis tribu te t he  loa set ti ng  the  force  a t   each  act uat or Each  EC rec ei ves  com m and f ro m   SECU pe rfor m the  EMA  cl os e - lo op   posit ion   c ontr ol,   and  ret urns  m easur em ent  da ta   (inclu ding  po sit io from   a   dual   L VDT  an force)   to  the  SECU .   Wh il   the  SEC ca be  loc at ed  a wa y,  the  EC res ides  cl ose   to   or   are  m ounted   on  the   act uat or,  to  bette r   pr ov i de  for   it s local co ntr ol .   In   s om safety  crit ic al   app li cat ion s,  eac ac tuator  is  c on t r olled  by  different  SEC U,   s the  lo ss  of     sin gle  act uat or,  or   of  SE CU,  will   not  m ean  the  over al con tr ol  lo s of  the   s urfac e.  Eac EC i the n   c onnected  to  a associat ed  S ECU  as  sh ow in  Figure  2,   SECU  fau lt   causes  the  out  of   serv ic of   j us t     an  act uato r,   th at   can  be  pu in  the  anti - j am m ing   conditi on.  I this  way   the  oth er  act ua tors  can  sti ll   m ov e     the  co ntro ll e su r face  in  safe  posit ion,  even   t hough  operati ng  wit reduce pe rform ance.  All  S ECUs  op e rate i n pa ra ll el , s the re is  no sw it c hing  de la y. The dat li nk  MC   S ECU i s als o dupli cat ed.     Be sides,  in  reli able  syst e m pro gnos ti m o nitor i ng   syst e m   (P MS)  is  re qu i red,  in  or de to  pe rfo rm s   the  diag no sis  of  the  act uator   a nd   e valuate  it reli abili ty al so   in  te r m of   li f exp ect ancy.  The  PMS,  em bo die in  the  el ect r onic   co ntr o an m on it or ing  uni ts  (ECMU ),   c ontr ols  an a nal yse the  act ua tor   sta tus,   sta rin from   act uator   par am et ers  ev olu ti on  an se nsor  si gnal  b e hav i our.   The  SEC obt ai ns  ECM U’s s ens or  m easur e m ent s   and m on it or in g res ults thr ough the  ECM U - S ECU c omm un i cat ion  li nk.   A well   as  the  ben e fit  of   ve ry   hig reli abili t y,  the  SECU  re dundancy  al lo ws  the  overall   functi onal it of   SECU   to  be   inclu ded  in  t he   relat ed  ECM ( just  si ng l ap par at us ) r edu ci ng  s the  hard war dim e ns io ns   and  costs fa ult - tolera nt  arc hitec ture  was  i m pl e m ented  by   rep li cat ing  th SECU   an i m ple m enting  t he  ri ng   arch it ect ure  show in  Fig ur 2,   wh e re  eac SECU  is  li nke with  t wo   othe SEC Us.   T hi arch it ect ure  m akes  po s sible  to  s har in form ation   ( SECU ’s   internal  sta tus  an co nn ect ed  ECM U   internal  sta tus  an m easur em ents)  with  the  tw oth e SECU li nk e in  the  ri ng   c hain The  connecti on  Ne xt  SECU  -   Pr e viou s   SECU  is  i m ple m ented  us in pr ivate   li nk,  to  a vo i any  la te ncy  fo r   m essage  tran sm issi on   an sen de r   identific at ion.   In   case  of  an   E CM or   EMA   fail ur e,  t he  as so ci at ed  SEC U   pu ts  t he  fail ed   act uator   i fai l - safe   m od and   sig nals  this  eve nt  to  the  oth e SECUs.  In   t his  way,  the  co ntr olled  surfac can  be  m oved  by     the o t her act ua tors, eve i f wit re duced  m ec han ic al   perf orm ances.   Con si der i ng th e syst e m  sh ow in   Fig ure  2,  t he  m ai MC C op e rati ng tas ks are:   -   Creat ion   of a  posit ion vs . Tim e pro file   -   Sendin the  r el at ed  set - posit ion   fr am e to the se cus;   -   Sendin s pecif ic  ec m co ntr ol  co m m and s t o t he  sec us ;   -   Re cei vin g an d processi ng of s ecus i ntern al  stat e;   -   Re cei vin g an d processi ng of e c m us  inter nal s ta te   The  sec ta s ks   are instea d:   -   Re cei vin g t he se t - posit ion f ra m e fr om   m cc;   -   Sendin the  set - posit ion f ram e  to  the  ecm u;   -   Re cei vin g (c on ti nu ously t he m easur em ent f ram e fr om  ec m u;   -   Re cei vin the   po sit ion   m ea su rem e nts  fr om   two  li near   disp la cem ent  t ran s ducers  (l vdts)  co nnect ed   to     the ecm u;   -   Re cei vin g an d sen ding to  m cc  the inte rn al   sta tus  of  t he  ass oc ia te ecm u;   -   Checki ng the s ta tus of othe a ct uator s;   -   Ena bling t he  e c m operati ng  m od e, u si ng d e dicat e d i gital  outp uts;   -   Checki ng the e c m sta te  v ia  a  d e dicat e d i gital  input.   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 2020  :   4053   -   4072   4056   M C C SE C U 2 E C MU 1       E M A 1 E C MU 2 E C MU 3 SE C U 3 SE C U 1 B a l l   s c r e w M o to r       E M A 2 B a l l   s c r e w M o to r       E M A 3 B a l l   s c r e w M o to r C o n t r o l l ed s u r f a c e P r e v N e x t P r e v N e x t P r e v N e x t A n ti J A n ti J A n ti J D u a l   L V D T     Figure  2. A rch i te ct ur of   a re dunda nt m ulti  a ct uator syst em   (ECMU: EC U +PM S)       2.1.     The referenc e  a c tuat or  c ont rol and  mo nit oring uni (E CMU) un der  t est   The  im ple m ented  te s platf orm   has  bee dev el op e f or  te st ing   t he  c on t ro ll ers   (EC MUs)  f or   high - perf or m a nce  act uat or s .   The  s urface   is  power e by  so m i nd e pe nd e nt  a ct uator t hat   op e rate  synch ron ously Af te pow er  supp ly   or   act uator   fail ure  the  aff ect ed   act uator   is  pl aced  into   pa ssive   Dam pin m ode  in  wh ic it   is  no c ontr olled  in   posit ion  cl os lo op  a ny   m or e.  T her e fore,  t his  act ua tor  i s   con t ro ll ed  to  a ct   as  da m per   in  wh ic the  force  is  func ti on   of  the  sp e ed  im po sed  by   the  oth er  act ua tors.   This  m od of   op e rati on  is  possibl tha nks  to  the   re ver si bl capa bili ty   of   act uator  with   a   low  bac kdrive   force .   In this  way, th e act uato ca i m po se the fo rc e re qu ire t a vo i a ny s urfa ce flat te rin g.     sti ff e act uat or   fail ur or   SECU  fail ur can  pr oduce  m echan ic al   loc that  pre ven ts   the  sh a ft  to  ro ta te   ( j am m ing   e ven t) s th ere  is  po sit ion   er ror  that  c annot   be  aut om at ic ally  co m pensat ed.   I th is  case     the  arise  of   a i m balance  of   f or ce  ca dam age  the  syst em In   case  of   no n - recove rab le   f ai lure  (e. g.   br ok e n - too th  i gea r) t he  previ ous  (in  the  ri ng   chain SECU  pu ts  the  fail ed   act uator   in  t he   anti - j am m in ( AJ )   m od e,  to  pr e ve nt  any  possible   m al fu nctio n.   The  A syst e m   is  gen erall lo cat ed  inside  th screw   a nd   m ai nly  al lows   disc onne ct ing   t he  act ua tor  from   the  s urface,   kee ping  the  con t ro by   the  oth er  act uato rs.   The  Fai l - Safe   is  featur t ha t,  in  the  e ve nt  of  s pecific  ty pe  of   fail ure,  in herentl respo n ds  in  way  that  will   caus e   m ini m al  har m   to  oth er  e qu i pm ent,  or   to  people.  W h e n   i n   t h e   F a i l - S a f e   m o d e ,   t h e   S E C U   o p e r a t e s   i n   o r d e r   a c t i v a t i n g   t h e   A J   i f   n e e d e d ,   p u t t i n g   i n   d a m p i n g   t h e   f a i l e d   a c t u a t o r s   a n d   m o v i n g   t h e   s u r f a c e   t o   t h e   h o m e   p o s i t i o n .   The Fi gure  3   s hows  t he  sta te   diag ram  o a ty pical  ECM U; t he  sta te s a re:     a)   Off  mode:   T hi is  the   sta te   a ssu m ed  by  the  syst e m   a the  sta rt  up When   in  this  m od e,  the  ECM do es  no sen d data a nd ig nores  al r ecei ved   fram es .   b)   Pre - R un  m od e:  afte t he  s ta rt - up  t he  E CM exec ut e so m te sts   to  c hec th rig ht  a nd  f ull   functi onal it y, and the sta rts  s end i ng d at a,   but i gnor es  all  r e cei ved   data.   c)   Ru ( Normal)   mode :   the  EC MU  pro vid es  t he  surfa ce   pos it ion   co ntr ol   accor ding  to  t he   SECU  re que st,  the ECM U  p e r form s the f ollo wing tas ks   -   D am ping:   t he EC MU does  not co ntr ol the  posit ion   -   Perf ormin Co ntro l : t he  ECM c on t ro ls t he po sit io n;   -   Homin g the  ECM pe rform po sit ion  con t ro to wa r ds   pr e deter m ined  re fer e nc ed  ( hom e)   po sit io n.   d)   Anti - Ja m ming  mode w he j am m ing   co nd i ti on   is  detect ed,   the  AJ  proc edure  is  act iva te disen ga ging   the EMA  ( t he EC MU does  not co ntr ol the  posit ion);   e)   Fail - Safe   m ode :   after  fail ur detect ion   th act uator   is  put  in  dam pin m od ( the  E CM do es  no con t ro l t he po s it ion ).   f)   Mainte nance  mode durin this  m od the  cal ib rati on c onfig ur at io a nd   m ai ntenan c op erati ons  a re  perform ed.   The  ECM is  connecte d t o t he  SECU  w it h:   1)   Tw RS - 48 li nk s  (o ne fo r re cei vin g set - pos it ion  fram es, the  oth e r for se ndin m easur em ent fram es);   2)   Digital   I/O  sig nals:   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       Test pl atform f or  elec tro nic c on tr ol  un it of  high - perfo rm ance s afety   ( Giov anni B ucc i )   4057   a)   ECM in puts:   -   En ab le is  act i ve  when   the   S ECU  pu ts   the   ECM in   c on t ro posit ion  ( e nable  st ate  ON or  i dam pin sta te   ( en able  state  O FF );   -   Homin g : i s acti ve wh e t he  S ECU  requires  to pu t t he  act uator in t he ho m e p os it io n;    -   Anti - Ja m ming   E:   is  a ct ive  when  t he  S ECU  e nab le s   the   AJ   m od of  the   E CM ass ociat ed  with   the SEC U_N.   b)   ECM out pu ts :   -   Rea dy : act ive  wh e t he  ECM is i Re ady  m od e;   -   Ru n : act ive  when  the  ECM U  is in R un m od e.   ECM c onnec ti on   ov e r view a s sho wn in  Figur 4.           Figure  3. Stat and tra ns it ion  diag ram   relat e to  the  ECM U  und e te st           Figur 4. ECM c onnecti on  over view   E C M U   O F F P re - R un   M o de 1 D a m pi ng 7 P e rf o rm i n g C o nt ro l 3 2 N o r m al   M o d e 8 4 F ai l - S afe M o d e A nt i - J a m m i n g M o d e 5 6 9 9 H o m i n g S E C U 1 E x S y s   R S 4 8 5 U S B - 6008 S E C U 2 E x S y s   R S 4 8 5 U S B - 6008 E C MU   1 E C MU   2 RS  4 8 5 R 4 8 5 E N A B L E H O M I N G RE A D Y RU N A J   E R 4 8 5 RS  4 8 5 E N A B L E H O M I N G R E A D Y R U N A J   E S Y S Y T E U N D E T E S T T E S T   P L A T F O RM 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 2020  :   4053   -   4072   4 058   The  ECM e xe cutes these  m ai ta sk s:   a)   Re cepti on  of t he  set - posit ion  fr am e fr om  the  asso ci at ed  SE CU;   b)   Gen e rati on  of   an  inte rn al   pos it ion  that li nea r ly  f ollo ws  the  s et - posit ion s  g i ven b SECU;   c)   Exec ution  of t he posi ti on  c on trol lo op;   d)   Me asur em ent  of the m oto r c ontr olled s urfac posit ion (tw lvd ts );   e)   Me asur em ent  of the m oto r a ngula r po sit io n ( reso l ver);   f)   Me asur em ent  of the m oto te m per at ur e (t wo Pt1 00 tra ns du cers) ;   g)   Me asur em ent  of the m oto t orq ue (tw strai n gauges );   h)   Me asur em ent  of the accel e rati on   (tw tra nsd ucer s ) for t he p rog no sti c syst e m ;   i)   Transm issi on   of the  m easur em ent f ram es to th e S ECU;   j)   Chan ge  of it s s ta te  w he n req ui red   by the  SE CU;   k)   Sett ing   of the  di gital  o ut pu t si gn al s  b ase d o n i ts i ntern al  stat e.   The  ECM pe rio dical ly   send data  to  the  associat ed  SEC U   that   send the m   to  MCC,  SECU_ a nd  SECU _N.  I this  way  SEC U _P   a nd   S ECU _N   c hec if  S ECU  is  wor king  pro pe rly .   T h e   E C M U   g e n e r a l l y   h a s     a   n um b e r   o f   i n t e r n a l   b i t s   t h a t   i d e n t i f y   i t s   i nt e r n a l   s t a t u s ;   a n   e x a m p l e   r e l a t e d   t o   o u r   s y s t e m   i s   s h o w n   i n   T a b l e   1 .       Table  1.  ECM sta tus  b it s   b it   Flag   b it   Flag   b it   Flag   0   Pre - Ru n   m o d e   12   2 8 VDC Left  Hand  f ailu re   24   Ph ase er ror  1 > thr esh o ld   1   Activ m o d e   13   Moto te m p e rature  1 err o r   25   Ph ase er ror  2 >  th r esh o ld   2   Fail - Saf m o d e   14   Moto te m p e rature  2 err o r   26   End  of  tr av el  -   Fail  Retracte d   3   An ti - Ja m m i n g   m o d e   15   ECMU  te m p e ratur e er ro r   27   End  of  tr av el  -   Fail  E x ten d ed   4   Mainten an ce  m o d e   16   Res o lv er  1  f ailu re   28   AJS Moto ch e ck   5   3 0 0 VDC  m o to r  check   17   Res o lv er  2  f ailu re   29   RAM A ccess   6   Max cu rr en t   18   Res o lv er  1  inp u t <  th resh o ld   30   Fir m w are  check su m   e rr o r   7   Max cu rr en t varian ce   19   Res o lv er  1  inp u t >  th resh o ld   31   No n - v o latile  m e m o ry  ac cess   8   3 0 0 VDC Rig h t Hand  f ailu re   20   Res o lv er  1  a m p litu d m is m atch   32   Res o lv er  to  dig ital acce ss  1   9   3 0 0 VDC Left  Hand  f ailu re   21   Res o lv er  2  inp u t <  th resh o ld   33   Res o lv er  to  dig ital acce ss  2   10   3 0 0 VDC Vo ltag e li m it   22   Res o lv er  2  inp u t >  th resh o ld     Sp are   11   2 8 VDC Rig h t Hand  f ailu re   23   Res o lv er  2  a m p litu d m is m atch   47   Sp are       3.   THE  PROPO SED TEST  P L ATFO RM    3.1 .     The har dware  a rchi tectu re   of t he  pr opose d t es pl atf or m   The  c om plexity   of   ECM U,  both  in   the  el ect ro nics  a nd  s of t war e,   m akes  c om pr eh ensive  te sts   necessa ry  in  al dev el opm ent   ph ases in  or der   to  ea rly   detect   and   corre ct   err ors.  T his   is  wh each  ECM U   unde rgoes  i n - de pth   te sti ng,  fol lowed   by  inte gr at io te sts  a nd  sta nda rd   te st that  are  run  on  f ully   equ i ppe te st   sta nd s Test in ECM f unct ion al it inclu de stim ulatin it   via  hardw a re  an software  inte rf a ces  a nd   evalu at in it r esp on ses Func ti on al   te sti ng  of  ECM U s,  besi des  te sti ng  for  basic  f unct io na li ty m us al so   te s t   the  m os sign ific ant  fa ults  at   the  ECM U ’s  com m un ic at ion   a nd   I/O  i nterf aces .   T hese  consi der at io ns  plac e   stric req uir e m ents  on   r obus t,  hi gh - capa ci ty   te st  syste m in  te r m s   of   inter faces   and   te st  hardw a re,     te st  autom a ti on operati on   of  so ft war int erf aces Be sid es,  the  pro po s ed  te st  syst e m   req uires  int ensive   cal culat ion s,  a nd preci se sy nc hro nizat ion s   To  sat isfy  the s requirem ents,  we  im ple m ented  it   us in NI   C om pact  RIO  (cRI O)   syst e m This  is  an  ad va nced   e m bed ded   c on t ro an data  acqu isi ti on  syst e m desig ned   for  ap plica ti ons  that  require  hi gh   perform ance  and   reli abili ty as  well   as  flexibili ty   and   scalab il it y.  cR IO   syst e m   esse ntial ly   con sist of   f ou r   m ai com po ne nts:  an  em bed de re al - ti m con tr oller,   high - perform ance  FPGA,  I/ m od ul es,  and    the  app li cat io pro gr am Each  I/O  m odule  is  directl con necte to  the  FP GA,   prov i ding  lo w - le vel   custom iz at ion   of   ti m ing   and  I/O  sig nal  pr ocessin g.   T he   FPGA  is  co n nected  to  t he  e m bed de real - tim e   process or   via  high - s pee P CI  bus.  T his  pl at fo rm   m akes  po ssi ble  to  ad op m ulti cor processi ng   a nd  high - perform ance  F PGAs,  i ord er  to  im pr ove   the  te st  syst e m   per f orm ance.   T he  propo sed  te st  syst e m   ha s     m od ula arc hitec tur e,  base on  MC and   s om SECUs.  I this  r esearch  phase  we  im ple m ented  tw SECU  unit s ( S ECU1 an d   SE CU2) eac h of  wh ic incl udes  as s how in   Fi gure  5:    a)   On e   CR IO - 9039,  Em b e dde cri c on t rol le with  real - tim pr oce ss or   a nd  reconf igurable  FP G A     (1.91  ghz , q ua d - c or e , 8 - SLOT,  325T FP GA);   b)   On e   N P S - 15  powe s upply,  24 VDC,  5 A;   c)   Tw N 9860  m od ules:  2 - po rt  ha rdwa re - se le ct able  NI - X NET  C A N/LI ( l ocal  inte rc onnect  netw ork com pactdaq   a nd  cri inter fa ce  for  de velo pi ng   C AN  an d/ or   LI a pp li c at ion s,   f or   t he   co nn ect io t SECU _P  a nd S ECU_N;     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       Test pl atform f or  elec tro nic c on tr ol  un it of  high - perfo rm ance s afety   ( Giov anni B ucc i )   4059   d)   On N 98 53   2 - port  hi gh - s pe ed  CA m odule  (this  m odul e,  no us e f or  the  re fe ren ce ap plica ti on,    will  b us e f or int er facin g h ydra ulic ac tuators );    e)   On e   N I 987 1 m od ule: 4 s e ri al  p ort  RS - 422/RS - 485 ac cess ed direct ly  f r om   the FP GA ;   f)   Tw NI   9401  m od ules: 5 V/ TTL,  c ha nn e ls, b i directi ona l digita l I/O   H os PC  is  connecte to  e ach  SEC U,   i order   t s how the  te st  res ults.   As  s how i Fig ure    t he  MC C has  bee im ple m ent ed usin g :   a)   Pe rs on al  C om pu te with  W indows i ns ta ll ed;   b)   A Ko m odo  CA N Duo  In te rf ac e li nk e to  a  P C USB  2.0 p ort , for  t he  c onne ct ion  to  SEC U a nd SEC U2   c)   la bvie w  appl ic at ion  pr ogra m .           Figure  5. A rch i te ct ur of   t he  i m ple m ented  te st plat form       The  MC wr i te the  sam m essage  to   both  K OMO D C AN  outp ut   ports  at   t he   sam tim e,     and   receives  m essages  f r om   bo th  SEC U an SECU on   t he  tw ports.  Using  the  MC app li cat ion   pro gr am   the ope rator ca n:   a)   Config ur e  the i nterf ace  used  to  c omm un ic at e  w it t he  sec us;   b)   Creat the  set - posit ion   pro file   as  sh ow in   Fig ur 6,   t he  sam ples  are  sent  to  the   two  sec us   as   a set - posit io f ram e;   c)   Start an st op the  prof il fr am es tran sm issi on  ( in  our ap plica ti on  the  fram e i s sen t e ve ry 20  m s);    d)   Send  com m and to  t he  sec us  to  co ntr ol  the  ec m us by  m eans  of   t he  E NAB LE  dig it al   sign al   as  sho wn   in   Figure  4 ;   e)   Ena ble/D isa ble  the  An ti - Jam m ing , by m eans of  the  A J dig it al  sign al ;   f)   Send c omm and s t the  secu to p e rfo rm s a p os it ion co ntr ol  towa rd s  the  ho m e p os it io n;   g)   Save  data  to/ from   secus;  t he  MC sav es  NI   TD MS  (tech nical   data  m anag em ent  stream ing)     file  that co ntains all   data se nt/recei ved to/f rom   the secus .   Wh e the  MC send c om m and   or   requires  c hange   on   C onfig urat ion   Re gister the  SEC Us   ackno wled ge  t he  m essage  s end i ng  an   AC m essage.  T he  MC dis pl ay inf or m at ion   a bout  the   ACKs  receive from   the  SECU   on   the  Ma in   L og  window.   T he   MC receiv es  an   AC only   if  the   tra nsm it te d   com m and   has  been   c orrectl receive an va li dated.   If   no   ACK  is  receiv ed  after  tim e ou ( 150  m in  ou r   case),  the  Ma in  Lo wind ow  disp la ys  warnin an re qu e sts  to  resend  th m essage.  If   the  m ess age  is  sent  to   bo t the  SEC Us  (Br oa dcast)   the  MC wil l   wait   fo two  ACKs  ( from   S ECU1  a nd   SE CU2),  if  at   le a st  on is   no receive it   disp la ys a e rror any way.      R S 4 8 5 E T H E R N E T C A N M CC S E C U 1 1 6 9 . 2 5 4 . 1 4 1 . 4 7 1 6 9 . 2 5 4 . 1 4 1 . 4 5 S E C U 1 T E ST  P LA T F OR M E x S y s   R S 4 8 5 U S B - 6 0 0 8 E C M U 1 S E C U - 1     C A N - B S E C U - 1     C A N - A S E C U - 2     C A N - A S E C U - 2     C A N - B 1 6 9 . 2 5 4 . 1 4 1 . 4 6 S E C U 2 E T H E R N E T S E C U 2 1 6 9 . 2 5 4 . 1 4 1 . 4 5 U S B   M C C SY ST E M UN D E R  T E ST R S 4 8 5 E x S y s   R S 4 8 5 U S B - 6 0 0 8 E C M U 2 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 2020  :   4053   -   4072   4060       Figure  6.  Pa ge fo the  pr of il gen e rati on       3.2.     The i mple men ted  c omm unic at i on  s ystem  of the   pr oposed  t es pl atfo rm   The  com m un ic at ion   sta ndar ad opte f or  the  MC C - to - S ECU  a nd  SECU - to - SE CU  li nk i s     the  c on tr oller  a rea  netw ork  (C AN)  se rial   sta ndar d.  D ue  t t he   sta ndar dizat ion  of  pa rt  of  t he   physi cal   an data  li nk   la ye rs   of  the  O SI  re fer e nce  m od el   in   IS O   11898  [ 20]   an t he  ope nn e ss  of  the  prot oco l,   CA al lows  dev ic es se nso rs  a nd  act uato rs  f r om   diff er ent  m anu factu rer t c omm un ic at e.  O rigi nally   dev el ope f or  autom otive  ap plica ti on s,  it   at tract ed  the  at te ntion   of   m anu f act ur er in  ot he industries  th a adopt  autom at ion  and  e nha nced  s ens or s/a ct uat ors  [ 21 ] .   The   re m ai nin ph ysi cal   la ye an al of  the h ig he la ye rs  are not d efi ned  by CA s pecif ic at ion   CAN  s uppo rts  distrib uted  real - tim con tr ol  with  high  le ve of   sec ur it y.  The  data  sig na is  norm ally  t ran sm itted  on  twist ed  pair  of   wires,   with  m axi m um  bit  rate  of   Mbit /s  (cab l le ng ths  40  m ).     Data  colli sions   on   t he  bus  a re   avo i ded   us i ng  bo t the  ca rr i er  sen se  m ultip le   acce ss  an arb it rati on  ba sed  on   m essage  pr i or i ty   te chn ologie s The  num ber  of   te rm inals  connecte t the  bus  is  nor m al l lim i te to  32,    to avoid  d at a  tr ansm issi on  d el ay   Com m ercial   air cra ft  ha ve  al r eady  ad op te the  CA bus  [22].  I order   to  ens ur i nter op e ra bili ty  betwee CA N   subsyst em s,  the  Net work   Infr ast ru ct ur and   Sec ur it gro up   of  the   ai rlines  el ect roni c   eng i neer i ng   c om m i tt ee   (A EEC)  has  def i ned  the  ARI NC  825  a viati on   pr oto c ol  sta ndar that   sp e ci fies  bot   the  c omm un icati on   within   C AN - ba sed   s ub - syst e m s,  and  be tween   CA s ub - syst em [2 3] ARI NC82 will   be   the CA sta ndard f or all  f ut ure Air bus a nd B oein ai rc raf ts .   Wh e the  MC send f ra m to  the  SECU,  each  S ECU  is  identifie in  the  CAN  netw ork  wit   un i qu “B as ID e ntifie r”  ( ID).  CA s upports  tw tran sferred  m essage  ( fr am e)  fo r m at s,  as  def in ed  i   the  “B os c versi on   2.0  s pecif i cat ion s”  [ 20] the  esse ntial   diff e ren ce   bet we en   them   is  the  le ng th   of  th I D:  11  bits  in  the  sta nd a r fr am fo rm at   (2 .0A),  and   29  bits  in   the  exten de fr am fo rm at  (2 . 0B).  I ou case    the d e fa ult val ues  a re:   a)   Me ssages  from  MC C t SEC U1 0x01;   b)   Me ssages  from   MC C t SEC U2 0x02;   c)   Me ssages  from  SECU t MC C:  0 x1 0;   d)   Me ssages  from  SECU t MC C:  0 x2 0;   e)   Broa dcast   m es sages:  0xff .   The  a dopte d protoc ol f ie ld s,  s how in  Fig ure  7 ,  are:           Figure  7.  The  a dopted  CA m essage  f or m at   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       Test pl atform f or  elec tro nic c on tr ol  un it of  high - perfo rm ance s afety   ( Giov anni B ucc i )   4061   a)   ST X   ( 0x02)  is  co ntr ol   cha ra ct er th at  in dica te s the start  of  a n e w fram e.    b)   ID fr am iden ti ficat ion   -   ‘M’ (0 x4D ): fr a m e w it m eas ur em ents f r om  SECU  t MC C ;   -   ‘S  (0x5 3) pos it ion  set  po i nt fro m  MC C t S ECU;   -   ‘O’ (0 x4F) fr a m e received  correctl y from  SECU  to  MC C ( m essage w it ho ut  payl oa d);   -   ‘E’ ( 0x45):  fr a m e received  w i th erro r fr om  SECU  to  MC C ( m essage w it ho ut p ay loa d);   -   ‘J’   ( 0x4A):  fr a m e to en a ble/d isa ble the  AJ;   -   ‘G’ (0 x47):  fra m e to start the   Ho m ing   proce dure;   -   ‘R’ (0x 52): fra m e to notify  th e en d of  H om i ng   pr ocedur e  (fr om  SECU  to  M CC );   -   ‘K’ (0 x4 B ): fra m e to m ask  the A J i nter nal r e gister;   -   ‘P  (0x5 0) fr a m e to m ask  the d am pin i nter nal r e gister;   -   ‘A’ (0 x41):  fra m e to upd at e  the  global en abl e anti - j am m ing  r e gister;   -   ‘U’ (0 x55):  fra m e to upd at e  the  global en abl e d am pin g re gister.   c)   Paylo ad   i the   us e fu i nfor m at ion   plu t he  ESC  ( 0x1B)  c har act er Eac byte   of  in f orm at ion   eq ual  to   STX ,  ET X or  ESC is  pr ece de d by an  ESC c har act er   d)   Checksu m   is  a   byte   co ntainin the  resu lt   of   the  excl us ive  OR  lo gical   operati on   (CRC of   both  I a nd   payl oad,  exec ute by  the  tr ansm itter.  The   receiver  re pe at the  cal cula ti on   to  chec if  the  fr am i correct   e)   ETX   (0x 03)  is t he  c on t ro l c ha r act er th at  in dic at es the e nd of  the fram e.    An   ac knowle dg m ent  te chn iqu has  bee i m ple m ented  fo a ll   the  fr am e,  in  or de to  chec k   the  recei ved  da ta O nly  f or  both  t he  m easurem ent  an set   po i nt  f ram es  no  flo c on t ro is  ap plied:  if   fr am is  lost,  it   is  no t   rec ov e red.  T he   m a in  reas on  for  this   ch oice  is  that  ther is  no e noug ti m am on the   f r a m es   to r e peat them . In  case  of a  prob le m , th e rece iver wai ts f or the  nex fr am e w it h new data.   The  com m un ic at ion   betwee SECUs  is  base on   the  CAN  bus.  T he   SECU1   is  identifie by   ID   =   0x 12,  S E CU  by  0x21.  CR fiel is  us e to  c he ck  the  fr am and  to  request   the  retra ns m i ssion.     The  payl oa f r a m is  co m po sed  of  two  s ub - f ram es.   T h e   f i r s t   3 0   b y t e s   a r e   t h e   l a s t   E C M U   m e a s u r e m e n t   f r a m e   a s   s h o w n   i n   T a b l e   2 .   T h e   E C M U   t r a n s m i t s   d a t a   m e a s u r e d   f r o m  r e d u n d a n t   t r a n s d u c e r s   t h a t   a r e   c h e c k e d   ( v a l i d a t e d )   b y   t h e   S E C U   t o   s e e   i f   t h e y   a r e   i n   t h e   r a n g e .   V a l u e s   o u t   o f   t h e   r a n g e   a r e   n o t   s e n t   t o   t h e   o t h e r   S E C U s .   I n   t h i s   c a s e   t h e   v a l i d   d a t a   a r e  t h o s e   r e l a t e d  t o  t h e  l a s t   v a l i d a t e d  f r a m e .  T h e  l a s t   4   b y t e s ,   r e l a t e d  t o  t h e  S E C U  i n t e r n a l   s t a t u s   b i t s ,   a r e   s h a r e d   w i t h   t h e   o t h e r   S E C U s .   T he  S ECU  sta tus  bits as s hown in T able  3.       Table  2.  T he  m easur em ent f r a m e   Da ta   Dime n si o n   (b y tes)   ID   1   v a li d a ted L VD T   measu rem e n t   4   v a li d a ted E C MU  D C  B u s cur ren t   4   v a li d a ted E C MU  D C  B u s v o lt a g e   4   v a li d a ted E C MU  te m p e ratu re   4   v a li d a ted E C MU  PCB  te m p e r a tu re   2   v a li d a ted E C MU  T o rq u e   4   E C MU   S tatu s b it s 0 - 7   1   E C MU  St a tu s b it s 8 - 15   1   E C MU  St a tu s b it s 1 6 - 23   1   E C MU  St a tu s b it s 2 4 - 31   1   E C MU  St a tu s b it s 3 2 - 39   1   E C MU  St a tu s b it s 4 0 - 47   1   CRC   1   S E C S tatu s b it s 0 - 7   1   S E C S tatu s b it s 8 - 15   1   S E C S tatu s b it s 1 6 - 23   1   S E C S tatu s b it s 2 4 - 31   1       Table  3.  T he  S ECU stat us bit s   b it     b it     0   E C MU   c a b le  e rr o r   11   MC C   C a b le  e rr o r   1   E C MU  valid a ti o n  e rr o r   12   MC C  A J r e q u e st   2   S E C U_N c a b le  e rr o r   13   E C MU  tra c k in g  e rror   3   S E C U_P  c a b le  e rr o r   14   DA MP  fo r EC MU   F a il - S a fe   4   F o rce  Fi g h ti n g   15   DA MP  fo r EC MU   AJ   5   E C MU   R e a d y   16   Dam p  fo r AJ   6   E n a b le  st a te   17   De  fo rce  fig h ti n g   7   AJ st a te   18   S p a re   8   E C MU  ru n   ..     9   Dam p in g  state   ..     10   AJ requ e st   31   S p a re   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 2020  :   4053   -   4072   4062   The  c omm un icati on   be twee SECU  a nd   ECM U   is  base on  tw RS - 485  diff e re ntial   com m un ic at ion  li nk   that   is  the  m os com mo nly  us e in  c omm ercial   actu at ors.  On li nk   is  use t transm it   the  po sit i on     set - point  to  EC MU  an the  ot her   to  r ecei ve  the  ECM m ea su rem ent  fr am e.  In   our  case  the  bit  rate  was  set   at  115.2 k bit/ s,  th e fr am e p eri od  at  2 0 m s .   The   m ai SECU   i ntern al   reg ist e rs are:   a)   Global  D am p R eg: u se t c onfig ur e  the  D a m pin M ode  beh a viou r of  t he  SECU;   b)   Global  AJ Re g:  u se to  confi gure t he An ti - J a m m ing  M od e   beh a viou r of  t he  SECU;   c)   Ma sk   Dam Re g:   use d t set   the D am pin Mod e  b e ha viour  b ase d o the  ECM Stat us   bits;   d)   Ma sk   AJ  Re g:  us e to  set the  An ti - Jam m ing  Mod e  b e ha viour  b ase d o the  ECM Stat us   bits.   The  im ple m ented  te st  syst e m   is   m od ular   and   le ts  us er set   up   flexi ble  te st  syst e m s   with  li t tl e   in te gr at io or  wirin e ffor t.   I dr i ves  ECM in puts  a nd  ou t pu ts   f or  f unct ion al   te sti ng   with  t he  CA li nks .     It  le ts  us e rs   s et   up  c om pact   te st  be nc hes  of  va rio us   c om plexiti es.  Due  to  it m odular  c on st ru ct io n,   it   i s   su it able  f or   s m al te st  set u ps   at   dev el oper  w orkb e nc he as  well   as  fo c om pr ehe ns ive  te st  be nc hes  in     the test ing l ab orat or y.     3.3 .     The so ft w are  architec tu re  of the pr oposed  t es pl atfo rm   The  te st  a ppli cat ion   pro gr a m   has  bee de velo ped  in   th N La bVIE e nviro nm ent.  This   wi dely   app li ed  t oo he lps  t re du ce   the  so ft war dev el op m ent  tim and   to  en han ce  t he  pro cessi ng   perf orm ance.   Ma ny  high - e nd  com pu te rs  to day  offer   tw or   m or proces so c or es  f or  add it io nal  com pu ta ti on   po wer.   key  appr oach   f or   ta king  ad van ta ge   of   m ult ic or proces sors  is  the  m ultithr e ade pro gr am m in g.   I m ulti thread ed   app li cat io sever al   threa ds   can  si m ultaneou sly   r un   on  diff e re nt  proc essors.  Mult it hr ea ding  is  sim il ar  t o   m ul ti pr ocessi ng,  t he  m ai dif fer e nce  is  t hat  threa has   reduce c om pl exity   an is  use for  a   sm al ta sk .   Thr ea ds   are  se qu e ntial   proces ses  that  sh are  m e m or y.  They  can  m anag I/ m or eff ic ie ntly   becau se  threa wait s for I/O  whil e o the rs  a re  processi ng the  acqu i red sig nal s.   This  te ch nolo gy   is  not  easi ly   app li cable:   pro blem co m es  wh e t ryi ng  to   w rite   softwa re  th at   us e s   these  process or  c or es   ef fecti ve ly   [24].  Sin gl e - threa de a pp li cat ion can   r un  on  only   s ing le   process or,  t hu pr e ve nting  the m   fr om   ta kin a dv a ntage   of  the  m ulti ple  process ors  to   i m pr ove  perf or m ance.  T herefo re ,     to  achieve  m a xim u m   per fo r m ance  from   m ulti thread e operati ng  syst em s   and /or  m ulti pr oces sor  m a chine s ,     an  ap plica ti on   m us t   be  m ulti t hr ea de d.   O ne  te chn i qu is  to  par ti ti on   the  a pp li cat io into   m ulti ple  threa ds   that   are  sch ed uled  acro s the  m ulti ple  processi ng  CPU  c or es  by   the  operati ng   syst e m T h e   L a b V i e w  n a t i v e  p a r a l l e l   p r o g r a m m i n g   c a p a b i l i t i e s   a u t o m a t i c a l l y   r u n   i n d e p e n d e n t   p a r a l l e l   s e c t i o n s   o f   c o d e   o n   t h e   d i f f e r e n t   c o r e s   [ 2 5 ] .     The  e xecu ti on  threa ds   gen e rall need   to  c om m un ic at with  on an oth e as   they   w ork.   so luti on  t this  prob le m t ypic al   of   pa rall el   co m pu ta ti on s,  is  that  each  sta ge  ad ds   da ta   to  the  inp ut   qu eue  for  th next   sta ge  w hen   it   is  done.   T pro per ly   w ork,   the   inp ut   que ue  ne eds  to  be  w ritt en  so   that  data   can  safely   be  add e by  one  threa and   rem ov ed  by   ano the one  without  co rru pt ing   the  data  struct ur e.  In   our  app li cat io we   based  the im ple m ented  th read com m un ic at ion  on t he  pro ducer - c on s um er  par a di gm  that   m ana ges data   m essa ge  f r om  diff e re nt  threa ds I this  wa y,  the  data  ar protect ed  by   m ulti ple  acce sses  an e ve ry  threa has   bee dev el op e us i ng  blo c syst em the  thread   is  blo cke du ring   the  pr ocessi ng   of   data.  I ano t her   m essage  has   been  se nt  to  the  th read,  it   is  s tore i a   FI F O   buf fer  so  it   can  be   proces sed   w hen  the  t hr ea e nd s     the pr ocessin g of t he pre vious  d at a.       3.3.1 .   T he m ain appli ca tion  progra m thre ad s   of the pr oposed  t es t pl atfo rm   The  MCC   thre ad   is  the  t hr ea d - base SEC U   firm war that  m anag es  the  i nteracti on  with   the  MC C.   Secu rity   in  data  transm issi on   is  of   utm os i m po rtance.  As   the  SEC U M CC   li nk   is  co nc ern e d,   t he  sec ur it is  base on  the  channel  re dundancy,  s co m m and or   da ta   are  validat ed  if  they   are  identic al   on   t he  tw channels.  As  t he  SEC U - EC MU  li nk   i co ncerne d,   the  S ECU  chec th at   they   are  in  the  per m issi ble  range .   As  s how i Fi gure  8, this th r ead is s ubdi vide int m or e s ub t hr ea ds .     At  first  the  SE CU  threa ope ns   two  bi - dire ct ion al   CAN  c onnecti ons  to wards  the  MC C,  then  three   threa ds  are use to  receive a nd se nd   data f rom /t the MC C s: on e t hr ea si m ul ta neo usl y sends data to C AN_ A   and  CA N_ i nt erf aces,   w hile  two  t hr ea ds   a r us e to   recei ve  data  f ro m   MC (one  f or  CAN _A  an one  f or  CAN _B).   Un l ike  transm issio n,  two  th rea ds   are  f or   th two  data  re cepti on   beca use   they   can  be  not  si m ultaneou s .   The  t wo  recei ve data  pa cket ( on e   f or  eve r CAN  c ha nne l)  are  t hen  se nt  to  tw t hr ea ds  that  pu t he  m essages  in  tw buff e red   ci rcu la F I FO s.   Th ese  th r eads  ide ntify  t he  beg i nn i ng  a nd  en of   e ve r MCC   m essage.  A fter   t he  identific at ion t he  V alidat ion   D ata   Th r e ad   c om par es  the  tw data  pa ckets  to  ver ify   they   are the  sam e.    Af te r   this  valid at ion   t he  m essage  is  proce sse by  SEC fir m war e.  If  the   two  CA i nterfac es  sup ply   two  di ff e ren m essages,  thes are  discha rged.  T he  MC Ma nager  T hr e ad   e xam ines  t he  CA m ess age  an sen ds  the  r ecei ved d at a t t he firm war e sect ion co nce rn e d.  Othe s ub th re ads  a re:    a)   Check  ca ble  thread w he it   detect that  the  m essages  wer e   fr om   sing le   CAN  inter face,   it   gen erates  a error m essage that is  h an dled   by the  SECU;   Evaluation Warning : The document was created with Spire.PDF for Python.