《机电工程》杂志,月刊( 详细... )

中国标准连续出版物号 ISSN 1001-4551 CN 33-1088/TH
主办单位浙江省机电集团有限公司
浙江大学
主编赵 群
副 主 编唐任仲、罗向阳(执行主编)
总 经 理罗向阳
出 版浙江《机电工程》杂志社有限公司
地 址杭州市上城区延安路95号浙江省机电集团大楼二楼211、212室
电话Tel+86-571-87041360、87239525
E-mailmeem_contribute@163.com
国外发行中国国际图书贸易总公司
订阅全国各地邮局   国外代号M3135
国内发行浙江省报刊发行局
邮发代号32-68
广告发布登记证:杭上市管广发G-001号

在线杂志

当前位置: 机电工程 >>在线杂志

基于DSP/BIOS的视频监控系统多线程调度研究*

作者:闫建强,马 莉* 日期:2010-11-15/span> 浏览:2803 查看PDF文档

基于DSP/BIOS的视频监控系统多线程调度研究*

闫建强,马 莉*
(杭州电子科技大学 自动化学院,浙江 杭州 310018)

摘要:为了提高视频监控系统的实时性,提出了一种基于TMS320DM642实时内核DSP/BIOS的多线程调度软件框架实现方式,采用多线程的优先级BIOS下静态配置和信号灯(SEM)、邮箱(MBX)等多通信模块API函数动态调用的方法,并结合串口硬件中断来响应外部控制事件,实现了整个视频监控系统多线程之间的相互通信和数据共享,多种通信模块配合实时的完成了系统多线程的合理调度。在满足系统实时性和可靠性需求的前提下,经林区现场实验验证,此监控系统具有较高的准确性和实效性,系统设计和资源分配正确合理。
关键词:DSP/BIOS;多线程;实时性;串口中断
中图分类号:TH79;TP274
文献标识码:A文章编号:1001-4551(2010)09-0032-05

Researchs of multithreading scheduling in a video monitoring system based on DSP/BIOS
YAN Jianqiang, MA Li
(School of Automation, Hangzhou Dianzi University, Hangzhou 310018, China)

Abstract: Aiming at improving the realtime ability in a video monitoring system, an implementation software framework of multithreading scheduling based on TMS320DM642s DSP/BIOS was proposed. Combining with serial hardware interrupts in response to external control events, communication and data sharing among threads were achieved by the static priority configuration for multiple threads under BIOS and dynamic calling of modules API such as semaphore(SEM) and mailbox(MBX). The reasonable multithreading scheduling was realized in conjunction with multiple communication modules. Under the precondition of meeting the requirements of realtime and reliability, the monitoring system has higher accuracy and efficiency through the forest field tests.The system design and rational distribution of resources are correct and reasonable.
Key words: DSP/BIOS; multithreading; realtime; UART interrupt



友情链接

浙江机械信息网