![]() |
![]() |
![]() |
|
Television Standards Converters, Modulators etc Standards converters, modulators anything else for providing signals to vintage televisions. |
![]() |
|
Thread Tools |
![]() |
#1 |
Retired Dormant Member
Join Date: Sep 2008
Location: London, UK.
Posts: 117
|
![]()
Hello All,
Business is slow (surprise, surprise!), so I've been spending some time on projects I never normally seem to get around to. One of those being a solid state, multistandard, colour, test card generator with the added ability to also put out a few teletext pages. With analogue teletext on the way out fast, I definitely need something to kick aging teletext decoders into life when running some of my old sets. So, I envisaged doing this in 3 phases - each one creating something that worked and was useful. Here's the masterplan - Phase 1 - Single Frame (2 fields), Multistandard (405/441/625/819), Monochrome - Pre-programmed content - changable by chip swap. Phase 2 - As above, but now in colour (4 frame / 8 fields) and including at least 4 teletext pages. Phase 3 - As above, but now with added USB connectivity to allow re-programming via a host computer. The astute will now be saying, "Ah, you've now created the RT Russell generator all over again". Well, yes - but you can't buy an RT Russell anymore! There is also a similar (405 line) device in the projects section of Duke_Nukem's site. However, that's a little under spec'd for 625 colour and teletext. My point is, I make no claim to the operational concept of this device - this is my attempt at creating a practical unit to my own design. Today I've got Phase 1 completed - please see the attached pictures. The unit is shown generating 625 Test Card F in monochrome, feeding video directly into a very el-cheapo 80's mono monitor intended for low end home computer (with TV out) use. Continuing with 625 as an example; The output is full bandwidth as the pixel clock is running at 12MHz. That equates to 720 pixels per active horizontal line. As the syncs are also coded as pixels, the total line, including syncs and portches, comes out at 768 pixels in total. Therefore, the total byte count for one frame (2 interlaced fields) is 768 x 625 - 480,000. This 'image' is stored in a 4M Bit Flash EPROM (70ns) to meet the required clock speed (U/V erasable EPROMs are, largely, too slow). Because the entire frame, including syncs, is contained in the ROM 'image', it's a small matter to switch standards to 405, for example, or any other required format. In the same way, teletext coding can be inserted into the vertical blanking interval lines. As you will see from the pics, I managed to achieve Phase 1 using less chips than I first envisaged, hence the 3 empty sockets! The empty area in the middle of the board is for the addition of more PROMs for adding colour and increasing the number of text pages. I also need to stick a buffer (op-amp or transistors) on the output of the DAC, but overall I'm pleased with progress so far. Comments / suggestions welcomed from the smarter folk than me on here (you know who you are!). Parabola |
![]() |
![]() |
#2 |
Retired Dormant Member
Join Date: Nov 2009
Location: Weardale, UK.
Posts: 1,981
|
![]()
I'm certainly not one of the smarter folk, but fantastic work and when it goes into limited production I will be a customer
![]() |
![]() |
![]() |
#3 |
Nonode
Join Date: May 2006
Location: St Albans, Herts, UK.
Posts: 2,191
|
![]()
Facinating stuff mister! I imagine that, say, BBC type VITS could be inserted too?
__________________
All the very best, Tas ![]() |
![]() |
![]() |
#4 |
Dekatron
Join Date: Sep 2003
Location: Bolton, Greater Manchester, UK.
Posts: 6,639
|
![]()
Put me down for one!
There were 2 lots of signals at the BBC. There were VITS - Video Insertion Test Signals and SITS - Studio Insertion Test Signals. The Transmission Internal Test Signals were stopped by the Director General's Wife. How about including PLUGE as well? It does have it's uses. Cheers, Steve P.
__________________
If we've always had it, why is the Car Boot open? You're not sneaking another Old TV in are you...? |
![]() |
![]() |
#5 |
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]()
Well done! The concept is pretty simple. A large-ish flash memory which stores the whole image or sequence of images as literal data; a counter to read out the data; a DAC. Then something a bit clever to interface this lot to a PC in order to write the data. Also needs software to format the data and download it though that may well be done by the FML test card maker.
Though the concept is simple the problems are all in the detail. There's quite a lot of that to get right. What sampling frequency are you using? 12MHz like the RT Russell or something a bit higher? What have you used for the USB interface? |
![]() |
![]() |
#6 | |||
Retired Dormant Member
Join Date: Sep 2008
Location: London, UK.
Posts: 117
|
![]()
Thanks for the positive responses. It's certainly possible that I may consider some limited production if I get to the point where it's a further developed product. I'd just need to get my a*se in gear and get some PCBs fabricated commercially.
Quote:
Thanks! You know only too well I'm not a 'natural' when it comes to logic design! Quote:
Quote:
Aha! Well, I have a plan for that one if I get to Phase 3, but as I'm going to try and make it all work without any kind of micro or PIC I'm keeping quiet for the time being for fear of total ridicule until I've given it a go. If I should fail with Phase 3, or it becomes too complex to implement, I may adopt a system of plug in 'cartridges' containing PROMs with different images / pages - or even investigate using compact flash cards instead of PROMs / RAM Finally, as all the parts are available in surface mount versions, it could be built a lot smaller! Parabola |
|||
![]() |
![]() |
#7 | ||
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]() Quote:
What you really want is a small CPLD. A synchronous 19 bit counter is then expressed in VHDL as follows. I've omitted the declarations for simplicity. This beats soldering every time. Sorry about lack of indents. Can't seem to get them to work in the forum. process (CK) begin if rising_edge(CK) then if RESET then MYCOUNT <= "000000000000000000"; else MYCOUNT<= MYCOUNT + 1; end if; end if; end process; Should be possible to get a Xilinx Coolrunner evaluation kit quite cheaply. Alternatively in CMOS etc the only sensible way to do it is with '163 chips. As usual there's a couple of right and many wrong ways to use them. I cringe when I look back at some of my early digital logic design attempts, relying on accurately matched propagation delays and the odd capacitor to slug spikes. Quote:
Amazingly I didn't learn these simple methods at uni and struggled with logic design for a year or so after graduating. Then a very talented engineer from New Zealand joined the company I was working for. He showed me the tricks and it was a true revelation. |
||
![]() |
![]() |
#8 |
Octode
Join Date: Jan 2003
Location: Birmingham, West Midlands, UK.
Posts: 1,260
|
![]()
When designing this, bear in mind who you intend to build it. If it were something I'd be building just for me I'd certainly use programmable logic ... darn I feel old, tis over 10 years since I used a CPLD or Xlinx (in a PC-ISA-to-6812 processor bridge , anyone remember ISA!) and the GUI based S/W it came with was a doddle to use. However if it is for others to build too then you need to stick as much as possible to "dumber" devices that don't require costly programmers (since this is likely to be a one-off for them) and which may also be difficult to source. Also there is the issue with finding non-surface-mount versions.
If intention is for building by others I'd be tempted to go no further than a PIC micro. There are cheap and I think can be programmed via the USB port; I reckon it could do the teletext part (you could download pages on the fly from a PC), program an external flash for the testcard(s) and handle the sync generation side of things. Remember, the ZX80 used its Z80 processor as part of the display refresh and a PIC micro these days is way more powerful. I can see a difficulty in generating a colour burst though - wouldn't it would force a design based around 8.87xxxMHz which would conflict with trying to make 5.5MHz test card bars? ------- As an aside, a PIC micro could also do a simple test card - I doubt it could do something detailed like Test Card C but definitely something with blocks in different shades, vertical bars as well as an audio tone - a simple tiny battery powered test generator that'd be more than enough whilst basically getting a set up and running. With the addition of one or two switches you could make a tweakable test card (for example switching on/off a white vertical bar at the left of the image which if the tv's video bandwidth isn't up to scratch can affect the leading edge of the line sync causing picture shift) (Perhaps a subject for a separate thread) ------- TTFN, Jon |
![]() |
![]() |
#9 | |||
Retired Dormant Member
Join Date: Sep 2008
Location: London, UK.
Posts: 117
|
![]()
I knew you'd say that! I know you find my adhesion to TTL/CMOS unfathomable
![]() Quote:
Quote:
Quote:
![]() Parabola |
|||
![]() |
![]() |
#10 | |||
Retired Dormant Member
Join Date: Sep 2008
Location: London, UK.
Posts: 117
|
![]() Quote:
Quote:
Quote:
Parabola |
|||
![]() |
![]() |
#11 | |
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]() Quote:
|
|
![]() |
![]() |
#12 | |
Octode
Join Date: Jan 2003
Location: Birmingham, West Midlands, UK.
Posts: 1,260
|
![]()
What I was meaning is that to generate the 4.43361875MHz colour burst signal - which needs to be accurate - a design based on a counter driving a ROM/flash would need to clock at 2x, 4x, etc that frequency.
Quote:
TTFN, Jon |
|
![]() |
![]() |
#13 |
Retired Dormant Member
Join Date: Sep 2008
Location: London, UK.
Posts: 117
|
![]()
Actually, I'm wrong (as usual). Having just been trying to bash my various scribbled notes together into something for future reference and sorting out the multitude of different sized TCF images that have been through Photoshop on the way to the final ROM image, I realise that my quoted 720 pixel figure for the active line at 625 was part of earlier calculations for a theoretical faster clock speed
![]() ![]() Maybe I will up the clock speed a bit then. Thanks to all for the input. Parabola |
![]() |
![]() |
#14 |
Retired Dormant Member
Join Date: Jan 2007
Location: Westbury, Wiltshire, UK.
Posts: 2,451
|
![]()
Excellent. I'm jumping the gun I know but are there any problems envisaged stitching a modulator on. Especially for System A?
Dave |
![]() |
![]() |
#15 | |
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]() Quote:
If you are doing a general purpose PAL/NTSC coder it's very simple to make subcarrier from any arbitrary clock frequency using a discrete time oscillator. It takes a little fangling to get a DTO to do a relationship that isn't exactly x/2^n but that isn't too hard. I usually use a 32 bit adder/accumulator with reset to zero every 8 fields. This gives a phase jump of well under 0.1 degrees. |
|
![]() |
![]() |
#16 |
Retired Dormant Member
Join Date: May 2009
Location: Birmingham.
Posts: 182
|
![]()
I've only just picked up this thread and you can put me down for one too. BUT - how about adding a 525 NTSC option too..? Is that feasable in your design?
|
![]() |
![]() |
#17 | |
Octode
Join Date: Jan 2003
Location: Birmingham, West Midlands, UK.
Posts: 1,260
|
![]() Quote:
Anyhow, colour is the work of the devil, I'm sticking with proper (i.e B&W) tellies ![]() @Paranola, don't worry about needing "square" pixels. The sample rate mearly needs to be a multiple of the frame rate times the line def. The final display is 4:3 but typical digital streams are 5:4 (DV, DVD's etc) and in the cases of channels such as ITV4 16:9 widescreen is broadcast as a dreadful 540(ish) by 576 pixels! TTFN, Jon |
|
![]() |
![]() |
#18 |
Nonode
Join Date: Jan 2004
Location: 1966-1976 Coverack in Cornwall and Helston Cornwall. 1976-present Bristol/Bath area.
Posts: 2,946
|
![]()
Looks interesting. Is it possible to include accurate timing pulses ones which VCR's can sync up to. All three of our VCR's are now without these teletext timing signals now analogue has been switched off in this area and the clock has to be set manually everytime you want to do a timed recording of the Freeview box. Sorry if this is taken things a little off topic.
__________________
Simon BVWS member |
![]() |
![]() |
#19 | ||
Retired Dormant Member
Join Date: Dec 2003
Location: North London, UK.
Posts: 6,168
|
![]() Quote:
Quote:
Doing a colour coder at 13.5MHz is a bit tricky. For one thing when you do the multiplications for U and V modulators you almost inevitably get signals that go over the Nyquist limit. It's much easier at 27MHz. |
||
![]() |
![]() |
#20 | |
Retired Dormant Member
Join Date: Sep 2008
Location: London, UK.
Posts: 117
|
![]()
Shouldn't be, it's only standard baseband video out.
Quote:
People run such different sets and equipment and have varying needs for different standards, even mono only vs (Jon's work of the devil) colour, that it would be a shame to end up with something that does everything but sweep the floor and conseqently comes with a matchingly large price tag! Everyone that knows me knows I'm a cheapskate and so tend to start from that perspective ![]() Ok, back to the pile of data sheets... Parabola |
|
![]() |