many thanks for reply, i appologize for missing information.

The ebay controler seems to be not very good, i have many problem and have 
burned these controler after too much attempt for make it work...


For now the new kbmg is not delivered but i have received a new DAC from 
China and i try to make it work with multimeters.
https://www.google.com/url?q=https%3A%2F%2Ffr.aliexpress.com%2Fitem%2F32957301191.html%3Fspm%3Da2g0s.9042311.0.0.23826c37my8Er9&sa=D&sntz=1&usg=AFQjCNEQQ9klEreORPj9Bllr_HtK0Lp-Mw


I have do some investigation and i think the most problem is from pid 
closed loop
The pwm signal monitored with watch -n0.4 halcmd show pin hpg.pwmgen.00.* 
show me some result :

(pid Igain = 0, Bias = 60, Pgain = 1, scale = 120, min =-115, max = 115)

ask M4 S3300 = 5% pwm so value are 4.95
ask M4 S1 = ~50% pwm so value are 60
ask M3 S1 = ~50% pwm so value are 60
ask M3 S3300 = 95% so value are 114.95

I agree with you these is not perfect because stop spinlde = 0%.... with 
R-0-F the drive have a "enable signal input" i hope these is safe...


the problem come when i change Pgain = 0 and Igain = 0.1 or 1 etc

ask M4 S3300 = 0% pwm so value decrease quickly to -120
ask M4 S1 = ~50% pwm so value are 60 but decrease slowly to -120
ask M3 S1 = ~50% pwm so value are 60 increase slowly to 120
ask M3 S3300 = 100% so value are 120



Maybee i have these problem only because encoder show 0rpm for the moment 
(motor can't run without controler), but i think hpg.pwmgen.value need to 
stay in, range 0/120 or better 5/115.

setting setp lim-s-speed.min 5 seems to not work fine.

I don't understand how to do the job.

Many thanks, Br

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/7c08450f-bd60-4c5e-993b-0574fcf0606d%40googlegroups.com.

Reply via email to