That's nice! :-) Dave
On 1/23/2016 4:48 PM, Marius Alksnys wrote: > 01/23/2016 08:39 PM, Dave Cole rašė: >> Interesting. >> >> Are the two sine waves being fed to the drive 120 degrees out of phase >> or something similar? >> >> So does the sine wave amplitude ramp up according the motor speed? >> >> Dave > Yes, 120 degrees. > > In spin / velocity mode amplitude I_out is controlled by PID and > frequency calculated by a formula (created by myself): > f_out = dipoles * (vel_fb + vel_fb_abs * slip * K_slip * I_out / I_max + > I_out / I_max * T_comp); > > param rw float slip = 0.025 "Frequency slip ratio"; > param rw float K-slip = 2.5 "Maximum slip coefficient"; > param rw float T-comp = 5 "Torque to frequency compensation coefficient"; > > It could be more simple, but this worked and was flexible enough while > tuning in my case. > > > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users