Application of UPD6450 and uPD6453 in video character overlay system

Publisher:RainbowPromiseLatest update time:2006-05-07 Source: 电子技术应用 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

    Abstract: This paper introduces the performance characteristics of the special character overlay chips uPD6450 and uPD6453 launched by NEC and their application in video character overlay systems, including control commands, serial port timing, hardware peripheral circuit design, and software design.

    Keywords: Video character overlay uPD6450 uPD6453

In recent years, with the widespread application of video surveillance systems, their system capacity has continued to expand. Character superposition circuit is an indispensable part of the video surveillance system. Therefore, its display and editing functions, reliability, circuit size and complex procedures have become a matter of great concern to designers.

In order to ensure low-cost, high-performance character overlay when the system capacity is large, we tried to use the dedicated character overlay chips uPD6450 and uPD6453 launched by NEC. Practice has proven that the character overlay circuit designed with these two chips as the core has the advantages of high reliability, strong display and editing functions, and simplified hardware circuits. It is a better choice for video character overlay. The performance characteristics of these two chips and their specific applications in character superposition circuits are briefly introduced below.

1 Performance characteristics

uPD6450 and uPD6453 are special character overlay chips launched by NEC. Their common feature is strong display and editing functions. They can display 12 rows and 24 columns of characters on the screen. Each character is a 12×18 dot matrix. The size of the characters, blinking The frequency can be adjusted as needed, and in order to achieve display diversity, the background color of the screen, the edge color of the characters, and the color of the characters themselves can also be modified. However, in some applications, there are still some differences between the two chips, which are mainly reflected in two aspects. First, the chip uPD6450 only solidifies 128 fonts of Japanese, Siwan letters and numbers, and does not provide RAM space for custom characters, so Chinese characters cannot be expanded. For most users in our country, there are some limitations in use. UPD6453 solves this problem better. It not only provides a 240-byte font internally, but also provides 16 characters of RAM space for users to fill in custom characters, which provides the possibility for Chinese character display. Second, there are some differences in color control between the two chips. The 5-color internal video signal of the chip uPD6450e can be used as the background color during display, but its character color can only be black or white, and the edge color of the character There is only one black color; the chip uPD6453 has 7 byte background colors, edge colors, and character scenery. Therefore, the chip uPD6453 provides users with more choices in color control.

2 Control commands and serial port timing

2.1 uPD6450 control command and control sequence

2.1.1 Control commands

Each control command of uPD6450 consists of two bytes. The first byte is "format", as shown below:

Format X 1 1 1 1 1 F0 FR

The format command is mainly used to release the test mode (FR=1 means releasing the test mode), and provides one bit (F0) to be combined with the next byte to determine the command type. When the first byte of several consecutive control commands, that is, the content of "format" is the same, one "format" command can be shared. The chip uPD6450 provides 10 control commands. Table 1 lists the main functional characteristics of these control commands.

Table 1 Main functions of uPD6450 control commands

Command type The main function
Display control
NTSC/PAL, internal/external video signal, crystal oscillator control
Display block vertical/horizontal position control
Background type, internal video signal color control
Display character row/column address control
Display character size control
Display character flicker control
Display character selection
Determine whether to allow display of characters, character flash frequency, and control the stop and start of LC oscillation.
This command is used to select the display mode and control the stop and start of the crystal oscillator. It should be noted that the external video signal uses LC oscillator, and the internal video signal uses a crystal oscillator. It
is used to determine the distance between the 12-bit and 24-column character display block from the top/left end of the screen. It
is used to determine the background type and the color of the internal video signal (there are 5 Color selection)

Determine the display position of the characters. The corresponding addresses of 12 rows and 24 columns are 0000~1011 and 00000~10111.
Determine the size of the displayed characters in each line (one, two, three or four times display).
Determine whether a single character is Flashing
determines which character among the 128 characters solidified inside the uPD6450 is sent for display

2.1.2 Control sequence

The control sequence is shown in Figure 1. DATA, CLK, STB,BUSY respectively corresponds to the serial data input terminal, clock input terminal, strobe signal input terminal and busy signal output terminal of the chip uPD6450. Only when the BUSY signal is low level, the uPD6450 can read the serial data input by the CPU. 8-bit serial data is written to its internal register.

2.2 uPD6453 control commands and control timing

2.2.1 Control commands

The control commands of uPD6453 are divided into two types: single-byte commands and double-byte commands. These two different command formats have different timings. Table 2 lists the main functional features of these control commands.

Table 2 Main functions of uPD6453 control commands

