How this Active Gyroscope Balances

  Рет қаралды 274,313

James Bruton

James Bruton

Күн бұрын

Пікірлер: 376
@jamesbruton
@jamesbruton 3 жыл бұрын
Thanks Morning Brew for my daily news perk - sign up for free here cen.yt/mbjamesbruton
@elishagordon4852
@elishagordon4852 3 жыл бұрын
Cool Video Even Tho I Haven’t Watch It Yet
@Dentalame
@Dentalame 3 жыл бұрын
A week ago !?!!??!!
@lambsauce5445
@lambsauce5445 3 жыл бұрын
Can you do a ROS robot start to finish tutorial? The last one you did from your Nerf robot wasn't a tutorial per se, and it was a little confusing. If you do a sharp solid tutorial from 3d printing the parts, using the correct motors, and setting up ROS and talking to the Arduino and trying to make the system work (the most important part), I would love you even more - if that's even possible...More importantly, the ones online use the Turtlebot which is really pricey for everyone. So simply, please, please make a ROS robot tutorial showing how to setup ROS and letting it talk to the Arduino to make the motors move with encoders. If this is really confusing, please reply to this. But thank you!
@balighgid6942
@balighgid6942 3 жыл бұрын
OH YOU LITTLE, you made me buy mc Donald's with an ad for something else
@jimmyhackers8980
@jimmyhackers8980 3 жыл бұрын
try dynamically variable PIDs. i guess you'd have to code it. i.e. the closer to centre/level the less aggressive the PIDs.
@xitcix8360
@xitcix8360 3 жыл бұрын
I know gyroscopic energy has been used for a while now, but it just seems like magic to see that semicircle just start tilting on it's own.
@angst_
@angst_ 3 жыл бұрын
Having the ball-bearings loose so they can roll around the track is decoupling them from the flywheel. The only thing that transfers their kinetic energy to the flywheel is friction.
@jamesbruton
@jamesbruton 3 жыл бұрын
Yep, a better design next week
@CyclingMikey
@CyclingMikey 3 жыл бұрын
@@jamesbruton Cast a lead ring to put inside your gyro? Denser and thus heavier, and won't move.
@pacman10182
@pacman10182 3 жыл бұрын
@@CyclingMikey something like woods metal can be cast directly in the plastic
@StevenIngram
@StevenIngram 3 жыл бұрын
I think the bearings are fine. The plastic parts just need to be printed to have holes for bearings and when you bolt the 2 halves together, it sandwiches them in place and holds them captive.
@mikefochtman7164
@mikefochtman7164 3 жыл бұрын
While that certainly affects how it comes up to speed (and you can hear them racing around inside when it stops), I don't think that in itself affects the gyro's moment of inertia. Once everything is up to speed, I think it works as well as a solid one would. (IMHO)
@robertleroux5773
@robertleroux5773 3 жыл бұрын
You can use a car brake disc as a flywheel, they're cheap, come in various sizes and are already balanced.
@jamesbruton
@jamesbruton 3 жыл бұрын
Thanks for that. I also found flywheels for cross-trainers ;-)
@elisonner5447
@elisonner5447 3 жыл бұрын
That’s cool what made you come up with the idea
@JoeyMcCart
@JoeyMcCart 3 жыл бұрын
I wish I found this comment 5 months ago
@thomb.9013
@thomb.9013 3 жыл бұрын
@@JoeyMcCart why
@Darenz-cg9zg
@Darenz-cg9zg 3 жыл бұрын
@@thomb.9013 guess.
@adissentingopinion848
@adissentingopinion848 3 жыл бұрын
Aw man, I finally understand the mechanics of using a gyroscope as an active stabilizing component, rather than just a measuring tool. This is some choice educational content! I wish I could send this over to my younger self as encouragement for looking into physics more.
@zetapi
@zetapi 3 жыл бұрын
May the Forth be with you from Australia, James!
@ShadowPhenix273
@ShadowPhenix273 3 жыл бұрын
Oh, why hello there fellow aussie
@benjaminrogers9848
@benjaminrogers9848 3 жыл бұрын
@@ShadowPhenix273 Oh, why hello there fellow Aussie
@ShadowPhenix273
@ShadowPhenix273 3 жыл бұрын
@@benjaminrogers9848 oh, why hello there fellow aussie
@kingmasterlord
@kingmasterlord 3 жыл бұрын
hope you were prepared for the revenge of the fifth!
@Idontknow-km5hp
@Idontknow-km5hp 3 жыл бұрын
HOW DARE I FORGET THAT IT WAS FOURTH OF MAY
@sean63b
@sean63b 3 жыл бұрын
pid loop tuning tip: start with i and d set to zero. increase p slowly till it starts oscillating, then try to increase the d gain to dampen the oscillations. Go back to the p gain and resume increasing. do this until you are unable to dampen the oscillations, then lower back to the last controllable value. For this particular case, the i gain should be unimportant, since that just ramps up slowly in case the p gain gets too low to drive the motor to the exact setpoint, which shouldn't be a problem for a balancing robot of this type since it's reacting quickly.
@graealex
@graealex 3 жыл бұрын
11:50 A gyroscopic roll amplifier for ships would be something new.
@blahorgaslisk7763
@blahorgaslisk7763 3 жыл бұрын
Could be used in training vessels to simulate rough sea. Get those landlubbers green and puking their guts out without having to wait for a storm... Can't help but wonder if reaction wheels might not be better for something like this though.
@graealex
@graealex 3 жыл бұрын
@@blahorgaslisk7763 Or just to flex on other boat owners. Imagine your boat sitting in the calmest waters ever, yet it's rolling like you're in the mother of all storms there ever were.
@daleguenther5826
@daleguenther5826 3 жыл бұрын
Thank you for creating another great vlog! I can always depend on learning some thing from your videos!
@fraserbuilds
@fraserbuilds 3 жыл бұрын
I love this style of video of demonstrating specific concepts with robots. Its so cool and rlly inspiring.
@OrionAerospace
@OrionAerospace 3 жыл бұрын
We are putting a reaction wheel on our rocket to control the roll! Awesome video as always :D
@stochasticsignal1951
@stochasticsignal1951 3 жыл бұрын
Always funny running into KZbinrs in the comments. Where's the next Kalman filtering video? ;)
@hughclinton
@hughclinton 3 жыл бұрын
Reaction wheel or a Gyro. I'd have thought a gyro would make more sense?
@mikefochtman7164
@mikefochtman7164 3 жыл бұрын
Great! You've combined two of my favorite subjects, gyros and PID controllers. While in the Navy, came across a test hull system that used two huge gyros to force the hull to rock side to side at different rates in order to test some internal systems. The rate of roll was just a matter of how fast they would pitch the gyro's fore-aft. (of course, those gyros were about ten foot across and really massive)
@fatalmystic
@fatalmystic 3 жыл бұрын
Finetuning a PID control is an art! Nice job! :)
@Andreluisdias23
@Andreluisdias23 3 жыл бұрын
13:22 you noticed that the board to which the accelerometer is attached, is vibrating a lot, maybe with a little adjustment the device will be even more stable. great video
@BlueScreenCorp
@BlueScreenCorp 3 жыл бұрын
I appreciate how interesting and informative these videos are, I have never seen the inside of a gimble before and now see how it responds to movement makes it much more intuitive
@benjaminrogers9848
@benjaminrogers9848 3 жыл бұрын
There's a Tom Stanton video on drone COG that explains why adding weight to the bottom made the balancing worse, broke my brain tbh
@blahorgaslisk7763
@blahorgaslisk7763 3 жыл бұрын
Thought of that, or perhaps a similar video, when he added those nuts. I still can't wrap my brain around exactly how it works, but when I watched the video it was explained so well it all seemed perfectly logical, which I expect it is. But now I can't remember the details and it sounds totally weird again. I remember it being explained how adding weight *above* the point of balance was much safer. Also how it got easier the further above the balance point it was. Kind of like how it's easier to balance a three yard stick on your finger than a foot long stick with the same weight. All in all it hurt my brain... Oh no! It's coming back to me. The problem with using a weight at the bottom to balance a helicopter is that as the craft changes direction the weight will act as a pendulum. Go forward and the weight will make the craft tilt forward. The more the craft tilts the more power is projected backwards accelerating forward which will make the pendulum force the craft to tilt even more and so on. Same with air resistance which will cause the craft to tilt in the direction it is moving or if it's wind then it will tilt towards the wind. All in all it becomes very unstable. With the weight above the craft will tend to tilt in the opposite direction, effectively counteracting the tilting effect of the acceleration. And so the craft will be more stable but less maneuverable. Ouch! Brain not happy that it actually had to work for a few minutes there... Now I can't immediately visualize how this would influence a gyroscope. Late night here and my brain says it needs it's rest.
@anactualpilot
@anactualpilot 3 жыл бұрын
Been watching for a couple months now and your uploads are always so well made! Great content, thank you.
@toasty8432
@toasty8432 3 жыл бұрын
You have a lot of trust in the strength your printed parts, standing chest level to what could been thought as a fast spinning ballbearing bomb. I wonder what sort of velocity one of those would come flying out at if the plastic bonds gave way?
@jamesbruton
@jamesbruton 3 жыл бұрын
Not much, they are only 160kv motors
@daniellaroche8690
@daniellaroche8690 2 жыл бұрын
The word for this in my mind is "centrifugal claymore" 😹 (sick robotics though! This is extremely cool)
@Nickgowans
@Nickgowans 2 жыл бұрын
@@jamesbruton that doesn't really matter though, what matters is the RPM, the diameter of the wheel and the weight of the ball bearings. You should fairly easily be able to calculate the launch velocity and energy if it should fail
@conorstewart2214
@conorstewart2214 2 жыл бұрын
@@Nickgowans it would be quite complex to accurately calculate it, if not impossible. Sure you could handle it as if the casing just suddenly didn’t exist but for the ball bearings to come out the case would have to break apart and that would probably take a lot of the energy out of it.
@PhaTs00p
@PhaTs00p 3 жыл бұрын
That's a lot of confidence placed in the strength of the 3D parts.
@paralexvr
@paralexvr 3 жыл бұрын
This is incredibly unsafe, if the plastic cracks you get high velocity metal ball shrapnel in all directions... everybody dies in the room.
@jamesbruton
@jamesbruton 3 жыл бұрын
It's really not going that fast - they are only 160KV motors.
@PhaTs00p
@PhaTs00p 3 жыл бұрын
@@jamesbruton I'm just pulling numbers out of my ass. If I understand electric motor ratings correctly that's 1900rpm at 12V, at 60V up to 9600rpm. Ball bearings ~9cm from middle results in a RCF (g force) from 360 g (1900rpm) up to 9200 g (9600 rpm). Even if you do trust the plastic I strongly recommend balancing the wheel properly. Additional fun facts, assuming a weight of 4grams for one ball, the kinetic energy at 1900 rpm is around 7.5 Joules per ball, exactly the threshold muzzle energy you'd need a firearms license in Germany if you planned on launching the balls. At 9600 rpm we're looking at 180 J, about the same as a .32 S&W Long cartridge from 1896. Modern 9 mm ammo is around 550 J.
@ramakrishnanr3877
@ramakrishnanr3877 3 жыл бұрын
I have stumbled upon an article about an old russian self balancing car.The inventor used pendulum as a feedback.The pendulum is connected to a rack and pinion which changes the angle of the gyro when tilted.
@jamesbruton
@jamesbruton 3 жыл бұрын
That would probably work, but it would be hard to tune ;-)
@BirnieMac1
@BirnieMac1 Жыл бұрын
Have really been loving your videos for learning more about these kind of engineered stabilisation systems
@rpavlik1
@rpavlik1 3 жыл бұрын
Really cool! Thanks for clearing up the difference between reaction wheels and control moment gyros too.
@northhamptonshire
@northhamptonshire 3 жыл бұрын
I love this ongoing series on separate mechanisms!!
@jamesbruton
@jamesbruton 3 жыл бұрын
Thanks, more coming soon!
@ImperialLightandMagic
@ImperialLightandMagic 3 жыл бұрын
Anyone else thinking the loose ball bearings spinning at that rpm was creating a 3d printed claymore? :) Joking aside, amazing work as always though James
@wrxwalsh
@wrxwalsh 3 жыл бұрын
I had reasonable confidence in the material, but that was my first gut thought
@RandomPerson494-12c
@RandomPerson494-12c 3 жыл бұрын
I have been waiting for this. Thank you James !
@divyaprakashbiswas8781
@divyaprakashbiswas8781 3 жыл бұрын
Your projects always motivate me. Thanks for sharing.
@3DPrinterAcademy
@3DPrinterAcademy 3 жыл бұрын
great video! really enjoyed it!
@Avetho
@Avetho 3 жыл бұрын
This reminds me of when I spun up an ancient 8MB, 8 platter HDD, it was huge and I could very clearly feel the gyroscopic forces as I tilted the drive. That was cool.
@blahorgaslisk7763
@blahorgaslisk7763 3 жыл бұрын
There was a reason those huge 8" and larger drives were so heavy and in some cases even bolted to the floor... The largest (physically) drive I saw had a aluminum drive enclosure that was about a yard across. There were a drive axle sticking out with a freaking pulley on it and a belt connected that to the drive motor. A belt driven hard drive! It seems so insane now. And I think it was something like 30 MB of storage! But hey, it replaced a few of those 8 disk drive stacks that they were throwing out. I think those stored somewhere around 450 to 800 KB each. I may be way off, but this was around 84, perhaps earlier. Can't remember exactly. That "new" hard drive was not only way higher capacity than the drive stacks it replaced but also very much faster and more reliable. I did work on some 8" drives later, say some time between 86 and 90 or so, and those were about 30 MB and on their way out then. It was kind of hilarious. You had a tower computer with a controller card that connected it to a second tower that was almost exactly the same size as the computer and that held one 8" HDD that could store about 30 MB. I'm trying to remember the brand but it's hard. Priam keeps popping up but it doesn't feel quite right. Googled and yes it probably was Priam. Damn brain, you did good!
@Markste-in
@Markste-in 2 жыл бұрын
A good alternative for the balance wheel would be a car disk brake. They are heavy, can be super cheaper and are fairly centered and balanced
@Diamonddrake
@Diamonddrake 3 жыл бұрын
This is pretty cool! I didn’t know about that seakeeper, what a neat idea
@Callofdootie
@Callofdootie 3 жыл бұрын
I watch and love all your videos. This one for some reason seemed really satisfying to watch.
@MrRitzyVlogs
@MrRitzyVlogs 3 жыл бұрын
I really liked seeing the acceleration plots at 10:40. Would have been interesting to see the plots for the closed loop tests.
@gingermanc
@gingermanc 2 жыл бұрын
Thanks for inspiring kids ( and adults everywhere ). You are machine ( in that you output a lot of high quality stuff ).
@TS-kg4lf
@TS-kg4lf 3 жыл бұрын
Nice project to show and tell how to tune PID on one axis and what it is used for :)
@jannic7506
@jannic7506 3 жыл бұрын
Your work is awesome. For me it's impossible how laborious and fast you can make videos🔥 P.S.: Thank you so much for sharing your experience and experiments. I always learn something new on your channel
@jamesbruton
@jamesbruton 3 жыл бұрын
Thanks!
@Danucart
@Danucart 3 жыл бұрын
Sorry, I commented on the disadvantageous attachment of your IMU earlier, while still watching your video. You saw it for yourself, well done! Looking forward to the next one!
@jamesbruton
@jamesbruton 3 жыл бұрын
More next week, thanks!
@thesoupin8or673
@thesoupin8or673 3 жыл бұрын
Incredible. I've enjoyed your content for a little while, but this one earned you a sub. Great content!
@jamesbruton
@jamesbruton 3 жыл бұрын
Thanks, more next week
@josiahmitchell530
@josiahmitchell530 3 жыл бұрын
Good job with all the ideas. I'm enjoying them and its cool learning about new concepts! Keep it up!
@reggiep75
@reggiep75 3 жыл бұрын
15:45 - I had wondered when the compensating pairs would arrive and even tho you need a lot of space they do fix issues.
@redbaronrefining5322
@redbaronrefining5322 3 жыл бұрын
Ah, inertial gyroscopes. I have a few of these in my collection. Amazing guidance technology back in the day! Talk about some killer bearings in them!
@ReiverBlue1971
@ReiverBlue1971 2 жыл бұрын
On the "keel" test it looked like a bit of a "Tah-Dah!" (rather please with yourself) moment ;D Wonderful work
@_BangDroid_
@_BangDroid_ 3 жыл бұрын
15:55 That's the cutest goofiest robot I've seen in a while 😆
@jamesbruton
@jamesbruton 3 жыл бұрын
It's good isn't it
@rcleveacp
@rcleveacp 3 жыл бұрын
Wow! Very impressive. Keep up the great work and thank you.
@514_cricket
@514_cricket 3 жыл бұрын
YASSS the 3d printing music is back! Thank you!
@AmaroqStarwind
@AmaroqStarwind 3 жыл бұрын
You should make a design that has a gömböc shape in it.
@johnflux1
@johnflux1 3 жыл бұрын
Instead of PID, have a look at Model Predictive Control. It is a bit more complicated, but the result doesn't need tuning and the result is optimal. For gyro control, it is perfect, because it has a very well known and simple physics model.
@jonmendenhall5074
@jonmendenhall5074 3 жыл бұрын
Yeah definitely. Slapping a PID on everything might work, but if you know model... you can get really solid performance like you said. In this case he probably would want to monitor the angular acceleration of the hull, then exert an opposing force on the hull by exerting a torque on the gyro through the servo. And then have an outer control loop (much more acceptable to be PID) that monitors the angle of the hull and feeds into the desired force for the inner loop.
@zarro110
@zarro110 3 жыл бұрын
Just print little notches in the outside of the ring where the balls are. If you put as many notches as balls they will be pushed against them with the centrifugal force and space out evenly. Also makes for better power transfer to the balls without needing much precision
@jamesbruton
@jamesbruton 3 жыл бұрын
yep - that's happening in V2 next week!
@literate-aside
@literate-aside 3 жыл бұрын
This is absolutely fantastic
@locostse7en
@locostse7en 2 жыл бұрын
You have made me fascinated with all this.............
@FeartheLess
@FeartheLess 3 жыл бұрын
awesome video as always! I always learn something new haha. i have a question relayed to gearboxes, have you considered 3d printing a planetary gearbox? if so why or why not, are you planning on making a video about them in the future or are there any limitations to printing them? :) you’ve also inspired me to make my own cycloidial gearbox for a 28byj, it currently has 1 disk and 45 decrees of backlash, hopefully i’ll improve it over time haha thanks for the amazing work and videos!
@davenarisotto3674
@davenarisotto3674 3 жыл бұрын
Hey james, very interesting video as always. Do you have any plans on doing anything related to mecanum wheels?
@jamesbruton
@jamesbruton 3 жыл бұрын
Yep, kind of, in a couple of weeks!
@madimadisofian
@madimadisofian 3 жыл бұрын
Hey, if you‘re imu is producing very noisy data(for example because of vibrations) , a kalman Filter could help out. It can be implemented in the software 👍
@pespsisipper
@pespsisipper 2 жыл бұрын
7:30 this is incredibly unsafe! how can you stand so close and just look at it?!
@hakimchannel
@hakimchannel 3 жыл бұрын
wow, nice job friend
@jasonhendricks4802
@jasonhendricks4802 3 жыл бұрын
Make a silicon mold of the track the bearings ride in. Cast the silicon in plaster and then fill with lead. Making a solid ring will improve the stability.
@ivan_959
@ivan_959 3 жыл бұрын
You could stack hard drive platters to make a flywheel and spin up the hhd motor up. Or stack platters and use the motor hub only.
@matthewwillshee203
@matthewwillshee203 3 жыл бұрын
Interesting stuff, although I have to agree I am a bit worried about that rotor bursting. I think the control would work better if the output of the PID controller set the servo rotation speed, rather than angle. The torque reaction from the gyro is proportional to the rotation speed of the gimbal. Then, to keep the gimbal position, from tending to infinity, an outer loop that reads the gimbal position and alters the target lean angle.
@sebincjose9474
@sebincjose9474 3 жыл бұрын
Actually I was thinking about this from a long time. Placing two opposing gyros on the hip of a humanoid robot and balancing them. Hop you try to make one.
@sill2323
@sill2323 3 жыл бұрын
Would you mind trying the first gyroscope gimbal with the weights on the top of the red frame? To my eye, the balancing bicycle might have this arrangement?
@JulianMakes
@JulianMakes 3 жыл бұрын
I can see a metal lathe in your future James! I got a lovely boxford (old British make). Imagine the energy in your gyro x 10 :)
@conorstewart2214
@conorstewart2214 2 жыл бұрын
You have essentially stuck that IMU out on a springboard, you can see how much it is vibrating, that will probably affect the roll calculations and add a lot of noise and hence affect the whole control system. The IMU should have been mounted to the main body of it at the very least, maybe with some light vibration damping too like they do on drones.
@AlexP-zx1yo
@AlexP-zx1yo 3 жыл бұрын
At the 0:50 mark you can see the gyro's base start to move in one direction as the disc starts slowing down. Is there a name for this phenomenon? How is the rotation transformed into translation in this case?
@1FishinAddict
@1FishinAddict Жыл бұрын
This is great for a kayak stabilizer !
@jordan1734
@jordan1734 3 жыл бұрын
You don’t disappoint. 👍
@sreynoldshaertle
@sreynoldshaertle 3 жыл бұрын
Try a markov decision process! A good enough policy will actively combat windup, which is pretty neat. Maybe more useful for reaction wheels than gyros, though.
@oisiaa
@oisiaa 3 жыл бұрын
I think James has printed more with a 3d printer than any other person on Earth.
@eongan
@eongan 3 жыл бұрын
I think mechanicaly isolating the gyro from the system would improve signal to noise ratio, thus you can get much higher control bandwidth without causing oscillations.
@Nickgowans
@Nickgowans 2 жыл бұрын
This is terrifying especially used on a bench as waist height. If the flywheel fails you will have dozens of pieces of extremely high speed shrapnel flying at your stomach. It's why people wear face protection when using angle grinders, not because of the sparks but in case the grinder fails.
@Genubath1
@Genubath1 3 жыл бұрын
I would recommend working behind a screen so that if your fly wheel breaks apart, you don't catch high speed ball bearing in the face.
@RixtronixLAB
@RixtronixLAB 2 жыл бұрын
Nice video, thanks for sharing it :)
@wilmantube
@wilmantube 3 жыл бұрын
Could you explain your implemenation of PID in Arduino code & motor control a little more in depth? Amazing vids as always James!
@tannernewton8543
@tannernewton8543 3 жыл бұрын
09:02 Did you mean, Compensate for the weight of the servo?
@SpeedrunnerG55
@SpeedrunnerG55 3 жыл бұрын
this is just like the two-wheeled electric car designed by lit motors. counter-rotating counter-processing reaction wheels for stability control are also used in the Hubble space telescope to keep precise track of its view. however, rotation of the counterweight becomes ineffective after the axis or rotation aligns with the axis of the vehicle rotation a secondary desaturation force is then needed to realign the wheels to take the rotational energy out of the system. satellites such as bubble use thrusters or magnetometers to achieve this task. thus while on earth, it advantageous to change its stance such that gravity itself acts as the reaction force to remain stable against any outside force.
@adrielparsons7790
@adrielparsons7790 2 жыл бұрын
Hi James liked your build were did u say you were publishing the code i would like to have a go at building one myself from billet alloy or milling machine for my boat any help would be much appreciated thanks
@MaxWattage
@MaxWattage 3 жыл бұрын
You have a plastic container with anisotropic weaknesses due to being 3D printed, filled with heavy ball-bearings, and then spun at high RPM to maximise their kinetic energy. Congratulations, you have made a Claymore anti-personnel mine! I really wouldn't want to be in the same room as that.
@DoRC
@DoRC 3 жыл бұрын
9:30 I wonder how much damage all those steel balls would do if that disc decided to fly apart
@Clovenlife
@Clovenlife 3 жыл бұрын
Would love to see a breakdown on how you print functional parts that survive high stresses
@zippythinginvention
@zippythinginvention 3 жыл бұрын
I'm very excited about the trajectory of this. Have you given any thought to unidirectional force?
@jamesbruton
@jamesbruton 3 жыл бұрын
Next week's video is two gyros
@zippythinginvention
@zippythinginvention 3 жыл бұрын
I've got a lot of insight into this, if we could have a private discussion at some point.
@stochasticsignal1951
@stochasticsignal1951 3 жыл бұрын
I've been working on a CMG for a while. I always like seeing other implementations. Does the vibration have a noticeable negative effect on the IMU's readings? Are you using any filtering methodologies?
@jamesbruton
@jamesbruton 3 жыл бұрын
Possibly, and no ;-)
@stochasticsignal1951
@stochasticsignal1951 3 жыл бұрын
@@jamesbruton Thanks James. Amazing what you can do with a $10 IMU today.
@tiredowl2687
@tiredowl2687 3 жыл бұрын
You should check out "UAV Tech" channel about tuning the PID loop. His video is about drones, but the PID tuning process could work well for you as well. He also has a PDF explaining the process as well. The PDF is very detailed and I like it more than the videos.
@e0da
@e0da 3 жыл бұрын
Hi James! I worry that if something lets loose all that kinetic energy in those ball bearings could do a lot of damage, especially to squishy organic stuff. 😬 really cool project! But spinning stuff can be so dangerous. Take care! ❤️
@Nickgowans
@Nickgowans 2 жыл бұрын
This is my thoughts too. If the 3D print fails then you essentially have a nailbomb launching high speed ball bearings around the room.
@rmdavidov
@rmdavidov 3 жыл бұрын
I am early and already know that this will be a great video
@kadenwerner7681
@kadenwerner7681 2 жыл бұрын
Hello, I have been trying to create a oscillation-control system like this for a school research project. I have managed to setup / tune the PID control for this fairly well, however I'm running into an issue where the flywheel cradle can't return to zero without creating torque on the hull. I'm already running my flywheel's drive motor at it's lowest speed, and was wondering if you had found a solution to this in this project.
@azyfloof
@azyfloof 3 жыл бұрын
I think the biggest problem is how sluggish that servo is. You can see how much it lags when you first demo it with the potentiometer. Try one of your cycloidal gearboxes and a brushless motor for a more snappy and responsive setup :)
@Gunstick
@Gunstick 3 жыл бұрын
Would a reaction wheel be lighter than a gyro for stabilizing a walking robot?
@jamesbruton
@jamesbruton 3 жыл бұрын
Difficult to say. Also the reaction wheel would still have gyroscopic precession when it's moving which would do some funny things to the stability in a perpendicular axis.
@Gunstick
@Gunstick 3 жыл бұрын
@@jamesbruton maybe that's the reason space probes are stabilised by gyros and rotated by reaction wheels.
@RexusKing
@RexusKing 3 жыл бұрын
Did you use high pass filter to kill the IMU noise mounted basically on a swimming pool springboard?
@jamesbruton
@jamesbruton 3 жыл бұрын
Nope, the IMU has it's own internal DMP though - I didn't look at the output when it was spinning tbh
@RexusKing
@RexusKing 3 жыл бұрын
@@jamesbruton Cool, the results is good nevertheless.
@johnflux1
@johnflux1 3 жыл бұрын
Can you please add links to the description for those youtubers that you referenced?
@jamesbruton
@jamesbruton 3 жыл бұрын
Yep, done!
@RupertBruce
@RupertBruce 3 жыл бұрын
@3:20 why? Gyroscope creep is inversely proportional to gravitational force? Odd...
@garnergc
@garnergc 3 жыл бұрын
It would be awesome to see a MPC controller implemented for something like that. But short of having a FPGA to do the computation there just isn’t enough power in a microcontroller
@gyrogearloose1345
@gyrogearloose1345 3 жыл бұрын
Thanks for this. Valuable intro to gyros ( my gyro!) and control systems with the dreaded (and beloved) PID loop. Very stimulating. Question: what is your servo tick rate for the PID? I'm amazed that little Arduino can even attempt it.
@jamesbruton
@jamesbruton 3 жыл бұрын
PID is running at 100hz, but the IMU data is only read at 25hz :-)
@gyrogearloose1345
@gyrogearloose1345 3 жыл бұрын
@@jamesbruton Aha, a bit slow isn't it? Probably first thing for better performance will be faster PID and IMU. Maybe Teensy 700MHz and .... ?
@markhorstmeier8734
@markhorstmeier8734 3 жыл бұрын
Would a stepper motor that allowed free rotation until it was energized allow you to remove the torque component from the servo axis? Not sure if the startup time would be too laggy
@sddiymakeitworthit7512
@sddiymakeitworthit7512 3 жыл бұрын
Always awesome 👏
@kylebrake1806
@kylebrake1806 2 жыл бұрын
I love your videos!
@GEARSinc
@GEARSinc 3 жыл бұрын
Can I ask what 3D printer you prefer for these projects?
@fahmiyusoff9154
@fahmiyusoff9154 9 ай бұрын
If the fly wheel is heavier it will Be Moré efficient right?
@Xlaxsauce
@Xlaxsauce 3 жыл бұрын
Is there a practical way to measure the input force and acceleration? Then they can be used to modify the response of the PID per "input". A problem I see with my suggestion is whether or not the board is fast enough to respond to the intial motion before it tilts too far.
@soweliLuna
@soweliLuna 3 жыл бұрын
it seems like you had the PID control the position of the gyro, but the gyro only applies a force when its pivoting. in the next version, you should have the PID control the pivot speed rather than its position, if you haven't done that in its current configuration, the integral probably acts more like the proportional is supposed to act
@jamesbruton
@jamesbruton 3 жыл бұрын
There's another version coming next week with an observation controller, kind of ;-)
@firstnamethenalastname
@firstnamethenalastname Жыл бұрын
16:08 those graphs look like they represent the pitch of your voice during one of your videos i'm not sure how you'd build something to stabilize it
@Pfaeff
@Pfaeff 3 жыл бұрын
Now I want one of these toy gyros. Is that one just one of the cheap ones you can get on amazon?
@jamesbruton
@jamesbruton 3 жыл бұрын
yes
@narwodev
@narwodev 3 жыл бұрын
Wahooo, it's Tuesday :)
@CaptM44
@CaptM44 3 жыл бұрын
you should do a video on magnetic gearing
I built an Omni-Directional Ball-Wheeled Bike
27:55
James Bruton
Рет қаралды 6 МЛН
Gyroscope Stabilised Monowheel
15:06
James Bruton
Рет қаралды 253 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН
Gyroscopic Instruments
7:58
ERAU SpecialVFR
Рет қаралды 2,1 МЛН
Can Reaction Wheels control a Drone?
24:32
Tom Stanton
Рет қаралды 2,4 МЛН
Gyro-Stabilized Monorail Train
18:10
Hyperspace Pirate
Рет қаралды 148 М.
One-Wheel Balancing Robot Can Stand Still
12:22
James Bruton
Рет қаралды 378 М.
How does the Gyro-X Car work?
5:59
Jared Owen
Рет қаралды 3,1 МЛН
Alternative to bearings for tiny robots
12:05
Breaking Taps
Рет қаралды 983 М.
How It Balances on ONE Omni-Wheel
14:59
James Bruton
Рет қаралды 358 М.
Cool Gyroscope in RC Boat - ELIMINATE BOAT ROLL
5:02
Electric Vehicles Space
Рет қаралды 131 М.
The Cubli: a cube that can jump up, balance, and 'walk'
2:37
Gajamohan Mohanarajah (Gajan)
Рет қаралды 15 МЛН
Demos: Gyroscopes
8:13
Caltech's Feynman Lecture Hall
Рет қаралды 66 М.
Как Ходили родители в ШКОЛУ!
0:49
Family Box
Рет қаралды 2,3 МЛН