UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Specific Vintage Equipment > Television Standards Converters, Modulators etc

Notices

Television Standards Converters, Modulators etc Standards converters, modulators anything else for providing signals to vintage televisions.

Closed Thread
 
Thread Tools
Old 26th Jan 2019, 12:28 am   #1
Semir_DE
Triode
 
Semir_DE's Avatar
 
Join Date: Jan 2019
Location: Heusenstamm, (Near Frankfurt am Main), Germany.
Posts: 34
Default Sync Signal Generator for 441 Line TV System

Dear All,

This sync pulse generator is the first project I would like to introduce in this forum in the hope some of you might find it useful. It is part of a larger standards converter project I am working on at the moment. Another application I have in mind for this generator is to build a test signal generator for 441 and 405 line standards with cross hatch, grey scale, circle and other images.

This sync pulse generator supplies a variety of pulses for the old 441 line TV standard used in Germany in the late 1930's. Vintage TVs like the E1 "Einheitsfernseher" were built to support this standard. Here is a brief overview of the specifications of the 441 line TV standard that I have found on line. Should any of these parameters be incorrect I would appreciate your feedback:

- FH = 11.025 kHz, Line duration = 90.7µs
- Line Sync duration = 9µs, Front Porch = 1µs, back porch = 6.4µs
- Line Blanking = 16.4µs
- Active line duration = 74.3µs

- FV = 50Hz, 2:1 interlace
- Field Sync = 8 broad pulses 36.3µs wide
- Field Blanking 29 lines
- Active lines = 383

Since the whole design is based upon programmable logic ICs it can easily be modified to generate 405 signals as well. The circuit has the following properties:

- Can be used with master clocks of 256xFH (FH = Horizontal Frequency), 512xFH or 1024xFH
- Horizontal frequency outputs: H-Sync, H-Blanking, H-Drive, back porch Clamp
- Vertical frequency outputs: V-Sync, V-Blanking, V-Drive
- Other outputs: Composite Sync, Composite Blanking, 256xFH Clock
- Inputs: H-Reset, V-Reset, Master Clock, Alternative Clock
- Control Inputs: Clock Select CS#1/2, Equalizing Pulse enable, Blanking duration

Circuit design and tools required:

The circuit consists of two Atmel ATF750CL PLDs (Programmable Logic Device). One contains an 8 bit counter and the decoding logic for the line pulses the other has all the logic and counters for the vertical pulses programmed into it. While these are quite old ICs they can still be obtained from suppliers like Mouser or on Aliexpress for around 2-3€ each. The program code was written in CUPL on the freely available software “WinCUPL”. For programming the chips I used a GALEP4 programmer. Unfortunately the cheaper TL866 programmers do not support these chips. I have also designed a version of this project using 3 regular GAL programmable chips two GAL16v8 and one GAL20v8 and one 4040 CMOS counter. This version also seems to work very well and costs only a few pennies. Depending on how much interest this thread generates I might post that project as well…

Please contact me for the source code and/or JEDEC files for the chips.

Line pulse generation:

Let’s take a look at the way the horizontal pulses are being derived from the various counter outputs of the 8 bit horizontal counter. The attached image “Fig. 1” shows an overview of the whole generator. In Fig.2 the horizontal part is shown. The horizontal processor chip has a 2 bit prescaler counter which can divide the incoming master clock by 1, 2 or 4 depending on the setting of the “Clock Select” Jumpers CS1/CS2. This allows the circuit to be operated with master clocks of 256xFH, 512xFH or 1024xFH.

By a stroke of luck the line frequency of 11.025kHz is exactly Ľ of the sampling rate of the CD audio system. Due to this fact there are some crystals readily available on the market with frequencies of 256, 512, 768, 1024 and 2048 times the line frequency. In this design a crystal with a frequency of 2822.4kHz was used as the master clock.

A synchronous 8 bit counter in the horizontal processor divides the master clock by 2,4,...256 yielding 8 trains of square pulses with multiples of the clock duration of approx. 0.355µs. In Fig. 3 these are designated A0-A7.

The decoding logic in the horizontal processor decodes the desired pulses from the 8 counter outputs A0-A7. The line sync for example consists of 25 elements of the clock duration i.e. 25x0.355µs which gives a total duration of 8.875µs – close enough to the required 9µs for the line sync. To illustrate the process in Fig.3 I have given each chunk of the sync a different colour both in the counter output section and on the sync pulse itself. Each coloured chunk represents a decoding term in the software program of the horizontal processor:

