Quantcast
Channel: Motor drivers forum - Recent Threads
Viewing all articles
Browse latest Browse all 15414

PMSM Motor Control

$
0
0

Dear Friends,

I'm working on PMSM Motor Control Project (with Encoder + FOC). 

For that I've imported the HVPM Sensored code from control-suit. I've modified the code as per my requirement and achieved the speed and FOC control as per my need. 

Now it's time for production. 

In production, the drive and motor will be change every-time, so every time I've to execute the procedure of CALIBRATION ANGLE MEASUREMENT. this is not a fair way. 

Can anybody suggest me to skip this process of Calibration Angle measurement? 

What's the following line of QEP.h file means? 

v.RawTheta = EQep1Regs.QPOSCNT + v.CalibratedAngle; 

if (v.RawTheta < 0) 

{
               v.RawTheta = v.RawTheta + EQep1Regs.QPOSMAX; 

}
else if (v.RawTheta > EQep1Regs.QPOSMAX) 

{
              v.RawTheta = v.RawTheta - EQep1Regs.QPOSMAX;

}


Viewing all articles
Browse latest Browse all 15414

Trending Articles



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