12V to 5V analog video noise

Hi r/AskElectronics,

I currently have a Raspberry pi 3 connected to the stock LCD screen in my car using it's VGA input. I am using a Gert 666 to generate the correct timings and resolution for the LCD. This all works fine on the bench.

The pixel clock frequency is 9.6 Mhz. More timing info here: https://paste.ubuntu.com/p/6YKJB8QJGP/

The setup looks as follows; Stock car LCD <---- Gert VGA 666 (Red,Green,Blue,Sync) <---- Raspberry Pi <---- LM2596 <--- 12V

The issue that I am having is noise on the LCD from (I think) the cheap china buck converter (https://m.media-amazon.com/images/I/61ywmhFCL-L._AC_SL1000_.jpg). There are scrolling horizontal lines and sometimes the sync seems to get messed up. When powering the Pi from my laptop or another 5V source the issue seems to go away.

This is happening without the car running. With the car running the alternator does seem to generate a tiny bit of noise but I can live with that. The buck does have two caps and a coil but these don't seem to help.

I know that I need some kind of filter to clean the 5V but I don't know how to calculate or design this. Can anybody steer me in the right direction to design a filter to clean the power supply?

Thanks for any help.

Posted Jul 20, 2021, 4:14 PM UTC · edited

22
NewSchoolBoxer•

I speak from CRT and non-Raspberry pi perspective. Scrolling horizontal lines mean the horizontal sync timing is wrong to what the RGB timing is, or outside the resolution's spec value, or LCD doesn't support that resolution, or too jittery and that could be from noise.

I test at 800x600 with 31.5 kHz horizontal sync and 60 fps vertical sync. If monitor doesn't accept then at least I know it's not the resolution's fault.

Yeah, buck converters can be noisy and that LM2596 is not enclosed at all. Capacitors in parallel are the basic go to for reducing ripple voltage but that isn't your design to be messing with without an oscilloscope. Can measure the DC voltage with cheap multimeter and see how stable the 12V is.

My DC voltage source is (probably equally cheaply made from China) "30W Universal Power Supply 3V 4.5V 5V 6V 7.5V 9V 12V Adjustable Variable AC/DC Adapter with 5V 2.1A USB Port".

Powers my Game Boy Pocket, Neo Geo Pocket and PSP no issues and the included inverter is nice for negative polarity things. Use something like that which is enclosed and made for mainstream people who know nothing of electronics.

Edit: If you want the DIY approach, $2.92 R-78E5.0-0.5, $3.69 LM2576T-5.0/NOPB and $4.30 OKI-78SR-5/1.5-W36-C are buck converters I mean to get around to testing. But you have to look at their datasheets and build the recommended circuits properly.

The go to 9-12V to 5V linear voltage regular for decades has been the < $1 7805. Used on the SNES. Would recommend attaching it to a < $1 heatsink. Wastes a lot of power but reliable and quiet.

1
LuukVideoOP•

Thanks for the suggestions. I will build one of those buckconverter circuits and see if this works better than the cheap buck I have right now.

1