Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Inverted Pendulum - Creative Programming! (http://www.chiefdelphi.com/forums/showthread.php?t=130948)

brianburke@bwc 28-10-2014 14:35

Inverted Pendulum - Creative Programming!
 
Check out this new video of a linear actuator used as an Inverted Pendulum!
Click Here!

This is a great example of programming.

Joe G. 28-10-2014 14:47

Re: Inverted Pendulum - Creative Programming!
 
Cool video!

I spy some banebots parts.

Chadfrom308 28-10-2014 15:14

Re: Inverted Pendulum - Creative Programming!
 
Quote:

Originally Posted by Joe G. (Post 1406183)
Cool video!

I spy some banebots parts.

I see the wheels, anything else?

I'd love to see the program on that

Michael Hill 28-10-2014 18:10

Re: Inverted Pendulum - Creative Programming!
 
I'm guessing it's a rather untuned PD controller. Inverted pendulums can be controlled pretty stably if you use even just PD. X-travel targeting can be accomplished by adding in the Integral.

We did this in my controls lab. We used LQR and PID control (though the manual only lists LQR). There's some good math behind it all though. The lab does discuss adding in an Integral controller though.

https://engineering.purdue.edu/AAE/A...11/lab3/manual

These labs were always scary because we had to calculate all of our gains prior to actually testing and we had to put our gains to the test in lab (only 1 chance to get it right)

Monochron 28-10-2014 19:55

Re: Inverted Pendulum - Creative Programming!
 
Mmmm, dat PID control loop. Love this stuff.

Chadfrom308 28-10-2014 23:30

Re: Inverted Pendulum - Creative Programming!
 
Quote:

Originally Posted by Monochron (Post 1406226)
Mmmm, dat PID control loop. Love this stuff.

Something tells me there is a little more than just a PID loop in there

But, the PID loop is very well tuned. Probably running insanely fast too

mman1506 28-10-2014 23:43

Re: Inverted Pendulum - Creative Programming!
 
More info here. http://www.youtube.com/watch?v=KOLRu7z-Gnk

Taylor 29-10-2014 07:18

Re: Inverted Pendulum - Creative Programming!
 
Quote:

Originally Posted by Michael Hill (Post 1406219)
I'm guessing it's a rather untuned PD controller. Inverted pendulums can be controlled pretty stably if you use even just PD. X-travel targeting can be accomplished by adding in the Integral.

We did this in my controls lab. We used LQR and PID control (though the manual only lists LQR). There's some good math behind it all though. The lab does discuss adding in an Integral controller though.

https://engineering.purdue.edu/AAE/A...11/lab3/manual

These labs were always scary because we had to calculate all of our gains prior to actually testing and we had to put our gains to the test in lab (only 1 chance to get it right)

I've seen a Boilermaker version of this machine, possibly the one Michael referenced above. However, the operator held the pendulum upright, then started the machine. How much more difficult is is for the machine to start with the pendulum pointed down, as the OP video shows?

Monochron 29-10-2014 07:30

Re: Inverted Pendulum - Creative Programming!
 
Quote:

Originally Posted by Chadfrom308 (Post 1406245)
Something tells me there is a little more than just a PID loop in there

But, the PID loop is very well tuned. Probably running insanely fast too

A couple groups in my senior design class did this project a couple years ago with a PID loop and processing offloaded to XPC. Looks similar, but yeah, I would be interested to see a technical paper on how they achieved that crazy in the video :D

Michael Hill 29-10-2014 08:36

Re: Inverted Pendulum - Creative Programming!
 
Quote:

Originally Posted by Taylor (Post 1406270)
I've seen a Boilermaker version of this machine, possibly the one Michael referenced above. However, the operator held the pendulum upright, then started the machine. How much more difficult is is for the machine to start with the pendulum pointed down, as the OP video shows?

It's not that much more difficult with the single pendulum to be honest. It's more difficult with the double pendulum. Part of the problem can be the physical track length. Bad things happen when you slam into the sides.

This is the version we used: http://www.quanser.com/products/linear_servo_IP02

Tom Line 29-10-2014 17:18

Re: Inverted Pendulum - Creative Programming!
 
They have a similar device at the Ann-Arbor Hands on Museum. However, the pendulum is supported from a swing - arm that travels in a circle. That way it's not on a linear track and you never run out of track to balance on.


All times are GMT -5. The time now is 23:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi