• Title/Summary/Keyword: real time linux

Search Result 244, Processing Time 0.026 seconds

A Study on Implementation of Real-time EtherCAT Master (실시간 EtherCAT 마스터 구현에 관한 연구)

  • Kang, Sung Jin
    • Journal of the Semiconductor & Display Technology
    • /
    • v.20 no.2
    • /
    • pp.131-136
    • /
    • 2021
  • EtherCAT is an Ethernet-based fieldbus system standardized in IEC 61158 and SEMI, and widely used in the fields of factory automation, semiconductor equipment and robotics. In this paper, a real-time EtherCAT master is implemented on Linux operating systems and its performances are evaluated. To enhance the real-time capability of mainline Linux kernel, Xenomai is applied as a real-time framework and an open source EtherCAT master stack, Simple Open EtherCAT Master (SOEM), is installed on it. Unlike other studies, the real-time performance of the EtherCAT master is evaluated at the output of the network interface card, so that the evaluation results include all possible effects from the EtherCAT master system. The implemented EtherCAT master can send and receive packets up to 20KHz control frequency with low jitter, even in stressed condition.

Real-Time Kernel for Linux based on ARM Processor, RTiKA (Real-Time Implant Kernel For ARMLinux) (ARM 프로세서 기반의 리눅스를 위한 실시간 확장 커널 (RTiKA, Real-Time implant Kernel for ARMLinux))

  • Lee, Seung-Yul;Lee, Sang-Gil;Lee, Cheol-Hoon
    • The Journal of the Korea Contents Association
    • /
    • v.17 no.10
    • /
    • pp.587-597
    • /
    • 2017
  • Recently, the demand for real-time performance in mobile environment is increasing due to the improvement of hardware performance, however a GPOS(General-Purpose Operating System) such as Android and Linux do not provide real-time performance. We developed RTiK(Real-Time implant Kernel) for this problem, but it has the disadvantage of supporting only x86 Architecture. In this paper, we designed and implemented a RTiKA(Real-Time implanted Kernel for ARM) to support real-time in ARM Linux. We used MCT(Multi-Core Timer) timer which replaces Local APIC Timer for real-time support, and we measured the period of generated real-time task for performance verification and evaluation. As the recent the RTiKA can guarantee the operating of several real-time tasks based on the cycle of 1ms.

Methods for Improving Portability of RTiK to Real-time Performance on Linux-based Systems (리눅스 기반 실시간 성능 제공 RTiK의 이식성 향상을 위한 방법)

  • Lee, Sang-Gil;Lee, Jeong-Guk;Lee, Cheol-Hoon
    • The Journal of the Korea Contents Association
    • /
    • v.20 no.8
    • /
    • pp.54-64
    • /
    • 2020
  • RTiK-Linux is a method to provide real-time performance to Linux, it is controlled by directly accessing hardware registers to implement time tick interrupts. It implemented on x86 Intel and ARM based Exynoss 5422, but it had a disadvantage that it could not be ported to both fragmented other platform environments. In this paper, We change structure of time tick interrupt for improve po rtability so that it can operate on other platforms. We apply high-resolution timers that are independent of hardware, and modify operating structure to task and event to satisfy time determinism. It was confirmed that the improved RTiK-Linux works well in x86 and various ARM AP environments.

Development of Real time Linux-based Open Architecture Controller (리얼타임 리눅스기반 개방향제어기 개발)

  • 조영준;강희석;김영진;강성복;서연곤
    • Journal of Institute of Control, Robotics and Systems
    • /
    • v.9 no.10
    • /
    • pp.816-821
    • /
    • 2003
  • In the manufacturing industries, agility and flexibility are the key issues to meet the various market demands. From this point of view, open architecture control has many advantages. This paper suggests a real-time Linux-based open architecture controller. Linux-based and windows-based controllers are compared in several aspects, and Linux is shown to be advantageous over the windows. With the user friendly GUI, the suggested controller is applied to the X-Y stage which is made of two linear motors. Path following and repeatability performances are successfully observed, which shows the validity of the suggested controller.

