You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-33Lines changed: 39 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,12 @@ This is an open loop PID autotuner using a novel s-curve inflection point test m
6
6
7
7
This tuning method determines the process gain, dead time, time constant and more by doing a shortened step test that ends just after the [inflection point](http://en.wikipedia.org/wiki/Inflection_point) has been reached. From here, the apparent maximum PV (input) is mathematically determined and the controller's tuning parameters are calculated. Test duration is typically only ½Tau.
8
8
9
-
- See [**WiKi**](https://github.com/Dlloydev/sTune/wiki) for test results and more.
9
+
See [**WiKi**](https://github.com/Dlloydev/sTune/wiki) for test results and more:
- The process gain `Ku` and time constant `Tu` are determined and the selected tuning rule's constants are used to determine `Kp, Kiand Kd`. Also, `controllability` and other details are provided (see comments in `sTune.cpp`).
65
+
- The process gain `Ku` and time constant `Tu` are determined and the selected tuning rule's constants are used to determine `Kp, Ki, Kd, Ti and Td`. Also, `controllability` and other details are provided (see comments in `sTune.cpp`).
61
66
- In the user's sketch, the PID controller is set to automatic, the tuning parameters are applied the PID controller is run.
-`input` and `output` are pointers to the variables holding these values.
72
77
-`tuningRule` provides selection of 10 various tuning rules as described in the table below.
73
78
-`action` provides choices for controller action (direct or reverse) and whether to perform a fast inflection point test (IP) or a full 5 time constant test (5T). Choices are `directIP`, `direct5T`, `reverseIP` and `reverse5T`.
74
-
-`serialMode` provides 6 choices for serial output as described in the table below.
|`ZN_PID`|[](https://user-images.githubusercontent.com/63488701/149275791-a46f353a-3215-486c-a9ce-d96183897272.PNG)|Open Loop Ziegler-Nichols method with ¼ decay ratio |
84
+
|`DampedOsc_PID`|[](https://user-images.githubusercontent.com/63488701/149275509-68d12ba6-269a-4ce1-b8a7-36037518c49b.PNG)| Damped Oscillation method can solve marginal stability issues|
85
+
|`NoOvershoot_PID`|[](https://user-images.githubusercontent.com/63488701/149275728-4fca57f0-c975-4350-ab45-56d50b7c2cdf.PNG)| No Overshoot uses the C-H-R method (set point tracking) with 0% overshoot|
86
+
|`CohenCoon_PID`|[](https://user-images.githubusercontent.com/63488701/149275398-69586823-0267-4834-8183-d383713f2d27.PNG)| Open loop Cohen Coon method approximates closed loop response with a ¼ decay ratio|
87
+
|`Mixed_PID`|[](https://user-images.githubusercontent.com/63488701/149275646-7aa0d8c9-397e-4bc5-8110-85b54a951c4f.PNG)| Mixed method averages the gains for `ZN_PID`, `DampedOsc_PID`, `NoOvershoot_PID` and `CohenCoon_PID`|
88
+
|`ZN_PI`||Open Loop Ziegler-Nichols method with ¼ decay ratio |
89
+
|`DampedOsc_PI`|| Damped Oscillation method can solve marginal stability issues|
90
+
|`NoOvershoot_PI`|| No Overshoot uses the C-H-R method (set point tracking) with 0% overshoot|
91
+
|`CohenCoon_PI`|| Open loop Cohen Coon method approximates closed loop response with a ¼ decay ratio|
92
+
|`Mixed_PI`|| Mixed method averages the gains for `ZN_PI`, `DampedOsc_PI`, `NoOvershoot_PI` and `CohenCoon_PI`|
0 commit comments