This Gearbox Knows Its Position At ALL Times

Поделиться
HTML-код
  • Опубликовано: 3 фев 2022
  • Ever wanted a 3D printed servo motor? Here is a design that is based on a compound planetary gearbox and a brushed DC motor. By using an encoder and a limit switch the position of the output hub can be determined at all times even right after the system is powered on. Links to all the CAD files, code, and parts are listed below. Thanks for watching!
    3D Printed Gearbox Video: • 3D Printed Planetary G...
    Free CAD and Code: drive.google.com/drive/folder...
    Thingiverse: www.thingiverse.com/thing:523...
    Hardware List (Affiliate Links):
    100rpm Geared DC Motor: amzn.to/3HrJoL9
    IBT-2 Motor Driver: amzn.to/3J4O2is
    30x42x7 Bearing: amzn.to/3felPsR
    3x7x3 Bearing: amzn.to/3zROAoq
    1/4x1/2x3/16 Bearing: amzn.to/3gm4n5Z
    M3x10 Cap Screws: amzn.to/3zPQYwa
    M3x14 Cap Screws: amzn.to/3GmKSWD
    M3 Hex Nut: amzn.to/3rfN3Vm
    Limit Switch: amzn.to/34arcHG
    AS5600 Encoder: amzn.to/35QMXN1

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

  • @sparrowthenerd
    @sparrowthenerd 2 года назад +320

    The servo knows where it is at all times. It knows this because it knows where it isn't. By subtracting where it isn't from where it is, or where it is from where it isn't, whichever is greater, it obtains a difference or deviation. The guidance computer uses deviation to generate corrective commands to drive the servo from a position where it is to a position where it isn't, and arriving at a position where it wasn't it now is.

  • @Geolaminar
    @Geolaminar 2 года назад +73

    THE SERVO KNOWS WHERE IT IS.
    IT KNOWS THIS BECAUSE IT KNOWS WHERE IT ISN'T

    • @steveman1982
      @steveman1982 2 года назад +1

      This has quite some implications... It knows that it isn't in locations it doesn't know about... And therefore knows about the existence of those unknown locations?

    • @FilouZ_9000
      @FilouZ_9000 2 года назад +5

      @@steveman1982 By subtracting where it is from where it isn't, or where it isn't from where it is (whichever is greater), it obtains a difference, or deviation. The guidance subsystem uses deviations to generate corrective commands to drive the servo from a position where it is to a position where it isn't, and arriving at a position where it wasn't, it now is.

    • @dymitrnawrocki9926
      @dymitrnawrocki9926 2 года назад +6

      @@steveman1982 That's a meme reference don't think too much about it, if you want actual reason servo knows where it is then the answer is encoder tells it it's position.

  • @bzqp2
    @bzqp2 2 года назад +63

    I like the idea of mechanically adding one bit of precision by implementing a binary swich on the rotor. Pretty cool. The same switch can also be used for self-calibration since it defines the semicircle.

    • @kacperzurawski5699
      @kacperzurawski5699 2 года назад

      It won't be 13 bit instead of 12 because of :
      innacurate magnet placement
      output noise
      gear backlash

    • @bzqp2
      @bzqp2 2 года назад +9

      @@kacperzurawski5699 well, you would have these noise sources there on 12bit anyway. With 13bit you can measure them more precisely. xd I don't say you gain anything by this one extra bit here, but as a concept it's a pretty cool idea that could be implemented somewhere where having one extra bit would really mean something.

  • @ConstantijnC
    @ConstantijnC 2 года назад +1

    Awesome man! Great design. I'm glad to have found your channel

  • @m.on.a.b.
    @m.on.a.b. 2 года назад

    Awesome work and fantastic video! It was a pleasure to watch.

  • @AtomsLab
    @AtomsLab 2 года назад

    Awesome video, no idea why I am just finding this now. Great stuff!

  • @guillermogil3391
    @guillermogil3391 2 года назад

    Impressive mate. Amazing project!

  • @Gremlin87
    @Gremlin87 2 года назад +44

    This is really cool! One thing that that wasn't very clear and I'll be a bit pedantic about though is open vs closed loop. A stepper motor can do the same thing with regard to copying the angle of a potentiometer. A better demo would have been to stall your gearbox and show that even though it was interrupted it was still possible to know its position and continue to the target location. I am 100% sure you know this but for some viewers it may not be obvious.

    • @dthe3
      @dthe3 2 года назад +4

      Then I'll up your pedantism. A stepper motor may skip steps, and you will have no way to correct it, hence it's an open-loop system.

    • @DemsW
      @DemsW 2 года назад +10

      @@dthe3 Isn't that what the comment said ? or do I not understand pedantism

    • @Phazaar
      @Phazaar 2 года назад +2

      @@DemsW Pedantry ;)

    • @enque01
      @enque01 2 года назад

      It is a word that means you have a fetisch for feet.

    • @SirRebrl
      @SirRebrl Год назад

      @@DemsW Gremlin technically left that point _implied,_ and "for some viewers it may not be obvious"

  • @alfredoj1349
    @alfredoj1349 2 года назад

    Amazing video with outstanding results. You gained a new subscriber here

  • @dawoodtendulkar1704
    @dawoodtendulkar1704 Год назад

    This is so smart and so so neat!

  • @manuel56354
    @manuel56354 Год назад

    Beautiful project.

  • @petermines3575
    @petermines3575 2 года назад

    Cool. Nice set-up.

  • @greendsnow
    @greendsnow Год назад

    this is the 5th time I'm watching this video, and I'm learning new things every time I rewatch it.
    [note: I'm trying to build my own servo and I knew nothing about motors. I watch other videos to understand the concepts and come back here]

  • @nigelhungerford-symes5059
    @nigelhungerford-symes5059 Год назад

    Very clever. I like the choice of music too.

  • @SirTodd.
    @SirTodd. 2 года назад

    Very cool!

  • @JoMoJack
    @JoMoJack 2 года назад +4

    Looks like an equatorial mount or a tracker of some sort you're working on. In any case, that gearbox has huge application potential.

  • @pierke110
    @pierke110 2 года назад

    Nice project !

  • @austinwessels
    @austinwessels 2 года назад

    Cool projects! keep it up!

  • @DIYwithBatteries
    @DIYwithBatteries 2 года назад +1

    That was pretty awesome bro 👍 & I don't like the torque test because you heard that sound from the gears inside xD
    You got a new sub bro ;)

  • @w4bbitseezin
    @w4bbitseezin Год назад

    your channel is dope. i work with ABB robotics so this is right up my alley

  • @velaspis5012
    @velaspis5012 Год назад +1

    its super impressive how his basically stock ender 3 prints such good prints respect

  • @OmeedNOuhadi
    @OmeedNOuhadi Год назад

    Congratulations!

  • @crzprgrmmr
    @crzprgrmmr 2 года назад

    Awesome project! Thanks to yt algorithm for recommending your channel

  • @R.S.N.A
    @R.S.N.A 8 месяцев назад

    Pretty good job mate

  • @Bianchi77
    @Bianchi77 Год назад

    Creative video, thanks :)

  • @D3M0320
    @D3M0320 2 года назад +2

    Your calibrations on your printer must be hella on point

  • @evren.builds
    @evren.builds 2 года назад +1

    This is avesome educational and entertaining content ^^
    Gives me motivation go design my own :) Thanks a ton

  • @michaelfang9984
    @michaelfang9984 2 года назад

    great quality video

  • @EndreTomos
    @EndreTomos 2 года назад

    Nice mötör! Great work!

  • @sato4kaiba
    @sato4kaiba 2 года назад

    Nice work. 👍👍👍👍👍

  • @hypercube33
    @hypercube33 2 года назад

    This is awesome. The only criticism I have is that you need to recalibrate your bed as its too close to the print head and is 'plowing' the first layer. Keep the awesome designs and content coming!

  • @dr.grimm.
    @dr.grimm. 2 года назад

    nice work! subscribed...

  • @hrtbrk1
    @hrtbrk1 2 года назад +1

    The gearbox knows where it is, because it knows where its not.

  • @PhG1961
    @PhG1961 2 года назад

    Awesome !

  • @EricFergusonCinema
    @EricFergusonCinema 2 года назад +3

    Very nice! I think there would be interest from people building flight simulators in using this process to create instrument gauges: if you look at some of the 3d printed servo gauge builds, they are considerably less elegant than this. And although steppers do work, they have their own clunky problems.

  • @crestfallensunbro6001
    @crestfallensunbro6001 2 года назад +3

    The gear box knows where it is, I knows this because it knows where it isn't

  • @fivalt126
    @fivalt126 2 года назад

    Amazing

  • @chatter2765
    @chatter2765 Год назад

    "The gearbox knows its position at all times. It knows this because it knows where it isn't."

  • @simonslocombe5942
    @simonslocombe5942 2 года назад

    Excellent video... planetary gears... compound gears would give more procission higher monitoring accuracy using agc... automatic gain control... and a digital comparator with positive or negative feedback... would loose the need for a limit switch... I can't believe the number of 3d printer materials being released every week... a very exciting time for 3d printing... Thank You my friend...

  • @mikelCold
    @mikelCold 2 года назад +3

    Cool but you should look up how ball mice work. They have 2 lights sensors and the encoders have slots offset from each other. So it's able to tell exact position and direction of the spin.

    • @SEGnosis
      @SEGnosis Год назад

      Cheap optical encoders do not have absolute positioning. Only relative using deltas. The magnetic encoder he used in the video uses grey code which allows you to know the absolute angle (within 0.1 degrees) even between power cycles. Optical and rotary encoders need to be homed every single time you power cycle since they do not guarantee that the axis was not rotated while powered off.

  • @kevinhutchinson8129
    @kevinhutchinson8129 2 года назад

    I like it! Telescope base in the future?

  • @KD_Puvvadi
    @KD_Puvvadi Год назад

    for high resolution of feedback(encoder position) single magnet on end shaft isn't enough. use disk with rectangular flat magnets vertically. commercial servos use glass disk either slots with tiny magnets or with optical sensors with slits on glass disk. to store the accurate location even with power losses, supercapacitor with flash memory or always on lipo battery.

  • @rouuuk
    @rouuuk 2 года назад

    1:35 that song is fire, i checked DivKid's channel and oh boy! He's a madman

  • @lawrencerasmus
    @lawrencerasmus Год назад

    It counts 👌all industrial machines have DC servo

  • @twisted_seraph
    @twisted_seraph 2 года назад

    Great video and design, wonder if drone motors would work this way too?

  • @kallewirsch2263
    @kallewirsch2263 2 года назад +5

    Not questioning your choice of a hall sensor to figure out your position, I just wanted to let you know that you could also have used a trim potentiometer (german "Spindel Poti"). Those Potis need eg. around 10 turns to change their resistance from 1 extreme to the other. They are used eg. in sailing winches used in model sailboats to move the sailes. The drum which operates the sailes usully needs to make 3 or 4 turnes to move the sailes from the "innermost" position to the "outermost" and needs to be able to hit the same positions extremely accurate. No homing sensor needed, since the Poti does the job without any needed additional help.

    • @SEGnosis
      @SEGnosis Год назад +1

      Rheostats and potentiometers use brushes which limit their life cycles significantly when compared to this magnet based encoder. They can be used, but its not recommended.

    • @kallewirsch2263
      @kallewirsch2263 Год назад +1

      @@SEGnosis
      My winches operate my sailboat (actually racing in regattas) since more then 5 years without problems.
      Do the brushes create problems eventually? Sure, they will. It all comes down to how long you need them to operate. As said: mine work since more then 5 years without a problem. If they do create a problem, then they get replaced and all is well again. Homeing with and end switch however would create a problem, since I simply cannot allow the winch to turn until it reached its end position. You see the motor has plenty of power. If it turns the spindle to its maximum position it would crush the whole mechanism due to excessive force. This is so, because the innermost sail position does not correspond with an end point.

    • @SEGnosis
      @SEGnosis Год назад +1

      @@kallewirsch2263 Sounds like you're using a big pot with big brushes. In the case of this makeshift servo motor. You shouldn't use a pot bigger than the motor. Even if you could.

    • @omega_one1318
      @omega_one1318 Год назад

      I feel like this is a sidegrade, not an upgrade, and is only recommended depending on the application of your servo. For a servo that only needs a limited range, sure. But he stated in the beginning of the video that one of the disadvantages of typical RC servos is their limited range. With a hall sensor, you have continuous rotation, which might be a constraint of certain usecases.

  • @NicholasRehm
    @NicholasRehm 2 года назад

    Who’s channel do I have to subscribe to around here to get a linear servo design? Awesome project

  • @kristian4559
    @kristian4559 2 года назад +1

    "3 axis turd" i was confused for a while

  • @TheLordbruh
    @TheLordbruh 2 года назад

    hey michael, congratulations! are you planning to make any video evaluating if apply any load on it? like if it's easy to break

  • @dhruvbose8294
    @dhruvbose8294 2 года назад

    Nice servo! Would really like to know your print parameters too cuz those prints look awesome!

  • @makerbeelab5546
    @makerbeelab5546 2 года назад +2

    Very well done, can't you use, say, an outer race of a suitable bearing to strengthen the outer gear? It would obviously move the encoder gear, but those bearings are quite cheap, easy to open and have excellent strength.
    The other place you can find those compound gearboxes is in the winches, even the cheap car winches have metal gears in them and often pull 600kgs on 60mm pulley (making it about 180NM if you every would need to build something particularly powerful).

  • @nonsquid
    @nonsquid 2 года назад +1

    I am very impressed by your servo and stepper gear box. Do you have a link for the bracket or arms used for holding or using the gear boxes?

  • @Favmir
    @Favmir 2 года назад

    Damn this gearbox is also a position

  • @PatrickOMara
    @PatrickOMara Год назад

    A gearbox is never there, Frodo Baggins. Nor is it here. It arrives precisely where it means to.

  • @PyjamasBeforeChrist
    @PyjamasBeforeChrist 2 года назад

    Very nice - I was working on similar last year and hopefully will pick it back up soon. How are you finding the AS5600 reliability?

  • @davidcolson1900
    @davidcolson1900 2 года назад +1

    This is an awesome video. It unfortunately justifies me in buying more components though....

  • @3D_Kam
    @3D_Kam 2 года назад +1

    Вот подобные видео я люблю.

  • @joejane9977
    @joejane9977 2 года назад

    the mechanical switch is viable but a optical method would be far more reliable or even a reed switch or hall sensor with magnet in your large gear set

  • @petrselic3235
    @petrselic3235 2 года назад

    Cool🔥

  • @OMNI_INFINITY
    @OMNI_INFINITY Год назад

    Thanks! Also possible to record and playback.

  • @pabloelectron6128
    @pabloelectron6128 2 года назад

    Genial!!

  • @reinhardtonk1510
    @reinhardtonk1510 2 года назад

    wow! congreatulations...good job..... question: ¿which program for make robot parts use?

  • @stir99
    @stir99 2 года назад

    can you make servo using off the shelf gearbox and make attachment for encoder? that will be awsome

  • @cdrbvgewvplxsghjuytunurqwfgxvc
    @cdrbvgewvplxsghjuytunurqwfgxvc 11 месяцев назад

    For a little more money you could instead have a FOC actuator using a pancake brushless motor. Probably a superior choice. But nice video!

  • @scrapmechanicgamer3155
    @scrapmechanicgamer3155 2 года назад

    Great videos for only having 6.99k subs (sorry for bad English)

  • @JaydLawrence
    @JaydLawrence 2 года назад +1

    Those FDM prints look very precise.
    are you using an unusually small nozzle and layer height?

    • @nigelhungerford-symes5059
      @nigelhungerford-symes5059 Год назад

      I achieve a high quality FDM print on these parts with a .6 nozzle and .30 layer heights using a Prusa MK3S

  • @jaxperez7860
    @jaxperez7860 2 года назад +2

    I know this is really late , but what size nozzle are you printing with ? Is it a .4 mm or smaller to get the tooth detail for the gears

  • @HumamZaki
    @HumamZaki 2 года назад

    hi you video is amazing can you make a video about the basics about gerbox and thanke fore this informations i hope you can complete

  • @benke2904
    @benke2904 2 года назад

    Maybe you can resin-cast the 3D-printed gears to make them more durable? I do not have the money right now to buy expensive resin and silicone but it could be a fun project in the future.

    • @hollt693
      @hollt693 2 года назад +1

      I don't know how much more durable resin would be. Where the 3D printed gearbox can flex a bit when it skips, I'd think with resin the gear teeth would just shear off and jam up the mechanism. That said, you don't have to give Smooth-On your firstborn child to get started with mould making and casting. Everything you need can be found at your average hardware store for pretty cheap: silicone caulk, plaster, epoxy (J.B. Weld might be interesting to cast with). I'm sure there are plenty of RUclips videos that can explain the "how-to" of it better than I can.

  • @johannesmajamaki2626
    @johannesmajamaki2626 2 года назад +1

    It knows this, because it knows where it isn't.

    • @michaelrechtin
      @michaelrechtin  2 года назад

      By subtracting where it is from where it isn’t or where it isn’t from where it is

  • @Scott170c
    @Scott170c Год назад

    can you make a video on modifying one of the cheap ones into being able to do this?

  • @benjaminschmidt4352
    @benjaminschmidt4352 2 года назад +1

    How did you design the gears? Which software did you use?

  • @element4studios
    @element4studios 2 года назад +1

    How small do you think you could get one of these? They'd be incredible for tiny animations for model railroads or christmas village projects! :) Thanks!

  • @helo1345
    @helo1345 Год назад

    Hey how do you get such clean gear prints? I printed with some PLA for a mechanical Jellyfish and while it technically turns and I'm proud of that the gears came out a bit choppy. Thanks!

  • @CyberdriveAutomotive
    @CyberdriveAutomotive 2 года назад

    Watching you hit your bed with Aquanet was painful to see, reminds me of my days of chasing down failed prints.
    Get a flexsteel bed with a PEI sheet, I haven't had a print come lose ever since, I never prep the surface either

  • @ranulfo102
    @ranulfo102 2 года назад

    AMIGO O BRIGADO POR DISPONIBILIZAR ESSE LINDO E MARAVILHOSO PROJETO. ONDE CONSIGO O DIAGRAMA ELETRÔNICO DESSE PROJETO ? NO DOWNLOAD NÃO TEM O DIAGRAMA ELETRÔNICO DESSE CIRCUITO QUE ACIONA O MOTOR.
    FRIEND THANKS FOR MAKING THIS BEAUTIFUL AND WONDERFUL PROJECT AVAILABLE. WHERE CAN I GET THE ELECTRONIC DIAGRAM OF THIS PROJECT? THE DOWNLOAD DOES NOT HAVE THE ELECTRONIC DIAGRAM OF THIS CIRCUIT THAT DRIVES THE MOTOR.

  • @danielm.3383
    @danielm.3383 2 года назад

    Cool thing!
    Where can I find the correct library for the AS5600 in this Arduino sketch?
    greetings from Switzerland

  • @CornishCarper
    @CornishCarper 2 года назад

    What Brim do you use? It's massive but I like it lol 🤣

  • @crckdns
    @crckdns 2 года назад

    Cool idea of making an own servo :D
    would a planetary gearbox with a BLDC motor fit for driving a platform on tracks instead of wheels? I mean..due to torque?
    Would be PETG better for a gearbox, when working with a way faster BLDC motor?

    • @akkudakkupl
      @akkudakkupl 2 года назад

      The moment you have an encoder the BLDC can have maximum torque from 0 RPM - you can use the FOC algorithm. And this thing gives you an encoder.

  • @MultiRoberth123
    @MultiRoberth123 2 года назад +1

    could u share which slicer and settings you use?

  • @jeffcarter4500
    @jeffcarter4500 2 года назад

    Awesome. What's the approximate cost per unit, before labor?

  • @gus452000
    @gus452000 2 года назад

    Is there any chance of a wiring diagram please?

  • @robertrose7645
    @robertrose7645 Год назад

    Do you have a wiring diagram or know of any info videos on it? I bought it based on this video and am struggling with it.

  • @technophant
    @technophant 2 года назад

    The large bearing looks expensive but isn’t really in bulk and 7N/m is 5.2 lbs/ft

  • @botak333
    @botak333 Год назад

    Hi that also servo from stepper motor.?

  • @208Concepts
    @208Concepts 2 года назад

    Closed loop in a nutshell:
    Motor uses sensors to feed back to the controller.

  • @KeithOlson
    @KeithOlson 2 года назад

    Cool! ...and now make one with a washing machine motor. :grin:

  • @ChristophLehner
    @ChristophLehner 2 года назад +1

    Are you building a camera platform?

    • @Tsnafu
      @Tsnafu 2 года назад +1

      I was thinking antenna tracker

  • @jabolko1k
    @jabolko1k 2 года назад

    very nice. im interested in speed... how fast can it be?

  • @NightForRunners
    @NightForRunners 2 года назад

    Do the two outer Rings have different number of teeth? I'm a little confused how the transmission is achieved because they seem to be the same size and and the caseing und output shaft therefore shouldnt move indipendently (or maybe i'm just missing something obvious ^^).

  • @matthiasmartin1975
    @matthiasmartin1975 2 года назад

    It took me a few moments to realize that you didn't actually mean to say "three-axis-turd", but still that's what I heard.

  • @youssefbentahra
    @youssefbentahra 2 года назад

    Hi!
    Do you have the code but using a stepper motor with the AS5600? Thank you.

  • @qdelta
    @qdelta 2 года назад

    Salut! Do you always use rafts for your 3D prints or is a gears only setting?

    • @michaelrechtin
      @michaelrechtin  2 года назад +1

      Mostly just for gears or parts where I don’t want any “elephants foot”

  • @unknownblueblue
    @unknownblueblue 2 года назад

    why the magnet for the encoder it's like slided and not the poles facing the encoder?

  • @mikerunsipsc
    @mikerunsipsc Год назад

    What kind of spray do you use for your 3d printer ???

  • @wolfpack6976
    @wolfpack6976 2 года назад

    Hey does anyone know how to figure out how to fix a ender 3 from having thermal runaway errors?

  • @teenflon
    @teenflon 2 года назад

    I'm doing a project similar to this at the moment, but to clarify my understanding, is the AS5600 encoder an absoloute encoder giving a bit code for the exact angle of the shaft, or is it an incremental encoder telling only the direction and amount of movement? I am building a robot arm and want the arm to know the current angle of the joint when powered on without having to home, will the AS5600 provide this in the form of the bit code?

    • @EdFrench_uk
      @EdFrench_uk 2 года назад

      Absolute iirc

    • @robotdelta276
      @robotdelta276 2 года назад +1

      Yes i use it on my own robot arm but the as5600 has only one, I2C address so you will need to use an i2c multiplexer

  • @hankb7725
    @hankb7725 2 месяца назад

    how does a servo do it without homing?

  • @edman2740
    @edman2740 2 года назад

    Is there a tutorial for this any time soon?

  • @HMPirates
    @HMPirates 2 года назад

    I am curious as to why you chose a mechanical switch in the gearbox assembly, instead of a tiny magnet and a hall sensor? The switch will wear out pretty quickly I would imagine.

    • @dieselguy62
      @dieselguy62 2 года назад +2

      If by quickly you mean in twenty years, then probably.

    • @BrrrIce
      @BrrrIce 2 года назад

      @@dieselguy62 Only 20 years? That thing could sit on a shelf for at least a few hundred before the metal bits corrode.