The Design and Implementation of RTiK-Linux to Support Real-Time for User-level on Linux (리눅스상의 사용자영역에 실시간성 지원을 위한 RTiK-Linux의 설계 및 구현)

  • Seo, Dal-Mi;Jo, Ah-Ra;Lee, Cheol-Hoon
    • Proceedings of the Korea Contents Association Conference
    • /
    • 2012.05a
    • /
    • pp.263-264
    • /
    • 2012
  • 임베디드 시스템은 특정한 목적을 수행하기 위한 시스템으로써, 자동차, 항공, 조선, 원자력발전소 등 다양한 분야에 사용되고 있는 추세이다. 이러한 임베디드 시스템은 빠른 응답성 및 시간 결정성을 위한 실시간성의 지원여부를 중요시 한다. 하지만 임베디드 시스템에서 사용되고 있는 범용 운영체제인 리눅스의 경우, 실시간성을 제공하지 않는 문제점을 가지고 있기 때문에 실시간성 제공을 위해 RTAI, RT-Linux를 통해 실시간성을 제공하고 있다. 그러나 RTAI는 Hard Real-Time을 제공하지 못하고, RT-Linux는 커널코드를 수정할 때 마다 커널 컴파일을 해야 하는 문제점이 있다. 또한, 사용자가 잘못 구현한 Real-Time 태스크의 오류가 커널에 영향을 미쳐 커널을 멈추게 하는 문제점이 있다. 따라서 리눅스 상에서 실시간성을 제공하면서 개발의 편의성 및 커널의 독립성을 제공할 수 있는 연구가 필요하다. 본 논문에서는 리눅스상의 사용자영역에서의 실시간성을 지원하기 위한 방법을 설계 및 구현을 하였다.

  • PDF

Design and Implementation of a Linux-based Message Processor to Minimize the Response-time Delay of Non-real-time Messages in Multi-core Environments (멀티코어 환경에서 비실시간 메시지의 응답시간 지연을 최소화하는 리눅스 기반 메시지 처리기의 설계 및 구현)

  • Wang, Sangho;Park, Younghun;Park, Sungyong;Kim, Seungchun;Kim, Cheolhoe;Kim, Sangjun;Jin, Cheol
    • Journal of KIISE
    • /
    • v.44 no.2
    • /
    • pp.115-123
    • /
    • 2017
  • A message processor is server software that receives non-realtime messages as well as realtime messages from clients that need to be processed within a deadline. With the recent advances of micro-processor technologies and Linux, the message processor is often implemented in Linux-based multi-core servers and it is important to use cores efficiently to maximize the performance of system in multi-core environments. Numerous research efforts on a real-time scheduler for the efficient utilization of the multi-core environments have been conducted. Typically, though, they have been conducted theoretically or via simulation, making a subsequent real-system application difficult. Moreover, many Linux-based real-time schedulers can only be used in a specific Linux version, or the Linux source code needs to be modified. This paper presents the design of a Linux-based message processor for multi-core environments that maps the threads to the cores at user level. The message processor is implemented through a modification of the traditional RM algorithm that consolidates the real-time messages into certain cores using a first-fit-based bin-packing algorithm; this minimizes the response-time delay of the non-real-time messages, while guaranteeing the violation rate of the real-time messages. To compare the performances, the message processor was implemented using the two multi-core-scheduling algorithms GSN-EDF and P-FP, which are provided by the LITMUS framework. The benchmarking results show that the response-time delay of non-real-time messages in the proposed system was improved up to a maximum of 17% to 18%.

