I have a device plugged into the USB port of my car stereo. Occasionally, the device crashes, and I believe it is caused by power fluctuations in the USB port. I want to create a circuit that regulates the voltage between the USB port and the device that it's powering. I need to protect against power surges, and if possible, dips in the voltage. What kind of circuit would I need to create to accomplish this?
https://electronics.stackexchange.com/a/316988/290114
This answer is similar to what I'm looking for, if I use a 7805 regulator. The problem is that it sounds like the 7805 regulator requires a higher input voltage (maybe 7v) than the output voltage (5v) to operate correctly, but the input and output voltage will normally both be 5v. The answer also talks about using a polyswitch to cut off the power, but since I'm trying to keep my device from turning off, this would defeat the purpose.https://electronics.stackexchange.com/a/107346/290114
This answer sounds like it would be more suitable for my application because it suggests using an ADP1613 to regulate the voltage, which does not require a high input voltage. However, it looks like the device would be hard to work with, and I'm concerned that a USB port would not be able to handle the current that this might draw, especially a USB port in a car (although I could be wrong).
Note that there is always data being transferred between the device and the stereo, so it must be plugged into the USB port. This may also further complicate the problem.
Am I on the right track? I'd greatly appreciate any guidance you can provide. Sorry if the question seems elementary... hardware is not really my area.