H-SYNC = (A0 & !A1 & !A2 & A3 & A4 & !A5 & !A6 & !A7) purple chunk
+ (A1 & !A2 & A3 & A4 & !A5 & !A6 & !A7) grey chunk
+ (A2 & A3 & A4 & !A5 & !A6 & !A7) brown chunk
+ (!A4 & A5 & !A6 & !A7) turquoise chunk
+ (!A1 & !A2 & !A3 & A4 & A5 & !A6 & !A7) yellow chunk

Rem.: !Ax = Inverted Ax

This system allows for great variations in timing schemes and can be tweaked at any time by simply adjusting the decoding terms in the PLDs program code. A version for 405 lines could easily be made by using a readily available 10,368kHz crystal as the master clock. This is 1024 xFH, so the prescaler would have to be set to divide by a factor of 4 in this case. I am planning to write the code in CUPL for 405 as well and will post it here when it is ready.

Field pulse generation:

The second ATF750CL houses the complete vertical processing logic. This consists of a 9 bit divide by 441 counter, field decoding logic and additional logic to generate composite sync and blanking. The concept is shown in Fig. 4.

In order to get a precisely interlaced image the vertical pulses are being derived from a clock running at twice the horizontal rate i.e. 22.05 kHz. Unlike the counter in the horizontal section the counter used here can not be allowed to run up to the final counting state of 511 but rather has to be reset when it reaches a count of 441. A dedicated decoding string in the program of this processor detects the 441st counting state and resets the counter back to “0” hence the counter can only run through values of 0...440 which is exactly 441 states corresponding to the 441 lines of the signal. Decoding of the vertical pulses is done in exactly the same manner as with the line pulses. Fig. 5 shows the process e.g. the blanking signal in this format is 29 lines and consists of the yellow, light brown and dark brown as well as purple chunks put together.

Historically this TV system never had equalizing pulses. For the sake of experimenting and testing I decided to add some anyway. The helper signal “EQ gate” allows for 4 equalizing pulses to be inserted before and after the field sync. This setting can be changed by a jumper connected to a pin on the vertical processor chip. I currently use a modified CCTV monitor to view the signals from my generator. Activating the equalizing pulses does not seem to have a great effect on the displayed raster, but I will check once I have real images to display.

The circuit diagram can be found in the attachment.

Cheers

Semir
Attached Thumbnails
Click image for larger version

Name:	Fig.1- 441-Line Gen_Concept_E.jpg
Views:	69
Size:	59.5 KB
ID:	177105  
Attached Files
File Type: zip 441-Sync Generator - Images.zip (347.1 KB, 40 views)
File Type: pdf 441_PLD-SSG.pdf (46.2 KB, 48 views)
Semir_DE is offline  
Old 26th Jan 2019, 6:54 pm   #2
terrykc
Heptode
 
terrykc's Avatar
 
Join Date: Nov 2010
Location: North Hykeham, Lincolnshire, UK.
Posts: 506
Default Re: Sync Signal Generator for 441 Line TV System

It has been suggested here that the hardware of the Hedghog 625/405 standards converter design by Frank C, the development of which is described in considerable detail in the same thread, could be used to build a full 625-line to 441-line converter by modifying the code.

Some more information can be found in this thread and Frank's own website is here.
__________________
Terry
When all else fails, read the instructions.
terrykc is offline  
Old 27th Jan 2019, 1:47 am   #3
FRANK.C
Heptode
 
FRANK.C's Avatar
 
Join Date: Feb 2006
Location: Roscommon, Ireland
Posts: 602
Default Re: Sync Signal Generator for 441 Line TV System

Hi Semir
What a great project, thanks for posting. You have put a lot of thought into it.
As Terry has said I have built a standards converter. I started off in a similar to you with a CPLD and microcontroller and then was advised that using a FPGA would be a better way to go. This was the best advice I could have ever got.
FPGA'a are great as they contain enough logic, memory and multipliers to do a complete converter.
Using a FPGA required learning a HDL language but it was well worth the effort.

