10-30-2014 08:16 AM - edited 10-30-2014 08:17 AM
Hi,
I am having some problems regarding the simulation of a Non Linear subsystem and I am feeling like I am getting stuck into a hole, because I do not know whats going on. I posted some messages before, but I had no response and I would want to try it another time.
I am designing a controller for a swing-up and balance of an inverted pendulum mounted on a cart system. I created a non linear model which represents the full range non linear equations of motion and also a linearized model towards the upright equilibrium point, in order to design the balance controller (using linear techniques).
I am able to design and simulate some controllers for the Linear model, but when I try to apply the same controllers to the Non Linear Model it seems to freeze in an infinite loop.
then I am attaching three different simulation VIs, first one is the non linear model (NML) in open loop response versus different input signals. I am putting this in order you could see that the susbsystem model is valid. The second one is the linear model (ML) performing a state feedback controller with two different startegias (pole placement and linera quadratic regulator), so you could see that it works fine. The last one is the non linear model feedback simulation controller that fails. I hope it wont be a serious problem, but I am not being able to solve....
Any help to overcome this is very apreciated, since I do not know where to research to overcome this problem.
Best regards.
10-30-2014 08:19 AM
Here comes the rest of vis.
10-30-2014 08:34 AM
In order to help, my thoughts are into discover why with the non linear model, the control action u=Vm (Volts) grows without bound, and goes to the infinity at the very first moments of the simulation, causing the VI to fail.