??? 11/27/04 19:57 Read: times |
#82094 - 20.000, not 2000. Responding to: ???'s previous message |
excuse me, my mistake. 20ms = 20.000 microseconds, not 2000. That's 20.000 instruction cycles. With decent programming in ASM you can get a simple PID under 0.1ms. 20ms should work even with quite flaky C code of prety advanced variation.
Of course if that's not enough, you may get a faster '51 derivative, use a DSP instead, or do everything in one cycle on FPGA. |
Topic | Author | Date |
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 |