Improvement of Linux Schedulability Analysis for Simultaneous Support of Real-Time Task Groups and Deadline Task (실시간 태스크 그룹과 데드라인 태스크의 동시 지원을 위한 리눅스 스케줄링 가능성 분석 개선)

  • Yim, Yin-Goo;Jin, Hyun-Wook;Lee, Sang-Hun
    • KIISE Transactions on Computing Practices
    • /
    • v.23 no.7
    • /
    • pp.452-457
    • /
    • 2017
  • Linux is a general-purpose operating system that supports several schedulers, allowing different schedulers to coexist. In addition, Linux uses the Control Group (cgroup) to reserve CPU resources for task groups that follow the real-time (SCHED_FIFO, SCHED_RR) and non-real-time (SCHED_NORMAL) scheduler policies, except for the deadline scheduler (SCHED_DEADLINE). The cgroup performs the schedulability analysis to guarantee the reserved CPU resource as much as possible. However, current implementation of the schedulability analysis does not distinguish between deadline tasks and real-time tasks. Therefore, if these deadline tasks and real-time task groups coexist, there is a case where the resource reservation for the real-time task group is rejected. In this paper, we analyze the problems in the schedulability analysis for real-time task groups of Linux cgroups and propose patches to solve these problems.

Development of a Guide Robot with Real-Time Linux OS

  • Mun, Jun-Hak;Seo, Gon-Yeon;Kim, Jin-Oh
    • 제어로봇시스템학회:학술대회논문집
    • /
    • 2001.10a
    • /
    • pp.137.1-137
    • /
    • 2001
  • A new method for a guide robot using Real-Time Linux OS is introduced in this paper. A guide robot is to guide people in museums or buildings. So it has to be more reliable and stable in its control system. In addition, it has to satisfy Real-Time operation requirement because it needs to react to changing environment prompty. The task includes localization, map building, collision avoidance, path planning, and user interface software. The modular guide robot is designed with Real-Time Linux OS, which is composed of many open sources for scheduler, interrupt dispatcher, fifos, shared memory, timer services. We developed application software to satisfy the given task. The developed guide robot moves at 0.2ms and the interrupt latency is less than 100$\mu\textrm{s}$ It is thought that the developed system can be a stable and low cost open architecture robot controller for ...

  • PDF

A Design and Implementation of the Real-Time VoIP Terminal System Based on Linux (리눅스 기반 실시간 처리 VoIP 단말기 시스템의 설계 및 구현)

  • Lee, Myeong-Geun;Lee, Sang-Jeong;Seo, Jeong-Min;Im, Jae-Yong
    • The KIPS Transactions:PartA
    • /
    • v.8A no.4
    • /
    • pp.345-352
    • /
    • 2001
  • In this paper, a VoIP (Voice on Internet Protocol) terminal system, which can process voice in real time based on Linux, is designed and implemented. The hardware of it is designed using a i486 processor and a DSP codec chip which encodes and decodes voice data in real time. As an operating system, RTLinux, which is a real-time operating system based on Linux, is ported to manage real-time voice processing. The voice processing module of the system uses G.723.1 voice codec of ITU-T standard. It transfers voice data within 30ms to assure good voice quality. In order to satisfy the real time requirements and QoS (Quality-of-Service) for the voice data, the real-time voice processing device driver is designed and implemented. To verify the system, the chatting application program is developed and tested for QoS of the system.

  • PDF

A LINUX-BASED CUSTOMER CONSULTING SYSTEM USING JAVA (Java로 구현한 Linux 기반의 고객 상담 시스템)

  • 김현만;정연모;진병도
    • Proceedings of the IEEK Conference
    • /
    • 2000.11c
    • /
    • pp.101-104
    • /
    • 2000
  • One of the most important marketing strategies is how to solve customers' complaints. Under developing internet environment, it is possible to use internet multimedia consultant system to do cope with the problem. In this paper, we have realized the customer consulting system which is based on Linux as the operating system. Java is used as a programming language. With the use of the RTP(Real-time Transport protocol), the system provides picture and sound transactions between a consultant and customers in a real-time fashion.

  • PDF