Notifications
Clear all

Controller update frequency.

(@thdyno)
Member

Hi!

What Hz on the update is best used with the yourdyno power supply.

My brake reacts a little slow , but if i increase the PID numbers it becomes unstable 

PID settings is: p 0.7 i 0.2 d 0.08

Has anyone played around with the

Update frequency?

Thanks

Quote
Topic starter Posted : 25/09/2021 5:57 am
(@admin)
Member Admin

Hi,

If your PC is fast enough (most modern PCs are) then use 20Hz.

You should probably reduce Kp, increase Ki and reduce Kd a bit. Try something like 0.5, 0.5, 0.05. You can plot the Kp, Ki and Kd to see which parameter is oscillating.  

ReplyQuote
Posted : 25/09/2021 8:30 am
(@thdyno)
Member

Ok thanks.

I will try 20hz then👍

And try the pid you mentioned

 

ReplyQuote
Topic starter Posted : 25/09/2021 10:01 am
(@thdyno)
Member

Hi 

I tried 20hz today and ended up with these pid's: p 0.5 i 0.4 d0.0

Alot better now.

I think its strange that the D. Needs to be zero.

But i will try some different cars and see if i need some further adjustments

ReplyQuote
Topic starter Posted : 26/09/2021 7:37 pm
Share:
Select your currency
EUR Euro
USD United States (US) dollar