RGB to Component Converter - Page 1
Forum section: electronics / projects

author: paul_g_787
author_rank: Frequent Contributor
timestamp: October 17, 2021, 05:15:26 pm
content: I have decided to re-visit this project now.To summarise:I have a new TV that has only one analogue input; component video input. (YPbPr / YCbCr).I have all my old retro consoles hooked up via an Extron MVX84VGA-A video switcher. I have made custom Component cables for each console and one for connecting the output to the TV. This is working great! However some consoles only have SCART output (RGBS). I can no longer use these devices so I would like to build a passive converter. (see schematic I found online).I attempted this before with minimal success. I got a picture in colour but it was very noisy, due to using the TL072 as an op-amp.This is the old thread:https://www.eevblog.com/forum/projects/rgb-to-component-(ypbpr-ycbcr)-video/The two main issues I have encountered in this project are the cost of the LM6172 and also the power supply.I would also like to, adapt the circuit so I can switch the converter on/off so that I can put it in-between my Extron input selector and TV. That way when I want to use a device that already has Component output I can bypass the converter in this unit.The first think I want to tackle is the power supply.Could anyone shed some light on the workings of power supply shown in the schematic?I tried using a USB power supply feeding a LMC7660, however the 7660 could not handle the current used so the output voltage would just drop to around -2V.So what would be a good alternate solution? Perhaps a linear AC supply with a 7805 and 7905?

author: Benta
author_rank: Super Contributor
timestamp: October 17, 2021, 07:23:48 pm
content: 1: what's your supply voltage (options)?2: are you certain that your devices only output RGBS or could it be RGBY?

author: paul_g_787
author_rank: Frequent Contributor
timestamp: October 17, 2021, 07:27:20 pm
content: I need +5v/-5V split rail for the supply voltage.Yes they are RGBS:The Extron only supports clean sync, so the cables for the RGB consoles have a LM1881N in the cable to strip the sync from the composite video.

author: Benta
author_rank: Super Contributor
timestamp: October 17, 2021, 07:33:23 pm
content: Quote from: paul_g_787 on October 17, 2021, 07:27:20 pmMy question was: what's yoursupply(=INPUT) voltage? What's available to produce +/-5 V?

author: paul_g_787
author_rank: Frequent Contributor
timestamp: October 17, 2021, 07:37:12 pm
content: Oh I see. HeheI have two options.I could power the device from USB. So +5VDC.Or I could power it from the 240V AC mains, which I would perhaps prefer.

author: Benta
author_rank: Super Contributor
timestamp: October 17, 2021, 08:10:02 pm
content: I'm having problems with your problem description here.SCART doesnothave a sync output anywhere. It's always embedded in the CVBS output. When you say "RGBS", do you mean that the CVBS output from your old consoles only contain sync information and no video?Concerning the power supply: check out LM2663 from TI/National.

author: paul_g_787
author_rank: Frequent Contributor
timestamp: October 17, 2021, 08:33:26 pm
content: Quote from: Benta on October 17, 2021, 08:10:02 pmSome have RGBS e.g. the Sega Megadrive.Some have RGB with Composite Video e.g. PlayStation.This is an issue because the Extron requires a clean sync signal and won't work with composite video.To rectify this, the consoles with composite video signal go via a LM1881N in the cable to remove the video signals, leaving just the sync signal.So all my devices are therefore RGBS into the Extron.The output of the Extron is also RGBS.On my old TV I just had a VGA to SCART cable fron the Extron unit with the sync signal on pin 20 (composite video in).

author: Benta
author_rank: Super Contributor
timestamp: October 17, 2021, 09:05:57 pm
content: OK, I have a clearer picture now. You have RGB.Plus CVBS, which is sometimes only sync, and sometimes really CVBS. So only the sync part is generally useful.Using the LM1881 to extract clean sync is probably the best solution; I like the part myself, and it's much better than the data sheet suggests.Concerning power supply and consumption:you have to think about three opamps having to drive 1.4 VPEAKinto 150 ohms each.This takes some current.At "all-white" it's ~30 mA just for the outputs. Plus supply current for the parts etc. Reckon on 50...80 mA all in all. The LM2663 is not the worst choice here.Cheers.

