There is an error in sign, it should be: (angle_ref - angle_mesaured)*gain1 + (velocity_ref - velocity_measured)*gain2 + (current_ref - current_measured)*gain3. From the set reference value for position the model is used used to calculate set reference value for all three values. There may also be an individual integrator for each.
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users