|
Television Standards Converters, Modulators etc Standards converters, modulators anything else for providing signals to vintage televisions. |
|
Thread Tools |
9th Jun 2006, 8:36 pm | #1 |
Retired Dormant Member
Join Date: Mar 2003
Location: Bishop's Waltham, Hants, UK.
Posts: 939
|
FOTH RGB combiner problems
Various people remarked on the noisy and wide line synch pulse displayed on the Tek 529 waveform monitor when I demonstrated the FOTH standards converter at Harpenden last weekend.
A little investigation has shown that this is due to the XOR synch combiner, the synch pulse is stretched by the cpacitance in the combiner circuit (this is used to allow positive or negative going synch pulses without altering the circuit), and the noise seen in the bottom of the "stretched" pulse is coincident with the end of the input pulse - I suspect this is due to poor screening and excessive cpacitance in my construction (I'll admit it Jeffrey, I shouldn't have used stripboard). I think the definitive cure is to remove the capacitance from the input of the synch combiner, and rely on the X-config modeline to set the synch polarity correctly. Altering the capacitor value would improve matters, but only for one particular standard. Of course the ideal solution would be to completley redesign the synch combiner to properly regenerate the synch for the relevant standard. Jim. |
10th Jun 2006, 7:49 am | #2 |
Retired Dormant Member
Join Date: Dec 2003
Location: Solingen, Germany
Posts: 727
|
Re: FOTH RGB combiner problems
Hm, not easy to understand without a schematic.
Darius |
10th Jun 2006, 9:49 am | #3 |
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
Re: FOTH RGB combiner problems
Hi,
This should help: http://www.technogoths.demon.co.uk/405/RGB-conv-II.png I've also noticed noisy,stretched sync pulses; I've yet to investigate (too many things to do, on top of which I've caught 'flu or something.) The capacitors to which Jim refers are C1 and C2 - which are both part of RC filters with ridiculously long time-constant (compared to the pulses being fed in), which essentially remove all traces of sync pulse from one input of the XOR gate. So, one input of the gate is held steady (steady in logic terms), the other is pulsed. The result is that whatever polarity pulse you feed in, you get positive-going pulses coming out. As far as I remember from 'scoping that part of the circuit while I was building it; the sync pulses emerging from IC1 pins 3 and 6 weren't stretched - if they were I'd have dropped automatic sync polarity detection. When I was working on it leading up to NVCF, I remember everything being fine coming out of the last XOR gate, but it all went wrong in the subsequent transistor stages; that's where the pulse stretching occurred. I didn't look into it as I was running out of time and I've not had chance since to investigate either (mostly as I regard this sync combiner as a filthy hack and want to design something with a PLL run at twice line rate which regenerates proper syncs). I suspect lousy design on my part; I should stick to digital stuff and microprocessors Regards, Kat |
10th Jun 2006, 10:38 am | #4 |
Retired Dormant Member
Join Date: Dec 2003
Location: Solingen, Germany
Posts: 727
|
Re: FOTH RGB combiner problems
Hi Kat,
thanks for your schematic. Your problem is two transistors Q8 and Q11 are going to saturation. This makes the pulses longer. Are you sure with D1 and Q6 ? I don't know the voltage of the black level, but it seems possible to feed the sync from pin8 via a resistor to emitter of Q7. In this case you don't need R23 R28 R29 Q8 Q11 and R17 is 100 Ohms. (higher bandwidth!) For serration pulses a solution with fH x 10 and a modulo counter is independent from the standart. But the fH x 2 and monostables works fine too. Kind regards Darius Reason for editing: I didn't see the minus 5V, I thaught it is ground this negative voltage rail makes it complicated . Speedup your transistors Q8 and Q11 with a schottky speedup Diode BAT46. |
10th Jun 2006, 11:48 am | #5 | |||
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
Re: FOTH RGB combiner problems
Hi Darius,
Quote:
Quote:
You've spotted (yet another) mistake on the schematic, both outputs are of course identical circuits; all sorts of errors crept in transferring the drawings from scraps of paper to the computer. I've amended that bit, it now matches what's on my veroboard. Quote:
At the point where sync is inserted, the video signal (on the right-hand end of R17) is somewhere below the 0V rail; hence the need for Q8 as a level-shifter. To be honest, I'm probably not going to bother refining this circuit any further myself; it was really another lashup that just happened to be better than the last lashup. Video op-amps are the way forward; component count comes down, performance improves and designing the thing gets a whole lot easier. Jim Beacon's working on a circuit using a video op-amp; I'm likely to take the analogue parts of that but replace the XOR sync combiner with something else; lots of nice digital stuff... Regards, Kat |
|||
10th Jun 2006, 12:24 pm | #6 |
Retired Dormant Member
Join Date: Dec 2003
Location: Solingen, Germany
Posts: 727
|
Re: FOTH RGB combiner problems
"Give me op-amps and nice complex IC's, please"
Replace Q8 Q11 by an TTL to RS232 IC "D1 is there to allow me to set either sync tips at 0V or black level at 0V by adjusting R20. Odd idea I've never seen used anywhere else before, but it seemed to work so I left it." Sorry I didn't see the -5V rail. With +-5V it makes sense to me. Kind regards Darius |
10th Jun 2006, 12:38 pm | #7 | |
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
Re: FOTH RGB combiner problems
Hi,
Quote:
Cheers, Kat |
|
10th Jun 2006, 2:02 pm | #8 |
Retired Dormant Member
Join Date: Mar 2003
Location: Bishop's Waltham, Hants, UK.
Posts: 939
|
Re: FOTH RGB combiner problems
Darius,
you are, of course, right, scoping the unit shows the worst of the stretching occurs on the sync clamp. I may have been a little premature with my other comments. I hope my new op-amp combiner will cure the problem, but as I currently have Sony 9-90 problems, so development has halted for a few days. Jim. |
10th Jun 2006, 2:17 pm | #9 |
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
Re: FOTH RGB combiner problems
Hi,
If you think that C1 and C2 are still a problem, just make them bigger - all that'll happen is the circuit will take longer to stabilise. As long as the signal on the +ve end of each capacitor never rises above (or falls below, depending on sync polarity) the logic threshold all will be well - i.e., the logic level as seen by pins 2 and 5 of the gate should not change at all once the circuit has stabilised. The values were calculated as conservative for 405-line, so will be ok for 625, 819, etc; but C1 and C2 may need increasing if you use it on slower standards such as 240-line - depends how conservative I was, they might be ok Regards, Kat |
10th Jun 2006, 2:44 pm | #10 |
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
Re: FOTH RGB combiner problems
Hi again...
...just a thought, a workaround for the sync-pulse stretching of this combiner could be to reduce the width of the sync pulse as it comes from the computer. Reduce the third number (sync pulse end) in the horizontal section of the modeline (as long as it remains a multiple of eight) to make up for the stretching... I'm probably going to do something similar with the modeline for the proper SPG circuit; I'll probably set the front porch to zero and the sync pulse quite short, the SPG circuitry locked to this can then generate sync with the correct front porch length and sync pulse length, more accurately than can be set by modeline alone (that pesky "multiple of eight" thing gets in the way.) Regards, Kat |
10th Jun 2006, 2:49 pm | #11 |
Retired Dormant Member
Join Date: Dec 2003
Location: Solingen, Germany
Posts: 727
|
Re: FOTH RGB combiner problems
Hi Kat, you should use a schmitt after the C1 and C2. The LS86 wants
TTL level. I am not sure understanding your power supply. The -5V is not stabilized? (+5V -6V3) "Video op-amps are the way forward; component count comes down, performance improves and designing the thing gets a whole lot easier" I don't agree. And I want the sync tips on 0V ! "Now there's an idea. I've got several flavours of RS232 line-driver in my junk box." Do you have some MC145406 in a small smd package? I got some from RS order code 273-270 and they are big smd's. Kind regards Darius |
10th Jun 2006, 3:04 pm | #12 | ||
Retired Dormant Member
Join Date: Mar 2003
Location: Bishop's Waltham, Hants, UK.
Posts: 939
|
Re: FOTH RGB combiner problems
Quote:
Quote:
Unfortunatly, this is on hold at the moment. Jim. |
||
10th Jun 2006, 3:10 pm | #13 | ||||
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
Re: FOTH RGB combiner problems
Quote:
Quote:
Quote:
For what it's worth, my opinion is that any circuit which needs a video signal referenced or clamped such that some part of it is at a fixed level, then it should be the responsibility of that circuit to do it. The standard for video signals appears to merely specify 1V p-p and 0.3V sync but not that anything is referenced to anything. If I needed sync tips at zero for anything following this (modulator, probably) I'd AC-couple the input and clamp sync tips to 0V myself; thus making the input compatible with anything I feed into it. I have no idea what my VCR produces, for example. Personally I want black level at 0V as I might end up with several sources of 405-line video at this rate, black=0V makes switching (or even fading if everything's synced together...) nicer. Quote:
Regards, Kat |
||||
10th Jun 2006, 3:37 pm | #14 |
Retired Dormant Member
Join Date: Dec 2003
Location: Solingen, Germany
Posts: 727
|
Re: FOTH RGB combiner problems
Hi Jim, all you want can be made discrete or with opamps.
If you know transistors, some parts can be designed much easyer. This is why my analogue converter uses much of them. There was one stage I was thinking of an opamp use. But it gave no advantage. Kat, please beleve me, a 2K2 is not a save pull down for TTL inputs! Kind regards Darius |
10th Jun 2006, 3:40 pm | #15 |
Retired Dormant Member
Join Date: Dec 2003
Location: Solingen, Germany
Posts: 727
|
Re: FOTH RGB combiner problems
...And change R34 R37 in 100 Ohms !!!
The best is to use a 74LS244 input buffer. (Schmitt!) Darius |
10th Jun 2006, 4:01 pm | #16 |
Moderator
Join Date: Jan 2003
Location: Ipswich, Suffolk, IP4, UK.
Posts: 21,289
|
Re: FOTH RGB combiner problems
I've got some MAX232 TTL to RS232 DIL convertor chips here which I doubt I'll ever use. FOC to anyone who wants to experiment.
__________________
Graham. Forum Moderator Reach for your meter before you reach for your soldering iron. |
10th Jun 2006, 4:34 pm | #17 |
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
Re: FOTH RGB combiner problems
Hi,
I think I need to explain more how IC1A and IC1B and the long time-constant RC filters (R35/C1 and R38/C2) work together with the XOR gates to invert negative-going sync but cunningly not invert positive-going sync; such that whatever polarity sync you feed in from the computer, you always get positive-going sync at the output of IC1A and IC1B. I know how it works; and it does work, but I seem to be failing to explain it. Maybe I need to draw some waveform diagrams, or even photograph them off the 'scope? Anyway, the H and V sync output of the graphics card is already clean, sharp and TTL-level, with nice fast rise and fall times, so my opinion is that there is no need for a Schmitt anything anywhere to clean up that which is already clean. The inputs to IC1A and IC1B after the RC filters (R35/C1 and R38/C2), on pins 2 and 5 respectively, are at as near as dammit a steady level some (short) time after the computer has been fired up. To further clarify:
If the sync polarity changes, there may be some spurious transitions as the voltages on pins 2 and 5 take up their new steady levels, but once the system's running the sync polarity doesn't change so there isn't a problem. Regards, Kat |
10th Jun 2006, 5:05 pm | #18 |
Retired Dormant Member
Join Date: Dec 2003
Location: Solingen, Germany
Posts: 727
|
Re: FOTH RGB combiner problems
Kat, thanks for explaining, but I know this stages from monitors.
The 74LS244 or 240 is the best. I made a lot of VGA switches and splitters and I know what I am talking about. Digital inputs driven over a cable from another source need a buffer at the input. With your values for R34 35 37 38 you can try a 74HC86 or better 4030 4070. I am sure this solves your sync problems. Kind regards Darius |
10th Jun 2006, 5:37 pm | #19 | ||
Retired Dormant Member
Join Date: Jul 2005
Location: West Yorkshire, UK.
Posts: 1,700
|
Re: FOTH RGB combiner problems
Hi Darius,
Quote:
The purpose of the Mk2 combiner was to be a better lash-up than the Mk1 lash-up; which had appalling DC level stability issues; black-level was all over the place and varied with scene content. The Mk2 circuit as produced works well enough; one requirement was to keep component count down and be able to build the thing in time for NVCF; something I only just managed; I was still soldering bits on veroboard at 8pm the night before, and was up at 4am to drive down... I don't consider it a final design and I'm basically going to abandon it completely and work on something different and better. Quote:
New version (Mk3):
A microcontroller of some sort is in the lead here as it gets the sync generation and timing under software control, where I like it. I can then detect what TV standard the PC is producing then generate correct syncs as required in software; which suits my way of working. It might also be worth my while looking at the smaller FPGAs as an alternative to a microcontroller. Regards, Kat |
||
10th Jun 2006, 5:47 pm | #20 | |
Dekatron
Join Date: Feb 2005
Location: St.Ippolyts, Hitchin, Hertfordshire QRA IO91UW
Posts: 3,518
|
Re: FOTH RGB combiner problems
Quote:
Hi Kat, I have some problems with the ICL7660 - although a great device, it does get intolerably hot when asked to do any work - I have some commercial gear here that uses one to generate a bias supply for an amplifier stage - just waiting for the magic smoke...... Long live discretes and high component counts Cheers Sean
__________________
Engineers make things work and have spare bits when finished |
|