Results 1 to 6 of 6

Thread: power supply smoothing on the cheap

  1. #1
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,007

    power supply smoothing on the cheap

    I have a car pc based on a raspberry pi, runs on 5v @1a loaded

    I built it around a small switch mode power supply that I poached from a dead gps, rated at 2 amps, its very efficient, low heat, and very clean output on the scope. similar to a cheap cellphone charger.

    unfortunately it doesn't survive cranking sometimes. it produces output around 5v but the waveform is madly unstable and the car pc locks up

    what would you do with minimal funds? this is for a low budget project that I want to be reproducable..

    - build a linear mode supply instead? (don't want to due to heat/inefficient)
    - try to put a shitload of caps on input? output? both? how big of caps?
    - give up and buy a fancier switch mode supply that'll take a beating?

  2. #2
    Super Moderator dave w's Avatar
    Join Date
    Feb 2011
    Posts
    6,268
    Quote Originally Posted by steveo View Post
    I have a car pc based on a raspberry pi, runs on 5v @1a loaded

    I built it around a small switch mode power supply that I poached from a dead gps, rated at 2 amps, its very efficient, low heat, and very clean output on the scope. similar to a cheap cellphone charger.

    unfortunately it doesn't survive cranking sometimes. it produces output around 5v but the waveform is madly unstable and the car pc locks up

    what would you do with minimal funds? this is for a low budget project that I want to be reproducable..

    - build a linear mode supply instead? (don't want to due to heat/inefficient)
    - try to put a shitload of caps on input? output? both? how big of caps?
    - give up and buy a fancier switch mode supply that'll take a beating?
    I would regulate the input power with a LM317 ... see attached

    The input filters caps could be a higher voltage rating to better suppress spikes.

    dave w
    Attached Files Attached Files

  3. #3
    Super Moderator Six_Shooter's Avatar
    Join Date
    Feb 2011
    Posts
    2,968
    Quote Originally Posted by dave w View Post
    I would regulate the input power with a LM317 ... see attached

    The input filters caps could be a higher voltage rating to better suppress spikes.

    dave w
    That's what he wants to avoid. Besides If I were to go that route, I'd use a 7805, even though the rating would be pushing it a little bit, a higher capable transistor could be used to increase the current capability, while using the 7805 to control it.

    Could you grab some video/screen shots of what happens before, during and after cranking to see the problem?

    My first thought as an easy fix, is to increase the value of the capacitors at the input to help with the cranking transition. You can also use some diodes between the car's 12 feed and the caps to keep them from being drained while cranking, sustaining the storage in the caps, and helping the SMPS to get through the cranking. Off the top of my head a pair of 1N4007s (well pretty much any 1N4001 to 4007) in paralel on the input should work. The .6 volt drop from the diode really isn't a concern here, because you're cutting 12V down to 5V anyway.

    Otherwise a different SMPS might be needed.
    The man who says something is impossible, is usually interrupted by the man doing it.

  4. #4
    Super Moderator
    Join Date
    Mar 2011
    Location
    Camden, MI
    Age
    35
    Posts
    3,026
    diodes/caps on the input would work well to keep a somewhat more consistent supply and is the first step i would attempt if a linear supply is out of the question. i don't know how much capacitance could be added to the output before weird things start happening(like any overcurrent protection, if present, kicks in and shuts everything down). the pair of 1N400x in parallel Chris mentioned would handle the 2 amps the power supply can handle. they'll dissipate a combined 1.4 watts or so at 2 amps(assuming i'm thinking about this correctly), so not that much heat/loss.

    how much capacitance is needed? no idea. 470uF/25V caps are cheap/easy to find, i'd start stacking them in parallel and add more as necessary. you could probably get away with 16V units, but the price/size difference is pretty minimal.
    1995 Chevrolet Monte Carlo LS 3100 + 4T60E


  5. #5
    Super Moderator Six_Shooter's Avatar
    Join Date
    Feb 2011
    Posts
    2,968
    It's generally accepted that the WV (Working Voltage) rating of a capactitor should be double the expected voltage in the circuit, or more. The 25V is actually a little under that rating, but is usually more than enough in practice. I have seen problems arise with 16V caps used in some automotive electronics when used on the 12V rails. When they are used on 5V rails it is not an issue.
    The man who says something is impossible, is usually interrupted by the man doing it.

  6. #6
    LT1 specialist steveo's Avatar
    Join Date
    Aug 2013
    Posts
    4,007
    thanks for the tips guys, i'll give it a shot.. i guess you're right, just throw caps at it until it's good to go, and i never thought of more diodes. that's a good idea. the ones on the input of the supply itself right now are pretty wimpy lookin'.

    i wouldn't say a linear supply is out of the question entirely, but my first attempt at a primitive homemade one resulted in enough draw where i might drain my battery overnight.

    that's the thing, i dont power it down often. with the switch mode supply, when the processor and wireless adaptor are idle, takes so little input power that i can leave it on for days.

    you want pictures? i dont think my tube scope would photograph well, or handle the rain;

    so here's some windows paint pseudo...cillosc...whatever of my observations from memory.

    kinda looks like the switchmode supply has some kind of input undervoltage protection to prevent an idle device draining your battery, and it's just doing a piss poor job of actually... switching off.
    Attached Images Attached Images

Similar Threads

  1. Replies: 21
    Last Post: 03-12-2014, 05:20 AM
  2. Power coming out of my ECM grounds???
    By EagleMark in forum GM EFI Systems
    Replies: 8
    Last Post: 01-03-2014, 04:18 AM
  3. drive address & data bus with power off? C3 ecm
    By johnand1 in forum GM EFI Systems
    Replies: 1
    Last Post: 06-16-2013, 02:16 AM
  4. Swapped heads cam exhaust - how much power
    By pima.1971 in forum GM EFI Systems
    Replies: 31
    Last Post: 06-02-2012, 10:42 PM
  5. Taking advantage of Power Steering sensor in ECM?
    By EagleMark in forum GM EFI Systems
    Replies: 8
    Last Post: 07-30-2011, 08:52 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •