Это видео недоступно.
Сожалеем об этом.
Swing-up and Control of Linear Triple Inverted Pendulum
HTML-код
- Опубликовано: 21 мар 2018
- Modular inverted pendulum, by default triple, easily adjusted to double or simple one. LQR time-varying controller implemented to 2-DOF control scheme both for the swing-up and stabilization in the upright position. Real setup equipped with a special fast FPGA-based PC with REX Control System. Reference trajectories computed by BvP. Designed due to cooperation between VSB-TUO, Department of Cybernetics and Biomedical Engineering. Powered by REXYGEN (www.regygen.com)
Public version of the paper "Closed-loop Swing-up and Stabilization of Inverted Pendulum by Finite-horizon LQR Applied in 2-DOF Concept": control.ibspan....
or control.ibspan.....
Reference to my webpage: smartcontrols....
My jaw genuinely dropped at the first swing up and stayed open for most of the video
Thanks!
@@StepanOzana I'll second that. This is absolutely astounding!
For me the swing down was even more impressive. That’s some motion control where if really feels like the computer generated world is bleeding into the physical world.
@@StepanOzana keep up the great work!
How do we know a swing up is just not a swing down with the video in reverse?
the swing up and down maneuvers are awesome
No joke, I can barely work out what's going on at 10% speed.
Holy crap even standing 2 pendulums is insane… but 3?!?! I don’t even want to know how much math went into this! Incredible!
Thank you very much for your support.
so many differential equations it is totally an art
Mine works super stable in the down position.
Gravity laugh
Also under perturbation? 😋
@ Of course, it reliably becomes stable after any perturbation.
@@leonardmilcin7798 You could have messed up the control. 😉
@ Fortunately, I am using best industry practices when it comes to my control loop. I can mathematically prove it contains no bugs and that is no small feat. The only problem my team of PhDs is observing is long period of oscillation after perturbation that suggests less than optimal control. Fortunately, we found breakthrough solution in the form of magic substance, iron oxide, which applied to our pendulums greatly reduces the problem. We are now registering a patent to generate this magic substance in situ, on our steel models, by a very ingenious process. I can't give much more information about it.
When you see the first downswing and think its not that impressive but then you see the uncontrolled one
I was blown away the first up swing when it became clear it was balancing a 3 arm pendulum cause those are children of chaos
so you made a table with more talent than me
great
a table who's primary and possibly only function is to be good at this one thing. If you had thousands of hours of practice, you could probably do just as well. but you'd also be able to do other things too.
More brain power too.
@@sayethwe8683 i mean even with a billion hours of practise you will never be as good at digging and lifting as an excavator. Some things cannot be learned.
The swing up is impressive but that swing down is just so satisfying.
I've worked on inverted pendulums and attempted double inverted pendulums, and seen them successfully done, but I've never even tried a triple and this is the first smoothly successful one I've seen! Absolutely wondrous
I live for that triumphant 90s musac that begins when the pendulum swung up. That combined with the 90s aesthetics of the whole video is simply *chef's kiss*
Thank you very much for your support.
Searching for videos of random/chaos movement of triple pendulums.
I didn't expect to see this, that's some great engineering!
I didn't even know that was physically possible. I read that a double pendulum was chaotic, and this one is a triple ! Incredible work !
I can't express how amazed I am...
thank you so much!
A new paper on trajectory planning for inverted pendulums is out: www.mdpi.com/2073-8994/12/5/792
Fantastic demonstration. It's been quite a few years since I studied control engineering but I don't think I was ever equipt to manage this, it's probably a good thing I ended up working with databases :D
This is pure beauty! Nice Work!
thank you so much!
A new paper on trajectory planning for inverted pendulums is out: www.mdpi.com/2073-8994/12/5/792
That is some ninja grade control engineering 🤹 kudos
I know only a little about PID systems, but enough to know that is very, very impressive.... Congratulations and thanks for sharing :)
This should be scaled up and get seats. The new attraction in an amusementpark near you! THE GUTSPILLER!
have fun, with 30+G maneuvers where you can actually feel your blood rushing to one side of your body, and when you have to come down, that's right, you knock out, because your body cant take more than -2Gs of force, you weak person
@@TheWizardGamez well if its called THE GUTSPILLER the people should expect that
The swing up is the most fascinating part holy moly
I came across this whilst doing a coursework in designing an observer-based LQR controller for a Furuta inverted pendulum....
It blows my mind that this demonstrations is possible!!!!
Thanks for nice words! I appreciate this.
Me clicking on the video: "Not sure what to expect. Let's see..."
0:10 "Ah yes, I think I get it"
0:17: (O_O) what, how?
This was incredible. The speed paired with the stability... Just wow!
what a fantastic algorithm and regulation ! congrats! This should be in shown in a kinetic art museum !
This machine should've controlled that suez canal ship's steering! :D
:-)
Very cool 👍 engineering like this always goes unappreciated. This tech is going to be awesome! 👌 those gyros are so sensitive and precise. Way cool
Thank you very much for your support.
This helps explain self balancing wheels. Well done!
You are the master of chaos ! Fantastic !
Thank you very much for your support.
The uncontrolled swing down shows just how little friction is in the joints. Super impressive.
not single, not double, but triple pendulum... and swing up itself😲
thank you for great video and it’s most mind blowing, inspirating one in this year for me.
Truly Exceptional. Thanks for sharing this...jawdropping.
Thank you very much for support.
Well, i was just about to teach the lagrangian equations of an inverted pendulum on cart, what are the odds 😁 but this is really amazing and i will read your paper in my free time.
Thank you very much for your support.
How does it interpret the location of the pendulum? This is some amazing control
Location of the pendulum is determined via 3 values from rotational incremental sensors located in the joints plus 1 linear incremental sensors describing position of the cart.
@@StepanOzana If you are using a stepper motor to control the first arm would you not be able to know the position of the first arm without any sensors for it. Following this maths could be used to predict where the second arm is based on last input and time. If both of these things are true, as I believe them to be. Couldn't one use only one sensor placed on the third arm, maths, and knowledge of all previous to accomplish positioning?
@@ITpanda Only the cart is controlled, you could get a two-set solution (in non-degenerate cases) for the system given the cart position and 6-tuple space/orientation information of the third arm, but just the cart position and second bearing orientation isn't nearly enough data to create a useful inference.
@@2000blobfish Right sir you are, two sensors should be possible for positioning information.
@@StepanOzana How are the outer encoders wired back to the main controller? ...slip rings?
A new paper on trajectory planning for inverted pendulums is out: www.mdpi.com/2073-8994/12/5/792
I'm blown away. Can you confirm these are free bearings? No motors above platen?
@@heatshield Yes. All of these joints are free. The entire swingup is induced by a cart moving left and right. The cart is the only actuated component in the system.
What is the input to the system? Vision?
^ good question. Are there encoders on the joints?
@@liambohl pretty sure it's vision since there are what looks like reference lines on the pendulum.
It's like arm-torso-leg of an acrobat; but with only one point of input. Amazing.
The RUclips algorithim god has blessed this video.
yo what the heck how is this even possible, absolutely mind bending
Just amazing! Chapeau!🎩
Now the only logic conclusion is to add an extra dimension... make ball-joints and move the cart in 2 dimensions in the plane! 👻
Excellent work, Stepan.
I could have done without the corny music and instead heard you explain the demo and your work. This is brilliant stuff - you deserve a speaking part in this video.
Amazing. I want to know what kind of bearings those are. Silky smooth movement holy crap.
Fantastic!!! . Its an anti- pendulum. Kills all oscillatory motion.
Thanks for nice words.
This looks straight up magical... holly crap.
Those who took classical mechanics classes know that this should be impossible to be done, and yet someone did it!
More than ALphaGo winning a match against the world champion, this here tells me how advanced AI has become. Truly a marvel!
Fascinating work. I'm curious: If I wanted this system to hold a stable pose with the first arm (closest to actuator) down, and the other two up, is that a simple change or are the control algorithms highly tailored to the specific stable poses of fully up/fully down? In other words, how much customization is required depending on the desired pose? Another question: How much of the mechanical configuration (arm length, arm mass, motor properties, encoder resolution, etc) is predefined (a priori vs. a posteriori)? I'm quite curious how fragile this control method is to changes like additional mass on the arms, or changes in the arm lengths. Does it learn based on the response of the system to perturbation or must it know the mechanical properties up front?
Interesting questions, indeed. Well, , i suppose you can predefine everything and get one movement configuration, to say like that. But if you change something a little bit, then it is completely different. As for the path you want to get or other specific charachteristics, you can define some things and later, depending on what you want to achieve, correct some things. For example, you have one lengths of two part pendulum. Then you calculate at what time you want for it to be full length with some angle, or whatever. Then, if you change the initial parameters, be it mass, angle or make it have initial velocity, then it will be different. But even with different initial parameters, you could ,,fit calculations" somewhat for your conditions to be met, at some point. xD
just in case you havent seen this recent video: ruclips.net/video/I5GvwWKkBmg/видео.html
Fascinating video. I wonder if casual viewers will appreciate just how astonishing this feat of control is. It's 100 times more impressive than it seems! :-)
Just to lower the tone a bit: as an exceedingly top-heavy woman, I could really do with this technology in a bra.
Thank you very much for your support.
I never though it was possible to do something like this. Amazing tip of engineering.
That was the coolest thing I've ever seen.
That is absolutely amazing
Thanks!
probably the most amazing music i have ever seen on a video XD
Thanks.There were some comments saying it was terrible. My answer is: why bothering watching something one dislikes?
@@StepanOzana terrible? no way man - it was the best. also amazing motion control :)
Ok, so I've seen simulations where multiple pendulums start at insanely close positions but end up spinning completely differently within moments, so the amount of precision to do this must be incredible.
Yes it was. Thank you for support.
this is mindblowing...
omg this is so impressive
I feel like Richard Dreyfus staring at his mash potatoes.
Two questions:
1) Can this be extended to n linkages in theory? What's the limiting factor on linkage count?
2) Are you using encoders in the joints or IMUs on each linkage? Or both maybe?
In theory, you can add as many arms as you want. I think one successful approach to solve these kind of systems is to build position controllers in a layered fashion.
So first, you would build a controller that controlls the first, joint. Then, you can use this first control algorithm to try to control the second joint. You can layer as many joint controllers like that as you want in theory.
I think the main limiting factor would be the time delay that's comming from your sensors for positionning, your motor, and your control algorithm. The bigger the delay is in a closed loop system, the harder it is to make it stable.
Yes, as many links as you like. There are precise encoders in the links.
Your channel is gold
wow! amazing! cool technology)
Thank god it’s defined to just 2 dimensions of pivot
So you guys must be warlocks and have just used some kinda crazy warlock spell or something cause I just watched for the first time and I must say I am first of all impressed. I am also very well aware that I as a 41 years old have seen some things but that was pure wizardry! Or some really fun toys!!! Thanks!
Advancement is striking thank u
😳😳 What kind of mathematics went into controlling the system so precisely when the Friction in pendulum is So low!!!!
Time-variant LQR does the trick.
Oh my god wow, talk about tuned PID control lol
I doubt a PID controller is applied to this system tho
Yeah PID would be an oversimplification.
Something like this you can easily model the system or "plant" that needs to be controlled and use Laplace transforms to create the exact control algorithms needed for a theoretically perfectly built triple pendulum.
No tuning needed.
The description says it used an LQR time-varying controller. I don't know enough about process control to know exactly what that is, but I doubt that it's something as simple as a tuned PID controller.
Makes me wonder if something like this can be used to help robots stay upright or keep their balance.
Something like this is already being used, it just does not look like an inverted pendulum, control method is not the same but problem is, think of a robot staying upright on two wheels located on sides. Check Boston dynamics' box arrenging robots
Is math related to science?
@@jonasthemovie my friend, everything is math. Most things just have different names on top
@@joshuakuehn r/woosh
Wow. Can it salvage control from an arbitrary intermediate state?
No. There are some points along the trajectory where the system is uncontrollable.
@@StepanOzana Quite impressive nonetheless.
You only control the translation right?
How do you get the inputs?
With rotation sensor or visually with the colored arm?
Cool stuff
they said in another comment that there are sensors in the joints
how many PID loops is this exactly, for the centering, balancing of section 1, 2, 3... damn that's impressive
There is just one time-varying LQR controller computed on a finite horizon, mainly for swingup. In upright position, its gain matrix converges to the values of infinite LQR controller.
@@StepanOzana I have no idea what you just said but I like it
This is very impressive !
Thanks for nice words.
I'd love to see a printed version of the arms rotational patterns
So freaking cool
There's so much going on in there, so much more than just a few sensors checking balance in real time and triggering motors to go to a certain direction until a certain parameter is met.
I may be alone in this but I'm more impressed with the swing down then the swing up.
Please make an amusement park ride based on this!!!
I wonder if you could try a table with 2 axes of motion, and rotate the top pendulum 90 degrees. Wouldn’t be able to swing up/down anymore but would be neat to see the wide range of motion to keep it up. Nice work!
that would actually make the problem significantly easier
Next challenges if it is.
first arm up, second down. And vice versa Over and under the translation.
Wow !!!! never imagined and seem before
Thank you for support.
Man, that's simply amazing! How is the swing up routine done? Does it follow some control algorithm or did you hard code the trajectory?
It uses control scheme with 2 degrees of freedom. It means that there is a feed-forward term reflecting predefined trajectory (based on solution of trajectory planning problem) and then feedback part that takes care of the trajectory tracking and it simply rejects small deviations between real states and ideal model-based states. The feedback part uses LQR computed on a finite horizon which leads to time-variant state feedback. Note that both swingup and stabilizing in the upright position is done with one time-variant state controller. There is no switching between open-loop control for the swingup and constant LQR (computed on infinite horizon) like you can usually see with inverted pendulums. There is no chance for the swingup to be done in open-loop (it is possible for a single-link pendulum, but with more or less troubles). The principal of 2-DOF scheme can also be seen in my other video related to a single inverted pendulum: ruclips.net/video/Sqhr8fYhMfg/видео.html
@@StepanOzana Do you think this method would work for an arbitrary number of links in the pendulum? I'm imagining balancing an inverted pendulum with so many links that it would look like a chain. I mean, I know the performance of the whole system would decrease with the increase of links, but can you estimate how many could you balance with acceptable performance?
@@explainedgmod Feedforward part prescribes the rererence trajectory from initial time further. After a certain time over which the trajectory is computed, it is still prescribed, but with zero values. For example, for a single inverted pendulum, we have 4 states (pendulum position, pendulum speed, cart position, cart speed). Final value of all these states is zero for t >= tf because it stabilizes in upright position and stays calm. So, yes, we can say it "disappears" in a certain way.The idea behind swingdown is completely same as for the swingup. Only initial values of reference trajectory are different, therefore state controller is different for the swuingdown. But the way it is computed is identical.
@@lucianomaia9460 Yes it would. At least in simulation. In real life, you would hit physical limits very soon. It tackles the problem of sensors and sampling period of the control algorithm. For example, for a triple pendulum, you need Ts
@@stepanozana5928 I didn't think it would require so great precision, that's a really difficult challenge. Do you think it would be possible to aquire the position of the links through a high speed camera? The links would be painted with distinct colors, and an algorithm would convert these lines in the camera to angular positions. The problem is that you would need a camera with at least 1000fps and that would require a supercomputer to process all this data in real time. Another option would be to place the pendulum in an inclined surface, so that the component of force of gravity would be smaller, then maybe you could have less powerful sensors
Great !! What control was used? Do you have a published article?
Greetings from Brazil
It uses two degree of freedom structure, with time-varying LQR controller computed at a finite time interval. Then the implementation is done with the use of a very fast FPGA-based computer and REXYGEN control system, see www. rexygen.com. The papers are planned to be published in 2020. Thank you for your interest.
It is finite-horizon time-varying LQR controller. It is capable to do both the swingup and stabilization in the upright position by one controller. The swingup is done in the closed-loop, no switching between open-loop and stabilizing like most methods use. A paper describing the entire algoritm and concept of control will be published in a few months, I will let you know.
The paper on LQR design is accepted and will be out in a few weeks. I will let you know.
But I also have a new paper on trajectory planning for inverted pendulums is out: www.mdpi.com/2073-8994/12/5/792
soundtrack is 100% appropriate
Thanks.
Great work!
Thanks!
You could this as security systems the trespasser would either back off after seeing it or get so entrance by it that he stay still for a while for a camera to capture his face
How are the angles measured, resolvers or encoders? Also, are the signals going via slip rings through the joints?
Beautiful execution sir, a long time ago I studied IMC control algorithms so I know that no part of this setup (mechanics and algo alike) is neither simple nor easy.
there are incremental sensors in the joints. signals are transferred by a fast wireless technology
@@StepanOzana : Thanks for replying. Interesting solution, so each arm has its own battery and sensor...
This guy will be the reason the robots will be able to run after us.
I think Kalman would have loved to watch this...
A+, outstanding.
Thank you very much for your support.
Hardware. The control is truly impressive. But what of the hardware? I'm particularly curious about the hardware used to measure the positions of the arms.
It uses precise encoders (100 000 pulses/revolution) and a fast wireless data transmission.
Besides the controller, what parts did you use to build the machine?
Strong and fast DC motor, special FPGA-based single-board computer with the REXYGEN control system, very fast customized wireless sensors, and months of computations spent on trajectory planning and feedback control.
@@StepanOzana Hmm. Could it be possible to make a simplified version of something like this for maker/tinkerer type contexts, perhaps using a free (possibly/likely closed-source) release of the control algorithms? I get the idea the answer would be no, and that this hardware is already the minimum-viable version. :)
I'm also very curious how you practically wrote the algorithm - did you basically yell directly at the hardware :) for several months, or were you able to use simulation? (I'm guessing this is one area simulation software would probably fall apart, in much the same way emulators for very old systems sometimes can't run complex software that pushes the boundaries.)
EDIT: Just found ruclips.net/video/kVDFGMEXXQo/видео.html, which shows a simulation of how the joints respond to falling. Can this simulation solve for cart movement as well, or is that component driven directly from real-world feedback?
NB. I think the pile of recent comments is because YT dropped this into everyone's recommendations again.
I am thinking of releasing open-source version of the entire model but only one-link small pendulum, not 3-lins. If I do this, it will fit to family of automtions shields: github.com/gergelytakacs/AutomationShield/wiki
If this is cool imagine how cool it is when turbulence rocks your plane and your plane stabilizes within seconds.
Solved by Langrangian method?
I think the very low damping factor must make this very difficult to stabilise.
I assume there are encoders reading the position of the joints, right?
yes
amazing. Is there any constraint regarding the relative weight and weight distribution of the three pendulums?
What kind of motor did you use for this system? The high speed (for swing up) and low speed (for stability) control both look good.
I built a single inverted pendulum with a stepper motor, which worked, but I realized pretty quickly there are better options. I'm working on a double pendulum now and am thinking brushless DC might work better, or possibly a permanent magnet synchronous motor.
Brushless DC.
@@StepanOzana Thank you!
Seal : finally, a worthy opponent!!!
Hypnotizing
Jede Seerobbe wäre Stolz auf euch ;)
So you say you have a 2dof controller, does that mean you're using 2 actuators? If so where's the second one?
IIt is a 2-DOF control scheme, it is explained in one of my other videos, particularly in a single inverted pendulum video ruclips.net/video/Sqhr8fYhMfg/видео.html. There is only always one actuator for any inverted pendulums.
The paper on LQR design is accepted and will be out in a few weeks. I will let you know.
But I also have a new paper on trajectory planning for inverted pendulums is out: www.mdpi.com/2073-8994/12/5/792
Awesome!! 👏👏👏👏👏👏
Actually insane
Very impressive.
Thanks!
So how does this work? Does each joint contain a potentiometer so the computer knows the position or is it sensing where the net weight is shifted to
amazing!
this is me with a broom when I'm supposed to be sweeping
superb control.
how much of the control is maths and how much "feel"
How does someone gain the knowledge for how to design something like this? I've taken two 4th year controls course and have no clue where to even start
this is very cool! how much more complex would a 2-axis version be to control?
This would become a robotic sea lion: www.kky.zcu.cz/cs/video-lachtan-2