TV signal generator on a microcontroller. Signal generator for adjusting televisions - Television equipment - Schemes of household devices. Schematic diagram of a TV signal generator



We will talk about two fairly well-known schemes that I came across quite often and on different sites. And so, when I needed a television signal generator, I of course tried to find them.

1. Video signal generator

The generator is connected to the video input of the TV, usually this is a “tulip” or “SCART” connector.

The device generates six fields:

  • text field of 17 lines;
  • 8x6 mesh;
  • 12x9 grid;
  • shallow chess board 8x6;
  • large chessboard 2x2;
  • white field.





Switching between fields is carried out by briefly (lasting less than 1 s.) pressing the S2 button. Holding this button pressed for a longer time (longer than 1 s) turns off the generator (the microcontroller goes into the “SLEEP” state). The generator is turned on by pressing the S1 button. The status of the device (on/off) is indicated by an LED. Two resistors, together with the resistance of the TV video input, provide the necessary video signal voltage levels:

  • 0 V - synchronization level;
  • 0.3 V - black level;
  • 0.7 V - gray level;
  • 1 V - white level.

Technical characteristics of the device:

  • clock frequency - 12 MHz;
  • supply voltage 3 - 5 V;
  • current consumption in operating mode: at a supply voltage of 3V - about 5mA, at a supply voltage of 5V - about 12mA;
  • frame rate - 50 Hz;
  • number of lines per frame - 625.
