节点文献
应用于数字视频处理系统的OSD模块设计与验证
Design and Verification of OSD Module Applied to Digital Video Processing System
【作者】 李强;
【作者基本信息】 西安电子科技大学 , 电子信息硕士(专业学位), 2023, 硕士
【摘要】 OSD(On Screen Display)在屏显示系统是在视频信号中混入图像或字符信号,从而在屏幕特定位置上与图像同步显示的技术,是视频处理系统中重要的组成部分。随着平板电视、摄像机、视频监控、电竞显示器等不断的发展,OSD在交通、安防、娱乐和日常生活中也发挥着越来越重要的作用。OSD系统是由窗口与字符组成,早期的OSD系统作为人机交互的桥梁控制着屏幕显示的各种参数,但存在着无论是窗口还是字符都有着显示效果与颜色单一而导致的画面不精美问题。随着数字视频技术的飞速发展,市场对OSD系统的显示要求也越来越高,要求OSD的处理速度更快、色彩丰富、支持窗口的特殊显示效果、支持旋转应用等。因此开发一款具有上述功能的OSD系统显得格外重要,它能为用户提供精美的交互界面和提高系统的使用效率。首先,论文开展了OSD模块的设计工作,介绍了OSD显示的相关原理与接口信息。在实现OSD字符叠加显示的基本功能下添加了一些新的功能,包括窗口的边框显示、窗口的阴影显示、窗口的画线格显示、窗口的渐进色显示、字符的坐标旋转模式、字符的像素旋转模式等。后根据OSD的功能特性设计出OSD模块的整体框架且对OSD的各个模块的功能做出了详细的研究,给出了具体的实现方式。整个设计的框架分成了时序产生模块、寄存器总线接口模块、窗口处理模块、字体处理模块、配置更新模块、叠加模块、AHB2SRAM模块,最终使用Verilog HDL硬件编程语言完成了OSD模块的设计。在完成OSD设计的基础上,根据本OSD系统的功能提取出验证功能点,并基于通用验证方法学UVM(Universal Verification Methodology)搭建了验证平台,后针对各个验证功能点编写测试激励完成对OSD的仿真验证。通过检查测试用例的仿真波形,并且收集的代码覆盖率达到95%,说明设计实现了目标的功能。最后通过FPGA(Field Programmable Gate Array)原型验证结果表明,本文所设计的OSD系统界面与源视频图像叠加显示正常,窗口特效显示正常,字符与窗口旋转正常,无画面切换导致的撕裂现象,操作控制简单,系统功能稳定,具有较好的应用前景。
【Abstract】 OSD(On Screen Display)is a technology that mixes an image or character signal into the video signal to synchronize with the image at a specific position on the screen.It is an important part of the video processing system.With the continuous development of flat screen TVs,video cameras,video surveillance,gaming monitors,etc.,OSD also plays an increasingly important role in transportation,security,entertainment and daily life.The OSD system is composed of windows and characters,and the early OSD system as a bridge of human-computer interaction controls various parameters of the screen display,but there is a problem that both the window and the character have a single display effect and color.With the rapid development of digital video technology,the market has higher and higher requirements for the display of OSD systems,requiring faster processing speed,rich colors,special display effects of support windows,and support for rotating applications.Therefore,it is particularly important to develop an OSD system with the above functions,which can provide users with a beautiful interactive interface and improve the efficiency of the system.In the thesis,firstly the design of the OSD module was carried out.The relevant principles and interface information of OSD display are introduced,and some new functions are added under the basic functions of OSD character overlay display,including window border display,window shadow display,window line grid display,window progressive color display,character coordinate rotation mode,character pixel rotation mode,etc.Then,according to the functional characteristics of OSD,the overall framework of OSD module is designed,and the functions of each module of OSD are studied in detail,and the specific implementation method is given.The framework of the whole design is divided into timing generation module,register module,window processing module,font processing module,configuration update module,overlay module,AHB2 SRAM module,and finally uses the Verilog HDL hardware programming language to complete the design of the OSD module.On the basis of completing the OSD design,the verification function points are extracted according to the functions of the OSD system,and the verification platform is built based on the universal verification methodology UVM(Universal Verification Methodology),and then the test stimulus is written for each verification function point to complete the simulation verification of the OSD.By examining the simulated waveforms of the test cases and collecting code coverage of 95%,it shows that the design achieves the function of the target.Finally,the FPGA(Field Programmable Gate Array)prototype verification results show that the OSD system interface and source video image superposition display is normal,window special effects are displayed normally,characters and windows rotate normally,there is no tearing phenomenon caused by screen switching,the operation control is simple,the system function is stable,and it has good application scenarios.
【Key words】 On-Screen Display System; Character lattice; Universal Verfication Methodology; Coverage Rate;
- 【网络出版投稿人】 西安电子科技大学 【网络出版年期】2025年 03期
- 【分类号】TP391.41