AnsweredAssumed Answered

why the drvFOC.pospeSensorless.bEMFObs.TrackObsrv.filterMA.u16NSamples is 2 ?

Question asked by qinzhi liang on Nov 12, 2018

Dear friend:

                 I have a problem about stateInit function in AN5327SW.If the drvFOC.pospeSensorless.bEMFObs.TrackObsrv.filterMA.u16NSamples is 2 ,Y(k)=0.75*Y(k-1)+0.25*X(k).

But I find S12ZVM_PMSMFOC_appcfonfig.xlsm.The flowing picture in the xlsm.

From the picture which is in the S12ZVM_PMSMFOC_appcfonfig.xlsm,Y(k)=0.981150444*Y(k-1)+0.018849556*X(k),so

the drvFOC.pospeSensorless.bEMFObs.TrackObsrv.filterMA.u16NSamples is not 2.

the drvFOC.pospeSensorless.bEMFObs.TrackObsrv.filterMA.u16NSamples is approximately 6.

Outcomes