Please keep us updated.
Frank
FRANK.C is offline  
Old 27th Jan 2019, 12:39 pm   #4
Semir_DE
Triode
 
Semir_DE's Avatar
 
Join Date: Jan 2019
Location: Heusenstamm, (Near Frankfurt am Main), Germany.
Posts: 34
Default Re: Sync Signal Generator for 441 Line TV System

Hi Frank,

following Terry's suggestion I checked out your Hedgehog project and must say I am amazed of how nice and versatile this converter is! I also find it very kind of you that you made it open source, so many enthusiasts can benefit from your knowledge and design.

One of my problems has always been that I never really bothered with learning programming languages, most of my projects have been purely hardware based. As a matter of fact the sync generator I introduced here was first built with CMOS 40xx series ICs but the daunting thought of making a PCB for 12+ ICs got me into thinking about the PLDs...

As of today I am able to program a little in CUPL and I am also able to use the Arduino development environment but I have not yet worked with a more advanced HDL. I realize, however, that eventually mastering such a language would allow me to create much more complex projects from the comfort of my couch just using a laptop, so I am looking into it. I have John Wakerly's book on digital design which gives some example code in VHDL and I also downloaded and installed ispLEVER from Lattice. Since I have a day job in sales and product management I can not devote as much time as I would like to my hobbies but will try anyway...

I would like to get a better idea your project and the development environment you used to create the code for the FPGA. Is the VHDL software available free of charge? What kind of OS do I need to run it? I am running Linux on my laptop with windows XP in a virtual machine for the programs that require windows.

I will continue my mostly hardware based project, however, just to get some experience with conversions and will also make a modulator for it using the SA612 as a multiplier for vision and audio. I will post the advances in my project here as it progresses.

Best

Semir
Semir_DE is offline  
Old 27th Jan 2019, 2:34 pm   #5
FRANK.C
Heptode
 
FRANK.C's Avatar
 
Join Date: Feb 2006
Location: Roscommon, Ireland
Posts: 602
Default Re: Sync Signal Generator for 441 Line TV System

Hi Semir
The development software is Altera's Quartus and is free. There is a link to the download page for the software that I used on the Hedghog web page. The FPGA that I used is an older one so I had to use an older version of the development software as it is not supported on the newer versions.

The development board used in Hedghog costs around 12 euro from china and a board plus the USB blaster used to program it costs just a little more. Trying out FPGA's is not expensive.

The development software accepts VHDL, Verilog and Schematic entry. VHDL was the language of my choice. Schematic entry is drawing the circuit you want and the software then implements it. It is OK for very simple designs and for building up a bit of confidence with FPGA's without having to learn a written language. It would be very difficult to do something as complex as a standards converter with it.

Frank
FRANK.C is offline  
Old 27th Jan 2019, 4:56 pm   #6
Semir_DE
Triode
 
Semir_DE's Avatar
 
Join Date: Jan 2019
Location: Heusenstamm, (Near Frankfurt am Main), Germany.
Posts: 34
Default Re: Sync Signal Generator for 441 Line TV System

Hi Frank,

thank you for he information about the development kit. I will download it. I have already placed an order for the FPGA board and the MC44... modulator chip. Most of the other parts I have here in my workshop including 0805 SMD components...

Semir
Semir_DE is offline  
Old 27th Jan 2019, 10:53 pm   #7
FRANK.C
Heptode
 
FRANK.C's Avatar
 
Join Date: Feb 2006
Location: Roscommon, Ireland
Posts: 602
Default Re: Sync Signal Generator for 441 Line TV System

Hi Semir
FPGA's are truly incredible devices and worth getting to know.
As an example when I was building my converter using a PIC I intended being able to produce both 4:3 and 5:4 output. To do this I would need to change the pixel frequency. My plan was to use a AD9850 to produce the pixel clock.
This would require building the hardware, learning how to program the AD9850 and programming the PIC to program the AD9850. Which would take a few hours to do all of that.
The same can be done within a FPGA and only takes a couple of minutes to write the three or four lines of code to do it.
ppppenguin (Jeffrey Borinsky) on the Golborne Vintage Radio forum introduced me to FPGA's and very generously thought me a lot about them.

Frank
FRANK.C is offline  
Closed Thread

Thread Tools



All times are GMT +1. The time now is 10:02 pm.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright ©2002 - 2019, Paul Stenning.