...
首页> 外文期刊>Kwartalnik Elektroniki i Telekomunikacji >Zastosowanie metody odpytywania wielocyklowego w cyfrowych interfejsach szeregowych opartych o architekturę master-slave
【24h】

Zastosowanie metody odpytywania wielocyklowego w cyfrowych interfejsach szeregowych opartych o architekturę master-slave

机译:基于主从架构的多周期轮询方法在数字串行接口中的应用

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Modern electronic devices use digital serial interfaces to conecting microprocessor and other elements. It allows to use cheap and simple devices and to place them in most correct places. Two or three wires interfaces are used generally. The most popular architecture of that systems is master-slave. That architecture is easy to implement and there is lack of message collisions. In this paper three digital serial interfaces: I~2 Cbus, SPI and 1-Wire based on master-slave architecture are presented briefly. There are the most popular among that kind of digital serial interfaces. Next a model of time analysis in sense of meeting time constrain is shown. Let the time of polling every slaves by a master be called target polling time (TPT). The necessary condition to meet time constrain in a system is the TPT value must meet condition TPT ≤ d_(min), where d_(min) is minimum value of messages deadline in a system. If a system still doesn't meet time constrain a multicycle mechanism as alternative manner to monocycle mechanism should be used in master-slave systems. The monocycle mechanism polls every variable during TPT time. The multicycle method is based on a rule that every variable in a system is polled only once during its period. Three algorithms are shown which generate the polling sequences for multicycle mechanism: a uniform algorithm and two priority algorithms - based on Generalised Rate Monotonic Scheduling and Earliest Deadline First methods. In order to use the multicycle mechanism is necessary to transform periods of variables as follows: the base cycle of multicycle method equals the minimum period, the rest periods are calculated as integer multiple of the minimum period. Variables with the same period after transformation form groups of variable. Algorithms of multicycle mechanism poll variables from these groups as follows: the uniform algorithm from minimum period to maximum, priority algorithms according to assigned priority to groups. The uniform algorithm is the simplest and additional time for performing algorithm is the smallest.%We współczesnych urządzeniach elektronicznych wykorzystuje się połączenia sieciowe pomiędzy mikroprocesorami i innymi elementami układu. Jako architekturę protokołu sieciowego stosuje się najczęściej model master-slave. W artykule omówiono podstawowe zasady funkcjonowania trzech cyfrowych interfejsów szeregowych, pracujących w oparciu o ww. architekturę: I~2 Cbus, SPI i 1-Wire. Następnie przedstawiono uogólniony model analizy czasowej takich systemów pod kątem spełnienia ograniczeń czasu rzeczywistego. Zaprezentowano także model odpytywania wielocyklowego jako alternatywę dla tradycyjnej metody odpytywania jednocyklowego stosowanej w magistralach o architekturze master-slave. Przedstawione zostały trzy algorytmy wytwarzające sekwencję odpytywania wielocyklowego: jednorodny oraz dwa priorytetowe - z użyciem metody Generalised Rate Monotonic Scheduling (GRMS) i Earliest Deadline First (EDF). Dokonano porównania tych trzech algorytmów, przedstawione wnioski zobrazowano przykładem.
机译:现代电子设备使用数字串行接口连接微处理器和其他元件。它允许使用便宜和简单的设备,并将它们放在最正确的位置。通常使用两线或三线接口。该系统最流行的体系结构是主从。该体系结构易于实现,并且没有消息冲突。本文简要介绍了基于主从架构的三个数字串行接口:I〜2 Cbus,SPI和1-Wire。在这类数字串行接口中,最受欢迎的是。接下来,示出了在满足时间约束的意义上的时间分析模型。将由主机轮询每个从属设备的时间称为目标轮询时间(TPT)。满足系统时间约束的必要条件是TPT值必须满足条件TPT≤d_(min),其中d_(min)是系统中消息期限的最小值。如果系统仍然不能满足时间限制,则在主从系统中应使用多周期机制作为单周期机制的替代方式。单周期机制在TPT时间内轮询每个变量。多周期方法基于以下规则:系统中的每个变量在其周期内仅被轮询一次。显示了三种算法,这些算法可生成多周期机制的轮询序列:统一算法和两种优先级算法-基于广义速率单调调度和最早截止时间优先方法。为了使用多周期机制,必须按以下方式转换变量的周期:多周期方法的基本周期等于最小周期,其余周期被计算为最小周期的整数倍。转换后具有相同时期的变量构成变量组。多周期机制的算法按以下顺序轮询这些组中的变量:从最小周期到最大的统一算法,根据分配给组的优先级的优先级算法。统一算法是最简单的,执行算法所需的额外时间是最小的。%我们对算法进行了优化。 Jakoarchitekturęprotokołusieciowego模型主从模型。 W artykuleomówionopodstawowe zasady funkcjonowania trzech cyfrowychinterfejsówszeregowych,pracującychw oparciu o ww。架构:I〜2 Cbus,SPI i 1-Wire。 Nanaępnieprzedstawiono uoanayion模型analizy czasowej takichsystemópodpodkątemspełnieniaograniczeńczasu rzeczywistego。 Zaprezentowano型号odpytywania wielocyklowego jakoalternatywędla tradycyjnej metody odpytywania jednocyklowego stosowanej w magistralach o architekturze主从。优先次序最早的截止时间优先(EDF)。 Dokonanoporównaniatych trzechalgorytmów,przedstawione wnioski zobrazowanoprzykładem。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号