On Monday 11 January 2021 03:48:07 Chris Albertson wrote: > The motor is NOT seeing a 4,000 Hz square wave current. The motor is > an inductive load and it is filtering the 4KHz to nearly DC. Look > and see, Use a real scope (no hal scope) on the line and look at > current v. time. > > Look at the PID controller. it will always oscillate if you are > trying to control position with a velocity measurement and are > controlling torque.
feedback is encoder counts against velocity command from motion. I think. > On Sat, Jan 9, 2021 at 11:38 PM Gene Heskett <[email protected]> wrote: > > What would happen if I dropped > > the pwmgen frequency to 400 hz. that same percentage of a pulse > > coming into the controller would have 10x the length of time to > > actually move the motor, which may drive it closer to a null than Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene> _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
