Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/04/07 16:14
Read: times


 
#145394 - Questions
Responding to: ???'s previous message
Student ,or Not
For What? PID only works in the proper application.
How Fast?
Note that PI maybe enough, PID is harder to tune.

Note that there are 2 similar formulas.

vaguely:
1. Calculate the error (E)
2. Add the error to a sum of errors (SumError)
3. Subtract the error from the last error (Derror)
4. Out = (Const_P *E) + (Const_I * SumError) + (Const_D * Derror)

That is the basic way.
If you are doing as real controller you may need to normalize and linearize the input and output (0 - 100%) and account for time if you want to use published tuning formulas.

Don't forget to clamp integral windup.

That is a start.

List of 19 messages in thread
TopicAuthorDate
89c51 PID Control            01/01/70 00:00      
   Google            01/01/70 00:00      
      RE: Google            01/01/70 00:00      
      Google result            01/01/70 00:00      
         What did you expect?            01/01/70 00:00      
            PID            01/01/70 00:00      
         Questions            01/01/70 00:00      
   Interesting link?            01/01/70 00:00      
   PID whit 8052            01/01/70 00:00      
      I have done PID with a '51            01/01/70 00:00      
         PID whit 8052            01/01/70 00:00      
            corrections            01/01/70 00:00      
               PID whit 8052            01/01/70 00:00      
                  Ok another has been renamed/sold            01/01/70 00:00      
                     'ave a go            01/01/70 00:00      
                     PID            01/01/70 00:00      
                        Here is an usefull link            01/01/70 00:00      
                           I remember that Raghunathan also...            01/01/70 00:00      
                           Muchas Gracias!!!            01/01/70 00:00      

Back to Subject List