Program. The program generates 6 fields. Each field consists of 301 lines (300 information lines + one black line). In general, the calculated number is 305 (625 raster lines - 15 frame synchronization lines = 610. Information in the frame is displayed through a line, so 610 / 2 = 305). But with this number of lines, the vertical size of the raster is slightly larger than what forms the video signal transmitted by the television center. The first line in each field is black. At this time, the state of button S2 is queried, the time it is held pressed is calculated, and the need to move from one field to another is determined. More details about the program on the author’s website (http://pic16f84.narod.ru)

The controller should be selected at 20 MHz, I used PIC16F84A-20PI. It is believed, and the author of the program claims, that the circuit will work on a 4 MHz controller. Perhaps, but it didn’t work for me on PIC16F84-04.

And one more thing, when programming, check the state of the switches:

  • oscillator - HS
  • power - on
  • wach - off
  • code protect - off
I used the Willem programmer to program the controller:


I did not enter anything into the data memory, leaving everything as is.

2. VGA tester

Design.

Among the many pages, the search engine returned an article by Alexander Kuzmenko, published on the Radiokot website. I liked the idea of ​​combining both circuits on one board: a VGA tester and a video signal generator.

The only thing I didn't need was 12V power. So I slightly modified the PCB by installing a USB-B connector instead of the 7805 chip.

Greetings to all!
Dear visitors to the site, I want to offer you a circuit and a printed circuit board of the GTIS (television test signal generator), which I made a year ago at the request of a friend. The task was set to develop a printed circuit board that should
fit into the "Ranitsa RP-201" case. (watch - radio receiver). Because. I'm in mine
time already assembled a universal generator of test television signals (version 2.0 "Radio Amateur" 1999 No. 5 p. 5. Authors: Chirkov & Larionov)
I decided to use the version 3 circuit as a base option (m/c CXA1645M PAL encoder,
TDA8505 - SECAM encoder)
As a generator - shaper of a clock signal and test image signals, I decided to try two options:
1. test signal generator - author: Marcelo Maggi


2. small-sized television signal generator. Author: Alexander Musatov
(selection of the required test signal is carried out using two keys)

I checked both options on the breadboard and settled on the second one.
Thanks to the developments of Yu. Chirkov, V. Larionov, A. Musatov, the proposed
generator. Thank you very much for their work!
PCB file in Sprint Layout 3.0 format and circuit diagrams
in SPlan format.
The best program for small-scale "ham" production
printed circuit boards is Russified Sprint Layout 3.0. I like this
program for the possibility of wiring according to a drawing. Scanned drawings of boards from
magazines and other literature can be used to restore tracks
boards or re-routing of elements. To do this you need to scan the image
(or use any graphic file, converting it to a *.BMP file), it will
shown as background on the board.
The SPlan 5.0 program is a circuit diagram editor, it
supports macros, both built-in and user-defined. You can download programs
from the site--
And even if you have already worked with these programs, it is recommended to read
all sections of Russian help files to the end, it is possible that you will find
previously unknown program capabilities. From this site you can download Sprint Layout
4.0 (Russian version)

Using the Sprint Layout 3.0 program, you can change my layout option
printed circuit boards (for example, you have a different power transformer, diode bridge,
frame)
The circuit and printed circuit board are just for starters, so to speak. (The cascade has been changed to
tr-ah V5 and V6).In the future, files (and revision) will be posted
1. Generator of a full color television signal on two chips
Article from "RET" No. 5 2003 author: M. Medvedev (DJVU format)
2.Video pattern generator -author: Marcelo Maggi
3.Foreign integrated video encoders
Article from "Radioamator" No. 1-3 2002 author: S.M. Ryumik (DJVU format)
4. Datasheets for m/c TDA8505, CXA1645M in DJVU format (I converted from PDF -
take up space many times less).

Dendy is a generator of test television signals. A new version

A homemade cartridge for the Dendy video set-top box, which turns it into a television test signal generator (GITS), has interested our readers. Thanks to their feedback, the author of the design and program, S. Ryumik from Chernigov, was awarded an incentive prize in the “Best Publication of 2001” competition. Today we present GITS-2 - an improved version of the cartridge.

Compared to the first version of the proposed device, the scope of its application has not changed - setting up and adjusting color (operating in the PAL system) and black and white TVs, assessing the quality of the kinescope when buying a TV, generating test tables for cable television. However, the number of test images created by GITS-2 has been increased from 81 to 466 (taking into account all color options), and sound test signals - from two to four. In some characteristics, GITS-2 is superior to the well-known generators "Electronics GIS 02T" and "Laspi TT-03".

Since all the functions of the test signal generator are implemented in software, during modification it was necessary to change only the program. The hardware part of the device - the cartridge board itself with panels for two EPROM chips - could remain exactly the same as in the original version. However, it has also undergone a slight improvement, allowing it to work even with partially faulty Dendy consoles.

GITS-2 board diagram shown in Fig. 1, differs from the original by an additional XT3 jumper, which serves to switch the screen pages of the Dendy video processor.

(click to enlarge)

If one of the video pages in your set-top box is faulty (extra lines or squares are visible on the image), you can switch to another by moving the jumper and pressing the SELECT button on the joystick. In position "1" the first page of video memory works, in position "2" - the second page of video memory.

Drawings of printed conductors and the arrangement of elements on the cartridge board are shown in Fig. 2.

(click to enlarge)

The shape of the board was chosen based on the convenience of its installation in a standard Dendy cartridge case. A narrower board without side cutouts will not be able to be fixed in it. Therefore, you should not save material by reducing the width of the board.

The case is taken from a game cartridge that has become unusable. Sometimes you have to modify it a little, for example, shorten the plastic pins inside.

When developing the GITS-2 program, the author sought to implement the maximum number of tests, occupying no more than 2 KB of ROM. In particular, the image of the test table is stored packed according to the original algorithm. Compression ratio - 50.2% (from 960 to 482 bytes). At the same time, the data unpacking subroutine took only 57 bytes. To store the same data packed using the ZIP method, it would require only 435 bytes, but the length of its unpacker is many times greater.

The codes that need to be entered into the RPOM DS1 and DS2 with an information capacity of 2 KB each (KR573RF5 microcircuits or their analogues) are given respectively in Table. 1 and 2.

(click to enlarge)

(click to enlarge)

The properties of GITS-2 (as well as GITS of the first version) do not depend on the type and capacity of the ROM chips used, so the latter can be combined on the board in various combinations, not forgetting to just install the XT1 and XT2 jumpers in the required positions. If you do not plan to replace microcircuits during the operation of the cartridge, you can connect the corresponding contact pads on the board with ordinary wires instead of jumpers.

On the new board (with the HTZ jumper in position “2”), microcircuits programmed in accordance with . But they need to be used as a set: both “new” or both “old”. Naturally, in the latter case, GITS will have only the properties that were described in the original source.

If you have a ready-made board of the old version of GITS, in order to use all the tests described below, it is enough to install in its panel RPOM chips programmed in a new way.

Those wishing to make their own additions and improvements to the program will be helped, which describes in detail the methodology for developing programs for "Dendy"

DESCRIPTION OF TESTS

After installing the GITS-2 cartridge in the “Dendy” and turning on the power, a test pattern should appear on the TV screen (top picture on the 1st page of the cover) and a trill should sound. If there is no image, but there is sound, try moving the HTZ jumper on the cartridge board to a different position, press the SELECT button on the joystick. This operation allows you to switch from a possibly faulty video page to a working one. If there is no sound, some of the main RAM cells of the game console used by the program have probably failed and further work is impossible.

Due to the peculiarities of the "Dendy" video system, it is difficult to form exact squares on the TV screen (it is not possible to fit into the given amount of ROM). Therefore, in all test images they appear as rectangles with an aspect ratio of 4:5. However, the central circle of the test table has the correct shape, which makes it possible to evaluate the geometric distortions of the raster and adjust its dimensions. In addition, the table allows you to center and focus images using five reference marks in the center and corners of the screen, and check horizontal and vertical clarity (200...250 lines on a fine grid). There are areas with a checkerboard field, colors, and diagonal lines. When you press the UP, DOWN buttons of any of the joysticks, the image is inverted (the second picture from the top on the 1st page of the cover), small inscriptions appear in the center, top and bottom of the screen.

The next 11 test images are accessed using the LEFT and RIGHT buttons. Each has four options, switchable using the UP and DOWN buttons. The options, in turn, have from two to 24 varieties: button A changes the color of the image, button B inverts it, or turns on/off the fine grid superimposed on the main image. The START button switches sound test signals. The transition from one test to another is accompanied by a “beep” sound, and the beginning of a new cycle of their change is accompanied by a trill.

Vertical color stripes (Fig. 3, a) - eight stripes of the same width in the following order (from left to right): white, yellow, blue, green, purple, red, blue, black. They allow you to check the correctness of matrixing, adjust the contours of pre-emphasis correction, and evaluate the color saturation in adjacent rows. The shades of the generated colors depend on the characteristics of the Dendy video processors of different models and may vary slightly. Options: replacing primary colors with additional colors, turning off color (gray scale, third picture from the top on the 1st page of the cover). Varieties: Letter C on blue stripe for easy identification.

Horizontal colored stripes (Fig. 3, b, c) - eight stripes similar to the vertical ones, but the lowest one is half as tall.

Uniform gray field. Allows you to check and adjust static white balance and color purity. Options: four gradations of brightness. Varieties: cyclic image inversion with a period of 2 s, which allows you to check the quality of image size stabilization and the stability of synchronization of frame and horizontal scans. When you press and hold button B, the “blinking” frequency quadruples.

Uniform red field. Serves to check color purity and identify defects in the kinescope mask (there should be no white dots in the image). Options: four gradations of saturation. Varieties: “blinking” with a period of 1 or 2 s.

The uniform green field is similar to the red one.

The uniform blue field is similar to the red one.

A checkerboard field of black and white rectangles (16 columns, 15 rows) allows you to evaluate the linearity of scans, geometric raster distortions, and check the absence of color borders. Options: inversion of the image, doubling the size of the rectangles (bottom picture on the 1st page of the cover). Varieties: a fine grid superimposed on the image, replacing white with one of 12 possible colors (Fig. 3, d).

Monochrome stripes (“sailor suit”, Fig. 3, d) are used to evaluate the linearity of the scan and the uniformity of coloring of extended sections of the screen. Options: vertical or horizontal stripes, doubled stripe width, image inversion. Varieties: a fine grid superimposed on the image, replacing white with one of 12 possible colors (Fig. 3, f).

Dot field (Fig. 3, g). White dots (15x16) on a black background with a marker in the center serve to check the focusing and astigmatism of the electron beam over the entire screen area, as well as the static and dynamic convergence of primary color beams. Options: halved or doubled or quadrupled the dot pitch (you can choose the optimal one depending on the size of the TV screen). Varieties: image inversion, replacement of white with one of 12 possible colors (Fig. 3, h).

A grid field of 15x16 thin white lines on a black background is used to adjust the convergence of red, green and blue beams and check focus. Options: halved or doubled and quadrupled grid spacing. Varieties: image inversion, replacement of white with one of 12 possible colors (Fig. 3, i, j).

Audio test tones are used to check the TV's audio channel. The following signals are provided, switched cyclically by the START button: rectangular pulses with a duty cycle of 2 ("meander") with a frequency of 500 Hz, sawtooth pulses with a frequency of 6600 Hz, rectangular pulses with a duty cycle of 4 with a frequency of 6600 Hz, "siren" - "square wave" of a linearly varying frequency (from 27 to 12500 Hz for 9 s).

The generator is designed to evaluate the quality of operation and configure color and black-and-white TVs. Of course, on LCD TVs there is no need to adjust color purity and reduce beams, but sometimes you may just need to check the TV’s performance. The proposed TV signal generator produces a complete television signal of the SECAM system (and with an additional encoder - also PAL), in which the relative arrangement of synchronizing and blanking pulses of lines and fields, equalizing pulses, components of the color synchronization signal are as close as possible to the requirements of the standard.

Unlike most amateur TEST TV designs, the generator generates an interlaced raster with a number of lines of 625. The frame rate is exactly 50 Hz. The device provides color synchronization both across fields and lines, which allows you to configure color modules of any modification.

The principle of operation of the television signal generator is to sequentially enumerate the addresses of the ROM in which the information displayed on the screen is programmed. This makes it possible to obtain various test images using relatively simple means.

The diagram of the main board of the TV signal generator is shown in the figure. Each line of the television raster is divided into 64 familiar locations, in any of which a sync pulse level, black level, 8 gradations of white brightness or a white point can be formed. A 3900, 4250, 4406, or 4756 kHz color subcarrier can be superimposed on the luminance signal. To display one line, 64 bytes are required in DD5 ROM of type K573RF5, K573RF2 or 2716, which are selected by the six low-order bits of the address. DD6 K573RF4, 2764 or 27128 records information about which line is being generated at the moment. This is determined by digits 0...4. If digit 5 ​​is programmed, clarity lines are entered into the corresponding familiar place. Bit 7 is used to limit the conversion factor DD1...DD4 to 625. Each television frame occupies 1 kbyte.

In the original version, the television signal generator can generate the following test signals:
- Grid field 24x18 – consists of an image of vertical and horizontal white lines forming squares;
- Chess field – consists of white and black cells;
- Chess field with lines of clarity - vertical lines of clarity are introduced into the white cells;
- Brightness gradations – eight vertical stripes with a stepwise decrease in brightness from white to black;
- Red field;
- Green field;
- Blue field;
- White field;
- White field with clear lines;
- Horizontal color stripes – red, green, blue, turquoise;
- A universal test table, which includes elements of all of the above images, allows you to comprehensively evaluate the quality of the TV setup.

Those interested can create their own image. Read the detailed description on how to do this. The design and setup procedure for this TV signal generator are also described there.

Greetings to all!
Dear visitors to the site, I want to offer you a circuit and a printed circuit board of the GTIS (television test signal generator), which I made a year ago at the request of a friend. The task was set to develop a printed circuit board that should
fit into the "Ranitsa RP-201" case. (watch - radio receiver). Because. I'm in mine
time already assembled a universal generator of test television signals (version 2.0 "Radio Amateur" 1999 No. 5 p. 5. Authors: Chirkov & Larionov)
I decided to use the version 3 circuit as a base option (m/c CXA1645M PAL encoder,
TDA8505 - SECAM encoder)
As a generator - shaper of a clock signal and test image signals, I decided to try two options:
1. test signal generator - author: Marcelo Maggi


2. small-sized television signal generator. Author: Alexander Musatov
(selection of the required test signal is carried out using two keys)

I checked both options on the breadboard and settled on the second one.
Thanks to the developments of Yu. Chirkov, V. Larionov, A. Musatov, the proposed
generator. Thank you very much for their work!
PCB file in Sprint Layout 3.0 format and circuit diagrams
in SPlan format.
The best program for small-scale "ham" production
printed circuit boards is Russified Sprint Layout 3.0. I like this
program for the possibility of wiring according to a drawing. Scanned drawings of boards from
magazines and other literature can be used to restore tracks
boards or re-routing of elements. To do this you need to scan the image
(or use any graphic file, converting it to a *.BMP file), it will
shown as background on the board.
The SPlan 5.0 program is a circuit diagram editor, it
supports macros, both built-in and user-defined. You can download programs
from the site--
And even if you have already worked with these programs, it is recommended to read
all sections of Russian help files to the end, it is possible that you will find
previously unknown program capabilities. From this site you can download Sprint Layout
4.0 (Russian version)

Using the Sprint Layout 3.0 program, you can change my layout option
printed circuit boards (for example, you have a different power transformer, diode bridge,
frame)
The circuit and printed circuit board are just for starters, so to speak. (The cascade has been changed to
tr-ah V5 and V6).In the future, files (and revision) will be posted
1. Generator of a full color television signal on two chips
Article from "RET" No. 5 2003 author: M. Medvedev (DJVU format)
2.Video pattern generator -author: Marcelo Maggi
3.Foreign integrated video encoders
Article from "Radioamator" No. 1-3 2002 author: S.M. Ryumik (DJVU format)
4. Datasheets for m/c TDA8505, CXA1645M in DJVU format (I converted from PDF -
take up space many times less).

Loading...Loading...