VLabs logo

Virtual Labs
IIT Kharagpur

IIT KGP Logo

Control Design via Pole Placement for an Inverted Pendulum on a Cart with Pre-Compensator Design




Steps to perform the simulation

  1. Enter the parameter values of the Inverted Pendulum on cart.


  2. Fig. 1. Parameter values of the Inverted pendulum on cart

  3. Click on 'State Space Model' button to get the state space form of the system.




  4. Fig. 2. Button to get the state Space form of the system

  5. Click on ' Enter the Pole Location' button to enter the desired pole values.


  6. Fig. 3. Button to enter the desired pole values

  7. Enter the desired pole values.


  8. Fig. 4. The desired pole values

  9. Click on 'Design' button for calculating the state feedback gain and pre-compensator gain values.


  10. Fig. 5. Button to calculate the state feedback and pre-compensator gain values

  11. Click on the 'Rank' or 'Determinant' or "Inference' or ' Gain Values' buttons to get the the Controllability test information and gain values.


  12. Fig. 6. Rank, Determinant, Inference and Gain Values of the Controllability test and feedback gain with pre-compensator information

  13. Click on the 'Type of Response' dropdown button to select the required response in the simulation.


  14. Fig. 6. Selection of Response Type for Simulation

  15. Enter the required values and click on the 'Closed Loop Response' button to generate the plot.


  16. Fig. 7. Closed Loop Response button to get the plot

  17. Note: Enter the initial position value between -10 m to +10 m and enter the initial angle value between -6 ° to +6 ° (as per the practical experiment point of view). Click on the "Closed Loop Response" button.

  18. Click on 'Download' button to download the plot.

  19. Click on 'Clear' button to enter new parameter values for the system.