Embedded Control Lab. - 2022-08-19
This is the world's first experimental video about 56 transition controls that occur in a triple inverted pendulum. The triple inverted system was developed by Embedded Control Lab. Control was implemented using LW-RCP02, which was developed by Embedded Control Lab, and Simulink. The sampling time is 1 ms. * The triple inverted pendulum and LW-RCP02 can be purchased from Sungjin Techwin. For purchase inquiries, please contact sales@switch-vr.com. 3단 도립진자에서 발생하는 56가지 transition control을 실제로 구현한 세계 최초의 실험 영상입니다. 3단 도립진자는 Embedded Control Lab의 자체 기술로 개발하였으며 실시간 제어는 Embedded Control Lab에서 개발한 LW-RCP02와 Simulink를 이용하여 구현하였습니다. Sampling time은 1 ms 입니다. * 3단도립진자와 LW-RCP02는 성진테크윈으로부터 구입할 수 있습니다. 구매문의는 sales@switch-vr.com로 해주세요.
Honestly, I would have been skeptical that this would even be possible. Just…wow.
The mathematics involved are being done … so fast …
I can do one of them
@@DSAK55 I can do 7 of them.
@@lostmykeys85 Well it says "1ms"
Congratulations.
I never thought that triple pendulum could be controlled. This video definitely needs more attention!!!
This is really impressive. I believe each axis has different weights, and also the distance between the axis of the connection in the very background is shorter than the other connections. This Setup with these different weights play probably a very important role to make these transitions possible. I wonder if these transitions would be still possible, if the weight on each axis would be the exact same or if it then would be near to impossible to control the pendulum like that.
Of course it's possible, that's the whole point of chaos theory
@@Alucard-gt1zf Yes but it's impressive cause although it is theoretically possible, it is close to impossible in reality.
In theory, it's possible to control an arbitrary number of pendulums - it's just that the difficulty goes up significantly with each additional pendulum added to the system.
@@bigmike- Yeah the margin for error goes down "exponentially" the more you add.
1:35 the instant stop is incredible
I watched it a couple times because I thought it was a jump cut at first.
Advancing frame-by-frame you can really see how the control algorithm knows to "stack" each of the links vertically from bottom to top. Incredible!
Looks like a reversed video almost.
@@Roach_Dogg_JR all physics is technically reversible
@@melody3741 reverse my toast please
The fact that it can go from position 1 to any is already impressive as hell.
Then it can go from ANY position to ANY other without returning to any other intermediate position is crazy to me. And from unstable positions to other unstable positions.
Sooooooo freaking Impressive.
Not taking anything away from how awesome this is but 2 to 6 and back goes through 5
Just a pedantic note: these positions are technically “marginally stable”
But this in no way makes it any less impressive!
@@someonesomewhere1240 I think it's impossible to swing all three outstretched from bottom full extension to top full extension without it crossing another equilibrium position due to inertia. If they just full send it fully extended the entire swing, they'd be unable to correct without the thing collapsing back down, and wouldn't be able to stop it dead upright like that, this is probably the only way to do it (or shortest path at least). There are a few movements that fall to similar restraints, and some transitions are just going to have to pass through other equilibrium points. As long as they aren't fully stopping there I think it's unavoidable.
@@michaelanderson7924 why, because of the cart DoF? I think you can disregard that.
I feel like this is the engineer's version of the sorting algorithm video
I love how simple the actual machine is; its the code and theory working the magic, not some particularly fancy machine itself
The precision capabilities of the machine also impresses me a lot. It probably has to perform such fine adjustments that we can't even see some of them.
@@DanielH212MC Yeah, but precision CNC machines can hold tolerance to below 1 micron. The equipment and pc controls have been around for quite some time. The coding is definitely the feat of engineering that was accomplished w/ this demonstration.
@@DanielH212MC Closed loop servos are amazing. The feedback is being used to balance the pendulums. This feature has recently been coming to steppers as well, which will be amazing for hobbiest who can't afford servos.
Not only the code itself does make it work. I believe each axis has different weights, and also the distance between the axis of the connection in the very background is shorter than the other connections. This physical Setup with these different weights play probably a very important role to make these transitions possible. I wonder if these transitions would be still possible, if the weight on each axis would be the exact same or if we then reach the limit in which it would not be impossible anymore to control the "triple inverted pendulum" like that.
@@RuLeZ1988 This demo is only possible due to the principle of inertia, which is a function of mass and force (a mass at rest will resist an applied force that attempts to move it in any direction, a mass in motion will resist any force that attempts to change the direction of that motion). The rig does not allow the designers to vary the force (torque) applied to the individual pendulum elements since they are free-swinging. Therefore, the only way this demonstration can work is if the pendulum elements all have a different mass, those masses being different enough to allow fine manipulation of input forces within the resolution of the control system/hardware so as to affect the elements individually and collectively with respect to their inertia within the bounds of some incredibly complex mathematical equations. The angular position/momentum feedback from each element (and the overall system) is then measured and corrected for at very high speed/resolution to arrive at the desired equilibrium. Of course, it should be possible to build such a machine with pendulum elements of the same length, as long as their masses were different enough to work within the resolution/frequency/tolerance confines of the hardware, control system and code.
All of that said, I have absolutely no idea how bringing the masses/lengths of the elements closer together would affect the fiendishly complex calculations and coding required to make the machine reliably transition from any given equilibrium state to any other. That shit is just.... boom ... mind-blowing. :)
Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clark
This is definitely witchcraft.
Exactly what I thinking right the way thru this video, and I programmed an inverted pendulum system in my engineering degree
Clarke*
Arthur magic
No it's called mathematics.
Holy crap this is probably one of the most amazing feats of engineering I've ever seen.
Holy crap! I haven't seen you since the G+ days...
If you like CNC machines you might enjoy this even more
https://www.youtube.com/watch?v=XaXER__lIU0
I feel like it's something that anyone can appreciate.
How about the SpaceX rockets returning to land?
lol
As a non-engineer/mathematician I can only admire how this looks like a simple task but understand how incredible this is.
I WANNA SEE FOUR
Heck it’s hard enough to balance a broom on my palm, I can’t image a broom with a hinge, let alone 2 hinges…
As an engineer who studied this kind of stuff, the real ass pain behind this is the funky math that went behind all of this...the theory is simple however.
Once you solve for the equations though, SimuLink is a really powerful tool and really can just handle a lot of this with some clever usage of computer logic.
The real impressive part isn't even the balancing. It's the ability to send the machine from 0 to any state. Dealing with the "swing-up" control was probably the worst part about developing this.
What I always love most about these kinds of things is when they transition back to the stable equilibrium; it's like, when they're going to any of the other states, it looks unnatural enough that my brain just takes it at face value, but when it's dropping back down suddenly my brain jumps in like "Hey, we've seen stuff like this (pendulums, rope, chain, etc.) dropping down and swinging around countless times, so we know what it'll look like here", and then it suddenly comes to a stop at the stable equilibrium with almost none of the usual swinging back and forth around it, and it just feels wrong
What’s insane is you don’t see the man offshot while pulling the pulley ropes back and forth really quickly to make this all happen. Props to BTS rope guy.
I guess you could say you're a BTS stan
@@PronteCo not so much into Korean Pop music sorry.
@@PronteCo behind the scences
@@MV-vv7sg i know. It was a joke.
I dont know why Youtube would recommend this to me but it's sure nice it did.
the first transitions were impressive enough on their own but being able to switch between any equilibrium is mind boggling to me.
I love the swagger with which it goes to the stable equilibrium, just stopping the motor for a bit is not cool enough 😎
It is not the same as simply letting it go. The idea of control is that you have optimization parameter, which is transition time in this case. Without active control it it would swing for a long time.
In the recommended there is this video https://www.youtube.com/watch?v=meMWfva-Jio , which shows the difference between controlled and uncontrolled transitions.
@@AlexTaradov oh yeah, I suppose the bearings would have to be super smooth, my brain imagined more of a dampening factor
@@AlexTaradov Their 0 to 7 looks so clean!
This is highly under-rated fundamental robotic control. Very nicely done indeed.
Yes with this system you could make a robot that can balance much better than any human and walk and run and remain bipedal under nearly any circumstance.
@@VestigialHead I am guessing that the software was built using IK formulae and a lot of PID constants, with a lot of manual tuning. Have you considered trying a neural model, giving it an external monitor to observe its own results, and letting it attempt to train itself?
@@klerulothis is beyond simple PID control
@@yuukil5522 I recognize that. Like I said, my guess is that this is based on formulae that encode inverse kinematics--but those formulae would suggest desired behaviors, which in turn would require driving the actuator to achieve those goals, and that requires basic PID. It's one element of what is likely very many, in a classical higher-level control loop.
What I'm curious about is, could the same results be achieved using a neural, self-trained control mechanism instead?
@@klerulo Theoretically speaking I’d say yeah it’s possible. I don’t know the details of this system but seems simple enough to represent mathematically and thus with sufficient design and training time would be possible to train a neural network to navigate.
Holy shit, this is amazing. I once programmed a controll function for a single inverse pendulum and I was so very proud when I could get it to stand indefinitely and adjust to minor aoutside influences after working on it for several weeks. I can't begin to immagine how complex the function for this has to be. I really hope you didn't have to sacrifice too many virgins to some elder god to acchieve this.
If it was anything like my university engineering lab, there would have been plenty of spare virgins available.
I would love to see this demonstration with lights on each pivot and a long exposure effect. That would look amazing!
Brilliant idea
You don't have to say everything you think
@@Connection-Lost Apply that to yourself
@@Connection-Lost I just thought about that!
@@salender4683 love this
This is very, very impressive! It even feels a little scary, and I can’t even put into words why…
Yes, exactly
The why is because these motors and systems are either currently or in the future will be what controls Boston Dynamics type robots. Spoiler alert they aren’t going to be dancing with them and they won’t be missing any shots like in the Terminator movies either.
It's profoundly, casually superhuman at a task you probably never considered just because it would be so ludicrously hard to do by hand, not just physically, like lifting something heavy, or intellectual, but both. And inverted pendulums are probably not the only thing it can do. Probably there are more practical applications that I also won't think of until I see them. For me it illuminates a gap in my imagination w.r.t the capabilities of robots.
I think it's because it reminds me of all the dancing skeleton cartoons I saw as a child!
😂
This should not be possible!
Logically we understand that it should be "technically possible", but the problem seems so complex that it's hard to believe it can actually be done in reality.
In my last school year, 2018, my .ath teacher told us, if we could figure out how to predict/control a triple pendulum we would be (math-)famous. Well, he was right 😂
I'm completely amazed and the rest of my family brushes it off thinking I'm weird and not seeing the magic. Oh well.
maybe you have the knack...
https://www.youtube.com/watch?v=Dx6HojLBsnw
Lols, you have to understand how difficult it is to appreciate it. And it doesn’t help that the video makes it “look easy”
It's like balancing 3 broomsticks on a finger.
Well, there is a lot of math behind this. Loved it.
This will definitely gather more attention in a close future.
Interesting how some transitions pass through intermediate equilibria. 6→2 and 2→6 are good examples of that.
yeah, it went through 5 briefly
The longer you watch, the more impressive you realize this is.
I'll be honest. Whenever I clicked on this video, I honestly didn't know what I was clicking on. And for the first minute or two, I was like "why is this video?" 😆. However, after a couple more minutes, I was LITERALLY blown away.!!!!
I don't know why 'the algorithm' sent me here, but it is truly wise and knows all our needs.
I’ve spent so much time admiring and simulating double pendulums, exploring their intricacies and visualizing their evolution- and here you are stabilizing a TRIPLE pendulum with some algorithm that I can’t even begin to comprehend. This is seriously on another level
이 영상이 만들어지기까지 얼마나 많은 대학원생분들이 희생되었을지 상상조차 가지 않읍니다...
"Many Bothans^Wpost-docs died to bring us this information" kekeke
All of them. They didn't go out and see daylight for three years.
Translation: "I can't even imagine how many graduate students must have been sacrificed before this video was made..."
I may know of one 😉
6:55 that 5-3 was poetry
One of my favs too!
Out of all of the triple inverted pendulum transitions, that was certainly all of them.
Of all the 56 transition controls for a triple inverted pendulum videos out there, this is by far my favorite.
I'm not into engineering and I have no idea why this video was suggested, nor why I clicked on it. But I'm glad I did. That's truly incredible 👏
I notice the pendulum segments are all different lengths - is that necessary for selective control of the individual segments? Like I notice in 2-> 5, the strategy relies on being able to swing the 3rd segment but not the first two
it is necessary, yes
The different frequencies from the respective lengths must be the basis for some independence in control. Brilliant.
A+, impressive!
It helps, but it's not strictly necessary. You can always disproportionately affect different arms even if they have identical dimensions.
@@joda7697 no, it is not necessary. These lengths do make it easier, though
It's a sad day for the world's first video of 55 transition controls for a triple inverted pendulum. But I think they can, together, share joy in this accomplishment. In all seriousness though, this is fantastic. This is the kind of robotics work that allows for the craziest kind of innovation that one would never expect if someone didn't work out the math and physics behind this, put it to code, and build a practical rig to demonstrate it. All of which are enormously time-consuming for this tiny, sub-10 minute video that only got recognition because its uniqueness makes it a prime candidate for success in a system of algorithm-driven content promotion. Imagine the wonder and inspiration this has inspired now, reaching a third of a million people! The value must be immeasurable.
The mathematics and physics of this should be STRICTLY beautiful. But this is just more than math and physics. This is art found with hard science.
This is simply beautiful.
I didn't know what this video was gonna be, but it now certain feels like one of the best videos I'm gonna see in a while.
The most important to me:
It has a limited and quite small platform, so it must not only perform those tricks, but also adjust the pieces to then go back to the center
Just aatonishing!
By far one of the best transitions is at 4:25, from 1 to 7, truly amazing
from 6:55 - 7:30 are my favorite series of transitions
Those were very cool. Thanks for linking. I was about to leave early! 😀
yeah same
As an engineer, just seeing this makes me wonder the level of numeric methods and computing processing that this took, truly amazing
Very impressive control performance. I wrote a Master Thesis for twenty five years ago for double inverted pendulum using Robust control, which was the hot topic at that time. The mechanic construction didn't aloud each pendulum to rotate fully around, so the start was done by hand to level both in upright position. The order for the controller went sky high and the loop shaping weight was designed for using the two eigenvalues for the pendulum otherwise the motor didn't have power enough.
This was absolutely mesmerising. It feels alive. Jovial. Mischievous. Those slow smooth slides maintaining balance? Damn. Phenomenally impressive. Bravo.
I might be a nerd but this is more fascinating than 99% of the content I've seen in the past 5 years.
The key is that each link is different length thus the natural swinging frequency is different for each link. By moving actuator at specific link resonant frequency it can move the desired link more than others. Nonetheless it’s incredible to see it in action working flawlessly.
That is not very likely how it works. It's a PID control system, using a feedback loop to constantly tune the position of the cart.
I've heard they use machine learning and chaos theory to achieve these what these machines do
@@eitanspuzzles ain’t no way this is just PID control
If you look closely you can see mass added to the ends of 1 and 2, I think this is really the key, since the inertia of each segment will be different.
@@stevelentz9458 I think those are resolvers (to measure the angular position of the joints).
This is absolutely incredible! How hasn’t this video broken a million views?
Few people understand the achievement sadly..
I’m pretty sure it’s a reupload because I remember commenting on this a few years ago but now it’s not here and this was only from 7 months ago
1) The video name is incredibly complicated to decipher if you don't already know what this is so why bother watching something when you don't even understand the name. 2) it's 10 minutes long and most people nowadays aren't gonna invest that much time to watch something they've never heard of. And 3) it's a video about math, robotics, and physics so most normal people aren't interested (or actually hate in the case of math and physics) those topics. We obviously aren't most people lol
Bonus answer: The thumbnail sucks
That is just the biggest flex I've ever seen. Just wow.
Reminiscent of an acrobat lifting up above their head and balancing a teammate on their hands, then letting them down again. Amazing how not just a double but a triple pendulum can be controlled with enough sensory feedback. Amazing!
this is incredible mastery of control
Simply astounding. My knowledge of control theory and design practice is pretty limited, but even at my layperson level I can understand how impressive this project is. I would love to know if this demo rig and its control software were developed by building a double pendulum iteration first, or whether the designers just decided to aim high and went straight for developing this Big Daddy version!
Edit: I've just gone through the mental process of trying to figure out how to explain why this video is so cool to my family and friends, and the more I think it through the more mind-bendingly complex and impressive it gets. I've kinda sorta got a handle on how the various equilibrium states are achieved, on a theoretical level at least (no idea how the math would be translated into functional code though). But cleverly stringing subroutines together to go directly from any given state to any other without passing through a known stable equilibrium on the way is simply magic as far as I'm concerned.
truly, one of the videos of all time.
This is some of the most beautiful motions I have ever seen
This is a very delightful and instructive demonstration
@ferminforclaz4109 - 2023-03-20
This truly is the world's first video of 56 transition controls for a triple inverted pendulum.
@noahtekulve2684 - 2023-03-20
And also one of the videos ever!
@Vini-BR - 2023-03-21
HAHAHAHAHAHAHA 😆
@ragnarocks9121 - 2023-03-21
This video numbers among the other videos on youtube
@AnonyMous-pi9zm - 2023-03-22
Before seeing this video, I had never seen this video!
@brick52 - 2023-03-22
This is definitely a video of all time