Hi,
I'm developing a system for motor control motion with TMS320F2812 and the first step is to do the V/Hz profile.
In Texas web there are many examples to implement this function, so I decided get someone and start in this point.
I'm using the example : Field Oriented Control (FOC) of Permanent Magnet Synchronous Motor (PMSM).
But I don't know exactly how I've to use the parameter of RamGen Object -> StepAngleMax.
The program defines it like: StepAngleMax = _IQ(fb*T) where fb=frequency base (100Hz) and T= sampling period
My T = 1/1e3 = 0.001 and my F_ISR = 1KHz. My PWM generated is 1KHz with SVPWM technique.
I don't know why, if it's due to an error using this parameter definition, when the engine is started, it runs in steps (i.e. it does not turn in a continuous way, but through small steps) during a few instants an then seems to work well as the frequency grows. But if I've declared a frequency higher than 30Hz, engine works rough again and the currents are distorted. In fact, the ramp profile is not acomplished because the current decreases as frequency grows.
Well, I would like to listen opinions about that becuase I don't know what's wrong.
Best Regards.
Emil Zatopec.