IPEN2pu, IPEN3pu – N-link inverted pendulum on cart - Dynamic parameters
Block SymbolsLicensing group: MODEL
Function Description
The IPEN2pu and IPEN3pu blocks simulate the dynamics of double and triple inverted
pendulums on a cart, respectively. These models enable users to conduct experiments with
various control strategies, making them suitable for both educational and research
purposes.
For both models, the primary input is an analog signal a, which denotes the acceleration of the cart []. The R1 signal is used to reset each model to its initial configuration.
Both models can be precisely configured with using the system’s dynamic parameters p1 - p11 and the initial state of the system (positions d_0, velocities dd_0). The dynamic parameters can be determined using the physical parameters defined in the IPEN2 and IPEN3 blocks and the equations listed below. The model details are thoroughly described in the literature [6].
For the IPEN2pu model, the dynamic parameters are defined as follows:
For the IPEN3pu model, the dynamic parameters are defined as follows:
This block does not propagates the signal quality. More information can be found in the 1.4 section.
Input
a | Acceleration of cart [m/s^2] | Double (F64) |
R1 | Block reset | Bool |
Parameter
p1 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p2 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p3 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p4 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p5 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p6 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p7 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p8 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p9 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p10 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
p11 | Dynamic model parameter (see model equation) 1.0 | Double (F64) |
d1_0 | Initial angle of pendulum [rad] 1.0 | Double (F64) |
d2_0 | Initial angle of pendulum [rad] 1.0 | Double (F64) |
d3_0 | Initial angle of pendulum [rad] 1.0 | Double (F64) |
x_0 | Initial position of cart [m] 1.0 | Double (F64) |
dd1_0 | Initial angular velocity of pendulum [rad/s] 1.0 | Double (F64) |
dd2_0 | Initial angular velocity of pendulum [rad/s] 1.0 | Double (F64) |
dd3_0 | Initial angular velocity of pendulum [rad/s] 1.0 | Double (F64) |
dx_0 | Initial velocity of cart [m/s] 1.0 | Double (F64) |
Output
d1 | Angle of pendulum [rad] | Double (F64) |
d2 | Angle of pendulum [rad] | Double (F64) |
d3 | Angle of pendulum [rad] | Double (F64) |
x | Position of cart [m] | Double (F64) |
dd1 | Angular velocity of pendulum [rad/s] | Double (F64) |
dd2 | Angular velocity of pendulum [rad/s] | Double (F64) |
dd3 | Angular velocity of pendulum [rad/s] | Double (F64) |
dx | Velocity of cart [m/s] | Double (F64) |
E | Error indicator | Bool |
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com