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: examples/describing_functions.ipynb
+13-10Lines changed: 13 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,10 @@
4
4
"cell_type": "markdown",
5
5
"metadata": {},
6
6
"source": [
7
-
"# Describing Function Analysis Using the Python Control Toolbox (python-control)\n",
8
-
"### Richard M. Murray, 27 Jan 2021\n",
9
-
"This Jupyter notebook shows how to use the `nltools` module of the Python Control Toolbox to perform describing function analysis of a nonlinear system. A brief introduction to describing functions can be found in [Feedback Systems](https://fbsbook.org), Section 10.5 (Generalized Notions of Gain and Phase)."
7
+
"# Describing function analysis\n",
8
+
"Richard M. Murray, 27 Jan 2021\n",
9
+
"\n",
10
+
"This Jupyter notebook shows how to use the `descfcn` module of the Python Control Toolbox to perform describing function analysis of a nonlinear system. A brief introduction to describing functions can be found in [Feedback Systems](https://fbsbook.org), Section 10.5 (Generalized Notions of Gain and Phase)."
10
11
]
11
12
},
12
13
{
@@ -35,7 +36,7 @@
35
36
"source": [
36
37
"### Saturation nonlinearity\n",
37
38
"\n",
38
-
"A saturation nonlinearity can be obtained using the `ct.nltools.saturation_nonlinearity` function. This function takes the saturation level as an argument."
39
+
"A saturation nonlinearity can be obtained using the `ct.saturation_nonlinearity` function. This function takes the saturation level as an argument."
"A backlash nonlinearity can be obtained using the `ct.nltools.backlash_nonlinearity` function. This function takes as is argument the size of the backlash region."
100
+
"A backlash nonlinearity can be obtained using the `ct.backlash_nonlinearity` function. This function takes as is argument the size of the backlash region."
"Consider a nonlinear feedback system consisting of a third-order linear system with transfer function $H(s)$ and a saturation nonlinearity having describing function $N(a)$. Stability can be assessed by looking for points at which \n",
234
235
"\n",
235
-
"$$ H(j\\omega) N(a) = −1$$\n",
236
+
"$$\n",
237
+
"H(j\\omega) N(a) = -1",
238
+
"$$\n",
236
239
"\n",
237
240
"The `describing_function_plot` function plots $H(j\\omega)$ and $-1/N(a)$ and prints out the the amplitudes and frequencies corresponding to intersections of these curves. "
Copy file name to clipboardExpand all lines: examples/steering.ipynb
+1-12Lines changed: 1 addition & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -5,23 +5,12 @@
5
5
"metadata": {},
6
6
"source": [
7
7
"# Vehicle steering\n",
8
-
"Karl J. Astrom and Richard M. Murray\n",
8
+
"Karl J. Astrom and Richard M. Murray\n",
9
9
"23 Jul 2019\n",
10
10
"\n",
11
11
"This notebook contains the computations for the vehicle steering running example in *Feedback Systems*."
12
12
]
13
13
},
14
-
{
15
-
"cell_type": "markdown",
16
-
"metadata": {},
17
-
"source": [
18
-
"RMM comments to Karl, 27 Jun 2019\n",
19
-
"* I'm using this notebook to walk through all of the vehicle steering examples and make sure that all of the parameters, conditions, and maximum steering angles are consitent and reasonable.\n",
20
-
"* Please feel free to send me comments on the contents as well as the bulletted notes, in whatever form is most convenient.\n",
21
-
"* Once we have sorted out all of the settings we want to use, I'll copy over the changes into the MATLAB files that we use for creating the figures in the book.\n",
22
-
"* These notes will be removed from the notebook once we have finalized everything."
0 commit comments