本文简要介绍了实时操作系统的概念,对RTAI 与LINUX 相结合的双内核硬实时操作 系统进行了深入的研究,设计了基于双内核的通用实时操作系统的结构框架。并实现了高速数据采集卡、光纤卡、多串口等硬件的LINUX 实时高速驱动,并在实时控制平台上实现了相关控制和仿真算法。最终在此基础上开发了基于UNIX/LINUX 的高速硬实时控制软件,试验表明其具有较高的运行效率。 关键词:硬实时 LINUX RTAI 双内核 Abstract: This paper comes up with a general real-time software architecture based on LINUX&RTAI which is designed to implements hard real-time operations and soft real-time operations simultaneity in RTAI-CORE and LINUX-CORE. And finally establish high-speed real-time control software based on a general real time software architecture, and the design was proved by experiments that it is efficient.