Skip to content

Autotune feature usage. #21

Answered by ScratMan
bigbread59 asked this question in Q&A
Nov 22, 2021 · 4 comments · 12 replies
Discussion options

You must be logged in to vote

Hello,

If autotune fails (it really depends on the regularity of the oscillation), you can extract the required information from the temperature history manually (and you can do it as soon as you have a full period of oscillation, while the autotune often needs to wait several cycles) :
Measure the amplitude of the oscillation Yosc (in degrees) and the oscillation period tosc (in seconds).

This will allow computing the ultimate gain Ku:
Ku = 8.0 * difference / (Yosc * pi)
(difference = 100 by default)

Next, depending on the autotune rule you prefer (it provides different results) you can compute the gains Kp, Ki and Kd using the divisors of the selected rule :

ruler divisor1 divisor2 d…

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
5 replies
@bigbread59
Comment options

@ScratMan
Comment options

@bigbread59
Comment options

@ScratMan
Comment options

@bigbread59
Comment options

Comment options

You must be logged in to vote
2 replies
@ScratMan
Comment options

@bigbread59
Comment options

Comment options

You must be logged in to vote
4 replies
@bigbread59
Comment options

@MarkoPaasila
Comment options

@nagyrobi
Comment options

@zagi988
Comment options

Answer selected by bigbread59
Comment options

You must be logged in to vote
1 reply
@Masterz69
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants