We Built a Self Balancing Bicycle

Поделиться
HTML-код
  • Опубликовано: 14 дек 2024

Комментарии • 143

  • @We.Make.Machines
    @We.Make.Machines  2 дня назад +8

    Thank you for watching and please consider joining our Patreon to help bring more crazy ideas to life and inspire future engineers!

  • @Shadowed7
    @Shadowed7 2 дня назад +41

    I just about panicked when he reached to catch the falling bike around the spinning wheel, that's a great way to lose fingers!

  • @HomoKieran
    @HomoKieran 2 дня назад +25

    A really good attempt, unfortunately the physics of balancing a bike moving in a straight line and one making a turn are vastly different and it would be really difficult to implement an automated way to make the turn. Not only does the bike need to momentarily steer in the opposite direction to initiate the turn it also needs to lean into the turn and not have the gyros try and stand it upright, but they also can't just hold the bike at an angle because the precise angle required varies based on speed and turn radius and if any of it is off the front wheel is just going to lose traction and the bike will go down. The small RC bikes with gyros don't even move them actively, they're just fixed in place and the bike just sort of does it's own thing as it leans and turns.

    • @demej00
      @demej00 16 часов назад

      I built a self balancing bike model with a single gyroscope in the configuration used by the Gyro-X car of 1962 and it steers like a charm. Mine actually leans away in a turn. Quite funny to see.

  • @LR-qi9rj
    @LR-qi9rj День назад +16

    how do you guys have so much machining and engineering knowledge but you cant figure out how to calculate the length of a chain 💀

  • @dr_fish
    @dr_fish 2 дня назад +26

    You made this a lot more difficult than it needed to be. Which makes it absolutely exquisite content. Bravo.

  • @khwolter9038
    @khwolter9038 22 часа назад +6

    Well, looks like you made a device for controlling the roll axis while the bicycle is stationary. Bicycles stay upright by not falling to one side or the other while in motion by steering to compensate, which doesn't work when stationary. To properly steer a 2-wheeled vehicle through a turn, one needs to briefly steer in the opposite direction one wants to turn to initiate a fall in the desired direction, and then, while in the turn, steer to maintain or adjust the lean angle angle to maintain or adjust the turn rate, and again counter steering such that the rider can straighten out. I have a bike that I replaced the wheels with a couple of kids downhill skis. Anyone who can ride a regular bike can ride it.

  • @Pwn3dbyth3n00b
    @Pwn3dbyth3n00b 2 дня назад +61

    You know the funny thing. If you just got a bike and slapped a motor on it and made it go fast it would keep itself upright without a gyroscope

    • @We.Make.Machines
      @We.Make.Machines  2 дня назад +26

      But how do you go from 0 to fast before it falls? Maybe we try rocket engines next time?!

    • @Pwn3dbyth3n00b
      @Pwn3dbyth3n00b 2 дня назад +8

      @We.Make.Machines push it down a hill, I've done that before and it stayed up

    • @willreed1411
      @willreed1411 День назад +2

      Yeah they over complicated that one

    • @AustinMCraigDoesNeatStuff
      @AustinMCraigDoesNeatStuff День назад +2

      @@We.Make.MachinesIt’s time. Rocket bike! 🚀 🚲

    • @adampetten1009
      @adampetten1009 День назад +3

      ​@We.Make.Machines its not gyro that balances it, its self righting by rake of fork and shape of tire... a bike will steer under it self and self right. thats why you can't ride a bike with locked steering

  • @NickMoore
    @NickMoore День назад +3

    If you are working with high speed rotating equipment look up "balance balls" or "balance beads." You can add a hoop filled with balls to any rotating mass and the balls will dynamically balance. They are used in front load washers, truck tires, 52x CD drives, etc. I did a video on them earlier this year and they are legit physics magic. Only minimal precision is needed and the balls will do the rest of the work.
    The bike is awesome, I can't wait to see flocks of them roaming the streets XD

  • @Mazdafan59
    @Mazdafan59 12 часов назад +1

    I liked the video. That is a lot of work to throw away. Nothing is a waste if you learned from it

  • @drhxa
    @drhxa День назад +2

    If you guys use a fancier (maybe custom algorithm) to automatically handle the offset angle buildup of the gyros by setting the target degree tilt of the bike (currently 0° but should be variable) to be proportional to the offset (or possibily it will need to be a bit fancier than this, but just as an example). Then the bike should balance indefinitely and be able to handle turns.
    Regardless, congrats on this project!

    • @We.Make.Machines
      @We.Make.Machines  День назад +2

      Thanks for watching. We left some room for improvement on v2 😮

    • @drhxa
      @drhxa День назад

      @We.Make.Machines yes please!! 😄

  • @NigelMelanisticSmith
    @NigelMelanisticSmith 2 дня назад +7

    6:56 Thank you for reminding me of the last video. I got caught up in watching before I could recall which channel it was I had subscribed to lol

  • @andertenis
    @andertenis День назад +2

    Cool project, Zhihui Jun did this properly a couple of years ago, fully autonomous and with a single small flywheel, it could literally balance on a rail and detect cars with a lidar and cameras, it's on RUclips(all by himself, absolute unit of a man)

  • @worskaas
    @worskaas 22 часа назад +1

    I keep thinking if this was on Mars 😂

  • @No_Worries83
    @No_Worries83 День назад +2

    15:07 - “I wanna slam my hand into a giant metal disc spinning at 4200 rpm!” 🤣

  • @RishabhBohra13
    @RishabhBohra13 День назад +1

    can you tell me where's that bin is located

  • @UncleChester
    @UncleChester 2 дня назад +5

    This reminds me of when I was a kid. We were nowhere near as technologically advanced, but anytime we had a hair-brained idea that didn't turn out the way we planned, it just turned into an excuse to epicly destroy something which always made us smile. Thanks

    • @We.Make.Machines
      @We.Make.Machines  2 дня назад +3

      As the saying goes, when life gives you lemons, document the failure and violently disassemble everything so you can use parts for the next project.

    • @UncleChester
      @UncleChester 2 дня назад

      @We.Make.Machines that is exactly how I approach my failures these days. But my wasted youth did not afford me the luxury of forethought. Most of our epic destructions involved fire!

  • @HolyCannolis
    @HolyCannolis День назад +1

    Do you have the steering reversed? Like…if you want to turn right you turn the wheel left to initiate a lean to the right? Sweet project!!!

    • @camerontechstuffs
      @camerontechstuffs 14 часов назад

      that only works above a certain speed and also requires the bike to have the ability to lean, which their gyro system prevents. they would have to find that speed and implement something to reverse the steering and also greatly reduce the amount of movement when using counter-steering. I think something that disables the gyros when at speed to allow for the gyroscopic nature of a bicycle to take over is how you could make this work better.

  • @drhxa
    @drhxa День назад +2

    Amazing work guys

  • @ohnoitsaninja
    @ohnoitsaninja День назад +2

    you don't need to hunt for the perfect sensor, you just need a low pass filter. you can mechanically low pass filter such a sensor with rubber mounts

    • @We.Make.Machines
      @We.Make.Machines  День назад +1

      We did a ton of work on rubber and foam mounts and filtering in the software (kalman, etc) that didn't make the video cut. Doesn't mean there isn't something that would've worked, was just more fun to destroy it and move onto the next project.

    • @Mazdafan59
      @Mazdafan59 12 часов назад

      If you put the sensor on some mass along with the rubber standoffs, the vibrations would have been greatly reduced

  • @aliimran8479
    @aliimran8479 2 дня назад +4

    pretty sure the EMF produced my your motor woukd interfere with the sensor so, try shielding the sensors with basic protection.

    • @We.Make.Machines
      @We.Make.Machines  2 дня назад +2

      Good thinking. We did try grounded foil but certainly could have tried other ideas.

    • @SirEngelmann
      @SirEngelmann 2 дня назад +1

      I think this could be a magnetic field related issue, which would explain that it can't be treated with thin foil. Just a theory: Maybe the tiny mass inside the MEMS accelerometer has a large enough µ_r such that it got slightly attracted towards the motors.

    • @We.Make.Machines
      @We.Make.Machines  2 дня назад +1

      @@SirEngelmann definitely possible. It could balance indefinitely with the gyro motors spinning but maybe the 13hp motor emf had an effect. Something to test next time!

  • @panher
    @panher 2 дня назад +4

    Such a good company police. Very human.

  • @beautifulsmall
    @beautifulsmall 22 часа назад +1

    Great project. good go . Balancing is a wonderous goal. I recntly tried making a cubli and saw the same rapid gyro drift with vibration on several >£10 6DOF mems IMU's. Zero drift gyro is a claim suppliers caveat.

  • @chopper3lw
    @chopper3lw 2 дня назад +1

    Just out of curiosity, when you turned the handlebars at speed , did you turn into or away from the direction of turn? I ask because that kind of looked like it might've cause the crashes. Nice job though, and now I have to look up LQR.

  • @-Deena.
    @-Deena. 2 дня назад +3

    @0:01 🙄 I'm not stupid, it's just the helium balloon holding it up! 😁

  • @demej00
    @demej00 16 часов назад

    You only need a contactless potentiometer on one of the gyro gimbals. Very tolerant of vibration and no drift. I built one and it works great even in turns.

  • @fieur
    @fieur День назад +1

    That was fun watching!

  • @IndraKurniawan-vk2qb
    @IndraKurniawan-vk2qb 2 дня назад +1

    Did you use kalman filter on the "bad" sensor?

    • @We.Make.Machines
      @We.Make.Machines  2 дня назад +3

      We sure did. The sensor would recover eventually but it took minutes even after optimizing parameters.

    • @IndraKurniawan-vk2qb
      @IndraKurniawan-vk2qb 2 дня назад +1

      @@We.Make.Machines I see, btw Great Job on the build! Cant wait to see more from you guys! Love the comedy, love the effort, love the quality. Amazing

    • @jcweaver1997
      @jcweaver1997 23 часа назад

      @@We.Make.Machines Why not use an accelerometer to detect which direction gravity is? If you add that into your kalman filter you would likely get better results

    • @We.Make.Machines
      @We.Make.Machines  22 часа назад

      @jcweaver1997 it does have accelerometer, when you introduce centrifugal force due to turn it skews the reading

  • @jazzerbyte
    @jazzerbyte День назад +1

    What a fun project! I wonder if that 'good sensor' would be good enough for pedestrian-carried dead reckoning navigation? Normally this is thought to contain so much noise as to be impractical.

  • @kwaaaa
    @kwaaaa День назад

    7:29 "saved us a ton of time previously wasted commuting and spending with family" Me nodding thinking it's a great idea not realizing my wife staring me down across the room.

  • @UhhPatrick7421
    @UhhPatrick7421 День назад +1

    id use a reaction wheel instead
    by the way you can balance a bike if ur good at it by moving the steering which can shift the weight slightly to both sides so you can also balance in a stationary position
    but a reaction wheel will be smaller than that and you could fit a human on it by putting the wheel on a rear rack at the back

  • @miriamramstudio3982
    @miriamramstudio3982 19 часов назад

    That was a super cool project. Thanks. Now I am impatient to investigate LQR ;) ;)

  • @MarinusMakesStuff
    @MarinusMakesStuff 2 дня назад +1

    I'm the opposite of an engineer in my opinion, but I would guess the center of gravity and the center of mass might not be ideal :D Thanks for sharing the build process though. Even though you managed to remove the human from the bike, the humans doing the engineering still caused issues. Even a proxy won't help in this case hahaha. But I enjoyed watching this and I hope you guys are willing to give it another try! Oh, and ask James Bruton, he can 100% help you out with tips on how to make this work!

  • @levinschuler1581
    @levinschuler1581 День назад

    Which motor did you use for the project? nice Project

  • @foamboard_shenanigans
    @foamboard_shenanigans День назад

    Awesome job. I am loving this channel. I think the steering issue could have been solved if the bike leans or steers the opposite way first then leans into the turn. Otherwise the turn sends the center of mass off balance the wrong way. Otherwise it kicks ass!

    • @We.Make.Machines
      @We.Make.Machines  День назад

      Thanks for the feedback, we'll have to give that a try!

  • @wecirclethesky
    @wecirclethesky 14 часов назад

    Super fun project! It looks like controlling the handlebar angle directly was the problem with steering. Handlebar angle needs to be compensated for with bike angle or it'll throw itself over. Seems like when you want to steer, you need to modulate the handlebar angle to maintain the balance setpoint instead of using the gyros. Steering authority would then come from adjusting the balance setpoint and the steering radius would be a function of speed. The gyros wouldnt even be necessary at speed and their authority could fade out once the handlebar angle can shift enough mass. But I'm not the one who slaved away for months, I'd be done too 😂

  • @me-bm4wt
    @me-bm4wt 21 час назад

    Great project. Which software is used for rendering?

  • @anthonyanglim7147
    @anthonyanglim7147 19 часов назад

    You Guys Didn't Get to Jump Ramps when you were Kids? Why does GenX have to be so Cool!

  • @torist043
    @torist043 3 часа назад

    Thanks for an entertaining video! I think you ”crash every time you try to steer” might be because you only turn the handle bars to steer, when we humans ride a bicycle we do the opposite, we lean to steer and follow with the handle bars.

  • @KennyMacDermid
    @KennyMacDermid 2 дня назад +2

    Rather than deal with sensors and code I wonder if you could have used ideas from the self-balancing monorail (ruclips.net/video/kUYzuAJeg3M/видео.html) and used the natural precession of the gryos as an input.

  • @RandolphPeters-b9w
    @RandolphPeters-b9w День назад

    Fun to watch. Very kind memorial service

  • @Gribbo9999
    @Gribbo9999 20 часов назад

    A bike rolling at slow jooging speed will self balance even with 60 or 70 kg of rider sitting on it. Clearly then your gyro code was therefore actually upsetting the bike at more than 5 or 6 km/h and in someway counteracting the natural self balancing . The fact that you had a steering mechanism installed would inhibit the natural tendency for the bike to self steer into a lean and correct the fall.
    All good fun stuff and I enjoyed seeing your construction. Thanks.

  • @andy4an
    @andy4an День назад +1

    excellent
    seems like a good way to mangle a low weight bike to to put big heavy gyros on it

  • @BenAlternate-zf9nr
    @BenAlternate-zf9nr День назад

    Could you use a hanging weight pendulum with a rotation sensor on the axel as your angle sensor? As a bonus, it would automatically lean in the correct direction during turns.

    • @We.Make.Machines
      @We.Make.Machines  День назад +1

      @BenAlternate-zf9nr we considered using a rotary encoder w hanging weight but it would have momentum every time it corrected and that would cause it's own set of problems.

  • @iamamodel7
    @iamamodel7 21 час назад

    @10:31 And this is what happens when you get to see Paul Allen's Six Axis Inertial Attitude Sensor.

  • @johannesschuhbauer
    @johannesschuhbauer 2 дня назад +2

    10:35 Is this a American Psycho reference? 😆

    • @We.Make.Machines
      @We.Make.Machines  2 дня назад

      😜

    • @sl9sl9
      @sl9sl9 День назад +2

      Was looking for this comment... Oh my God it even has a watermark!

  • @ClosestNearUtopia
    @ClosestNearUtopia 8 минут назад

    Those rotating plates arent called gyroscopes, that is the complete full set of chassis and motor including its disc and programming to be able to function as: a gyroscope. Those rotating plates are called flywheels, or rotors.

  • @GuildOfCalamity
    @GuildOfCalamity 2 дня назад +1

    Sensor integration is hell, ask me how I know.

  • @segment932
    @segment932 2 дня назад +2

    At the University of Märlardalen they managed to make a bike drive at its own with out fly wheels by simply turning in to the direction it falls!
    In the video below it don't carry a doll but I herd that they tested that to!
    ruclips.net/video/vICDzgeLqlM/видео.htmlsi=nj5O_fFkOF7CA_zA
    Anyway I like this channel. Keep it going, you rock!

  • @dieterjosef
    @dieterjosef День назад

    Nice mechanics and technology but a little futile to me.
    May I propose that you construct a Segway that is stabilyzed by gyroscopic forces instead of controlling the wheels? Really cool would be if the vehicle had a combustion engine because I think the gyroscopes wouldn't have to change their speed suddenly.

  • @AustinMCraigDoesNeatStuff
    @AustinMCraigDoesNeatStuff День назад

    Poor Billy. Cool video!

  • @elliotmarks06
    @elliotmarks06 2 дня назад

    This is really awesome!

  • @gregjackson4117
    @gregjackson4117 22 часа назад

    If you had an optimus type robot riding the bike it might work better. Or a simplified version of the concept with a control arm for steering on an electric bike.

  • @douglastaylor43
    @douglastaylor43 38 минут назад

    Could have let a normal bike go down a hill, but the video was enjoyable. Gyroscopes are cool.

  • @GoonChief
    @GoonChief День назад +1

    jersey!!??

  • @RealCadde
    @RealCadde День назад +1

    A few points...
    To make something balance, you need to counteract any undesirable motion with more counter motion than is present.
    That is, if angular velocity is at 1, you need -1.01 to -2 to counteract it. The amount you put in depends on three factors.
    How far off your target you are, and how soon you will hit your target, and how responsive you want your balancing system to be.
    If you get oscillations, your algorithm is not doing a good job. And if you overshoot (which is what oscillations are) you also might have set it to be too responsive. In that it tries too hard to balance itself when the mass it's trying to balance is lower than the force you are putting in.
    A properly implemented balancing algorithm will self adjust such that it doesn't overshoot more than a few times, it will know that it's too good for it's current load.
    A standing bicycle is not al all the same as a rolling bicycle. Most bicycle geometries are made to self right themselves when rolling, which is why you can push a bike and it will stay upright for a while after you let it go. If you have a balancing algorithm that fights this self balancing, you are going to end up making things worse.
    A sensor that doesn't know up from down is a bad choice regardless of its quality. It would have been much easier to use physics to your advantage and just have a pole that controls some actuators. Not electronics.
    To make a bicycle turn, all you have to do is lean it. You don't need a servo on the handle bars. And an electronic angle sensor is going to mess you up no matter what you do because it won't know how much to lean to achieve balance in a turn. But a mechanical pole balance will know, because its reference follows the bicycle.

  • @balboa9439
    @balboa9439 День назад

    umm... the geometry of a bike is what makes it self balancing.
    Take any bike, go uphill and let it go. It will go for it's own journey and balance itself all the way.

  • @liarus
    @liarus 19 часов назад

    You could make tour own analog angle sensor with just an encoder and a weight.

  • @stuartrockin
    @stuartrockin 2 дня назад +1

    Billy, NO!

  • @geogmz8277
    @geogmz8277 23 часа назад

    This could be the future of Door dashing....

  • @rejiepark
    @rejiepark 12 часов назад

    11:59 -added steering motor
    15:06, 17:10, 17:48 -not a steering in sight

    • @We.Make.Machines
      @We.Make.Machines  3 часа назад

      Centrifugal forces from steering confused the sensors. Never got it quite working... leaving room improvement on v2 😉

  • @HenriqueDelfinoAlmeidaAlves
    @HenriqueDelfinoAlmeidaAlves Час назад

    Now balance the bike on a wheelie

  • @WillBelden
    @WillBelden 23 часа назад

    Surely you salvage all the motors and connectors and rails... ?

    • @We.Make.Machines
      @We.Make.Machines  22 часа назад

      Gonna need more patreon members to pay for unsalvaged electronics 😅

  • @biquinary
    @biquinary День назад

    The safest thing would be to remove the car drivers

  • @bertjesklotepino
    @bertjesklotepino День назад

    i do not wanna sound like a party pooper...
    but there are these gadgets, one wheels.
    I have this one wheel thing powered by batteries.
    The wheel is just the same width of a bike tyre.
    Anyway, this one wheel gadget balances itself with all the electronics it has onboard.
    So, what is the difference>
    Reinventing the wheel is a waste of time

  • @717u6
    @717u6 День назад

    10:20 < Fourier Transform

  • @mohdaasif007
    @mohdaasif007 День назад

    Turning angel was missing

  • @Alan_Hans__
    @Alan_Hans__ День назад

    Glad you got rid of the lifting weights as gyro elements. The steel/iron in them is absolute rubbish and it doesn't have anything like the strength of billet steel or aluminium.

  • @gregjackson4117
    @gregjackson4117 22 часа назад

    Only 27k Subs, lets fix that!!!!

  • @adsfawe4rq3asdf
    @adsfawe4rq3asdf 2 дня назад

    NJ Drones explained

  • @grantharper6409
    @grantharper6409 День назад

    Looks like you’ve designed a bike that doesn’t consider countersteer

    • @We.Make.Machines
      @We.Make.Machines  День назад +1

      I think there is a way, a very complicated way, to steer without countersteer. The gyros can initiate the tilt of the bike into a turn rather than a countersteer. But this is unrelated to the sensor's drifty readings.

    • @grantharper6409
      @grantharper6409 День назад

      @@We.Make.Machines makes sense; use the gyro to tilt into the turn, and allow the bike’s front wheel to naturally sit at the opposing angle

  • @justski40
    @justski40 20 часов назад

    WHOTHE HELL WAS SCARD TO JUMP OFF RAMPS NOT MY GEN we built them evereyday

  • @CasGRos
    @CasGRos День назад

    I have wread a reserch sdudy on thes spesifik topic

  • @Trevor0990
    @Trevor0990 23 часа назад

    ruclips.net/user/shorts3TS9BAKKGyc?si=biMZffB4YCJeJH16
    Is this why it would not balance at higher speeds?

  • @Benetheburrito
    @Benetheburrito День назад

    Have you seen this video yet? It’s a very similar concept to yours but with a much smaller flywheel. Loved the video, really entertaining and a cool concept.
    ruclips.net/video/kCL2d7wZjU8/видео.htmlsi=0_cYruPngpInz25h

    • @We.Make.Machines
      @We.Make.Machines  День назад

      Thanks for watching. Yes, we enjoyed that video as well. We wanted to try to tackle the project with a control moment gyroscope!

  • @mlv5082
    @mlv5082 17 часов назад

    Not worth watching!

  • @dcolb121
    @dcolb121 10 часов назад +1

    I hate thumping music. Tone down the bass.