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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/27/04 19:50
Read: times


 
#82092 - very fast 20ms ???
Responding to: ???'s previous message
PID summary:

P: One multiplication.
I: One multiplication, one addition.
D: One substraction, one division
Two additions to bring them all together.
One infinite loop to keep things rolling.
Reading input, writing output.
Optional extensions like bias (1 addition), rate limits (2 conditionals), maximum value violation exception (2 conditionals), extra safety checks (n conditionals). All in floating point.

Everything must fit in 2000 cycles on a standard /12 12MHZ MPU.

Taking 100 cycles (Excessive!) for a single operation, you need maybe 1500 cycles to have all the standard stuff done.

So where's the problem?

List of 28 messages in thread
TopicAuthorDate
help about pid            01/01/70 00:00      
   Floating point?            01/01/70 00:00      
      Keil floating-point performance            01/01/70 00:00      
   Search the forum            01/01/70 00:00      
   Floating Point Vs Mixed point            01/01/70 00:00      
      You mean Fixed Point            01/01/70 00:00      
         Mixed not Fixed            01/01/70 00:00      
   Warnings about Floating Point            01/01/70 00:00      
      Shortcuts            01/01/70 00:00      
         Implied aka Fixed point            01/01/70 00:00      
      Another Shortcut            01/01/70 00:00      
         Answering the question            01/01/70 00:00      
            Autotunning?            01/01/70 00:00      
            PID Tricks and Tuning            01/01/70 00:00      
               Great Stuff !            01/01/70 00:00      
                  I followed your idea...            01/01/70 00:00      
                  Another couple tricks            01/01/70 00:00      
                     tests            01/01/70 00:00      
                        limit cycle tuning            01/01/70 00:00      
         PID to control a Peltier            01/01/70 00:00      
            An idea to try            01/01/70 00:00      
   very fast 20ms ???            01/01/70 00:00      
      20.000, not 2000.            01/01/70 00:00      
      very fast 20ms ???            01/01/70 00:00      
         in points...            01/01/70 00:00      

Back to Subject List