Voltage Regulator issue, 24V to 12V
-
The issue with the design as you have it is that the hotend circuit switches (via PWM) the low side so the voltage across the BUCK +LED circuit will switch rapidly from 24V to 0V .
If you want to use the 24V already present at the hotend to power the LED (to reduce the wiring?) you need to provide a seperate GND line so it's a constant 24V. At that point you can either use the BUCK or a resistor to drop the voltage/limit the current through the LED.
-
The issue with the design as you have it is that the hotend circuit switches (via PWM) the low side so the voltage across the BUCK +LED circuit will switch rapidly from 24V to 0V .
If you want to use the 24V already present at the hotend to power the LED (to reduce the wiring?) you need to provide a seperate GND line so it's a constant 24V. At that point you can either use the BUCK or a resistor to drop the voltage/limit the current through the LED.
To avoid having to run another ground wire (a PITA if I want to run a wire inside one of the towers) can I use the ground wire from some other component on the effector to ground the buck regulator? So, the 24V positive from the hotend to the buck regulator's VIN, then connect GND on the buck regulator to the hot end fan GND wire? I don't really want to go a pure resistor solution because a.) I'm stubborn and I've started doing it this way and b.) seems like that resistor would have to dissipate a fair bit of power? Might not be too much, I'll find out what the LEDs use…
-
Though now I think about it, why would rapid switching kill the buck regulator? So long as the voltage on the input side stayed within limits (0-36V for this regulator). Do they just not tolerate rapidly changing loads?
-
I am not saying that the BUCK damage was caused by the PWM, just that the combination of a PWM input to a BUCK (which itself is doing PWM) may not work properly with the LEDs.
You can use another ground wire as long as it can ahdle the combined current, but don't use the analog ground for the thermistor(VSSA)
-
Thanks, I'm trying to figure out the forward current for the piddly SMD LEDs on this LED module, so that I can test a resistor solution. Out of curiosity, when a hotend is being brought up to a setpoint temperature would PWM be in use, or would it just be constantly on until approaching a the setpoint then rapidly switching to maintain?
Because the regulator blew within two seconds of starting the hotend heating. Trying to develop my understanding of how this stuff works
-
In the past it the hotend would be fully on until it got close to the temperature and then PWM would kick in based on the PI'd curve.
Dc42 recently added the thermal modelling code which I have not investigated yet (it just worked! :)). I am not sure if this changes the behaviour of the PWM further out from achieving the desired temperature.
-
I soo would not go with a buck regulator on the switched hot end, if it was in bang bang mode..maybe but not PID and PWM regulated, even if it's fast bang bang I wouldn't do it. The only correct way would be to have enough input capacitance as to smooth out the PWM and then you loose the LED flashing. A resistor isn't going to get all that warm especially considering it appears the indicator system already has dropper resistors in place for the 12v system. So really just need to limit the current enough so the 24v looks like 12v. A linear regulator say an 78L12 probably would do the trick better then the buck regulator.
Jeff
-
Thanks, I'm tinkering with resistors now, but note that even <100 Ohm doesn't result in the LEDs lighting. I put a multimeter across the hotend wires and it showed ~-8V, not 24 I suppose this is something to do with the PWM on the hotend.
I'm going to try using a resistor from the hotend 24V supply and using the ground wire for the hotend fan (which I have as not using PWM), see if that works. I have other applications in my printer for the buck regulator, so nothing will be wasted.
-
Thanks, I'm tinkering with resistors now, but note that even <100 Ohm doesn't result in the LEDs lighting. I put a multimeter across the hotend wires and it showed ~-8V, not 24 I suppose this is something to do with the PWM on the hotend.
I'm going to try using a resistor from the hotend 24V supply and using the ground wire for the hotend fan (which I have as not using PWM), see if that works. I have other applications in my printer for the buck regulator, so nothing will be wasted.
Wow, my apologies on being so far out on calculations. It sounds like the bed heating indicator has some good voltage drop already via the resistors onboard. If you did surface mount soldering you could just change those resistors out with higher values making it a 24v unit instead of 12v. You could try a linear regulator as well such as an LM78L12 or LM7812, They will react much better to the PWM.
Jeff
-
Something isn't right. Unless they are VERY high power LEDs or long LED strips, I would expect them to light up using a 100 ohm series resistor and 24V supply. Although the resistor would quickly get hot and perhaps burn out unless it is rated for ~2W or greater power dissipation.
-
Something isn't right. Unless they are VERY high power LEDs or long LED strips, I would expect them to light up using a 100 ohm series resistor and 24V supply. Although the resistor would quickly get hot and perhaps burn out unless it is rated for ~2W or greater power dissipation.
It looks to me like the device is just 3 LED's with some limiting resistors, makes no sense to me either. The PWM unless it's at a really low duty cycle should be easily lighting up the LED's.
Jeff
-
Are you sure the LEDs still work if you connect them to a 12V supply?
-
If you are going to apply pwm to a 12v device running from a 24v to 12v converter then run the converter input positive from the 24v positive eg the hot end heater output or pwm fan output, then the converter input negative to the psu negative. Then send the converter output positive to the 12v device and then ground the device to the 24v negative pin of the connector your using ie hot end heater or pwm fan. This way the converter gets permanent 24v but the output can be pulsed to achieve dimming for leds or temperature regulation.
For leds or multiple 12v fans wire them in series, that's the easiest option.
You need a decent sized converter for a hot end heater 5A capable.
-
Are you sure the LEDs still work if you connect them to a 12V supply?
Yep, checked a couple of times, worked my way down from >8kOhm to 100Ohm, no light, but the LED array worked after, so it's not like a bunch of current got through and cooked it during my tests. I'll try again from high resistance values but using a different ground connection, maybe the hotend fan.
The hotend is working nicely as a hotend, which is the most important thing. The hotend LED array is ultimately just bling, so if things get too hard I'll put it in a box somewhere and use it for a later project.
-
Try connecting it with the series resistor direct to the 24V supply while you experiment with the resistor value. I suggest you start with about 500 ohms.