View Single Post
Old 10-26-2014, 04:37 PM   #1273 (permalink)
e*clipse
Permanent Apprentice
 
Join Date: Jul 2010
Location: norcal oosae
Posts: 523
Thanks: 351
Thanked 314 Times in 215 Posts
Smile

Quote:
Originally Posted by MPaulHolmes View Post

I was clamping Vd and Vq using a scale factor. So, it was like this:

VdClamped = scale*Vd
VqClamped = scale*Vq

So that dist(VdClamped,VqClamped) <= MAX_RADIUS.

Id is proportional to Vd, and Iq is proportional to Vq, so why not clamp IdRef and IqRef with the same scale factor?! And then let them ramp up quickly to where they wanted to be. Each time Vd and Vq bump into the ceiling, Id and Iq now can still track IdRef and IqRef.

It works REALLY REALLY well. Hard accelerations, hard decelerations, oh ya, no problems whatsoever. Field weakening happens automatically. No messing around with the actual RPM. I think I have a winner winner chicken dinner.
Sounds like the "motor men" are getting good info and squabbling less.

BTW, since I will be attempting to make a BPMBLDC motor work with this program, I'll need to "comment out" the code about slip, but still adjust the Id Iq angle. Is this part relatively easy to find in the code?

Thanks a bunch!
- E*clipse
  Reply With Quote
The Following User Says Thank You to e*clipse For This Useful Post:
thingstodo (10-26-2014)