Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4ee9fd1

Browse files
committed
small docstring fix
1 parent746e089 commit4ee9fd1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎control/sisotool.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,9 @@ def rootlocus_pid_designer(plant, gain='P', sign=+1, input_signal='r',
197197
When first run, `deltaK` is set to 0; click on a branch of the root locus
198198
plot to try a different value. Each click updates plots and prints
199199
the corresponding `deltaK`. To tune all three PID gains, repeatedly call
200-
`pid_designer`, and select a different `gain` each time (`'P'`, `'I'`,
201-
or `'D'`). Make sure to add the resulting `deltaK` to your chosen initial
202-
gain on the next iteration.
200+
`rootlocus_pid_designer`, and select a different `gain` each time (`'P'`,
201+
`'I'`,or `'D'`). Make sure to add the resulting `deltaK` to your chosen
202+
initialgain on the next iteration.
203203
204204
Example: to examine the effect of varying `Kp` starting from an intial
205205
value of 10, use the arguments `gain='P', Kp0=10`. Suppose a `deltaK`
@@ -331,5 +331,5 @@ def rootlocus_pid_designer(plant, gain='P', sign=+1, input_signal='r',
331331
outlist=['output','y'])
332332
ifplot:
333333
sisotool(loop,kvect=(0.,))
334-
returnStateSpace(loop[1,1].A,loop[1,1].B,loop[1,1].C,loop[1,1].D,
335-
loop[1,1].dt)
334+
cl=loop[1,1]# closed loop transfer function with initial gains
335+
returnStateSpace(cl.A,cl.B,cl.C,cl.D,cl.dt)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp