Q&A Forum

Controller update f...
 
Notifications
Clear all

Controller update frequency.

4 Posts
2 Users
0 Reactions
927 Views
(@thdyno)
Posts: 50
Member
Topic starter
 

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

 
Posted : 25/09/2021 6:57 am
(@Anonymous)
Posts: 0
 

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.  

 
Posted : 25/09/2021 9:30 am
(@thdyno)
Posts: 50
Member
Topic starter
 

Ok thanks.

I will try 20hz then👍

And try the pid you mentioned

 

 
Posted : 25/09/2021 11:01 am
(@thdyno)
Posts: 50
Member
Topic starter
 

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

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