Hi,
> i probably wont turn off the devices much either, i just wanna make sure nothing bad can happen
Commercial Power supplies are designed to accept infinite time shorted outputs and not fail.
> if i leave the device connected and the supercapacitors are depleted (from internal leakage after 1-2weeks
> turned off for example) will something happen? my guess is that the device just cant turn on reliably since
> the supercapacitor sucks all the current up
I just had the case after going north for a week, my desktop system was unplugged.
When I came back I plugged it in, of course, the DAC was running on USB Power from the Laptop via the Hub and headphone amp was not turning on.
I went, did something else for a few minutes, when I came back everything was fine.
> 2. i read that LDO`s (in my case probably the LT3045) dont like voltage applied
> to their output if they are not powered on, if i disconnect the power supply from
> mains and the super capacitors are still charged, is this safe?
> 2.1 or will the supercapactior discharge through the LDO?
This is a little more complex. If the input to the LDO is a short and the output has voltage, the fact that most positive LDO's have PMOS Pass devices means the PMOS Body diode will conduct. If there is a lot of energy on the output side and a short on the input, problems can materialise.
Using devices with bipolar pass devices is safe. I would have no qualms driving a super capacitor bank from a noisy and indestructible 7805, for the reasons outlined in the other posts. Just make sure you have a little series resistance either as parasitics from cables or as explicit resistor.
Or if I want to guild the lilly and impress the peons I might use my sub microvolt regulator made from LM317, NJM5534, LM329 & LM334... Not that it is strictly neccesary.
> 3. is there a easy way (with a led) to show if the supercapacitors are fully charged?
> so i know when i can "safely" turn on the pi
Yes, you can make a Voltage monitor from a TL431 device, schematics are in the datasheet.
> 4. i read that ian canadas supercapacitors modules are beneficial for SQ, even if they just power the RPI itself,
It is entirely possible, though it may seem far fetched to some. I have not tested this.
In my living room system everything is pretty tweak free, MI Box 4K running Kodi as source Topping D10S as DAC (I need to get around to swapping the output Op-Amp to my favourite LM6172) and a stock Breeze HiFI TPA3255 Amp (I need to swap out the fake 5532 in there for the OPA2604 and LM6172 I ordered recently) driving custom speakers.
I might want to add a supercapacitor buffered external DC to the Topping DAC as well and a supercap block to the PSU for the Mi Box.
> i have a project ongoing where i modify a CM4 carrier board
> now i wanna add supercapacitors to the 5V input of the Pi and maybe to the other voltage rails
> (there is the 3,3V GPIO voltage rail, 3,3V for the clocks (but i will probably use the same 3,3V rail for both)
> and 3,3V and 1,05V for the VLI805 usb hub)
Suggestion. Use Supercapacitors on the 5V input only. Also add a few Panasonic Os-Con on 5V.
Then use Panasonic Os-Con on all the power lines, as large values as you can fit/find/afford.
The best way to explain...
Supercapacitors are fairly "slow", so they work best for fairly low frequencies Audio Band mainly and even there more the lower portion. Think about changes that are counted in milliseconds.
Normal electrolytics are a little faster "faster", they are usually effective to around 100kHz, higher than that their electrochemical nature means they become progressively more non-ideal.
Solid electrolytics tend to have lower ESR compared to electrolytic and supercapacitors, the Panasonic Os-Con range are still the yardstick for those.
With Os-Con's they remain effective to well above a few 100kHz and loose efficiency only going on 1MHz. Similar high frequency performance with higher ESR is available from Tantalum Capacitors in a very small package.
Finally ceramic capacitors are mainly effective at higher frequencies, this depends upon the relative size.
You can see what I use in this picture:
The yellow capacitor ia 100uF/10V Tantalum with around 0.1 Ohm ESR.
The brown capacitors are 10uF/25V X7R with around 10mOhm ESR.
Here a drawn out schematic with all the relevant expected data stated of the whole power supply including the 10F Supercapacitor Bank.
The key points is that the system can deliver 11A for 0.15 seconds (with the output voltage dropping from 5V to 4.7V) and 2A for 3 seconds despite using a 1A power source (LM7805 etc) and expected noise on the output is around 5uV for 10Hz-100kHz bandwidth (the 1uV ripple effectively disappears).
All of this from a compact linear PSU that is cheap to buy e-bay for around 30 USD with the addition of around 30 USD worth of Supercapacitors and a few small components for maybe another dollar. I consider this to be very quick, easy and effective DIY.
Don't worry excessively about switching regulators in digital applications. Modern ones are very good. They typically switch at > 1MHz and are as low noise otherwise as many LDO's. If necessary (scope on PSU line) add extra SMD Ceramic capacitors in parallel to the existing ones mainly on the output to reduce the noise at the switching frequency.
> 4.1(maybe one questions offtopic: can i leave both usb hub regulators without them having a effect on the remaining system?
> (3,3V is linear and 1,05V switching, im not sure if switching noise goes "upstream" too)
Correctly designed, switching noise should be contained. Is the RPI "correctly designed"? I would leave the switching regulator, look at the local decoupling (and perhaps add more capacitors) and separate out the feed to the Hub Chip (cut the trace) and add an LC Filter. This usually needs a large value electrolytic capacitor on both sides to avoid turn on ringing.
> the RPI Case will have 3 inputs:
> 1. USB Device power (through the modded cables) where i probably will just use a cheapo smps power supply, since its not for dac use
If you have a hub on the RPI PCB, use this Hub and simply separate out the Hub Power and use this also to power the other devices.
Find a quiet SMPS and it will not harm to add an LC filter (say 33uH + 3 x 1000uF/6.3V Os-Con) to the input. This will cut off noise above ~500Hz with a second order slope and will have over 10,000 times (80dB) noise reduction at the typical 65kHz switching frequency many small to medium power switchers use.
FWIW, the iFi SMPS is based on generic switchers, but they use a CLCLC output filter with substantial inductance and capacitance and even an inductor in ground line.
DC feedback is taken from the output after all filtering, while two more feedback loops for AC start at the first capacitor. Finally there is a linear, analogue noise cancellation circuit that drops the overall noise to that of a NJM5534, which is the core part of the active noise cancellation. Result, a SMPS with an output performance (seen as "back box") that matches or exceeds that of linear supplies.
Most critical with the SMPS (and Linear PSU'd as well) is however leakage capacitance. The iFi power supplies use a very special and "non standard" winding for the SMPS transformer (immodestly I will claim this for me), which allows the SMPS to meet EMC regulations without any so-called "Y-Cap". From an overabundance of caution a 100pF capacitor is fitted (standard designs use 2,200pF). It would be better without, but it is commercial product that must pass agency tests under all conditions.
So key for all power supplies is leakage capacitance from mains to output.
All other problems like audio band or switching noise can be solved externally easily and cheaply if they become material, but this coupling capacitance usually cannot be changed.
> 3. clean 3,3V (probably from the battery power supply from ian canada) to power ians TransportPi Digi
I had a "Battery Power ueber alles" phase in the 90's. I got over it.
+/-48V 20AH Battery Pack for the Amp, +/-12V Analog plus 12V for digital and another 12V for MCU, Motors etc. for the CD Player. +/- 12V for Phono.
> prefereably i add supercapacitors to all rails
I would not suggest that. on the actual power supply rails inside equipment supercapacitors mostly make sense for Amplifiers.
CPU Cores invariably are supplied from switching regulators. These have some behaviours that are interesting. It means that you want to have super capacitors on the main DC Bus for a device or for the Amplification only. Everywhere else, for digital solid electrolyte capacitors like Panasonic (formerly Sanyo) Os-Con by all means ridiculously oversized are a better choice.
> i know this is probably all overkill and i may regret spend "so much" money on this project
Then look at ways to get the effect without spending that much.
> i actually also tried this cheapo chinese supercapacitor device already:
https://de.aliexpress.com/item/1005004825653850.html
> and heared a noticably improvement powering my stock RPI4 with it (combined with the Ifi ipower X 5V)
Yes, the iFi PSU is a little marginal for the RPI, adding 10F will help for peak draw.
With an SMPS, it acts kind of like a gearbox. It will keep the output constant but increase input current draw. Worse, as the input voltage drops because the loading becomes high, where linear supplies will keep current constant, the SMPS will increase the current drawn. This can create an "avalanche" type behaviour.
Here a Supercapacitor Bank will show the greatest improvement.
For example, in a portable product I am working on, running Class D Amplifiers via a step-up switcher from a 3.7V Lithium battery, simply adding a few supercapacitors to the DC bus feeding the step-up switcher allowed much higher peak power with music (it did not effect long-term sine wave power) but the result is the product can play much louder acoustically (measured) and produces much higher power using an AES2-2012 test signal, which is made to resemble music.
Thor