Resume from power outage, really only with 24V?
-
@dc42 said in Resume from power outage, really only with 24V?:
If the capacitor is connected directly to the PSU, then the slow-start behaviour of the PSU will generally limit the inrush current to a reasonable value.
it depends heavily on the PSU, bunch of high quality PSU's will not output anything till 12V is stable and pulling 240A from them will trigger overcurrent immediately.
the low quality ones will rise the output voltage from the 0 so the caps on the output will only slow down the time it takes to reach full 12V so no res would be necesary
-
@arhi said in Resume from power outage, really only with 24V?:
@the_dragonlord said in Resume from power outage, really only with 24V?:
so 10 capacitor in parallel with 1 Ohm 50W like in your schematic and I will be fine, right?
yes, even 20 or 30 will be ok, the 1R might be too much for 10 caps, you might want to put 2x1R in parallel to get 0.5R to allow for bit faster charging (and later discharging)
well, it depend how much the resistors are... in my opinion shouldn't be better to make the capacitors to discharge as slowest it's possible to give the board the needed time to save the position and raise a little the Z?
-
@arhi said in Resume from power outage, really only with 24V?:
@the_dragonlord said in Resume from power outage, really only with 24V?:
so 10 capacitor in parallel with 1 Ohm 50W like in your schematic and I will be fine, right?
yes, even 20 or 30 will be ok, the 1R might be too much for 10 caps, you might want to put 2x1R in parallel to get 0.5R to allow for bit faster charging (and later discharging)
with 1R you mean 1 Ohm, right?
-
@the_dragonlord said in Resume from power outage, really only with 24V?:
@arhi said in Resume from power outage, really only with 24V?:
@the_dragonlord said in Resume from power outage, really only with 24V?:
so 10 capacitor in parallel with 1 Ohm 50W like in your schematic and I will be fine, right?
yes, even 20 or 30 will be ok, the 1R might be too much for 10 caps, you might want to put 2x1R in parallel to get 0.5R to allow for bit faster charging (and later discharging)
well, it depend how much they are...
0.5-5$ depends on availability, quantity..
https://www.digikey.com/en/products/detail/ohmite/TWW20J1R0E/11689204...
in my opinion shouldn't be better to make the capacitors to discharge as slowest it's possible to give the board the needed time to save the position and raise a little the Z?
no as if they cannot deliver enough current voltage will drop before you use up the energy from the caps and duet will shutdown sooner than you would like ... you need to allow duet to pull as much current from them as it needs, ideally you only limit inrush current, that's while slow start circuit is best option
-
@the_dragonlord said in Resume from power outage, really only with 24V?:
with 1R you mean 1 Ohm, right?
yes.
btw, depending on the quality of the PSU, it might work without any res, so try first (no need to connect duet, just connect those caps in parallel on the output of the psu), if the psu shuts down you need res, if it works ok you don't need it
-
@arhi said in Resume from power outage, really only with 24V?:
@the_dragonlord said in Resume from power outage, really only with 24V?:
with 1R you mean 1 Ohm, right?
yes.
btw, depending on the quality of the PSU, it might work without any res, so try first (no need to connect duet, just connect those caps in parallel on the output of the psu), if the psu shuts down you need res, if it works ok you don't need it
well if it only shut down it will be ok, i didn't want to burn it
-
@the_dragonlord said in Resume from power outage, really only with 24V?:
well if it only shut down it will be ok, i didn't want to burn it
any half decent PSU will have overcurrent protection .. IMHO if it burns from adding 10x1000uF on the output you should not have bin using it in the first place ... anyhow you can minimize the chances of a death by
- power with only 1, poweroff
- power with 2 in parallel, poweroff
... - power with all 10 in parallel, power off
-
@arhi said in Resume from power outage, really only with 24V?:
@the_dragonlord said in Resume from power outage, really only with 24V?:
well if it only shut down it will be ok, i didn't want to burn it
any half decent PSU will have overcurrent protection .. IMHO if it burns from adding 10x1000uF on the output you should not have bin using it in the first place ... anyhow you can minimize the chances of a death by
- power with only 1, poweroff
- power with 2 in parallel, poweroff
... - power with all 10 in parallel, power off
ook, the ATX power supply I own should be mire than decent (I hope)... I realized I have some old power supplies, I see if I found some "big beast" capacitor...
-
@the_dragonlord then it has overcurrent protection so no worries there
as for the caps you can find in, there are two rather big ones on the input .. worse the psu bigger those caps are (high end psu's have rather small ones as they have active input opposed to gretz+cap on the crappy ones) ... but those are 400V caps (200V in really crappy ones), 100-500uF capacity .. so they can hold lot of energy but are not usable for your case. on the output you should have few 1000-3300uF 16V ones that you can use.... look at the input of these psu's immediately after the fuse there's a "disk" part that's a PTC... that might be used but dunno what the actual properties here are as these are meant to run lower amps and more voltage so..
-
@arhi said in Resume from power outage, really only with 24V?:
@the_dragonlord then it has overcurrent protection so no worries there
as for the caps you can find in, there are two rather big ones on the input .. worse the psu bigger those caps are (high end psu's have rather small ones as they have active input opposed to gretz+cap on the crappy ones) ... but those are 400V caps (200V in really crappy ones), 100-500uF capacity .. so they can hold lot of energy but are not usable for your case. on the output you should have few 1000-3300uF 16V ones that you can use.... look at the input of these psu's immediately after the fuse there's a "disk" part that's a PTC... that might be used but dunno what the actual properties here are as these are meant to run lower amps and more voltage so..
ok, I'll check the psu later... last question : increasing the total capacity what's the benefit in terms of "energy" and time given to the board? I mean how much better for my purposes is a 10.000uF related to a 1.000uF and a 22.000uF related to a 10.000uF and so on?
-
@the_dragonlord the capacitors are there to behave as reserves of power. more capacitance you have more power you will store, so like a battery. when your PS stops providing power the duet will use the power from the caps till it drains them. Energy stored is around 70 milli joules on 1000uF at 12V (you can find online calculators to calculate exact value if you like)..
so for e.g. if you have 22000uF 12V - that is total storage of 1.58 J but you need to configure duet to react only below 12V so let's say 10.5V so only when the Vin is 10.5V the duet will start storing the data. At 10.5V you now have in reserve 1.2J but I assume 5V regulator required to work so that mcu and sd and everything else continue to work needs at least 6.5V on the input so you have only from 10.5V to 6.5V so you actually have only 0.7J in reserve that duet board can use. Now, depending on how much current duet board uses it will give you some time of operation. If I assume ideal situation where at 10.5V RRF will disable all drivers so the only load will be the 5V and 3v3 regulator, mcu, sd card, so let's say they should be ok with some 200mA (I'm guessing here, have no idea), you are left with approx 0.44seconds of operation. I assume RRF can store all required data to SD card in .44seconds. If the load is less than 200mA there will be more time, if the load is more than 200mA it will, of course, be less time .. but you get the idea
-
now I really don't know what the duet's limits here are, as the input for the duet is marked "12 to 24V", how much below 12V it will operate ok, with 24V if you mark the autosave to start at 22V you have 10V drop till 12V where everything still works... with 12V you are already at low side on the supported voltage... @dc42 can give you more info here, I did not studdy the power side of the schematic enough to be able to give real figures but I guess my figures in prev post are close
-
relevant formulas are
C = Q * V
2 * E = C * V * V
Q = I * tQ = charge in Columbus
C = capacitance in Farrads
V = voltage in Volts
I = current in Amperes
t = time in seconds
E = energy in Joulesalso you have
"usable energy" = "potential difference" * "charge"so in your case Eusable = (10.5V - 6.5V) * Q
-
@arhi said in Resume from power outage, really only with 24V?:
relevant formulas are
C = Q * V
2 * E = C * V * V
Q = I * tQ = charge in Columbus
C = capacitance in Farrads
V = voltage in Volts
I = current in Amperes
t = time in seconds
E = energy in Joulesalso you have
"usable energy" = "potential difference" * "charge"so in your case Eusable = (10.5V - 6.5V) * Q
thank you soooooo much!
-
you are welcome, you might double-check them, I exited university more than 25 years ago and it's not something I use every day but I think my memory is still good enough
-
@arhi said in Resume from power outage, really only with 24V?:
you are welcome, you might double-check them, I exited university more than 25 years ago and it's not something I use every day but I think my memory is still good enough
You've been great, thanks! A friend of mine will give me a 22000ยตF 50V capacitor to try, so I have to buy only the two resistors! The 10.000uF will be used someday for something else....
-
@the_dragonlord said in Resume from power outage, really only with 24V?:
22000ยตF 50V
that one most probably have high ESR so no resistors needed
-
I have not thought too deeply about this but -- if there is concern about the initial current surge .... what about something like this -- using an AC SSR ?
The resistor can be chosen to limit the wattage and slowly charge the capacitor. If VIN drops the AC SSR should latch up and remain latched until the capacitors are exhausted.
Of course a diode could be placed in series with the resistor to prevent drain but at the expense of a slightly lower available voltage on the capacitors.
Just an idle thought .... Unlike @arhi -- it's been almost 40 yrs (an NO! not valves)
-
@stuartofmt said in Resume from power outage, really only with 24V?:
I have not thought too deeply about this but -- if there is concern about the initial current surge .... what about something like this -- using an AC SSR ?
The resistor can be chosen to limit the wattage and slowly charge the capacitor. If VIN drops the AC SSR should latch up and remain latched until the capacitors are exhausted.
Of course a diode could be placed in series with the resistor to prevent drain but at the expense of a slightly lower available voltage on the capacitors.
Just an idle thought .... Unlike @arhi -- it's been almost 40 yrs (an NO! not valves)
i understand but it's a little too complicated for what's my purpose... I haven't got an ssr and neither electronic components... i'll try with the 22.000 and with 2 1 ohm in parallel each other and in series with the capacitor as you suggested me.... thanks a lot for every precious suggestion!
-
@the_dragonlord - I perfectly understand
@arhi - You are obviously much more recently "in tune" with art. What do you thing of the suggestion above? I've not fully thought it through (timimg / race conditions etc) but on the surface it seems like a reasonable way to have a low power (and high R) resistor for initial charging and minimal resistance (max power handling) during the discharge cycle.