Swing-up and Control of Linear Triple Inverted Pendulum

Поділитися
Вставка
  • Опубліковано 12 вер 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....

КОМЕНТАРІ • 416

  • @stuffthings1417
    @stuffthings1417 3 роки тому +323

    the swing up and down maneuvers are awesome

    • @freescape08
      @freescape08 3 роки тому +7

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

  • @Not_me737
    @Not_me737 3 роки тому +476

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

    • @StepanOzana
      @StepanOzana  3 роки тому +23

      Thanks!

    • @lonelyspaceman4832
      @lonelyspaceman4832 3 роки тому +6

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

    • @tristanandersen3974
      @tristanandersen3974 3 роки тому +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 3 роки тому

      @@StepanOzana keep up the great work!

    • @Cyberdactyl
      @Cyberdactyl 3 роки тому

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

  • @-Burb
    @-Burb 3 роки тому +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!

    • @StepanOzana
      @StepanOzana  3 роки тому +25

      Thank you very much for your support.

    • @ibrahimtufekci512
      @ibrahimtufekci512 2 роки тому +3

      so many differential equations it is totally an art

  • @leonardmilcin7798
    @leonardmilcin7798 3 роки тому +285

    Mine works super stable in the down position.

    • @ilhamrahkmanriefda652
      @ilhamrahkmanriefda652 3 роки тому +6

      Gravity laugh

    •  3 роки тому +2

      Also under perturbation? 😋

    • @leonardmilcin7798
      @leonardmilcin7798 3 роки тому +7

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

    •  3 роки тому +1

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

    • @leonardmilcin7798
      @leonardmilcin7798 3 роки тому +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.

  • @THESLlCK
    @THESLlCK 3 роки тому +112

    so you made a table with more talent than me
    great

    • @sayethwe8683
      @sayethwe8683 3 роки тому +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 3 роки тому +2

      More brain power too.

    • @numbdigger9552
      @numbdigger9552 3 місяці тому +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.

  • @enderwigin1306
    @enderwigin1306 3 роки тому +350

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

    • @joshuakuehn
      @joshuakuehn 3 роки тому +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

  • @Invaeyncible
    @Invaeyncible 3 роки тому +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  3 роки тому +2

      Thank you very much for your support.

  • @StormBurnX
    @StormBurnX 3 роки тому +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

  • @gearslayer-vn3gz
    @gearslayer-vn3gz 3 роки тому +25

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

  • @lazymandoplayer
    @lazymandoplayer 3 роки тому +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

  • @PieterPatrick
    @PieterPatrick 3 роки тому +13

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

  • @atmospheric5000
    @atmospheric5000 3 роки тому +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 !

  • @thobetiin8266
    @thobetiin8266 4 роки тому +32

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

    • @StepanOzana
      @StepanOzana  4 роки тому +1

      thank you so much!

    • @StepanOzana
      @StepanOzana  4 роки тому +3

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

  • @firstnamelastname3468
    @firstnamelastname3468 3 роки тому +78

    That is some ninja grade control engineering 🤹 kudos

  • @patheticethics4019
    @patheticethics4019 4 роки тому +64

    This is pure beauty! Nice Work!

    • @StepanOzana
      @StepanOzana  4 роки тому +4

      thank you so much!

    • @StepanOzana
      @StepanOzana  4 роки тому +10

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

  • @add859tankionline
    @add859tankionline 3 роки тому +20

    The swing up is the most fascinating part holy moly

  • @JackPunter2012
    @JackPunter2012 3 роки тому +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!!!!

  • @PlayfulTechnology
    @PlayfulTechnology 2 роки тому +1

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

  • @HRW653
    @HRW653 3 роки тому +62

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

    • @TheWizardGamez
      @TheWizardGamez 3 роки тому +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 3 роки тому +12

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

  • @KushalSahay
    @KushalSahay 3 роки тому +48

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

  • @MarkHahn
    @MarkHahn 3 роки тому +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  3 роки тому

      Thank you very much for your support.

  • @lgs618
    @lgs618 3 роки тому +2

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

  • @MolecularMachine
    @MolecularMachine 3 роки тому +1

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

  • @caphunterx2322
    @caphunterx2322 3 роки тому +44

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

    • @StepanOzana
      @StepanOzana  3 роки тому +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 3 роки тому

      @@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 3 роки тому +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 3 роки тому

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

    • @MattKeveney
      @MattKeveney 3 роки тому +1

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

  • @kosviik9584
    @kosviik9584 3 роки тому +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!

  • @anonymous.youtuber
    @anonymous.youtuber 3 роки тому +2

    You are the master of chaos ! Fantastic !

    • @StepanOzana
      @StepanOzana  3 роки тому

      Thank you very much for your support.

  • @YesThatDan
    @YesThatDan 4 роки тому +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.

  • @varchar2
    @varchar2 3 роки тому

    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 2 роки тому +1

    This helps explain self balancing wheels. Well done!

  • @StepanOzana
    @StepanOzana  4 роки тому +67

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

    • @heatshield
      @heatshield 3 роки тому +1

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

    • @StepanOzana
      @StepanOzana  3 роки тому +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 3 роки тому +2

      What is the input to the system? Vision?

    • @liambohl
      @liambohl 3 роки тому

      ^ good question. Are there encoders on the joints?

    • @dextrosity7350
      @dextrosity7350 3 роки тому

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

  • @dNIGHTCROWLERb
    @dNIGHTCROWLERb 3 роки тому +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  3 роки тому

      Thank you very much for your support.

  • @gusbailey68
    @gusbailey68 3 роки тому +1

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

  • @khayathicham
    @khayathicham 3 роки тому +2

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

    • @StepanOzana
      @StepanOzana  3 роки тому

      Thank you very much for support.

  • @brekkenbrekken6926
    @brekkenbrekken6926 3 роки тому

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

  • @DickShooter
    @DickShooter 3 роки тому +7

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

  • @speedbump0619
    @speedbump0619 3 роки тому +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 2 роки тому

      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 Рік тому +2

      just in case you havent seen this recent video: ua-cam.com/video/I5GvwWKkBmg/v-deo.html

  • @procompsys
    @procompsys 3 роки тому +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! 👻

  • @rd9831
    @rd9831 3 роки тому +4

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

  • @a.bergantini4129
    @a.bergantini4129 3 роки тому

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

  • @legendarygary2744
    @legendarygary2744 3 роки тому +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.

    • @StepanOzana
      @StepanOzana  3 роки тому

      Yes it was. Thank you for support.

  • @sean63b
    @sean63b 3 роки тому +1

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

    • @StepanOzana
      @StepanOzana  3 роки тому +1

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

    • @sean63b
      @sean63b 3 роки тому

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

  • @N1lav
    @N1lav 2 роки тому +1

    The UA-cam algorithim god has blessed this video.

  • @CocktaiLMolotovX
    @CocktaiLMolotovX 3 роки тому

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

  • @EleanorPeterson
    @EleanorPeterson 3 роки тому +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  3 роки тому

      Thank you very much for your support.

  • @toft2k
    @toft2k Рік тому +1

    That is absolutely amazing

  • @Lambda_Ovine
    @Lambda_Ovine 3 роки тому

    This looks straight up magical... holly crap.

  • @chrismooneyham5279
    @chrismooneyham5279 3 роки тому

    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!

  • @SunroseStudios
    @SunroseStudios 3 роки тому +1

    omg this is so impressive

  • @Darkmatter321
    @Darkmatter321 Рік тому

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

  • @LetsMars
    @LetsMars 3 роки тому

    I feel like Richard Dreyfus staring at his mash potatoes.

  • @no_special_person
    @no_special_person 3 роки тому

    That was the coolest thing I've ever seen.

  • @Stuffinround
    @Stuffinround 3 роки тому

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

  • @abm8017
    @abm8017 3 роки тому +13

    Oh my god wow, talk about tuned PID control lol

    • @ferronzomeren2733
      @ferronzomeren2733 3 роки тому +3

      I doubt a PID controller is applied to this system tho

    • @Jeremy.Bearemy
      @Jeremy.Bearemy 3 роки тому

      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 3 роки тому

      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.

  • @parthsuyal5879
    @parthsuyal5879 4 роки тому +4

    Wow !!!! never imagined and seem before

  • @lucianomaia9460
    @lucianomaia9460 3 роки тому +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  3 роки тому +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: ua-cam.com/video/Sqhr8fYhMfg/v-deo.html

    • @lucianomaia9460
      @lucianomaia9460 3 роки тому

      @@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 3 роки тому +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 3 роки тому +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 3 роки тому

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

  • @Lebensgott
    @Lebensgott 3 роки тому

    this is mindblowing...

  • @cagneymoreau4216
    @cagneymoreau4216 3 роки тому +1

    soundtrack is 100% appropriate

  • @Archin-dn4bp
    @Archin-dn4bp 3 роки тому +1

    wow! amazing! cool technology)

  • @maxk4324
    @maxk4324 3 роки тому +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 3 роки тому +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  3 роки тому +1

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

  • @Bibibosh
    @Bibibosh 3 роки тому

    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

  • @ryospeedwagon1456
    @ryospeedwagon1456 3 роки тому +2

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

    • @dNIGHTCROWLERb
      @dNIGHTCROWLERb 3 роки тому

      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 3 роки тому

      Is math related to science?

    • @joshuakuehn
      @joshuakuehn 3 роки тому

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

    • @jonasthemovie
      @jonasthemovie 3 роки тому

      @@joshuakuehn r/woosh

  • @johnbarneswood
    @johnbarneswood 3 роки тому

    So freaking cool

  • @redstripedsocks5245
    @redstripedsocks5245 3 роки тому

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

  • @AtlasReburdened
    @AtlasReburdened 3 роки тому +3

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

    • @StepanOzana
      @StepanOzana  3 роки тому +1

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

    • @AtlasReburdened
      @AtlasReburdened 3 роки тому

      @@StepanOzana Quite impressive nonetheless.

  • @lsdave
    @lsdave 3 роки тому

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

  • @sleinbuyt402
    @sleinbuyt402 3 роки тому +1

    This is very impressive !

  • @nigelmaccuver9122
    @nigelmaccuver9122 3 роки тому +1

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

    • @StepanOzana
      @StepanOzana  2 роки тому +1

      Time-variant LQR does the trick.

  • @MrFlyingPanda
    @MrFlyingPanda 3 роки тому +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 3 роки тому +1

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

  • @MrFlyingPanda
    @MrFlyingPanda 3 роки тому +5

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

  • @the_jingo
    @the_jingo 3 роки тому +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

  • @Lambda_Ovine
    @Lambda_Ovine 3 роки тому

    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.

  • @BigPundo
    @BigPundo 3 роки тому

    Your channel is gold

  • @ilhamrahkmanriefda652
    @ilhamrahkmanriefda652 3 роки тому

    Seal : finally, a worthy opponent!!!

  • @HK02316
    @HK02316 3 роки тому

    A+, outstanding.

    • @StepanOzana
      @StepanOzana  3 роки тому

      Thank you very much for your support.

  • @universologist
    @universologist 3 роки тому +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 10 місяців тому

      that would actually make the problem significantly easier

  • @jamestreanor4361
    @jamestreanor4361 3 роки тому

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

  • @ControlEngineeringCh
    @ControlEngineeringCh 10 місяців тому

    Great work!

  • @bigcheese781
    @bigcheese781 3 роки тому +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  3 роки тому +1

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

    • @bigcheese781
      @bigcheese781 3 роки тому

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

  • @massoverride478
    @massoverride478 3 роки тому

    Advancement is striking thank u

  • @leandroagostini5184
    @leandroagostini5184 5 років тому +7

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

    • @StepanOzana
      @StepanOzana  5 років тому +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  4 роки тому +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  4 роки тому +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

  • @TheNormanmurk
    @TheNormanmurk 3 роки тому +1

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

  • @atmospheric5000
    @atmospheric5000 3 роки тому

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

  • @TheAechBomb
    @TheAechBomb 3 роки тому +2

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

    • @StepanOzana
      @StepanOzana  3 роки тому +4

      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 3 роки тому +7

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

  • @Nevir202
    @Nevir202 3 роки тому +3

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

  • @donthampy408
    @donthampy408 3 роки тому +2

    this is amazing

  • @alexneigh7089
    @alexneigh7089 Рік тому

    Very impressive.

  • @thebuzzcutboy
    @thebuzzcutboy Місяць тому

    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.

  • @wtfftw24
    @wtfftw24 3 роки тому

    Hypnotizing

  • @nolanshaw5895
    @nolanshaw5895 3 роки тому

    Actually insane

  • @atmospheric5000
    @atmospheric5000 3 роки тому

    Does the swing up works as well as in this video, at each time ? This is so impressive !

    • @StepanOzana
      @StepanOzana  3 роки тому

      yes. the same behavior each time.

  • @ambar1947
    @ambar1947 3 роки тому +1

    AWESOMEEEEEEE

  • @seanewan280
    @seanewan280 2 роки тому

    Well this could be a cool weapon.

    • @StepanOzana
      @StepanOzana  2 роки тому

      Yes, it can hurt you but only if you are very close. It does not have legs yet :-)

  • @tobywerner
    @tobywerner 4 роки тому +5

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

    • @StepanOzana
      @StepanOzana  3 роки тому +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 3 роки тому

      ​@@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 ua-cam.com/video/kVDFGMEXXQo/v-deo.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  3 роки тому +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

  • @Haellsigh
    @Haellsigh 4 роки тому +1

    Awesome work! I can't wait to read your paper.
    Is your method comparable to a Gain scheduling method with an infinite amount of controllers?
    Isn't a LQR time-varying controller very computationally expensive? Why choose this method over a nonlinear control method (Lyapunov redesign, feedback linearization) ?
    Thanks for the video.

    • @StepanOzana
      @StepanOzana  4 роки тому +7

      Theoretically, it is comparable in that way. Practically, there is a finite numbers of controllers because a fixed sample period is used (1ms or 2ms). You basically pre-compute controller K(t) for t=0:0.001:Tf for a given planned reference trajectory. In each point of the trajectory, nonlinear system is considered as LTV system. I used this method because it is really elegant. It allows you to use one controller both for swingup and stabilization, no switching (so the swingup is done in the closed-loop). Altogether it does not require much of computational performance, you can even use older RPi to run the algorithm. We use faster FPGA-based computer due to need to handle wireless data transfer and other stuff. BTW, the paper will be focused on the design for a single inverted pendulum, but the approach is the same for a triple one. I will write a comment here once the paper is published, expected publication is spring 2020 but you never can tall for sure until you have a hardcopy proof :-)

    • @Haellsigh
      @Haellsigh 4 роки тому

      @@StepanOzana Thanks for the detailed answer!

    • @StepanOzana
      @StepanOzana  4 роки тому +3

      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

  • @jfrancho
    @jfrancho Рік тому

    Awesome!! 👏👏👏👏👏👏

  • @ultramb6206
    @ultramb6206 3 роки тому

    That's some physics

  • @ColinMacKenzieRobots
    @ColinMacKenzieRobots 4 роки тому +2

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

  • @albertsjoberg1200
    @albertsjoberg1200 3 роки тому

    I realise I am three years late to this party, but wow.
    I need info. I guess you have angular position sensors at each node. Is only the base driven?
    How robust is the control to a change in weight or segment length.
    Are there other pseudo stable configurations where one or more of the elements is hanging down?
    Absolutely amazed by this.

    • @StepanOzana
      @StepanOzana  3 роки тому

      There are incremental sensors of angular position in all joints. It is only driven (actuated) by base (cart with a DC motor). I have not assessed the level of robustness, but it is very sensitive to perturbations and all parameters must be inentified very precisely. It is moduler device, it is possible to adjust it easily for 2-link or 1-link pendlum configuration by physical arresting one or two arms to last one.

  • @StikDragon
    @StikDragon 3 роки тому +1

    this is very cool! how much more complex would a 2-axis version be to control?

    • @StepanOzana
      @StepanOzana  3 роки тому

      This would become a robotic sea lion: www.kky.zcu.cz/cs/video-lachtan-2

  • @KantidMM
    @KantidMM 3 роки тому +1

    amazing!