Searching \ for 'Most compact, PIC18-friendly, P.I.D. loop code' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page:
Search entire site for: 'Most compact, PIC18-friendly, P.I.D. loop code'.

Truncated match.
PICList Thread
'Most compact, PIC18-friendly, P.I.D. loop code'
2008\03\04@112622 by Matthew Rhys-Roberts

I'm looking for some reasonably simple PID code to do the following:

a) 16-bit setpoint (0000-FFFF)
b) 16-bit sensor (0000-FFFF)
c) P, I & D coefficients (8? 16? bits each)

16-bit drive (0000-FFFF), which
increases towards FFFF if sensor < setpoint,
decreases towards 0000 if sensor > setpoint,
stands still when sensor = setpoint.

Code would nominally be called every 10mS, but this is not set in stone.

Anything off the shelf out there worth recommending please?



More... (looser matching)
- Last day of these posts
- In 2008 , 2009 only
- Today
- New search...