Skip to content

Commit f789a1c

Browse files
Updat readme
1 parent 08d9be4 commit f789a1c

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

  • source/getting-started/control-with-amdc/integrator-anti-windup

source/getting-started/control-with-amdc/integrator-anti-windup/index.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -182,11 +182,8 @@ Notice that the above assumptions cause the simple and advanced clamping to beha
182182

183183
Based on this, a highly specific scenario is now introduced where advanced clamping demonstrates better performance. Here is simulation scenario to demonstrate the superiority of advanced clamping than simple clamping:
184184

185-
1. A disturbance of 3 occurs at 0.5 seconds, and causes the system to saturate.
186-
2. After the output is stabilized to 0, the positive reference of 1 is commanded at 5 seconds.
187-
3.
188-
189-
**Controller Behavior**: At 5 seconds, the controller set point starts toggling around the saturated output.
185+
1. A `Disturbance` with amplitude of 3 is applied at 0.5 seconds, causing the system to saturate.
186+
2. Once the `Output` has stabilized at 0, a positive reference of 1 is commanded at 5 seconds.
190187

191188
Here are simulation results based on the above scenarios:
192189

@@ -210,13 +207,9 @@ Here are simulation results based on the above scenarios:
210207
:width: 600
211208
```
212209

213-
```{image} images/Iout-advanced-better.svg
214-
:align: center
215-
:width: 600
216-
```
210+
As indicated in `Output` plot, the advanced clamping performs better, whereas the simple clamping can no longer track the reference. Interestingly, the simple clamping can be even worse than having no anti-windup in this example. _However_, this can be observed only if the proportional gain of $K_\text{p}$ is very small ($= 0.0001 \times 2\pi \times 10$ in this case).
217211

218-
From the `Output` result, when the controller set point drops below the output, the advanced clamping method avoids integrating, allowing for effective unwinding. On the other hand, the simple clamping continues to integrate, which may not handle unwinding as effectively as the advanced method. _However_, this can be observed only if the proportional gain of $K_\text{p}$ is very small ($= 0.0002 \times 2\pi \times 10$ in this case), which is not commonly preferred, especially if the PI controller is tuned for pole-zero cancellation.
219-
Significant differences in the advanced clamping only appear when the system saturates **AND** signs are different from error vs control output, which is uncommon since the difference in signs usually moves out immediately. Therefore, the highly specific scenario where the system stays in saturation during this flip in signs is necessary to clearly make the advanced method better. This suggests that the effort to implement the advanced clamping version is probably not worth it for the typical motor control systems.
212+
Significant differences in the advanced clamping only appear when the system saturates **AND** signs are different from error vs control output, which is uncommon since the difference in signs usually moves out immediately. In this example, the `Error` suddenly becomes positive at 5 seconds, while the `preSat` remains negative due to low P gain. This brakes the equal sign condition (i.e., `Error` does not have the same sign as the `preSat`) and unclamps the integrator. Because setting a significantly low P gain is generally undesirable, this suggests that the additional effort to implement the advanced clamping is probably not worth for the typical motor control systems.
220213

221214
### Back-tracking
222215

0 commit comments

Comments
 (0)