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.
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
- Popular Resources
- Popular amplifiers
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- IC card swiping technology under the screen
- AC detector
- Selection and application of freewheeling diode
- ESP32 CAM Development with MicroPython
- Division circuit
- Android smart wearable device development from entry to mastery pdf download
- Why can't we develop industry software like Matlab?
- Android control LED-2-JNI basis of SinlinxA33 development board
- Free application: Canaan AI new product K510 development kit, RISC-V dual-core CPU @ 800MHZ (with training video)
- Watchdog for C2000-8027 series