Show
Ignore:
Timestamp:
11/02/10 21:20:06 (14 years ago)
Author:
smidl
Message:

Contrallable PMSM DS + PI control

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/pmsm/simulator_zdenek/simulator.cpp

    r326 r1243  
    484484 
    485485  pmsm_model(5); 
     486 
     487  KalmanObs[0]=ualfa; //debug_pwm;                     // usx 
     488  KalmanObs[1]=ubeta;    // usy 
     489   
     490  KalmanObs[2]=x[0]; 
     491  KalmanObs[3]=x[1]; 
     492   
     493  // diagnostic - mean values of stator voltage components - pwm() 
     494  KalmanObs[4]=usx_av; 
     495  KalmanObs[5]=usy_av; 
     496  KalmanObs[6]=usxf; 
     497  KalmanObs[7]=usyf; 
     498   
    486499} 
    487500//////////////////////////////////////////////////////////////////////////////////////////////////////