author: paul_g_787
author_rank: Frequent Contributor
timestamp: October 18, 2021, 03:33:54 pm
content: Just had a look at the LM2663 and it looks like it will do the job.The LMC7660 i tried did not work well but the lM2663 can supply 200mA! It should be more than enough. I have ordered a few to play with.Now if I am using the LM2663, I would like to power this device from a USB socket.Should I use some kind of regulator e.g. a 5V Zener diode on the USB input?And what do i do with the data pins of the USB port? Do I just leave them floating?

author: Benta
author_rank: Super Contributor
timestamp: October 18, 2021, 03:55:21 pm
content: You can place transient protection ot the input if you like, it depends on how harsh your environment is (probably not necessary for video).Just leave the data lines open, or even better terminate them correctly.

author: paul_g_787
author_rank: Frequent Contributor
timestamp: October 18, 2021, 04:41:45 pm
content: Quote from: Benta on October 18, 2021, 03:55:21 pmI think it would be wise to have some kind of protection. What is the standard practice?What would be the correct way to terminate the unused USB data lines?And would I need any kind of filtering between the USB connector shield and GND?

author: Benta
author_rank: Super Contributor
timestamp: October 18, 2021, 06:20:50 pm
content: A Transzorb/TVS, I'd suggest 5.6 V. A simple Zener could also do it.Here's a selection:https://www.vishay.com/diodes/protection-tvs-esd/trans-zorb/For USB termination: hey, you need to do a bit of research yourself.

author: Terry Bites
author_rank: Super Contributor
timestamp: October 18, 2021, 10:25:05 pm
content: A linear supply is a good idea in AV, not that switchers are no good, its just a potential problem you can eliminate off the bat.TI's THS7315 is great vfm compared to the LM6172, about twice the price of a single genuine 072. Rohm used to make a dedicated IC BA7230LS. Like so many analog video ICs its gone to meet its maker. I believe that there are still some MC1377s still in the aether. Comodore fan boys can help.The TL072 would be problematic The frequncy/ phase response of the opamp is the obvious culprit. I'm not too sure its happy driving a low imopedance load. the video bandwith at SD it 12MHz. At unity gain this opamp is out of its depth.I spent a small fortune on racks of analog matrix switches just before HDMI appeared. It made a grown man cry. Still, not my own cash!

author: Terry Bites
author_rank: Super Contributor
timestamp: October 19, 2021, 01:43:40 pm
content: Curiosity got the better of me see page 14 ofhttps://www.analog.com/media/en/technical-documentation/data-sheets/65501fa.pdfLife made easy and it runs happily on +-3V3. You can make it single supply but you'll be bogged down in coupling caps and the evils of sag.The LM1981 is your dream sync detector, it works with all analog video formats including 1080p/s. A CD4541 timer can be contunually reset by H or V sync when sync lost, it starts counting down to turn-off.

author: Benta
author_rank: Super Contributor
timestamp: October 19, 2021, 05:06:10 pm
content: Quote from: Terry Bites on October 19, 2021, 01:43:40 pmThe pricing of LT6550 is not exactly a bargain compared to LM6172.And the LMH1981 is not exactly cheap either ($6 at 1k units).

author: Terry Bites
author_rank: Super Contributor
timestamp: October 20, 2021, 02:59:55 am
content: Dont forget the LM6172 is just a single naked opamp. The LT6550 is three channel device with internal precsion gain set resistors. Its the same price or less than three LM6172s, but with handy features in a single package.Yes the sync seperator costs about 5x the 1881, even if its not right for you purpose its worth knowing about your options. Also MAX have an SOT-5 Loss of sync device which may be of interest. The MAX7461 simply tells you your video link has been cut by a gaggle of ninjas.Many of us take inspration from devcies we havent come across before and sometimes dont use them as intended thereby broadening the art.

