Digital modelling of Inverted Pendulum on a cart

AI Thread Summary
The discussion focuses on the digital modeling of an inverted pendulum on a cart, essential for stabilizing the system at its unstable equilibrium point. The system is defined as a 4th order underactuated model with states representing the cart's position and velocity, as well as the pendulum's position and velocity. The control law consists of three components, incorporating log, signum, and exponential terms, along with a linear controller. Specific parameters and expressions are provided to illustrate the control strategy, including energy calculations and control inputs based on the system's states. The thread seeks guidance on how to effectively digitalize the system for implementation.
meiskaustubh
Messages
2
Reaction score
0
I am pursuing bachelor in engineering.i have a case study involving the stabilization of an inverted pendulum about it's unstable equilibrium point.

My problem is that I have to digitalize my system before i can implement it.
Can anyone tell me how to digitalize the system.
 
Engineering news on Phys.org
my system model is of the form y = f(x) + g(x) * u.
the system is an underactuated 4th order system with the states as the cart position(x1) and velocity(x3) and the pendulum position(x2) and velocity(x4).
the control law 'u' consist of 3 parts.the first part contains log term and signum term,the second contains signum,log and exponential terms and the 3rd is a linear controller.

for specific expressions.
Len=.4;
V = 2;
ksu = 1.63;
kcw = 2.3;
kvw = 5;
kem = 6;
n = 1.05;
E = .5*((M + m)*x3^2 + 2*m*l*cos(x2)*x3*x4 + m*l^2*x4^2) + m*g*l*(cos(x2) - 1);
E0 = 0;
ucw = kcw*sign(x1)*log(1-abs(x1)/Len);
uvw = kvw*sign(x3)*log(1 - abs(x3)/V);
uem = kem*(exp(abs(E - n*E0)) - 1)*sign(E - E0)*sign(x4*cos(x2));

u1 = -ksu*sign(x4*cos(x(2))) + ucw
u2 = ucw + uvw + uem
u3 = k*x
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top