Flickering lighting LED's when heat bed heats
-
Hi all,
I've hooked up my lighting LED's to the E1 on my duet 2 wifi and control them using a slider on the Duet control. They all work great with loads of help from this forum, unfortunately I've now just noticed that they are flickering when the build plate heats up. Can anyone help? Cheers Jim -
You can try changing the PWM frequency of the bed heater. I had to do that at one point where the bed heater made the room lights flicker.
What firmware version are you using?
https://duet3d.dozuki.com/Wiki/Gcode#Section_M307_Set_or_report_heating_process_parameters
M307 H0 F10
-
@JTBrown said in Flickering lighting LED's when heat bed heats:
Hi all,
I've hooked up my lighting LED's to the E1 on my duet 2 wifi and control them using a slider on the Duet control. They all work great with loads of help from this forum, unfortunately I've now just noticed that they are flickering when the build plate heats up. Can anyone help? Cheers JimIt sounds that the power voltage drops when the bed heater turns on. If the dtop is happening at the PSU terminals, maybe you need a better PSU. But if it is happening in the wires between the Duet and the PSU, then you could use thicker wires, or use an external mosfet to control the bed heater. so that you can use completely separate wires from the PSU.
Increasing the PWM frequency as @Phaedrux suggested should make the flicker invisible. Try between 100 and 500Hz.
-
hi, I'm using version 2.05.01 firmware
-
Do you have any recommendations on a better PSU? I'm using the meanwell GST220A24-R7B power adapter that came with the Ultimaker 2+. Thanks
-
GST220A24-R7B
thats a 220w PSU, MeanWell is generally a solid brand, if not cloned, it might just be under-dimensioned?
not sure how much the ultimatker2+ needs power wise, but if its below 220w then odds are dc42's suggestions will sort you out.
plan b could also be using an adittionalpsu dedicated for the bed instead of replacing it, but you might be constrained on space.
(hmm external power brick, not the easiest to rewire)
-
@Phaedrux Tried what you suggested for the PWM frequency and the PSU started buzzing, is this right?
-
Does the board use more power than the original Ultimaker board because that's all I have changed?
-
@JTBrown said in Flickering lighting LED's when heat bed heats:
Does the board use more power than the original Ultimaker board because that's all I have changed?
could be, but very unlikely on a scale to cause any problem. more likely the original firmware ran at a even higher frequency. the sound is likely to increase with frequency, peak, and be reduced as the frequency increases even more.
-
I've just taken it to 600 and it still buzzes. The flickering stopped though so that's a start. Think I'll just keep the LED's turned off
-
@JTBrown said in Flickering lighting LED's when heat bed heats:
I've just taken it to 600
i'll defer to higher powers for anything to do with black magic and inductors, but unless the psu is failing ultimaker would have had to run at a higher frequency or have had a larger capacitor on the board.
-
@dc42 could you suggest an external mosfet that’d work well with my board or they all pretty much the same? Thanks
-
An external mosfet won't help if the flickering issue is caused by the PSU. It will only help if the issue is the resistance of the wires between the Duet and the PSU.
I suggest you measure the voltage at the PSU terminals, and at the Duet VIN terminals. Do this both with the bed off and with it on continuously (i.e. heating up). If you tell us those 4 values then we can advise on the best way forward.
-
Unable to measure at the Power adapter terminals because it uses a R7B connector but at the VIN terminals it was 24.2 volts with the heater off and 23.83 volts with the heater on continuously. One thing I did notice was that the lighting LEDs flickered and the power adapter buzzed together when the temp reached 50°C. Also, because I had the printer on it's side, I could see that there was a red LED flickering next to the VIN to Bed fuse.
-
Has anyone got an idea as to what is going on please?
-
@JTBrown said in Flickering lighting LED's when heat bed heats:
red LED flickering next to the VIN to Bed fuse
That is the LED showing the bed heater is turning on and off (which is normal with it set to PWM)
The voltage drop you indicated (from 24.2 to 23.8) should not be enough to make the LEDs flicker.
Can you try setting the Bed heater to "Bang Bang" for now and see they flicker as the heater turns on and off ( set B1 in the M307 command for that heater)
-
@JTBrown said in Flickering lighting LED's when heat bed heats:
I've just taken it to 600 and it still buzzes. The flickering stopped though so that's a start. Think I'll just keep the LED's turned off
The buzzing is the PSU responding to the change in load at the PWM frequency. It's probably harmless.
-
@T3P3Tony Thanks that done the trick. Could you explain why? many thanks Jim
-
I suspect the improvement in behavior with increasing PWM frequency has to do with stored energy in the filter capacitors. You may be very close to the limits of your power supply, ad it cannot provide 100% to the bed. At low PWM, you are fully depleting the filter capacitors, and requiring the power supply to ante up a full-power pulse during the 'on' phase. At higher frequency, the filter capacitors are supplying enough energy, and the power supply only sees the average load. It is likely to work much better with a bigger power supply.
-
@mendenmh Hi, thanks for your input, it was the "setting the bed heater to Bang Bang" suggestion that worked. cheers