Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

smo1.Theta and rg1.out rotor angle position correction.

$
0
0

Hi,

Presently implementing level 5 of the sensorless PMSM with DRV8301 kit.  I need to correct the position of smo1.theta w.r.t rg1.out (attached the images)

Incorporated the following changes

_iq smo1pos_offset = _IQ(0.0);        // SMO Rotary position correction

Added the following lines for dlog

    DlogCh1 = _IQtoQ15(smo1.Theta + smo1pos_offset);


Amazing observation is if I increase the smo1pos_offset thru watch window the position of rg1.out too is shifted.  Not sure why.?.  It should not effect rg1.out.  Pl suggest the best way to incorporate the requirement.

thx


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>