Rubedo: Automatic Pressure Advance Calibration

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • I'm finally open sourcing the code for my automatic pressure advance calibration system.
    I developed this system for my Computer Engineering capstone project at Utah Valley University. I've been working on it since the end of last year.
    This is (as far as I'm aware) the first open-source automatic pressure advance calibration system. The user experience is still fairly rough around the edges, but overall I'm happy with the results.
    Video Chapters:
    00:00 Introduction
    00:17 What is pressure advance?
    03:24 Introducing Rubedo
    04:12 How laser triangulation works
    05:25 How the Rubedo chooses a PA value
    09:35 Reviewing repeatability tests
    11:32 Explanation of demo
    12:10 Demo of Rubedo in action
    18:24 Conclusion
    Capstone Advisor:
    Dr. Ehsan Rohani
    My github repository:
    github.com/furrysalamander/ru...
    Alchemical 3D:
    alchemical-3d.com/
    / discord
    Fabreeko Build Plates:
    www.fabreeko.com/collections/pei
    3DO Nozzle Camera:
    3do.dk/59-dyse-kamera
    For people in the US:
    kb-3d.com/store/electronics/7...
  • Věda a technologie

Komentáře • 233

  • @CNCKitchen
    @CNCKitchen Před rokem +323

    This is amazing!

    • @petunized
      @petunized Před rokem +3

      You are quite amazing too ;)

    • @erikdroog9734
      @erikdroog9734 Před rokem +3

      It also open the door to new bedlevel detection , stringing detection ,fire dectection , bed losing off the printed object , With some ML/AI It shall really become the future off 3D printing

  • @Vez3D
    @Vez3D Před rokem +38

    Thats crazy cool man!!! Good work

  • @stevehanwright481
    @stevehanwright481 Před rokem +24

    As an senior engineer I would like to complement you on your work and your presentation of your findings and I want encourage your to dream big you have a bright future ahead of you. Please don’t play small the world needs people to shine bright..

  • @Vector3DP
    @Vector3DP Před rokem +78

    Absolutely fantastic work Mike, and well delivered in the video. 👍

  • @miklschmidt
    @miklschmidt Před rokem +82

    This is amazing Mike! One step closer to one click filament calibration!

    • @alexsanchiz
      @alexsanchiz Před rokem +3

      Nice one. Amazing Job.

    • @estebanstrauch
      @estebanstrauch Před rokem +2

      with this system as a one Klick Kalibration you could also calibrating flow or first layer calibration
      if you'd print small 15x15 rectangle (after picking the pressure advace) you could scann and select the one with the smoothest surface the question is if you'd calibrate flow or nozzle hight with this.
      bur really great work !!

  • @richhe01
    @richhe01 Před rokem +23

    As a fellow voron owner these are the kind of mods that keep open source printers up to speed with proprietary printers like bambu labs. Amazing work!

  • @megacookiez1
    @megacookiez1 Před rokem +88

    If this gets integrated into klipper it will have a huge impact on tuning!

    • @Alchemical-3D
      @Alchemical-3D Před rokem +9

      Klipper integration is coming for this. Its on the roadmap already along with expanding the systems capabilities.

    • @ariafpv
      @ariafpv Před rokem +2

      @@Alchemical-3D Would Flow calibration work just as well, or would that require a more precise laser beam and camera to be reliable?

    • @OfficialyMax
      @OfficialyMax Před rokem +2

      @@ariafpv Likely a nozzle cam would help with that. It'd be neat to see if this works with a nozzle cam, maybe a servo could change the angle of the camera if needed too.

    • @ariafpv
      @ariafpv Před rokem +1

      @@OfficialyMax would be really interesting to see. Could make for a cheaper alternative to lidar

    • @ManIkWeet
      @ManIkWeet Před rokem

      @@ariafpv In theory the printer could print a reference line to determine how many pixels per millimeter the camera senses

  • @ModBotArmy
    @ModBotArmy Před rokem +16

    Fantastic work 🙌

  • @Elk198
    @Elk198 Před rokem +16

    0:18 what is pressure advance?
    3:24 what if we could do this automatically?
    5:13 how the computer vision analysis works
    11:32 system in action
    12:10 demo of printer printing test patterns
    18:24 conclusion

    • @mikeabbott7239
      @mikeabbott7239  Před rokem +2

      Thank you for these! I've updated the description.

  • @adambrockmeier3610
    @adambrockmeier3610 Před rokem +20

    Great job digging into the research on this. You're helping bring the industry one baby step closer to truly automatic 3D printing!

  • @xUberMuffinx
    @xUberMuffinx Před rokem +13

    Awesome work man! I knew it was only a matter of time before someone from the community gave us bambu tech without the bambu! Thank you for doing all the hard work. Looking forward to more!

  • @somhunt5446
    @somhunt5446 Před 3 měsíci

    You had me at capstone, well put together project. Engineering done well advances the community. Where ever you work for, will be blessed to have you.

  • @philipjensen6442
    @philipjensen6442 Před rokem +4

    The one thing stopping from getting another Bambu x1C instead of a voron 350mm kit is this! Mike awesome job! Can’t wait to see this adopted by the community!!

    • @hakunamatata324
      @hakunamatata324 Před rokem +1

      I had a X1C and its PA system doesn't truly work. Users managed to break into its MQTT output to find out it was not working at all but setting the default 0.02 which is set within START_GCODE.
      And not least, X1C lidar system was released as a flow calibration which is doesn't do, and PA which it doesn't truly work. Any filament will print "just fine" with PA 0.02.
      I had the lidar disabled in my printer to save time and preventing its print from taking space, I got a LDO Trident 300mm and miss absolutely nothing, totally different beast.

    • @Whirlybird-
      @Whirlybird- Před 9 měsíci

      @@hakunamatata324 This did not age well. The updates after this post show Lidar works really well with both manual and auto calibrations. And with the AMS up to 4 filaments at a time flow dynamics and flow rate on a per filament basis.
      And since your post is from around May 2023 there have been several improvements to the X1C since then. Object exclusion, maker world(newbie friendly printing without needing a slicer), a more robust Lan only mode with camera and all from free updates and no physical mods needed.

  • @MarlinFirmware
    @MarlinFirmware Před rokem +10

    Really nice work. Pressure (linear) advance is one of the hardest things to get just right, and there's lots of room for improvement. For example, it might not be a linear relationship between speed and pressure, and it could also benefit from some lookahead. We'll keep doing our part to make it better, and research like yours is going to be really helpful to that project.

  • @Zzafari7
    @Zzafari7 Před rokem +2

    As a fellow computer engineer and 3d printing fan, this is an amazing capstone!

  • @mysho111
    @mysho111 Před rokem +5

    Looks really good. I would love to see this as a deployable module similar to how klicky is deployed.

  • @mariusj8542
    @mariusj8542 Před rokem +8

    First of all, great work! This is actually a perfect case for statistical modeling. I’m not sure if it’s possible to do without any form of commercial initiative, but all users should just share their readings from this setup for mutual effect. As you say, it will be a lot of variations in filament and general setup of each printer, so all this data should be aggregated and then modeled, then returned to each print. Again, great idea.

  • @CaptainChaoticus
    @CaptainChaoticus Před rokem +2

    Woow. That’s a huge step forward for many DIY machines like VORONS. I’m curious to get such a useful tool in the near future. Thanks for all that effort.

  • @tracynadeau4
    @tracynadeau4 Před rokem +1

    Wow, I can see a lot of work went into this. I will add it to the list of projects to try.

  • @redwolftechnology
    @redwolftechnology Před rokem

    Great work! Excited to see all the other developments you work on

  • @nhchiu
    @nhchiu Před rokem +1

    Awesome project! A great video with clear explanation and showing the process and results. 💯
    Great job! Keep up the good work! 😄

  • @cavemaneca
    @cavemaneca Před rokem +1

    Hey, I saw this live at your capstone presentation! Glad to see you're getting some recognition for this here too.

  • @liamventer
    @liamventer Před rokem +1

    A lot of very clever and hard work has gone into this. Brilliant!

  •  Před rokem +1

    I was working on the same system but you have awesomely created that approach differently brilliant work!!

  • @allenpaley
    @allenpaley Před rokem

    Outstanding work! I can't wait to see the potential for this when you work out the Klipper integration! I predict your work will be widely lauded and adopted.

  • @jasontrauer
    @jasontrauer Před rokem

    Excellent work! Very interesting approach and a great breakdown of the challenges you've experienced and solutions you've developed. This solves a major headache in the 3D printing community, and you are going to make a lot of people very happy with your work.

  • @andrey.p
    @andrey.p Před rokem +2

    You did a marvelous and truly helpful project that will move us forward. I definitely want such a solution.

  • @stevehanwright481
    @stevehanwright481 Před rokem +2

    Sensational work, I can imagine this could be developed into a very slick system with all the ideas you still have in your imagination.. well done.

  • @TheCebulon
    @TheCebulon Před rokem +1

    This is a very genius idea to takle this problem.
    I first thought, you measure the pressure in the nozzle to have a constant pressure over the whole print.

  • @SilentRush420
    @SilentRush420 Před rokem +2

    Thanks for helping the 3d printing community.

  • @boshfred6696
    @boshfred6696 Před rokem +2

    Amazing work man! When it will be integrated in klipper it will be huge. Can't wait to try it out

  • @MacBoy__Pro
    @MacBoy__Pro Před rokem +3

    Amazing research! Truly impressed and I hope this can get integrated into Klipper or recognized by the Voron Design team as a mod. Great work!

  • @HappyDuckCreations
    @HappyDuckCreations Před rokem

    This is amazing! I cannot wait to see the progress of this tech

  • @nofme
    @nofme Před rokem

    Woah. I thought I'd have to figure this all out myself. Even had a line laser in my Amazon cart and already bought a nozzle cam. You just saved me a TON of time and effort. Woohoo!!!

  • @awesomesam27yobrotha
    @awesomesam27yobrotha Před rokem

    This is awesome man. I’m super excited about this.

  • @markhoward3851
    @markhoward3851 Před rokem

    Fantastic project, and a very clear and well explained video!

  • @kalashin1529
    @kalashin1529 Před rokem

    I got a Voron and a Bambu X1 .... thanks to you, i may be able to upgrade my Voron with this! At first i really didnt care too much about the lidar sensor of Bambu and the calibration .... But now i know what it means to have it automated. Thanks for your Video and Work! i hope this will be easy to import and use for all users in the future! Thanks ! Great!

  • @X11-35-2
    @X11-35-2 Před rokem +1

    Awesome work. Makes it even harder to me choosing my next printer

  • @davechua7867
    @davechua7867 Před rokem +2

    One small step for man, one giant leap for opensource-kind

  • @omranello
    @omranello Před rokem

    🎉 that's great ... can't wait to see how this evolve ... I would really need to implement and try this.

  • @fastbikegear365
    @fastbikegear365 Před 8 měsíci

    Very clever. I am in awe. Fantastic work.

  • @Andi-Maringer
    @Andi-Maringer Před rokem

    Great Job!!!
    I know, this is soo much work and takes more time someone thinks.
    Thank you very much!!!

  • @erikdroog9734
    @erikdroog9734 Před rokem

    First off all , thank you for the perfect way to go from a idee to a working product and also sharing it with 3D print world . Second you also open the door to new bedlevel detection , stringing detection ,fire dectection , bed losing off the printed object , With some ML/AI It shall really become the future off 3D printing

  • @rico3696
    @rico3696 Před rokem

    Perfect, I was scared i would one day start another project i would never finish 😂.
    Appreciate your work!

  • @leogray1091
    @leogray1091 Před 4 měsíci

    I see soooooo much future with this technique, more then just pressure advance. Maybe even do frequency calibration like this! Close the loop from input to printed part!

  • @stefanguiton
    @stefanguiton Před rokem +2

    Excellent work!

  • @nanodesigner1861
    @nanodesigner1861 Před rokem

    Grandissimo! altro passo avanti nella tecnologia della stampa 3d. bravi!

  • @yassinelessawy6101
    @yassinelessawy6101 Před rokem

    Great work, can't wait to know more about this.

  • @KapmansBasementWorkshop
    @KapmansBasementWorkshop Před rokem +1

    This both great and exciting work!

  • @QCJ3
    @QCJ3 Před rokem

    This is very impressive and thorough

  • @craftingmat5425
    @craftingmat5425 Před rokem

    Really very interesting. Great work!

  • @m_IDEX
    @m_IDEX Před rokem

    This is awesome! Thank you for sharing your work!

  • @jangrewe
    @jangrewe Před rokem

    Damn. Every time i think my Voron is finally completely decked out with anything i could wish for, somebody comes along with an even more genius idea i MUST HAVE NAO! 😁

  • @highspeedpiTV
    @highspeedpiTV Před rokem

    Totally amazing! Keep up the great work!

  • @MichaelPetito
    @MichaelPetito Před rokem

    This is awesome work. Good job!

  • @r3dsign
    @r3dsign Před rokem +1

    Amazing job, thanks! For your effort!

  • @Topy44
    @Topy44 Před rokem +2

    Great to see an Open Source approach to this! Bambu uses the same idea (line laser plus camera) for calibrating extrusion. It would probably be little effort to add extrusion width calibration to this too. And it should be a reasonably simple job to implement this for Marlin (which calls it "Linear Advance" but it's pretty much the same idea) too, maybe as an OctoPrint plugin? I expect this will become the standard way to calibrate printers, and I imagine there might also be cheap nozzle-cams suitable for this coming from China soon.

  • @oh_no66
    @oh_no66 Před rokem +1

    Thanks for giving FOSS printing nerds a chance of competing with the bambu/clones.

  • @ToxicSocietyTroll
    @ToxicSocietyTroll Před rokem

    Thank you for keeping open source!

  • @wafflecart
    @wafflecart Před rokem +1

    Great work!!

  • @wayneuk
    @wayneuk Před rokem

    bloody outstanding work !

  • @jakobjorgensen7773
    @jakobjorgensen7773 Před rokem

    Nice!!!! Thanks for all your work.

  • @andybrice2711
    @andybrice2711 Před rokem +1

    This same hardware could be used to detect (and maybe even repair) first layer adhesion problems.
    Sometimes if I have a problem with the first layer, I just pause the print, paste on PVA glue, and smooth it out with a hot tool.
    It occurs to me that this process could be automated by running an ironing pass over any broken lines.

  • @NeoIsrafil
    @NeoIsrafil Před 5 měsíci

    Damn dude this is amazing 😍! I frigging need to put this on all my machines...

  • @FireFish5000
    @FireFish5000 Před rokem

    Effective. And so much potential with so many obvious easy QoL improvements that anyone can make to the code today (even before actually having the equipment for testing). For instance, iterative/quick collapse by measuring after each calibration line (or 1 - 3 lines) and adjusting based on too much/little pressure. By making smart adjustments after each line we can quickly make coarse changes to the correct values and then finer changes once closer to the range. We can probably turn this into a binary search, the middle will likely be dynamicly defined with (eg. no less than 3 lines mandatory with a middle value, too high, and too low within printer precision threshold or a single line with a score threshold would be necessary. Precision threshold is more dynamic but would require increasing the testing range in order to get measurably too high/low values to verify we found the center). May or may not be able to do this in one pass as well (not sure if we can scan while printing or if the acceleration will have to much of an affect on the camera between fps and rolling shutter).

  • @MrBodzinek
    @MrBodzinek Před rokem

    Great job man!

  • @KarlMiller
    @KarlMiller Před rokem

    Nice work indeed. Excellent work making filament extrusion calibration more deterministic through automation.
    Maybe this will work to inspire other similar means to automatically calibrate other printer mechanisms and properties.
    I wish there was a more deterministic calibration method like this for belt tensioning.

  • @martinblasko5795
    @martinblasko5795 Před rokem

    Wow, that's what I call a progress!🎉

  • @palomo3d
    @palomo3d Před rokem

    Great work, thanks Mike

  • @QEngineering
    @QEngineering Před 10 měsíci

    Cool video, love the project.

  • @coreofcrew
    @coreofcrew Před rokem

    Great work!

  • @CBORK27
    @CBORK27 Před rokem

    Это восхитительно, огромная работа, вы гений.

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

    very innovative. ffd 3d printing need more of this!

  • @sabahoudini
    @sabahoudini Před rokem

    Oh and amazing work BTW!

  • @94Discovery
    @94Discovery Před rokem

    Amazing this what is missing a closed loop feedback ohh cannot wait till this become integrated in Klipper ,Bravo 👍

  • @FilmFactry
    @FilmFactry Před rokem

    Nice work!

  • @bobwanmorgan9906
    @bobwanmorgan9906 Před rokem

    Great work. Impressive

  • @Steph.98114
    @Steph.98114 Před rokem

    The 3d printing community is amazing! Its work like this that is the reason open source designs will always be neak to neak with the big dogs

  • @Gulsifer
    @Gulsifer Před rokem

    Good job know we need to get it into the mainstream 3D printing community awesome job

  • @steveaylor376
    @steveaylor376 Před rokem +1

    Great job dude thank you

  • @hobbyistnotes
    @hobbyistnotes Před rokem

    Very nice project!

  • @wsy2304
    @wsy2304 Před 3 měsíci

    I am nearly a year late to this, but this really needs to be part of the tool changer mod of the 2.4 with this being on a dedicated head. Imagine loading 5 different filaments and this automatically calibrating all 5 filaments!

  • @Horstelin
    @Horstelin Před 5 měsíci

    Awesome work! This could also be used to automatically align idex print heads, optimize first layer squish and more!

  • @TheJttv
    @TheJttv Před rokem

    Nice work Nerd!

  • @JoeyMoreland
    @JoeyMoreland Před rokem +1

    Well done.

  • @Roobotics
    @Roobotics Před rokem

    3 Thoughts:
    1. This might lead to the realization of pre-emptive pressure advance, it's obvious that PA on it's own still isn't enough, it needs to have a pre-emptive kick one way or the other to have a truly clean line during acceleration changes. The timing of that kick it already gives, obviously isn't in the right place, a missing time component that will likely vary with each meltzone and pressure chamber size. Maybe one day we'll get that deviation to true 0.
    2. Automated stringing and retraction calibrations?
    3. As the laser is triangulating depth, you could then use this to figure out the build-plate depth, the laser line itself would need to be tuned to very square, or software corrections for uneven skew and lense distortion.

  • @woodwaker1
    @woodwaker1 Před rokem

    This has the potential to make a big improvement for Rat Rig and Vorons, these users would be ready to purchase a kit with a Klipper add on

  • @cris_k_b
    @cris_k_b Před rokem

    awesome stuff!

  • @HrDernacht
    @HrDernacht Před rokem

    Great work.

  • @ChristophLehner
    @ChristophLehner Před rokem +1

    some premium content right here !!

  • @milic16
    @milic16 Před rokem

    Great job. Thank you

  • @DaturaDynamics
    @DaturaDynamics Před rokem +6

    Mike this is absolutely outstanding work. I'm going to fit this system to all of my printers as soon as I can make time to modify them. I'm on a quest to build the ultimate tool head and this is going to bring it to the next level. Very good stuff! I wonder if you could get better results using different build plates by printing basically a raft that has been ironed and then print the lines to be scanned on top of that. A bit excessive and might defeat the purpose a bit, but it could be interesting for people using exotic print surfaces not conducive to laser clarity.

    • @mikeabbott7239
      @mikeabbott7239  Před rokem +2

      That's actually a pretty cool idea! I can definitely see that helping for textured translucent build plates, and I would bet it would be really helpful for uncoated glass as well. I'll have to look into it once I get the base feature set a bit more user friendly.

  • @boardinrider
    @boardinrider Před rokem

    Amazing, I really hope this gets integrated into Klipper this is game changing.

  • @damianzawisza1097
    @damianzawisza1097 Před rokem +1

    Amazing!!

  • @Thats_Mr_Random_Person_to_you

    Really interesting. As you say as a Proof of Concept its works perfectly and is of huge benefit to the 3d printer community!
    Being able to scan all lines in one pass / a couple of passes averaged out would of course be a significant benefit.
    Also, how would different colour lasers affect the system? Would lasers in a band less affected by visible light and appropriate camera lens filter help? Would putting a red filter on the camera in the current setup help?
    Soooo much research opportunities to look at making this even better!!

  • @rgsattphone
    @rgsattphone Před 11 měsíci

    This is a great video! I have a suggestion though, why not have it analyze the stl before printing and use an algorithm to determine where and when to slow down and pressure. Another idea is to use the camera to look at the line being printed and make adjustments to the next pass.

  • @KellyBC
    @KellyBC Před rokem +2

    Great work! I assume you tried doing the same thing but by just taking a photograph of the test pattern and running it through a similar process. If you did try that, why did it not work? It seems (on the surface) that it would be a much faster process, than having to scan each line with the laser and camera setup. You might have to deal with some parallax and/or tilted plane issues with the camera, but I believe there are algorithms that already do that. Just curious.

    • @mowcius
      @mowcius Před rokem +1

      That's much more dependent on lighting conditions, bed, and filament colour, whereas shining a (comparatively) high powered beam of light onto both the bed and filament is much easier to detect.
      You could probably get pretty close with a well controlled setup and a high resolution camera, but there would be more processing involved and you'd almost certainly end up with noisier data.

  • @jaeichinger
    @jaeichinger Před rokem

    I think this could work with the laser mounted to the gantry separate from the nozzle. It may only make a few grams but it could be a wide angle beam and that could be added to the data. Also a beam from both sides could tram the bed accurately.
    This is amazing and i hope for bigger things in your life.

  • @AbdelkaderHadjAissa
    @AbdelkaderHadjAissa Před rokem

    Great job

  • @143HawkBlack
    @143HawkBlack Před rokem

    One possible method for eliminating ambient room light affecting results would be to use a infrared line laser and a infrared filter over the camera. This would also have the benefit of simplifying the software post-processing required to get suitable images for analysis. Great work and presentation!

    • @thePavuk
      @thePavuk Před rokem

      IR is bad for scanning plastic. It goes deep in material and cause lot of diffusion. He should go opposite way. As close to UV as possible. 405-450nm.