No video

PID vs Bang-Bang Temperature Control

  Рет қаралды 118,677

CNC Kitchen

CNC Kitchen

Күн бұрын

Пікірлер: 385
@CNCKitchen
@CNCKitchen 3 жыл бұрын
*To bang or not to bang? What's your opinion?* Don't forget to like & subscribe and share this video on Facebook, Reddit, Twitter, and other platforms!
@antonrickert9427
@antonrickert9427 3 жыл бұрын
Hey there!
@WillFuI
@WillFuI 3 жыл бұрын
i opinion is I need a 3D printer to find out but I would like to flash my bang is better than yours just look at it
@stefang7690
@stefang7690 3 жыл бұрын
On my Ender 3 Pro I left the Bang Bang when I switched to the Btt skr e3 mini 1.2. I have no issues with it. The temperature is only fluctuating by a couple of centidegrees. I guess it will not improve that much changing to PID.
@urano1988
@urano1988 3 жыл бұрын
I plug my bed to a lab power supply. I made a Voltage/Temperature calibration curve. That's it: constant current and constant temperature; no noise, no fluctuations whatsoever.
@meky0
@meky0 3 жыл бұрын
@@urano1988 do you manually set the bed temp or did u put the curve into firmware? how does that work
@marsgizmo
@marsgizmo 3 жыл бұрын
Wow, interesting finding, I wasn’t thinking that could have such a big effect. Now I’m thinking to put some dial gauges on the bed and see how much it deforms while doing some heating tests. Many thanks for the insights Stefan, very useful 🙌😎
@tanaes
@tanaes 3 жыл бұрын
For large 4-point constrained PCB beds it can be really dramatic. With the PCB bed from my BLV cube kit, you could see it moving by eye if you parked the nozzle over the middle.
@CNCKitchen
@CNCKitchen 3 жыл бұрын
I'll have to do that!
@JanVokas
@JanVokas 3 жыл бұрын
@@CNCKitchen And it would be super to compensate this in firmware during print with automatic z-baby stepping :D Like mesh bed leveling, but temperature mesh compensation.
@Kineth1
@Kineth1 3 жыл бұрын
@@JanVokas That would be really neat, but you would only be able to compensate for the bed lifting/dropping. If your bed were warping during the heat cycling, you could compensate for the first couple layers, but after that, the part geometry will result in unpredictable part movement.
@themeek351
@themeek351 3 жыл бұрын
@@Kineth1 You are correct, but what if the mesh compensations were applied to the X, Y and Z? This might be harder to predict, however! Perhaps, piezoelectric sensors could be placed under the print bed to monitor any bed deflections and compensate in real time!
@FilamentFriday
@FilamentFriday 3 жыл бұрын
Wow, One degree variation doesn’t seem like it would affect the bed warp that much. Im surprised. I can’t help wondering if the change in current draw from bang bang switching fully on/off is causing issues with the stepper drive current thus causing those issues where PID is a more gradual change in current draw. Wonder if a better power supply would also correct it. That buzzing in the bed seems more like a power supply noise (ripple) which made me think of current as a possible cause. Very interesting video Stefan. Well done.
@CNCKitchen
@CNCKitchen 3 жыл бұрын
I might have a closer look at that though I don't think that the steppers are a problem due to their discrete steps, though who knows what happens to the microsteps?
@maiorciprian
@maiorciprian 3 жыл бұрын
@CHEP I think you might be on to something there. I had a problem in my printer with the Z-axis not moving enough upon layer change. The firmware would indicate the correct height but the actual height was about 20-25% lower. This only happened to me when I would print ABS with the bed at 105C so drawing a lot of current. When I would print PLA with smaller bed temp it would print just fine. My fix was increasing the Z-motor Vref voltage. I too believe that a minute 1-1.5C variation in bed temperature wouldn`t affect the print quality that much. This needs further investigation.
@HeyBirt
@HeyBirt 3 жыл бұрын
@@CNCKitchen Full steps on stepper motors are fairly accurate when stationary. Any microstep step is not precise and can be within a small number of actual microsteps of the position you think your at. Take a strip of paper and rip it in half, now do the same thing again and again and again and again. You now have 16 smaller pieces of paper. You have increased resolution but the resolution does not equal precision. Each piece of paper is not precisely torn, not precisely the same size as the others. With the ripped paper you can separate two objects by 3 micro-pieces of paper and the position will be more accurate than if you were limited to 1 full strip of paper. But, the spacing is not precisely 3/16 of the full paper strip. It may in fact be closer to 2/16 or 4/16 because our paper micro steps are not precise. Microsteps increase resolution of movement and smoothness of movement at low speeds. You don't get something for nothing though. With microstepping as the RPM increases the potential power output of the motor decreases. Some stepper drivers will 'morph' steps from n-microsteps to full steps as RPM increases (all done internally, you are still sending microsteps to the driver). This gives you the best of both worlds. Increased resolution, increased low speed smoothness and all the power out of the motor at high RPMs. Please see my post about indicating to your bed when the bed it stationary and heated to measure any deflection in Z. My suspicion is that if your bed is deflecting with a 2C delta T then it is due to it being held at the corners thus any thermal expansion/contraction can only be relived by the center of the bed bowing in the Z direction.
@eoincavanagh2249
@eoincavanagh2249 3 жыл бұрын
Best comment exactly what I thought. Its a power issue. Electrical noise affecting the steppers. If say a second power supply was used for the bed heat this would also fix it.
@obie224
@obie224 3 жыл бұрын
@@HeyBirt ripping a piece in paper in half ??? please put down the crack pipe buddy, you've had enough.
@Taconiteable
@Taconiteable 3 жыл бұрын
Congrats to the 300k! You really deserve them! (btw. as I watch it is 300.000)
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Thanks!
@REDxFROG
@REDxFROG 3 жыл бұрын
Still shows 300.000. 🙈 can't be the true amount. I think it stays at 300k for a while to celebrate?
@spacenoodles5570
@spacenoodles5570 3 жыл бұрын
@@REDxFROG some time ago youtube stopped showing precise sub counts
@jokker6
@jokker6 3 жыл бұрын
I had similiar problem, but I discovered, that my problem was in suppling power. If power was switched to bed, nozzle temperature also fluctuated and I belive that this was the problem. My solution was new power supply. Your videos are still on of the best in 3dprinting and keep up good work!
@HeyBirt
@HeyBirt 3 жыл бұрын
Please try this experiment. Keep the bed stationary, use a sensitive test indicator, something with 0.01mm graduations, to indicate the center of the bed. Now try each heater control scheme and see how much your bed is actually moving in Z due to fluctuations in temperature.
@TurkishLoserInc
@TurkishLoserInc 3 жыл бұрын
The issue with that kind of a measurement is that your indicator is also growing and shrinking as the temperature fluctuates, and needs to be accounted for.
@ikbendusan
@ikbendusan 3 жыл бұрын
@@TurkishLoserInc introduce a thermal insulator, such as a 3d printed object. if the effect is real it doesn't matter whether or not the dial indicator is directly in contact with the bed
@ikbendusan
@ikbendusan 3 жыл бұрын
in case one part of the bed doesn't expand and another part does i would use multiple dial indicators to take into account that distortion
@GregorShapiro
@GregorShapiro 3 жыл бұрын
@@ikbendusan Laser interferometry should be able to illustrate minute changes in form and placement.
@HeyBirt
@HeyBirt 3 жыл бұрын
@@TurkishLoserInc Let's be realistic, if a change of 2C disturbed the test indicator that much it would be utterly useless in real life.
@alexbuilder6983
@alexbuilder6983 3 жыл бұрын
I love how refined the fdm process is getting
@antonrickert9427
@antonrickert9427 3 жыл бұрын
The title looks interesting
@hg1986
@hg1986 3 жыл бұрын
the first line too.
@Krmpfpks
@Krmpfpks 3 жыл бұрын
Spoiler: the conclusion is to not bang if you don’t want z wobble.
@tobiaskron5996
@tobiaskron5996 3 жыл бұрын
Very interesting never thought such small temperatures lead to such visible artifacts. Awesome investigation and presentation. As always ;-)
@FrodeBergetonNilsen
@FrodeBergetonNilsen 3 жыл бұрын
He is a real resource. Totally agree.
@certified-forklifter
@certified-forklifter 3 жыл бұрын
Hi Stefan, good video. This problem also annoyed me for some time. Easier way to see if this problem is the cause: print without bed temperature. Then you don't need to compare with the threaded rod Cheers
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Good idea. Just put some tape on the bed or use a thick raft and it should be fine.
@kevfquinn
@kevfquinn 3 жыл бұрын
Minor correction - @6:00, it's only the PIDTEMP line that needs to be commented out (undefined) to use bang-bang. You would need to leave "BANG_MAX" defined. Note line 483 only says to comment out the one line.
@screwyluie
@screwyluie 3 жыл бұрын
omg I needed this two years ago when I built my HEVO with a duet... I had this same artifact and it took me FOREVER to figure out because as you noted, if the print speed changes (shorter layer times for instance) the banding changes. I printed so many vases and spent a lot of time on duet's help forums before someone had me try changing the bed to PID and like magic it disappeared.
@drumbum7999
@drumbum7999 3 жыл бұрын
the best 3d printing channel
@CNCKitchen
@CNCKitchen 3 жыл бұрын
@Audio_Simon
@Audio_Simon 3 жыл бұрын
This is a good argument for a bed that is only fixed at one end and the other is able to slide when it expands rather than the whole thing bulging in the middle.
@jarodhohl861
@jarodhohl861 3 жыл бұрын
Thank you so much for bringing this to my attention! I've been pondering where the "banding" in my prints was coming from. My build platform is 600x600 and heating via a AC heating element controlled by a SSR. It makes sense that a bang-bang controller would cause the bed to flex and result in print distortions. Thank you!!!
@Fresco272
@Fresco272 3 жыл бұрын
You are totaly on point. I know this problem for many years. But in my case I had a huge problem to configure correct PID values, because everytime i run the autoconfiguration it gave me different results and they were not good. Turns out this was problem with stability on 5V stepdown on my MKS Gen v1.4 board which is used asi reference for calculations. (It was the same for all boards at that time - old RAMPs, Rumba, MKS Gen L, all have bad architecture). In the end adding capacitor and endless tunning of PID values helped and now my bed oscilate +/-0.1. But it was pain to get there.
@Krspy2
@Krspy2 3 жыл бұрын
Great video. Love the witty humor to keep me engaged so much so I almost forgot Im learning XD
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Glad you enjoyed it!
@ronnetgrazer362
@ronnetgrazer362 2 жыл бұрын
Hello, 3D printer users new to CNC kitchen! Congratulations, you've found it. This is the channel. It's all here.
@pbrglez
@pbrglez 3 жыл бұрын
I had the same issue a couple of years ago. The way I found out it was due to bang-bang was that the issue disappeared when I printed PLA with the bed off. PID solved it.
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Great to hear!
@AlexDoesYouTubes
@AlexDoesYouTubes 11 ай бұрын
Thank you Klipper for making a PID tune as easy as a few commands in the terminal.
@zubble7144
@zubble7144 2 жыл бұрын
Suggestion for an experiment: Take a 2nd bed board, flip in over and epoxy it to the bottom of your working bed board. Wire both heaters in parallel. In this manner, any strain force generated by one board will (approximately) be compensated by the strain force (in the opposite direction) of the other board. I anticipate that you only need to measure the temperature of the top board. If you have concerns about double the wattage, then heat the bottom board, and measure the temperature of the top board.
@licensetodrive9930
@licensetodrive9930 3 жыл бұрын
Wow, it never occurred to me that the thermal expansion & contraction of the bed would affect prints in such a way. I have a Prusa i3 Mk3 because I wanted a matured product where I wouldn't have to try and diagnose odd issues like this, just build it, tune it a little and endlessly print. 2.5 years of ownership has shown that strategy paid off :)
@Kalvinjj
@Kalvinjj 3 жыл бұрын
My lack of money made me go the complete opposite direction for my 1st printer: an entirely scratch built project, not even a clone, only just similar to the i3 style in montion design (and even that just similar - mine runs on lead screws all the axis), and Marlin on it. Sure as heck is quite the ambitions project and I have quite a bit on my hands to tune and test, tho I'm glad to report to anyone that cares that it's indeed moving and heating correctly right now!
@oliof
@oliof 3 жыл бұрын
Finally a "trusted source" I can point people towards when I tell them to PID their bed. Usually it goes like Them: "I have Z wobble, but my leadscrews are alright" Me: "PID temp your bed" Them: "but Marlin says PID temp your bed is bad" Me: "Give it a try, it worked for me" Them: "I don't see how it can be physically relevant" Me: "I can show you on my printer by dynamically enabling and disabling PID on the bed heater that it works" Them: "must be a firmware bug then" Me: "Please, just try" Them: : "Oh, look it worked!" And then people subsequently forget about it. (Marlin docs still state "If your configuration is significantly different than this and you don’t understand the issues involved, you probably shouldn’t use bed PID until it’s verified that your hardware works" -- I understand people shying away with this caveat. On Duet hardware it works well, of course (-: )
@BossKerati
@BossKerati 2 жыл бұрын
this video helped me out a lot! Thank you!
@oddspaghetti4287
@oddspaghetti4287 3 жыл бұрын
Hey, another reason for z-banding other than lead screws and heatbeds might be an extruder feed gear that is not concentric with the stepper motor shaft. This can be pretty easily checked by printing two different sized towers and seeing if the z-banding happens at the same frequency on both of them, if it does not, then your feed gear might not be concentric.
@markthompson5983
@markthompson5983 3 жыл бұрын
Thanks for making this, I had no idea that running bang-bang could cause those kinds of issues.
@matthenry2573
@matthenry2573 3 жыл бұрын
Hey guy. I studied materials engineering in school, just got into 3d printing through work as a product designer. In school I studied both the optical and mechanical properties and i was always dubious of the procedural similarities in "performance". I challenge you to print a clear filament AS CLEAR AS YOU CAN - petg, pla, abs, nylon it doesn't matter - and test the mechanical properties to there not so clear counterparts.
@barenekid9695
@barenekid9695 Жыл бұрын
I've been chasing that Z(?) banding issue for some time. Consequently I now have Single Start Z screws and Dual Collet type couplers fitted which helped Z banding... a LOT. But there remains similar artifacts to what you are showing in this video. Believe that the source is My OverHyped Bondtech extruder mechanism.. The main filament gear uses a Grub screw. Which shifts the drive gear Off center when tightened. Lovely !! Add on the other rather imprecisely machined driven extruder gear and the foolish variable diameter Hobbed drive teeth detail.. and I get a pulsed (and a visible /measurable ! ) extrusion flow variation. Backing off the Idler spring tensioner Helps.. Noticably. It seemingly lets those gears have a wee bit of wiggle room for slightly improved flow consistency. Replacing that idler gear with a suitable Ballbearing race... improves the situation .. notably more.. In process of finding / building a Better quality (verifiably concentic) Extruder drive setup. Likely a Single Drive gear version.
@JimPBarber
@JimPBarber 3 жыл бұрын
Thank you so much. I have been fighting this kind of Z banding for over a year. Have not been able to correct it. Thank you so very much!!!! I am now Z Band FREE!!!!!!!!!!!!!
@sandrolauer350
@sandrolauer350 3 жыл бұрын
Did you calculate the thermal expansion? With only + -1 K I can't believe it will be enough to see them rings.
@REDxFROG
@REDxFROG 3 жыл бұрын
I don't think it's that. It must have something to do with the "power shocks" on the Mainboard itself. They are strong and happen less frequently than mini burst of PID.
@mfinn68916
@mfinn68916 3 жыл бұрын
It is, at least on the original printer that bed pid was implemented for in Marlin, the mendel max. It had a 250w heater and a glass bed. The math is all in the git commit to prove it.
@stephenmcdonald3781
@stephenmcdonald3781 3 жыл бұрын
The slow nature of temp sensors could mean the temp swing is greater than indicated.
@REDxFROG
@REDxFROG 3 жыл бұрын
@@stephenmcdonald3781 the temp sensors are super quick? It only depends on often you poll it. You could basically get 5 different values within a second when you heat it up. However the temperature transfer in the bed is slower and thus you will get a different temperature through the entire bed. The temp sensor can only tell what's in the center of the bed.
@user-sl9nk7fw1c
@user-sl9nk7fw1c 3 жыл бұрын
I have created an external plate based on 300W mosfet for bed contol. With 12V 200W Webasta heater it need about 5 minutes to reach real 90 degrees on glass. PID control work really great, temp hold in coridor about 0.1 degree. I must mention that 220W Ac relay is really dangerous in this mode.
@sugatooth
@sugatooth 3 жыл бұрын
Super informative, thank you Stefan!
@reverse_engineered
@reverse_engineered 2 жыл бұрын
My first 3D printer was a Solidoodle 3. There was a design flaw that resulted in a large lag between the heater and the thermistor on the extruder. It would take over 30 seconds for the thermistor to see a change in the temperature after the heater would turn on, and vice versa when it turned off. This became quite a problem when I upgraded to newer firmware because the thermal runaway kept tripping. It also meant that, even with a reasonably-well tuned PID control, the temperature varied by +/- 5C from the setpoint. I believe this was the cause of some very noticeable inconsistencies in the surfaces of the printed parts.
@antalz
@antalz 3 жыл бұрын
I think you can sidestep the problems somewhat by having a high thermal mass bed, IE glass. Thanks again for more high quality research.
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Good point and this is also what you can find on the RepRap Wiki. If the thermal mass is big enough, Bang-Bang can be fine.
@meky0
@meky0 3 жыл бұрын
even with a large thermal mass for example if the glass isnt thermally bonded (bed clips) there is still maybe an isulation gap causing the metal plate to flex under the glass causing the glass the pulsate with the metal plate though on my large printer i use bang bang, with thermal tape under the glass and its fine
@antalz
@antalz 3 жыл бұрын
@@meky0 Wouldn't it be the reverse? If the glass is bonded to the metal, it's forced to follow the erratic motions of the metal. If the binding is loose, the glass bed can sortof ignore whatever the metal underneath is doing. Not too sure about this though.
@mfinn68916
@mfinn68916 3 жыл бұрын
@@CNCKitchen The original pid bed implementation in Marlin was specifically because of a glass bed. The heater side of the glass swinging around in temperature by just a little while the top was more stable would cause bowing that led to banding. Although that was with a 250w heater, which is a bit large.
@psychomarto
@psychomarto 3 жыл бұрын
Last time I heard such title was something about tinder or so... Anyway, thank you for the video and congrats, just saw your subs are exactly 300.000!
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Thanks!
@jetztstaubts
@jetztstaubts 3 жыл бұрын
Glückwunsch für die 300k brudaaaaa
@CNCKitchen
@CNCKitchen 3 жыл бұрын
👌💪
@maxbakker-mueller719
@maxbakker-mueller719 3 жыл бұрын
For everyone saying it could be an issue with the voltage drop in the PSU. I had this problem with a 230v heated bed run on a different circuit via a SSR. And the problem was solved by using PID instead of bang bang. That being said in a 12v bed there might be other effects as well.
@JanicekTrnecka
@JanicekTrnecka 3 жыл бұрын
In fact I like that "digi" singing noises. My first CNC machine (Tron CNC) did make a huge variety of sounds, especially when going through curved paths. It was a music to my ears. Most annoying sound came from the spindle,compressor or vacuum. No matter if the vac was used to hold down material or to suck the debris off the milling path.
@IvanStamenkovicSeemsIndie
@IvanStamenkovicSeemsIndie 3 жыл бұрын
Omg, I have this issue for half a year now since I last flashed firmware. I have to take a look, thanks.
@MrHeHim
@MrHeHim 3 жыл бұрын
Awesome work, not many people catch these flaws.. kudos to you my friend! Noticed this a long time ago back around ~2014 when i used my MakerBot Replicator Clone with wooden frame as my main and only machine. When i figured the temperature swing was causing the parts to come off over time despite hallow or solid parts that would cause more "pull" from shrinkage, i started using insolation under the bed and found wool not only insolated beautify but also damped the vibrations on fast prints or sharp edges. I also used Kapton tape on the Y axes bed frame to reflect the heat upwards. From that experience i quickly noticed the banding gone and put two and two together. Massive improvement for ABS print bed adhesion *I didn't get any data back then but i did for an i3 machine i have now, It went from ~5 degree swing while printing a large vase (to simulate air pumping though and over the bed) to a ~1 degree swing
@jonathanwever8188
@jonathanwever8188 3 жыл бұрын
Instead of printing the 2nd cylinder at 200% speed, print a 2nd cylinder of half the diameter of the 1st, ensuring the printing speeds are equal (don't let auto-cooling slow down the smaller one). That way the material load on your extruder will remain equal, eliminating an extra experiment variable.
@Totalis1989
@Totalis1989 3 жыл бұрын
I would have thought that the change in voltage (because of the power draw of the bed) would have more of an effect on the heating ability of the hot end... This is very interesting. I wonder if the PID tuning of the hot end would be different with and without the bed being heated (as a result of the different drive voltage). Great video. Thanks
@peplegal8253
@peplegal8253 Жыл бұрын
That's it ! Nothing to do with thermal expansion/contraction. More like voltage fluctuation affecting the board...the power supply, and consequently the motors. Bang-bang control create two distinct levels...while PWM control spread out the influence.
@monki77
@monki77 2 жыл бұрын
I just had a problem with thick and thin layers and if I hadn't have watched this video a week previously, I'd have tore my hair out 😄 Thanks for the great info!
@balls2bone
@balls2bone 3 жыл бұрын
This has totally changed my mind in one of my printers. Looks like I've got a load of PID tuning ahead of me tomorrow!
@kinanhloubi1935
@kinanhloubi1935 3 жыл бұрын
Great information! I had this problem on one of my printer, and it was clear to me that the problem is in the Z Axis but after seeing this am going to try your method to know which one is really the problem! Danke Stefan!
@hootsmin
@hootsmin 3 жыл бұрын
You want to put some insulation on the underside of the heated bed, I have mine insulated, I put that on when I was building it since it worked well on my Anet. Temperatures are more consistent (within 0.2C) and it saves a small bit of energy when printing. You want a silicon sock on the hotend also of course for the same reasons.
@lagabmx
@lagabmx 3 жыл бұрын
The power drain when the heated bed activates in bang bang mode may affect the motor or heatter of the extruder???
@CNCKitchen
@CNCKitchen 3 жыл бұрын
The voltage of the PSU drops a bit but if it's powerful enough the impact shouldn't be too big.
@REDxFROG
@REDxFROG 3 жыл бұрын
@@CNCKitchen but you should check the voltage/current on the Mainboard traces itself. The bed instantly sucks full power causing little spikes which could also drain/hit capacitors and cause a quick shortage of current. The fan of a JGAurora A5 always lowered the rpms once the bed banged. But of course I'm not as much inside this tech as you are. Just trying to guide thoughts in another direction.
@alann4808
@alann4808 3 жыл бұрын
@@CNCKitchen Could ultimately be skewing the thermistor though. Would be interesting if you could rule this out. You could remove the heatbed (leave it attached, but don't actually print on it - i.e., just leave it sitting behind the machine). So you have the same electrical load, but you're not heating the actual print surface.
@CarlosGlatzos976
@CarlosGlatzos976 3 жыл бұрын
You are my favourite 3d printing Nerd (no offense) :-) Well explained, very very good video! Now I check immediately if my printer is crap or only misconfigured...Thank you!
@freman
@freman 3 жыл бұрын
Also, depending on how much load the heater is applying, turning it hard on and hard off could also cause voltage dip on the extruder heater, or the motors
@LucasHohmann
@LucasHohmann 3 жыл бұрын
I would love to watch a test of the PCTG filament from Essentium
@runklestiltskin_2407
@runklestiltskin_2407 3 жыл бұрын
Can't wait for your creeping tests, a topic not that well documented.
@Quadropus
@Quadropus 3 жыл бұрын
I had the same problem after I changed the firmware/hardware configuration. It took me weeks until I found an article about that phenomenon. After changing the Z setup multiple times! 🙄😅
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Same here on another printer.
@ChrisHalden007
@ChrisHalden007 3 жыл бұрын
Bang bang, he shot me down Bang bang, I hit the ground Bang bang, that awful sound Bang bang, my baby shot me down ..... 🤣 Very informative video. Thanks.
@R_Forde
@R_Forde 3 жыл бұрын
OK Nancy
@gabrielgomescunha
@gabrielgomescunha 3 жыл бұрын
I was looking for this reply 😂💕🤘
@RomanoPRODUCTION
@RomanoPRODUCTION 3 жыл бұрын
#TeamTarantino
@johnandersen8999
@johnandersen8999 3 жыл бұрын
Those exaggerated heat expansion animations were fantastic!
@fisch747
@fisch747 3 жыл бұрын
Yes also the LEDs on the heatbed flickered annoyingly so i used PWM few. 5Hz and it works perfect 0.0°C differences and low switching good for my FET :)
@laiquocbao2565
@laiquocbao2565 3 жыл бұрын
Oh wow, very very well documenting, Stefan. I have learnt the way to scientifically document my researches and projects through your video over the years.
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Great to hear!
@GeloGraysonProps
@GeloGraysonProps 3 жыл бұрын
This happened to me exactly a couple days ago with my Anet ET5! Instead of the bed fluctuating it was my extruder. I Had to flash marlin 2.0 since the stock Anet firmware won't let me do a PID tune through pronterface. After PID tuning I've had much better prints :)
@thomil4
@thomil4 3 жыл бұрын
Nice video. A few years back when I built my Hypercube Evolution I had both lead screw induced Z-wobble and bed heating induced layer inconsistencies as shown in the video. That combination was "fun" to figure out...
@Audio_Simon
@Audio_Simon 3 жыл бұрын
I once reduced bed temp from 40c to 30c during a 40hour print. It caused very noticable artefacts in the wall.
@technicholy1299
@technicholy1299 3 жыл бұрын
You can get around the bed ringing by wiring the bed with an external SSR and use the board controls to trigger the SSR.
@NackDSP
@NackDSP Жыл бұрын
Great video. I will now investigate my printer.
@AsherLimaPapa
@AsherLimaPapa 3 жыл бұрын
Absolutely incredible analysis and troubleshooting. Thank you for this!
@nitrodon7184
@nitrodon7184 3 жыл бұрын
That's why smart guys buys an Artillery Sidewinder 🤘🏻
@spikekent
@spikekent 3 жыл бұрын
Great info Stefan. Congrats on your sub count, it's finally getting up to the numbers it should be at 👍
@sbussinger
@sbussinger 3 жыл бұрын
Thanks for the information. You do a great job on all your videos (and your podcast)!
@jobotheclown
@jobotheclown 3 жыл бұрын
Hey Stefan, on the topic of thermals you should do an episode on modding the prusa part cooling fan or shroud or both. That's a longstanding problem with prusas
@obie224
@obie224 3 жыл бұрын
you must be mistaken, everyone knows that prusa's are perfectly engineered printers with no flaws that never have problems and turn out perfect prints every time and are completely worth the 100% markup.
@user-ft5qk4nv4f
@user-ft5qk4nv4f 3 жыл бұрын
I think my Ender 3 has the same problem. I added a glass plate to the print bed, which of course changes the thermal capacitance. The graph of the bed temperature in octoprint is oscillating and some pattern is visible along the z axis in the prints. I will definitely try tuning the PID loop!
@mururoa7024
@mururoa7024 3 жыл бұрын
Amazing. It seems to make sense but I would never have thought the bed temp variations to cause this.
@freaky360
@freaky360 3 жыл бұрын
A quick and easy test to eliminate the heatbed cycling as the issue is you can turn off the bed after the first few layers and you can see the results quite well. It will go from the regular layer issues to completely smooth. I just print with the bed off since I am too lazy to change firmware.
@moorejl57
@moorejl57 3 жыл бұрын
I have used a bang-bang algorithm for a diet. I weigh myself every day and keep a running average of three days. If my weight is above the set point ( a linear ramp down to my weight goal), I take a low calorie day (750 cal). If I am at or below my set point, I eat my maintenance calories. It work pretty well, but getting two low calorie days in a row takes a bit of will power.
@DasJev
@DasJev 2 жыл бұрын
What about power supply? You basically share the PSU with the motors, bed heating and hotend - while the bed is heating you take away current from the motors which would lead to less torgue = less extrusion assuming you are printing fast, also the hotend would get less power so it would take longer to correct temps. The holding/and moving torgue for the z-axis would also drop means it won`t get to the same position.
@DJ-wl5yi
@DJ-wl5yi 3 жыл бұрын
That's the issue/artifact that's bothering me for months!! Danke, Dude
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Cheers!
@Thomllama
@Thomllama 3 жыл бұрын
Yay, there is one issue with older or cheaper heat beds. PID may trip thermal runaway. Likely during preheat as when the bed gets close to set temp, it starts pulsing to slow heating to prevent over swing. But that makes it rise slower than the min “degrees per minute” even when set at the lowest setting. Been considering figuring out how to leave Bang Bang, but put in slicer gcode to switch somehow after preheat.
@nbase2652
@nbase2652 3 жыл бұрын
Exactly the problem I had with my Anycubic Mega S. I never imagined only +/- 1°C could have such a huge impact, but apperently it does. Even the part cooling fan could decrease bed temperature and cause an overpronounced elephant foot if set to 100% too early - a badly designed fan duct could make things even worse if air stream blows too much towards the heat bed or hits the nozzle. And when the hotend is PID-tuned without having the fan enabled, it might cause undershooting or dips in temperature when you actually use the fan - in the worst case even introduce or worsen clogging... I wish I had seen your video back then, as it took me a few weeks to actually figure this out. Anycubic's support first sent me new threaded rods and brass nuts, but there was still significant Z-banding. After quite a few test prints I noticed, pretty much by coincidence, that printing with the heat bed turned off didn't result in what I thought to be the usual Z-wobble. Turns out the latest official firmware from their website (that I downloaded and flashed right after I got the printer) was either using bang-bang or badly tuned PID values. But since PIDTEMPBED was disabled, I had to switch to knutwurst's firmware to be able to PID auto-tune the bed at all. Anycubic's support is pretty awesome, though - They quickly sent me an updated firmware with bed PID auto-tuning enabled. Now I have an officially supported firmware and completely got rid of any Z-banding.
@JFettig111
@JFettig111 3 жыл бұрын
I find that PID auto tuning is very poorly done. I generally tune it by hand using Repetier Server where you can see the % power and all the fluctuations. Generally I get it down to a very smooth very low noise power level.
@malloott
@malloott 3 жыл бұрын
On Marlin or on RRF? Because the RRF system has been made significantly better recently.
@JFettig111
@JFettig111 3 жыл бұрын
@@malloott repetier firmware, I'd think marlin and others would have similar ways with repetier and server you can update the eeprom live
@eclsnowman
@eclsnowman 3 жыл бұрын
Yes, I find I get the best and most sane PID values by hand tuning on the bed. Especially with AC powered beds that have large thermal mass. If you go to Wikipedia for PID control there is a graphic on the right hand side about halfway down about PID tuning that explains almost everything you need to know in one graph. It shows how the P, I, and D affect the setpoint, rate, and oscillation.
@CNCKitchen
@CNCKitchen 3 жыл бұрын
This reminds me of the old days, when I PID tuned my first quadcopter with simple trim-pods.
@chrisvolkert6117
@chrisvolkert6117 3 жыл бұрын
Great, i really was about time For Someone making a Video about this topic! Took me several de-and reassemblies until I found Out about this issue
@nrdesign1991
@nrdesign1991 3 жыл бұрын
the PID noise can easily be mitigated by properly setting up the PWM frequency in SOFT_PWM_SCALE. Marlin used to warn you about the negative effects of using a higher PWM frequency in the comments, the FETs heating up due to having to switch more frequently.
@ScottLahteine
@ScottLahteine 3 жыл бұрын
It blew my mind when I first saw how pronounced the artifacts can be from the bed expanding and contracting. It’s definitely important to use PID for the bed, and there is little reason to use bang-bang heating today.
@stephenmcdonald3781
@stephenmcdonald3781 3 жыл бұрын
I have to try this with my Anycubic I3 Mega. The slow on/off led under the bed indicates bang bang. It's a big issue with a 4mm thick glass ultrabase. I'd love to see that effect go away. It's the last hurtle I have to clear with my printer!
@tilk
@tilk 2 жыл бұрын
On 6:01, you're showing Marlin config for extruder PID, not bed PID. PID control for the bed is controlled by PIDTEMPBED.
@Picalzz
@Picalzz 3 жыл бұрын
Great find! My printer has been using bang-bang forever, and I've had issues like this before (although not entirely sure if Z-wobble or this). Something else to consider : If using bang bang, the 0% -> 100% duty cycle change has a large impact on supply voltage to the rest of the system (on my printer at least). I hear the drop in RPM (therefor voltage) to my part and cold-end cooling fans when it periodically turns on. Could this also contribute to this anomaly, and to what degree? I wouldn't think that a +-1 degree temp change on the bed could be the sole contributing factor. Maybe a test with a bed heater with an independent power source could provide some data on this. Thanks for a great video as always!
@jamesjusick1462
@jamesjusick1462 3 жыл бұрын
I think you found the root cause (Bang bang style system) but it is not due to the reason you think (bed heat changes). There is no way a degree one way or the other is causing this, but the hit on the power supply with a Bang Bang system will drag down the machine and leave the banding. It is like rolling up a window on a car, then roll up the other side while the first one is still going up. The one going up slows and speeds up as you start and stop moving the other side.
@WhereNerdyisCool
@WhereNerdyisCool 3 жыл бұрын
That’s very interesting about SSR controlled beds. I have one that seems to struggle getting to temperature. I blamed it on lack of insulation and the fact it’s trying to heat through a magnetic bed to the spring steel / pei surface
@AhmadLafi-TheFirst
@AhmadLafi-TheFirst 3 жыл бұрын
Incredibly smart. I never had thought of this. This issue may also be amplified and propagated to the extruder especially if the printer has a relatively weak power supply. It can be demonstrated as patterns due to the higher switching noise as the power supply is unable to provide enough power to the bed, or by skipping and under extrusion.
@TheRainHarvester
@TheRainHarvester 3 жыл бұрын
Yes, I think it is actually an extruder problem: not enough extruder heat element current when bang bang turns full on for longer than a pwm pulse.
@kttkttkt
@kttkttkt 3 жыл бұрын
One of the causes could be also voltage drop caused by bed current draw, as MK3 PSU works close to its limit. Anyway, I never thought about it, I am pretty sure my bed works at bang-bang and I spent more than healthy amount of time chasing z-banding. Thanks!
@mikin.6595
@mikin.6595 3 жыл бұрын
Thank you for this video.This solved issues i had.
@rpavlik1
@rpavlik1 3 жыл бұрын
Thanks for sharing your troubleshooting process. My printer is so old, I'm sure it's using bang bang.
@TZeyTimo
@TZeyTimo 3 жыл бұрын
Wow. I am currently having inconsistent layers as well and I tried so much. New mainboard, new firmware, flexible coupler, anti backlash nut, new leadscrew, new hotend, different filament and nothing worked. I hope that tuning my pid even more fixes it a bit
@CNCKitchen
@CNCKitchen 3 жыл бұрын
Let us know if that solved your problem!
@TZeyTimo
@TZeyTimo 3 жыл бұрын
@@CNCKitchen Unfortunately not. It seems to be a mechanical issue but I can't seem to figure out what it is. Would you mind looking at this test print and telling me if this is a mechanical or a settings issue? imgur.com/a/49pm0M9
@pav9978
@pav9978 3 жыл бұрын
I am very sure that it is a part of your problem but by far not all. We are talking about a temperature difference of 10K max, if that. With a delta T of 10K over a length of 200mm, pretty little will happen. Calculated with steel we come to a delta l of 0.0236 mm ! That is nothing. We are light years away from these accuracies. But, you can test it. Get a lever gauge with appropriate accuracy and test different temperatures on the bed. What I rather believe is that it has something to do with harmonic oscillations or with upswinging in the system. (Possibly there is an electrical problem here) With large CNC machines, a stupidly laid hydraulic line can be your downfall. After you have already completely picked the thing apart, please try the following. Take the print bed and clamp it to a core XY printer, Prusa control for the heating element and the rest my your test printer. If my thesis is correct, it should make no difference on the other printer.
@frankli4124
@frankli4124 3 жыл бұрын
I suspect this is also at least partially due to power consumption change during banbbang cycle that caused voltage fluctuations for other components.
@westonpowell2498
@westonpowell2498 3 жыл бұрын
I have seen similar behavior on one of my printers before. I have an Intamsys Funmat HT that I use for high temp materials, and due to breaking the ceramic plates, I bought and machined a sheet of garolite to use as the bed, and it was about twice the thickness of the original ceramic plate. I started noticing a very similar pattern of z banding issues on the first print with it. I always let the printer warm up for an hour and a half when printing high temp to let the chassis heat soak, so I didn't think it was due to any heating issues at first. I switched back to the ceramic plate, and the problem went away. So I purchased a carbon fiber plate from Vision Miner, and I haven't noticed the problem with that plate, either. Garolite is supposed to be fairly stable from a thermal expansion perspective, but I can't find any data on it's thermal expansion characteristics on MatWeb, but all else being equal, the only thing I can think of is the thickness of the bed was changing slightly with the heating cycles. One other possibility I can think of is the bed is held down by magnets that screw together through holes in the bed, and rest in cups at various points on the bed. If the x and y directions of the bed were expanding enough, it is possible that the magnets could be forced to ride up the side of the cups they are in, which would force the rest of the bed up. I think the firmware for this printer is pretty well locked down, so I can't dig into the settings to look and see what it's doing unfortunately.
@mauricioexequielguzmanlafu116
@mauricioexequielguzmanlafu116 3 жыл бұрын
Amazing Thank you for so much knowledge Stefan!
@BRUXXUS
@BRUXXUS 3 жыл бұрын
Fascinating! I never knew the bang bang was called... well... that. Always just thought it was a realllly slow kind of PID. :P Amazing how much those bed temps affected the print quality, I would never have guessed!
@carlosarthurpetry3674
@carlosarthurpetry3674 3 жыл бұрын
Wouldn't the variations be caused more by the electrical load change in the system than the thermal changes?
@REDxFROG
@REDxFROG 3 жыл бұрын
That is also my guess. Bang Bang has a very high impact on the Mainboard especially when using the mosfets from the board and not exter Al mosfets with seperate cables. I speak from experience. Bought a used JGAurora A5 which had bang bang and no separate mosfets. You could hear the power loss on the cooling fan. Also it affected the print quality each time the 300x300mm bed banged power. But it's just one possible reason.
@taliamon
@taliamon 3 жыл бұрын
I'm inclined to go this way as well. With steel and aluminum expansion coefficients in the 10-30 micrometer range per C and a fluctuation only being within a single degree, one would need a fan actively cooling the board itself to produce those kinds of results. I think the hysteresis board management is drawing power from the heater, motors, or both and causing the issue, not the bed flexing.
@Der_Hannes
@Der_Hannes 3 жыл бұрын
Hi 3D brothers - you can use the prefix "U1" on the PID Tuning command (M303 E-1 C8 S60 U1) on Marlin to keep the values in memory - just save with M500 and you don´t have to send them back to the EEPROM - saves one step :) cheers
@TheNamelessOne12357
@TheNamelessOne12357 3 жыл бұрын
On Marlin you can use "M303 E-1 S60 U " to apply PID values after autotuning and M500 to save it.
@riakata
@riakata 3 жыл бұрын
For AC powered beds you could use a PWM input phase cut triac dimmer heated beds would be almost perfectly resistive so those will work fine.
@jonallitt3075
@jonallitt3075 Жыл бұрын
Sorry for commenting on old video - I was also fighting z banding - printer has 600x600mm aluminium bed and separate 240v non-pid temperature controller. Bed flexes up to 0.1mm when the heater is maintaining temperature. Here's a timelapse vid with a dial gauge between the bed and hotend. Cold start start to 60C shows 0.25mm deflection then regular 0.1mm deflection over 80 second cycles. kzfaq.infop0EZTiuwUBo Need to replace with PID controller.
@Deneteus
@Deneteus 3 жыл бұрын
Your thermistor tolerance could cause issues as well. I don't think people realize that the resistor network that the thermistor is connect to has its own tolerance on top of the tolerance of the thermistor itself. And on top of that you can have an issue where if the resistor is not calibrated with its own tables that it will also affect the readings. Then you have to deal with the delay in reads and the delay in the LCD/message update even if you are looking at it onscreen or via Octoprint. You also have issues with thermistors that aren't accurate under a certain temperature. That is why I wanted a method to calibrate thermistors added to Marlin so you can generate a resistance table specific to the the thermistor you use in your build rather than one from the spec sheet only. I have seen where people created printer profiles and put the wrong bed thermistor under #define TEMP_SENSOR_BED. Especially people replacing their damaged thermistors with ones from Amazon that think they are all the same.
@TrickyNekro
@TrickyNekro 3 жыл бұрын
You could probably use an LC filter to choke that noise, but probably you can´t drive the MOSFET (s) fast enough to keep their size reasonable. From your sample it sounded more like a combination of bang bang and PID, but that´s maybe the tuning. Your system is of course slow, but generally control systems benefit from faster PWMs. Also controlling AC beds with "PWM", or at least by cycle count is all not that difficult, there are certain opto-Triacs that can be used to drive a Triac that do most the job for you as far as ZCD. I am really thinking of designing my own control board, probably based on a geeetech board but have some things done properly. But I do have other priorities for the moment unfortunately. Cheers!
Fixing Z Wobble from 20$ Ball Screws with that simple device
18:27
(HOW) I fixed the Ugly Layers on my 3D Printer
10:50
CNC Kitchen
Рет қаралды 939 М.
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 1,1 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 54 МЛН
My Cheetos🍕PIZZA #cooking #shorts
00:43
BANKII
Рет қаралды 27 МЛН
Идеально повторил? Хотите вторую часть?
00:13
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 18 МЛН
Why aren't more people 3D Printing this Indestructable Filament?
28:03
Brick Layers - Why did no one do this before?
11:18
CNC Kitchen
Рет қаралды 1,3 МЛН
Bi-Metallic Heat Breaks - A (R)Evolution?!
15:26
CNC Kitchen
Рет қаралды 480 М.
Stop Ender 3 Stringing with this One Weird Trick! (ok but seriously)
15:30
Extrusion Width - The magic parameter for strong 3D prints?
14:13
CNC Kitchen
Рет қаралды 1,3 МЛН
Recycling Failed 3D Prints with a DIY Filament Extruder: Artme3D
20:10
CNC Kitchen
Рет қаралды 1,6 МЛН
This should be illegal… Battery Repair Blocking
19:21
Linus Tech Tips
Рет қаралды 4,4 МЛН
I will never talk about Z wobbling ever again !
10:53
MirageC
Рет қаралды 462 М.
HOW FAST is NEXT GEN 3D Printing? 247zero revisited!
15:38
247printing
Рет қаралды 420 М.
Seriously the BEST $2 3D printer upgrade!
15:53
CNC Kitchen
Рет қаралды 2 МЛН
КТО ЛЮБИТ ГРИБЫ?? #shorts
00:24
Паша Осадчий
Рет қаралды 1,1 МЛН