排序方式: 共有15条查询结果,搜索用时 15 毫秒
1.
为提高混合实时任务的确定性,提出了一种两级调度算法。先给出了调度算法的架构,通过增加一个调度模块实现周期性实时任务调度,非周期性实时任务则由系统内核调度。然后建立了任务模型,并对调度算法、任务集可调度性和抖动等进行深入研究。将提出的调度算法应用到基于Windows CE.NET的液压机控制系统中,分析了控制系统的硬件平台和任务划分。最后对调度算法进行验证,结果表明,该算法能保证混合实时任务的确定性,减小抖动,从而提高控制系统的精度。 相似文献
2.
面向软数控系统的混合任务调度算法 总被引:2,自引:0,他引:2
为减小因软数控混合任务不确定性而引起的加工误差,提出了面向软数控的模糊反馈调度算法和两级结构的调度策略.在分析软数控任务划分和任务模型的基础上,研究了软数控模糊反馈调度算法的结构,并推导出调度算法表.通过对比仿真试验表明:不采用模糊反馈调度,加工误差达11.9%;采用模糊反馈调度,加工误差最大值仅为1.04%.给出了两级调度策略的架构,并对调度算法、任务可调度性及时标间隔进行了研究.所提出的两级调度策略已应用到基于Windows CE.NET的软数控系统中,实测任务运行状态显示,实时任务具有很好的确定性.仿真试验和具体实施的结果表明,提出的两种算法能满足软数控系统的个性化实时应用. 相似文献
3.
4.
5.
万加富 《电脑编程技巧与维护》2003,(4):40-41
一、前言 在许多监控及数据采集系统中,需要上位机与下位机实时通信。而模块化的程序设计是现在程序开发的主流。本文采用动态链接库中建立线程监视串口,当有数据到接收缓冲,响应一个事件,主程序去取数据。这样的串行通信程序能实现“查询”和“主动接收” (查询 上位机发命令的通 相似文献
6.
7.
8.
9.
本文以Visual C 6.0为工具,采用在动态库中建立串口监视线程,当有数据上口接收缓冲时,便通过消息响应取得缓冲中数据,这种方法在实时通信中有很好的应用。 相似文献
10.
In order to optimize the embedded system implementation for Ethernet-based computer numerical control (CNC) system, it is
very necessary to establish the performance analysis model and further adopt the codesign method from the control, communication
and computing perspectives. On the basis of analyzing real-time Ethernet, system architecture, time characteristic parameters
of control-loop etc, a performance analysis model for real-time Ethernet-based CNC system was proposed, which is able to include
the timing effects caused by the implementation platform in the simulation. The key for establishing the model is accomplished
by designing the error analysis module and the controller nodes. Under the restraint of CPU resource and communication bandwidth,
the experiment with a case study was conducted, and the results show that if the deadline miss ratio of data packets is 0.2%,
then the percentage error is 1.105%. The proposed model can be used at several stages of CNC system development. 相似文献