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 AutomationElements by
PT2cc Class Reference
Transfer function of a general PT2 form. More...
#include <PT2cc.h>
Public Member Functions | |
| PT2cc () | |
| Default constructor. | |
| PT2cc (double K, double zeta, double w_n, double sampleTime) | |
| PT2cc transfer function parameters K, zeta, w_n and sample time in seconds. | |
| void | setParameters (double K, double zeta, double w_n, double sampleTime) |
| Update PT2cc transfer function parameters and sample time. | |
| double | out () |
| Calculate the output y. | |
| void | in (double u) |
| Set the input u. | |
Detailed Description
Transfer function of a general PT2 form.
cc stands for conjugate-complex. G(s) = Y(s) / U(s) = K w_n^2 / ( s^2 + 2 zeta w_n + w_n^2 )
Author(s): TVZ Mechatronics Team
Definition at line 12 of file PT2cc.h.
Constructor & Destructor Documentation
| PT2cc | ( | ) |
| PT2cc | ( | double | K, |
| double | zeta, | ||
| double | w_n, | ||
| double | sampleTime | ||
| ) |
Member Function Documentation
Generated on Thu Jul 14 2022 20:25:49 by
1.7.2
