Show
Ignore:
Timestamp:
04/04/11 14:15:18 (13 years ago)
Author:
smidl
Message:

Carlson fast with C + test

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/pmsm/simulator_zdenek/ekf_example/ekf_obj.cpp

    r1311 r1321  
    686686         
    687687        // Tuning of matrix R 
    688         R[0]=prevod(0.05,15);         // 0.05 
     688        R[0]=prevod(0.5,15);         // 0.05 
    689689        R[3]=R[0]; 
    690690         
     
    699699        //cH=prevod(Tv*Wref*Fmag/Iref/Ls*Thetaref,15); 
    700700        // cH=prevod(Tv*Wref*Thetaref*Fmag/Iref/Ls,15); // < =========== 
    701         cH=prevod(Tv*Wref*Thetaref*Fmag/Iref/Ls,15); //  
     701        cH=prevod(Tv*Wref*Fmag/Iref/Ls,15); //  
    702702        //  cI=prevod(kp*p*p*Tv*Fmag*Iref/J/Wref*Thetaref); 
    703703         
     
    833833        cG=prevod(Tv*Wref/Thetaref,15); //in q15! 
    834834        //cH=prevod(Tv*Wref*Fmag/Iref/Ls*Thetaref,15); 
    835         //      cH=prevod(Tv*Wref*Thetaref*Fmag/Iref/Ls,15); //  <======= 
    836         cH=prevod(Tv*Wref*Fmag/Iref/Ls,15); //  
     835        cH=prevod(Tv*Wref*Thetaref*Fmag/Iref/Ls,15); //  <======= 
     836        //cH=prevod(Tv*Wref*Fmag/Iref/Ls,15); //  
    837837        //  cI=prevod(kp*p*p*Tv*Fmag*Iref/J/Wref*Thetaref); 
    838838