author: EPAIII
author_rank: Super Contributor
timestamp: October 20, 2021, 07:13:18 am
content: Perhaps you just want to have fun building this, but it sounds like you are going to an awful lot of trouble for something that can be purchased for a few dollars (or whatever currency).You are talking about an analog component converter: from one set of analog components to another set of analog components. These converters use simple, weighted summations of one set of components to arrive at the other. Active devices (op amps) are usually used to prevent cross talk between the input components and bring the output levels back up after passing through the summing resistors. Even if the one you buy does not do the exact conversion you want, that can be changed, probably with some simple resistor substitutions.https://www.ebay.com/sch/i.html?_nkw=Rgb%20To%20Yuv%20Converter&norover=1&mkevt=1&mkrid=711-156598-679417-4&mkcid=2&keyword=rgb%20to%20yuv%20converter&crlp=435060840618_&MT_ID=585586&geo_id=10232&rlsatarget=kwd-298710865903&adpos=&device=c&mktype=&loc=9027887&poi=&abcId=1141816&cmpgn=6540152590&sitelnk=&adgroupid=80070761658&network=g&matchtype=b&gclid=CjwKCAjw2bmLBhBREiwAZ6ugo9vE1xUQ3QorWOg_uRefa2feYKdzKbwj2nADjCkVd3E0Ys9Va-QVvRoCA1MQAvD_BwEhttps://www.amazon.com/s?k=rgb+converter&gclid=CjwKCAjw2bmLBhBREiwAZ6ugo-QPBrWd1IR4aFN5AV4zaNgNksKpJsNTEtay9PJYmXF9ooaw1ib0sBoCyQIQAvD_BwE&hvadid=409943030568&hvdev=c&hvlocphy=9027887&hvnetw=g&hvqmt=b&hvrand=2798272253927533571&hvtargid=kwd-29274101&hydadcr=24662_11410881&tag=googhydr-20&ref=pd_sl_747r4bo8j9_bhttps://www.walmart.com/c/kp/rgb-converterhttps://www.ebay.com/itm/273178172012https://www.arcadexpress.com/en/video-converters/615-convertidor-de-video-rgbs-scart-a-ycbcr-ypbpr-.htmlThere are many, many more internet hits. Just search.

author: Benta
author_rank: Super Contributor
timestamp: October 20, 2021, 09:46:20 am
content: The LM6172 is a dual.

author: Terry Bites
author_rank: Super Contributor
timestamp: October 23, 2021, 01:18:54 pm
content: Have readhttps://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&ved=2ahUKEwih0r7VzuDzAhUyDWMBHajZCrkQFnoECAQQAQ&url=https%3A%2F%2Fwww.analog.com%2Fmedia%2Fen%2Ftechnical-documentation%2Fapplication-notes%2Fan57fa.pdf&usg=AOvVaw2VLrwhUOxOeViL4-ZIaXv0Loads of handy video circuits.

author: paul_g_787
author_rank: Frequent Contributor
timestamp: October 25, 2021, 05:04:43 pm
content: Quote from: EPAIII on October 20, 2021, 07:13:18 amI have tried a handful of these devices from Amazon/eBay. There are three problems I have faced.1. The device says "SCART" to component. I have yet to find one that actually uses the RGB signals and not just the Composite video signal. They work, but with the worst picture possible! And are not compatible with all my devices.2. The two that I found that do actually have true RGB input (which cost me £30 and £19 a piece!!) are marketed as an "active" converter. It processes the image digitally and causes a delay of between 50-100ms in my testing. This is OK for video e.g. a DVD player but not acceptable for gaming, especially fast-paced shooters etc...3. None of them I purchased supported 240p which is common on games consoles such as the PS1 and others.Now, my TV on the component (YCbCr) input only produces a delay of around 2-6ms which is perfectly acceptable and useable for gaming!My TV also supports 240p, 240i, 480p, 480i, 576p, 576i, 720p, 720i and 1080i via the component input so therefore supports all the resolutions needed.With this in mind the only difference between the RGB signals and the supported component signal of my TV is the colour mixing which is what this circuit is doing, but passively without the digital processing.

author: paul_g_787
author_rank: Frequent Contributor
timestamp: November 09, 2021, 11:46:54 am
content: Quote from: Terry Bites on October 18, 2021, 10:25:05 pmInteresting you say this as I actually have some 316 ICs left over from making my original gen XBOX component cable (look up xosvp for the schematic I used).So here is my idea. I use regular transistors to buffer my R, G, B and Sync lines. Use my resistors to mix the signal to YCbCr, then output via a 7316. This could work but how would I combine the sync to the Y pin before the 7316?I will draw a schematic later today of my idea.

author: NiHaoMike
author_rank: Super Contributor
timestamp: November 09, 2021, 01:36:57 pm
content: Quote from: paul_g_787 on October 25, 2021, 05:04:43 pmSounds like you'll be interested in the "OSSC", a low latency upscaler just for gaming. Main downside is that it's expensive, but since it's open source, it might be possible to DIY a cheaper version.https://junkerhq.net/xrgb/index.php/OSSC