Command type The main function
display control Determine whether to allow display of characters, the blinking frequency of characters, and control the stop and start of LC oscillation
background control Determine the type of background (no background, character edge background, character block background, full screen background)
Background color control Determine the color of the background (there are 7 color options)
Video RAM reset At this time, the crystal oscillator starts to vibrate, the video RAM writing mode, the color and size of characters, etc. are the default settings.
Display block position control Used to determine the distance between the character display block of 12 rows and 24 columns from the top and left ends of the screen.
Display character row and column address control Determine the row and column positions of characters in a display block of 12 rows and 24 columns
Character size, smoothing control Determine the display size of each line of characters, and whether to use character smoothing measures when displaying in multiples
Character RAM write address control uPD6453 internally provides 16 characters of RAM space, each character is 12×18 dot matrix. This command is used to determine which word and which row of dot matrix data to write in the RAM space (a total of 18 rows). After writing When writing a line, the line address automatically increases by 1. After writing a word, the word address automatically increases by 1.
Character RAM write data control Determine a row of 12-point dot matrix data that needs to be written into the RAM space
display character control Determine which character among the 256 characters of the chip uPD6453 (including the solidified 240 characters and 16 custom characters) is sent for display, as well as the display color and whether the character flashes

2.2.2 Control sequence

Figure 2 shows the control timing of single-byte commands and double-byte commands.

3 Application of uPD6450 and uPD6453 in video character overlay system

3.1 Hardware circuit design

When the chip uPD6453 is used for character superposition, the hardware structure block diagram is shown in Figure 3.

In the design of this circuit, you need to pay attention to the following issues:

(1) The fonts inside the chip uPD6453 (including the 16-character empty RAM area) are all 12×18 dot matrix Chinese characters. It is difficult to find out of the library, so the 12×12 dot matrix font data is used in the design, but it is displayed like this The characters are smaller. After experiments, it was found that when the inductance is 15μH and the capacitance is 56pF, it is more appropriate to display the Chinese characters in a 12×12 dot matrix in double.

(2) 89C52 can only directly manage 64K storage space. When using a 12×12 dot matrix Chinese character library, 128K ROM is required to store all national standard first-level Chinese characters. This requires distribution management. The highest address line is I/O port leads out.

(3) The separation of horizontal and vertical synchronization signals can use special integrated circuits such as LM1881, or discrete analog components. Regarding its specific circuit, it has been discussed in detail in Reference 2. It should be noted that the output end of uPD6453 only outputs the superimposed character signal.

(4) In the design block diagram shown in Figure 3, an external clock chip, such as DS12887, can be connected to the P0 port so that the current time can be superimposed on the video image signal.

When using the chip uPD6450, there are some differences in the hardware circuit design and when using the uPD6453, mainly reflected in two aspects: First, because uPD6450 can only display the 128 characters solidified inside it and cannot display Chinese characters, so the circuit design is no longer Use font library ROM; secondly, the chip uPD6450 itself has input and output pins for video signals. The video signal after character superposition is directly output from this pin, unlike uPD6453 which only outputs character signals. Figure 4 and Figure 5 show the design of the uPD6450 video input and output circuit.

3.2 Software design

Generally speaking, it is necessary to superimpose information such as title and time on the video image signal so that the image signals in the video archive can be distinguished and searched in the future; at the same time, in order to prevent the superimposed character information from affecting the normal image display, the display position of the characters must also be Should be adjustable. Based on these two points, the software design of the entire system is divided into 6 states, and the state diagram is shown in Figure 6.

When programming the software, you can choose the background color on the 5 setting interfaces. When setting the title, if the chip uPD6453 is used, the Chinese character area code filled in by the user needs to be edited, the dot matrix data is extracted from the font ROM, and then the corresponding characters are displayed through the synthesis of uPD6453; but if the chip uPD6453 is used, Then some commonly used characters (such as elegant characters and numbers, etc.) solidified inside the chip can be directly displayed on the setting interface for users to choose. In addition, the title setting should have the functions of character replacement, character insertion, and character deletion. The software programming for time setting is relatively simple. You only need to display the current time set by the user and write it into the clock chip. In terms of programming time movement and title movement, the display position adjustment function provided by chips uPD6450 and uPD6453 brings great convenience to software design.

The above introduces the application of chips uPD6450 and uPD6453 in video character overlay systems, including their performance characteristics, control commands, serial port timing, hardware peripheral circuit design, and software design. When designing a video character overlay system using these two chips, it has the advantages of strong display and editing functions, simple design, high reliability, and easy practicality. It is a better choice for video character overlay.

Reference address:Application of UPD6450 and uPD6453 in video character overlay system

Previous article:Research on computer video monitoring system based on RS-485 bus
Next article:Utilize parallel port to realize high-speed data communication with DSP in EPP mode

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号