Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of PID by
PID Class Reference
Includes. More...
#include <PID.h>
Public Member Functions | |
| PID (double *, double *, double *, double, double, double, int, float *, float *) | |
| Includes. | |
Detailed Description
Includes.
LICENSE
Copyright (c) 2010 ARM Limited
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DESCRIPTION
A PID controller is a widely used feedback controller commonly found in industry.
This library is a port of Brett Beauregard's Arduino PID library:
http://www.arduino.cc/playground/Code/PIDLibrary
The wikipedia article on PID controllers is a good place to start on understanding how they work:
http://en.wikipedia.org/wiki/PID_controller
For a clear and elegant explanation of how to implement and tune a controller, the controlguru website by Douglas J. Cooper (who also happened to be Brett's controls professor) is an excellent reference:
Definition at line 52 of file PID.h.
Constructor & Destructor Documentation
| PID | ( | double * | Input, |
| double * | Output, | ||
| double * | Setpoint, | ||
| double | Kp, | ||
| double | Ki, | ||
| double | Kd, | ||
| int | ControllerDirection, | ||
| float * | NOWTIME, | ||
| float * | LASTTIME | ||
| ) |
Includes.
LICENSE
Copyright (c) 2010 ARM Limited
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
DESCRIPTION
A PID controller is a widely used feedback controller commonly found in industry.
This library is a port of Brett Beauregard's Arduino PID library:
http://www.arduino.cc/playground/Code/PIDLibrary
The wikipedia article on PID controllers is a good place to start on understanding how they work:
http://en.wikipedia.org/wiki/PID_controller
For a clear and elegant explanation of how to implement and tune a controller, the controlguru website by Douglas J. Cooper (who also happened to be Brett's controls professor) is an excellent reference:
*******************
Generated on Tue Aug 2 2022 11:32:24 by
1.7.2
