Hi everybody! I decided to use linear-quadratic regulation to control the temperature. Tell me, how can this be implemented in atmega168pa C language?
Hello roman_arduino
Take a search engine of your choice and ask the WWW for 'linear-quadratic regulation +arduino' to collect some data to be sorted out to get the needed information.
Have a nice day and enjoy coding in C++.
What led to this decision?
What do you mean ? I have heard on on-off, and PI but not quadratic equation.
I've never heard of that either but keep in mind that a program doesn't have "equations" it has "expressions" where the result or "answer" is a value on the left and all of the variables have to be fixed/known when the expression is evaluated (run).
This is a valid expression
X = A + B;
These are not valid in C++
A + B = X;
A + B = X + Y;
This is a valid C++ expression but not a valid equation
X = X +1;
I decided to use linear-quadratic regulation to control the temperature
Learned something today.
https://en.wikipedia.org/wiki/Linear%E2%80%93quadratic_regulator
In all my temperature control applications I have never used this. As @jremington says --"Why"?
LQR is like PID (which minimizes the error between target and measured parameters), except that you also minimize the "cost" of performing the regulation.
The function to measure the cost is left up to the designer. For industrial control processes, LQR makes sense, except that it costs a lot to hire engineers to design and implement the system.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.