Swing-up and Control of Linear Triple Inverted Pendulum

Sdílet
Vložit
  • čas přidán 29. 08. 2024
  • 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....

Komentáře • 415

  • @Not_me737
    @Not_me737 Před 3 lety +475

    My jaw genuinely dropped at the first swing up and stayed open for most of the video

    • @StepanOzana
      @StepanOzana  Před 3 lety +23

      Thanks!

    • @lonelyspaceman4832
      @lonelyspaceman4832 Před 3 lety +6

      @@StepanOzana I'll second that. This is absolutely astounding!

    • @tristanandersen3974
      @tristanandersen3974 Před 3 lety +6

      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.

    • @Not_me737
      @Not_me737 Před 3 lety

      @@StepanOzana keep up the great work!

    • @Cyberdactyl
      @Cyberdactyl Před 3 lety

      How do we know a swing up is just not a swing down with the video in reverse?

  • @stuffthings1417
    @stuffthings1417 Před 3 lety +323

    the swing up and down maneuvers are awesome

    • @freescape08
      @freescape08 Před 3 lety +7

      No joke, I can barely work out what's going on at 10% speed.

  • @leonardmilcin7798
    @leonardmilcin7798 Před 3 lety +285

    Mine works super stable in the down position.

    • @ilhamrahkmanriefda652
      @ilhamrahkmanriefda652 Před 3 lety +6

      Gravity laugh

    •  Před 3 lety +2

      Also under perturbation? 😋

    • @leonardmilcin7798
      @leonardmilcin7798 Před 3 lety +7

      @ Of course, it reliably becomes stable after any perturbation.

    •  Před 3 lety +1

      @@leonardmilcin7798 You could have messed up the control. 😉

    • @leonardmilcin7798
      @leonardmilcin7798 Před 3 lety +14

      @ 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.

  • @-Burb
    @-Burb Před 3 lety +78

    Holy crap even standing 2 pendulums is insane… but 3?!?! I don’t even want to know how much math went into this! Incredible!

  • @enderwigin1306
    @enderwigin1306 Před 3 lety +349

    When you see the first downswing and think its not that impressive but then you see the uncontrolled one

    • @joshuakuehn
      @joshuakuehn Před 3 lety +7

      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

  • @THESLlCK
    @THESLlCK Před 3 lety +112

    so you made a table with more talent than me
    great

    • @sayethwe8683
      @sayethwe8683 Před 3 lety +4

      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.

    • @2010ngojo
      @2010ngojo Před 3 lety +2

      More brain power too.

    • @numbdigger9552
      @numbdigger9552 Před 3 měsíci +2

      ​@@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.

  • @Invaeyncible
    @Invaeyncible Před 3 lety +22

    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*

    • @StepanOzana
      @StepanOzana  Před 3 lety +2

      Thank you very much for your support.

  • @gearslayer-vn3gz
    @gearslayer-vn3gz Před 3 lety +25

    The swing up is impressive but that swing down is just so satisfying.

  • @thobetiin8266
    @thobetiin8266 Před 4 lety +32

    I can't express how amazed I am...

    • @StepanOzana
      @StepanOzana  Před 4 lety +1

      thank you so much!

    • @StepanOzana
      @StepanOzana  Před 4 lety +3

      A new paper on trajectory planning for inverted pendulums is out: www.mdpi.com/2073-8994/12/5/792

  • @StormBurnX
    @StormBurnX Před 3 lety +15

    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

  • @atmospheric5000
    @atmospheric5000 Před 3 lety +6

    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 !

  • @firstnamelastname3468
    @firstnamelastname3468 Před 3 lety +78

    That is some ninja grade control engineering 🤹 kudos

  • @PieterPatrick
    @PieterPatrick Před 3 lety +13

    Searching for videos of random/chaos movement of triple pendulums.
    I didn't expect to see this, that's some great engineering!

  • @patheticethics4019
    @patheticethics4019 Před 4 lety +64

    This is pure beauty! Nice Work!

    • @StepanOzana
      @StepanOzana  Před 4 lety +4

      thank you so much!

    • @StepanOzana
      @StepanOzana  Před 4 lety +10

      A new paper on trajectory planning for inverted pendulums is out: www.mdpi.com/2073-8994/12/5/792

  • @lazymandoplayer
    @lazymandoplayer Před 3 lety +21

    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

  • @HRW653
    @HRW653 Před 3 lety +62

    This should be scaled up and get seats. The new attraction in an amusementpark near you! THE GUTSPILLER!

    • @TheWizardGamez
      @TheWizardGamez Před 3 lety +5

      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

    • @futureshit-glungis7202
      @futureshit-glungis7202 Před 3 lety +12

      @@TheWizardGamez well if its called THE GUTSPILLER the people should expect that

  • @add859tankionline
    @add859tankionline Před 3 lety +20

    The swing up is the most fascinating part holy moly

  • @JackPunter2012
    @JackPunter2012 Před 3 lety +1

    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!!!!

  • @lgs618
    @lgs618 Před 3 lety +2

    what a fantastic algorithm and regulation ! congrats! This should be in shown in a kinetic art museum !

  • @kosviik9584
    @kosviik9584 Před 3 lety +1

    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!

  • @PlayfulTechnology
    @PlayfulTechnology Před 2 lety +1

    I know only a little about PID systems, but enough to know that is very, very impressive.... Congratulations and thanks for sharing :)

  • @KushalSahay
    @KushalSahay Před 3 lety +48

    This machine should've controlled that suez canal ship's steering! :D

  • @MarkHahn
    @MarkHahn Před 3 lety +7

    Very cool 👍 engineering like this always goes unappreciated. This tech is going to be awesome! 👌 those gyros are so sensitive and precise. Way cool

    • @StepanOzana
      @StepanOzana  Před 3 lety

      Thank you very much for your support.

  • @MolecularMachine
    @MolecularMachine Před 3 lety +1

    The uncontrolled swing down shows just how little friction is in the joints. Super impressive.

  • @anonymous.youtuber
    @anonymous.youtuber Před 3 lety +2

    You are the master of chaos ! Fantastic !

    • @StepanOzana
      @StepanOzana  Před 3 lety

      Thank you very much for your support.

  • @dNIGHTCROWLERb
    @dNIGHTCROWLERb Před 3 lety +2

    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.

    • @StepanOzana
      @StepanOzana  Před 3 lety

      Thank you very much for your support.

  • @varchar2
    @varchar2 Před 3 lety

    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.

  • @thomaskrafft9890
    @thomaskrafft9890 Před 2 lety +1

    This helps explain self balancing wheels. Well done!

  • @gusbailey68
    @gusbailey68 Před 3 lety +1

    It's like arm-torso-leg of an acrobat; but with only one point of input. Amazing.

  • @YesThatDan
    @YesThatDan Před 4 lety +18

    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.

  • @brekkenbrekken6926
    @brekkenbrekken6926 Před 3 lety

    yo what the heck how is this even possible, absolutely mind bending

  • @a.bergantini4129
    @a.bergantini4129 Před 3 lety

    Those who took classical mechanics classes know that this should be impossible to be done, and yet someone did it!

  • @procompsys
    @procompsys Před 3 lety +1

    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! 👻

  • @StepanOzana
    @StepanOzana  Před 4 lety +67

    A new paper on trajectory planning for inverted pendulums is out: www.mdpi.com/2073-8994/12/5/792

    • @heatshield
      @heatshield Před 3 lety +1

      I'm blown away. Can you confirm these are free bearings? No motors above platen?

    • @StepanOzana
      @StepanOzana  Před 3 lety +18

      @@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.

    • @MaorAvni
      @MaorAvni Před 3 lety +2

      What is the input to the system? Vision?

    • @liambohl
      @liambohl Před 3 lety

      ^ good question. Are there encoders on the joints?

    • @dextrosity7350
      @dextrosity7350 Před 3 lety

      @@liambohl pretty sure it's vision since there are what looks like reference lines on the pendulum.

  • @khayathicham
    @khayathicham Před 3 lety +2

    Truly Exceptional. Thanks for sharing this...jawdropping.

  • @rd9831
    @rd9831 Před 3 lety +4

    Fantastic!!! . Its an anti- pendulum. Kills all oscillatory motion.

  • @EleanorPeterson
    @EleanorPeterson Před 3 lety +2

    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.

    • @StepanOzana
      @StepanOzana  Před 3 lety

      Thank you very much for your support.

  • @Lambda_Ovine
    @Lambda_Ovine Před 3 lety

    This looks straight up magical... holly crap.

  • @legendarygary2744
    @legendarygary2744 Před 3 lety +2

    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.

  • @sean63b
    @sean63b Před 3 lety +1

    probably the most amazing music i have ever seen on a video XD

    • @StepanOzana
      @StepanOzana  Před 3 lety +1

      Thanks.There were some comments saying it was terrible. My answer is: why bothering watching something one dislikes?

    • @sean63b
      @sean63b Před 3 lety

      @@StepanOzana terrible? no way man - it was the best. also amazing motion control :)

  • @Darkmatter321
    @Darkmatter321 Před rokem

    More than ALphaGo winning a match against the world champion, this here tells me how advanced AI has become. Truly a marvel!

  • @CocktaiLMolotovX
    @CocktaiLMolotovX Před 3 lety

    I never though it was possible to do something like this. Amazing tip of engineering.

  • @caphunterx2322
    @caphunterx2322 Před 3 lety +44

    How does it interpret the location of the pendulum? This is some amazing control

    • @StepanOzana
      @StepanOzana  Před 3 lety +74

      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.

    • @ITpanda
      @ITpanda Před 3 lety

      @@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?

    • @2000blobfish
      @2000blobfish Před 3 lety +5

      ​@@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.

    • @ITpanda
      @ITpanda Před 3 lety

      @@2000blobfish Right sir you are, two sensors should be possible for positioning information.

    • @MattKeveney
      @MattKeveney Před 3 lety +1

      @@StepanOzana How are the outer encoders wired back to the main controller? ...slip rings?

  • @chrismooneyham5279
    @chrismooneyham5279 Před 3 lety

    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!

  • @N1lav
    @N1lav Před 2 lety +1

    The CZcams algorithim god has blessed this video.

  • @no_special_person
    @no_special_person Před 3 lety

    That was the coolest thing I've ever seen.

  • @toft2k
    @toft2k Před rokem +1

    That is absolutely amazing

  • @DickShooter
    @DickShooter Před 3 lety +7

    Amazing. I want to know what kind of bearings those are. Silky smooth movement holy crap.

  • @redstripedsocks5245
    @redstripedsocks5245 Před 3 lety

    I may be alone in this but I'm more impressed with the swing down then the swing up.

  • @Stuffinround
    @Stuffinround Před 3 lety

    Thank god it’s defined to just 2 dimensions of pivot

  • @speedbump0619
    @speedbump0619 Před 3 lety +13

    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?

    • @filippetrovic7259
      @filippetrovic7259 Před 2 lety

      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

    • @veganjoy
      @veganjoy Před rokem +2

      just in case you havent seen this recent video: czcams.com/video/I5GvwWKkBmg/video.html

  • @Lebensgott
    @Lebensgott Před 3 lety

    this is mindblowing...

  • @Bibibosh
    @Bibibosh Před 3 lety

    I was at the pub and I showed everyone.
    They were very impressed they vouched together and all bought me a drink!
    I was happy then died in the year 2088

  • @SunroseStudios
    @SunroseStudios Před 3 lety +1

    omg this is so impressive

  • @Lambda_Ovine
    @Lambda_Ovine Před 3 lety

    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.

  • @cagneymoreau4216
    @cagneymoreau4216 Před 3 lety +1

    soundtrack is 100% appropriate

  • @jamestreanor4361
    @jamestreanor4361 Před 3 lety

    This guy will be the reason the robots will be able to run after us.

  • @sleinbuyt402
    @sleinbuyt402 Před 3 lety +1

    This is very impressive !

  • @parthsuyal5879
    @parthsuyal5879 Před 4 lety +4

    Wow !!!! never imagined and seem before

  • @abm8017
    @abm8017 Před 3 lety +13

    Oh my god wow, talk about tuned PID control lol

    • @ferronzomeren2733
      @ferronzomeren2733 Před 3 lety +3

      I doubt a PID controller is applied to this system tho

    • @Jeremy.Bearemy
      @Jeremy.Bearemy Před 3 lety

      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.

    • @emlmm88
      @emlmm88 Před 3 lety

      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.

  • @LetsMars
    @LetsMars Před 3 lety

    I feel like Richard Dreyfus staring at his mash potatoes.

  • @BigPundo
    @BigPundo Před 3 lety

    Your channel is gold

  • @ryospeedwagon1456
    @ryospeedwagon1456 Před 3 lety +2

    Makes me wonder if something like this can be used to help robots stay upright or keep their balance.

    • @dNIGHTCROWLERb
      @dNIGHTCROWLERb Před 3 lety

      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

    • @jonasthemovie
      @jonasthemovie Před 3 lety

      Is math related to science?

    • @joshuakuehn
      @joshuakuehn Před 3 lety

      @@jonasthemovie my friend, everything is math. Most things just have different names on top

    • @jonasthemovie
      @jonasthemovie Před 3 lety

      @@joshuakuehn r/woosh

  • @maxk4324
    @maxk4324 Před 3 lety +4

    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?

    • @pladselsker8340
      @pladselsker8340 Před 3 lety +3

      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.

    • @StepanOzana
      @StepanOzana  Před 3 lety +1

      Yes, as many links as you like. There are precise encoders in the links.

  • @massoverride478
    @massoverride478 Před 3 lety

    Advancement is striking thank u

  • @MrFlyingPanda
    @MrFlyingPanda Před 3 lety +5

    Next challenges if it is.
    first arm up, second down. And vice versa Over and under the translation.

  • @nigelmaccuver9122
    @nigelmaccuver9122 Před 3 lety +1

    😳😳 What kind of mathematics went into controlling the system so precisely when the Friction in pendulum is So low!!!!

  • @johnbarneswood
    @johnbarneswood Před 3 lety

    So freaking cool

  • @ilhamrahkmanriefda652
    @ilhamrahkmanriefda652 Před 3 lety

    Seal : finally, a worthy opponent!!!

  • @HK02316
    @HK02316 Před 3 lety

    A+, outstanding.

    • @StepanOzana
      @StepanOzana  Před 3 lety

      Thank you very much for your support.

  • @universologist
    @universologist Před 3 lety +1

    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!

    • @emiliaolfelt6370
      @emiliaolfelt6370 Před 9 měsíci

      that would actually make the problem significantly easier

  • @TheNormanmurk
    @TheNormanmurk Před 3 lety +1

    I'd love to see a printed version of the arms rotational patterns

  • @AtlasReburdened
    @AtlasReburdened Před 3 lety +3

    Wow. Can it salvage control from an arbitrary intermediate state?

    • @StepanOzana
      @StepanOzana  Před 3 lety +1

      No. There are some points along the trajectory where the system is uncontrollable.

    • @AtlasReburdened
      @AtlasReburdened Před 3 lety

      @@StepanOzana Quite impressive nonetheless.

  • @Archin-dn4bp
    @Archin-dn4bp Před 3 lety +1

    wow! amazing! cool technology)

  • @MrFlyingPanda
    @MrFlyingPanda Před 3 lety +2

    You only control the translation right?
    How do you get the inputs?
    With rotation sensor or visually with the colored arm?
    Cool stuff

    • @poodle5421
      @poodle5421 Před 3 lety +1

      they said in another comment that there are sensors in the joints

  • @lsdave
    @lsdave Před 3 lety

    Please make an amusement park ride based on this!!!

  • @TheAechBomb
    @TheAechBomb Před 3 lety +2

    how many PID loops is this exactly, for the centering, balancing of section 1, 2, 3... damn that's impressive

    • @StepanOzana
      @StepanOzana  Před 3 lety +3

      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.

    • @TheAechBomb
      @TheAechBomb Před 3 lety +7

      @@StepanOzana I have no idea what you just said but I like it

  • @atmospheric5000
    @atmospheric5000 Před 3 lety

    I think Kalman would have loved to watch this...

  • @the_jingo
    @the_jingo Před 3 lety +1

    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

  • @nolanshaw5895
    @nolanshaw5895 Před 3 lety

    Actually insane

  • @lucianomaia9460
    @lucianomaia9460 Před 3 lety +3

    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?

    • @StepanOzana
      @StepanOzana  Před 3 lety +7

      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: czcams.com/video/Sqhr8fYhMfg/video.html

    • @lucianomaia9460
      @lucianomaia9460 Před 3 lety

      @@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?

    • @stepanozana5928
      @stepanozana5928 Před 3 lety +1

      @@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.

    • @stepanozana5928
      @stepanozana5928 Před 3 lety +6

      @@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

    • @lucianomaia9460
      @lucianomaia9460 Před 3 lety

      @@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

  • @bigcheese781
    @bigcheese781 Před 3 lety +1

    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.

    • @StepanOzana
      @StepanOzana  Před 3 lety +1

      there are incremental sensors in the joints. signals are transferred by a fast wireless technology

    • @bigcheese781
      @bigcheese781 Před 3 lety

      @@StepanOzana : Thanks for replying. Interesting solution, so each arm has its own battery and sensor...

  • @leandroagostini5184
    @leandroagostini5184 Před 5 lety +7

    Great !! What control was used? Do you have a published article?
    Greetings from Brazil

    • @StepanOzana
      @StepanOzana  Před 5 lety +5

      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.

    • @StepanOzana
      @StepanOzana  Před 4 lety +3

      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.

    • @StepanOzana
      @StepanOzana  Před 4 lety +6

      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

  • @wtfftw24
    @wtfftw24 Před 3 lety

    Hypnotizing

  • @thebuzzcutboy
    @thebuzzcutboy Před 23 dny

    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.

  • @tobywerner
    @tobywerner Před 4 lety +5

    Besides the controller, what parts did you use to build the machine?

    • @StepanOzana
      @StepanOzana  Před 3 lety +5

      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.

    • @asmqb7222
      @asmqb7222 Před 3 lety

      ​@@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 czcams.com/video/kVDFGMEXXQo/video.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.

    • @StepanOzana
      @StepanOzana  Před 3 lety +1

      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

  • @ControlEngineeringCh
    @ControlEngineeringCh Před 9 měsíci

    Great work!

  • @eidontkehr4081
    @eidontkehr4081 Před 3 lety

    wow
    my first thought was "its animated" the second "where is the line"
    that is impressive

  • @rogeronslow1498
    @rogeronslow1498 Před 3 lety

    Solved by Langrangian method?
    I think the very low damping factor must make this very difficult to stabilise.

  • @ColinMacKenzieRobots
    @ColinMacKenzieRobots Před 4 lety +2

    I assume there are encoders reading the position of the joints, right?

  • @alexneigh7089
    @alexneigh7089 Před rokem

    Very impressive.

  • @dirkobow
    @dirkobow Před 3 lety

    Jede Seerobbe wäre Stolz auf euch ;)

  • @damlic11
    @damlic11 Před 4 lety +1

    So you say you have a 2dof controller, does that mean you're using 2 actuators? If so where's the second one?

    • @StepanOzana
      @StepanOzana  Před 4 lety

      IIt is a 2-DOF control scheme, it is explained in one of my other videos, particularly in a single inverted pendulum video czcams.com/video/Sqhr8fYhMfg/video.html. There is only always one actuator for any inverted pendulums.

    • @StepanOzana
      @StepanOzana  Před 4 lety

      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

  • @Nevir202
    @Nevir202 Před 3 lety +3

    Guy: Touches the standing pendulum
    The robot: How dare you!

  • @donthampy408
    @donthampy408 Před 3 lety +2

    this is amazing

  • @Ryzler13
    @Ryzler13 Před 3 lety

    ... [ lost for words ] ... this is the kind of thing some aircraft use like the Euro Fighter which without computer assist would be unstable and flightless.

  • @outofcontrol4499
    @outofcontrol4499 Před 2 měsíci

    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.

    • @StepanOzana
      @StepanOzana  Před 2 měsíci

      It uses precise encoders (100 000 pulses/revolution) and a fast wireless data transmission.

  • @kapilbusawah7169
    @kapilbusawah7169 Před 3 lety

    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

  • @ultramb6206
    @ultramb6206 Před 3 lety

    That's some physics

  • @melody3741
    @melody3741 Před 3 lety

    I REFUSE TO BELIEVE THAT THE LINEAR ACTUATOR Is THE ONLY THING CONTROLLING THIS.