• Title/Summary/Keyword: Real-time Operating Systems

Search Result 474, Processing Time 0.025 seconds

Design and Implementation of a Temporary Priority Swapping Protocol for Solving Priority Inversion Problems in MicroC/OS-II Real-time Operating System (MicroC/OS-II 실시간 운영체제에서의 우선순위 역전현상 해결을 위한 일시적 우선순위 교환 프로토콜 설계 및 구현)

  • Jeon, Young-Sik;Kim, Byung-Kon;Heu, Shin
    • The KIPS Transactions:PartA
    • /
    • v.16A no.6
    • /
    • pp.463-472
    • /
    • 2009
  • Real-time operating systems must have satisfying various conditions such as effective scheduling policies, minimized interrupt delay, resolved priority inversion problems, and its applications to be completed within desired deadline. The real-time operating systems, therefore, should be designed and developed to be optimal for these requirements. MicroC/OS-II, a kind of Real-time operating systems, uses the basic priority inheritance with a mutex to solve priority inversion problems. For the implementation of mutex, the kernel in an operating system should provide supports for numerous tasks with same priority. However, MicroC/OS-II does not provide this support for the numerous tasks of same priority. To solve this problem, MicroC/OS-II cannot but using priority reservation, which leads to the waste of unnecessary resources. In this study, we have dealt with new design a protocol, so called TPSP(Temporary Priority Swap Protocol), by an effective solution for above-mentioned problem, eventually enabling embedded systems with constrained resources environments to run applications.

Performance Analysis of Ship IPMS Simulator Based on DDS integrated with Different Operating System Equipment (이종 운영체제 장비를 통합한 DDS 기반 선박 IPMS 시뮬레이터 성능 분석)

  • Seongwon Oh
    • Journal of Advanced Navigation Technology
    • /
    • v.28 no.2
    • /
    • pp.210-215
    • /
    • 2024
  • With increasing automation in ships and the development of autonomous ships, an IPMS (Integrated Platform Management System) in ship needs to integrate and process large amounts of real-time data from various equipment operating on different operating systems. A ship IPMS simulator based on data distribution service (DDS) was developed and its performance was evaluated to handle data processing similar in real ship environment. Errors were monitored while 1,000 topics/sec were asynchronously published and subscribed from data acquisitive units (DAUs) and an IPMS server operating on different operating systems. Except for the loss of some topics during the initial 4 seconds, topics were received without an error thereafter. The developed simulator demonstrates the feasibility of using DDS to integrate various control systems using different operating systems in actual ships.

Embedded Operating Systems;Windows CE, Embedded Linux, pSOS, uC/OS

  • Park, Kwang-Hyun;Jeon, Jae-Wook
    • 제어로봇시스템학회:학술대회논문집
    • /
    • 2003.10a
    • /
    • pp.1976-1981
    • /
    • 2003
  • Except a desktop computer and workstation, an embedded system is a system containing microprocessors. While a desktop computer and a workstation are designed for a general purpose, an embedded system is designed for a dedicated purpose. Thus, an embedded system must meet some constraints such as low power consumption, low cost, small size, real-time, or user-defined ones. A simple and low cost embedded system may be able to be designed without using embedded operating systems (OS). However, considered design time and effort, some embedded system had better be designed with using embedded OS. Under given constraints and purpose of some embedded systems, one embedded OS can save more time, cost, and effort in designing those embedded systems than others. This paper compares four embedded OSs, Windows CE, Embedded Linux, pSOS, and uC/OS. It analyzes several issues of embedded OS such as process scheduling, inter-process communication (IPC), memory management, and network support. Also, it describes the product of each embedded OS.

  • PDF

The Design and Implementation of C Standard Library for RTOS Q+ (실시간 운영체계 Q+를 위한 C 표준 라이브러리 설계 및 구현)

  • Kim, Do-Hyeong;Park, Seung-Min
    • The KIPS Transactions:PartA
    • /
    • v.8A no.1
    • /
    • pp.1-8
    • /
    • 2001
  • This paper describes the design and implementation of C standard library for real-time operating system Q+, that is being developed for the internet appliance. The C library in the real-time operating system should be defined according to the standard interface and support the concurrent execution of threads. The implemented C standard library is reentrant and follows POSIX.l standard interface. And, the C standard library functions, which are adequate to the Q+ application and commonly provided by commercial real-time operating systems, are selected among POSIX.l standard functions. The C standard library is implemented on the Q+ kernel and D-TV set-top box according to the implementation sequence, which is determined by analyzing the relation of function calls.

  • PDF

Building Light Weight CORBA Based Middleware for the CAN Bus Systems

  • Hong, Seongsoo
    • Transactions on Control, Automation and Systems Engineering
    • /
    • v.3 no.3
    • /
    • pp.181-189
    • /
    • 2001
  • The software components of embedded control systems get extremely complex as they are designed into distributed systems get extremely complex as they are designed into distributed systems consisting of a large number of inexpensive microcontrollers interconnected by low-bandwidth real-time networks such as the controller area network (CAN). While recently emerging middleware technologies such as CORBA and DCOM address the complexity of distributed programming, they cannot be directly applied to distributed control system design due to their excessive resource demand and inadequate communication models. In this paper, we propose a CORBA-based middleware design for CAN-based distributed embedded control systems. Our design goal is to minimize its resource need and make it support group communication without losing the IDL (interface definition language) level compliance to the OMG standards. To achieve this, we develop a transport protocol on the CAN and a group communication scheme based on the well-known publisher/subscriber model. The protocol effectively realizes subject-based addressing and supports anonymous publisher/subscriber communication. We also customize the method invocation and message passing protocol, referred to as the general inter-ORB protocol (GIOP), of CORBA so that CORBA method invocations are efficiently serviced on a low-bandwidth network such as the CAN. This customization includes packed data encoding and variable-length integer encoding for compact representation of IDL data types. We have implemented our CORBA-based middleware on the mArx real-time operating system we have developed at Seoul National University. Our experiments clearly demonstrate that it is feasible to use CORBA in developing distributed embedded control systems possessing severe resource limitations. Our design clearly demonstrates that it is feasible to use a CORBA-based middleware in developing distributed embedded systems on real-time networks possessing severe resource limitations.

  • PDF

Real-time line control system for automated robotic assembly line for multi-PCB models

  • Park, Jong-Oh;Hyun, Kwang-Ik;Um, Doo-Gan;Kim, Byoung-Doo;Cho, Sung-Jong;Park, In-Gyu;Kim, Young-Sik
    • 제어로봇시스템학회:학술대회논문집
    • /
    • 1991.10b
    • /
    • pp.1915-1919
    • /
    • 1991
  • The efficiency of automated assembly line is increased by realizing the automation of each assembly cell, monitoring the line information and developing the real-time line control system it. which production flow is controllable. In this paper, the several modules which are important factors when constructing automated real-time control system, such as, line control S/W module, real-time model change module, error handling module and line production management S/W module, are developed. For developing these important programming modules, real-time control and multi-tasking techniques are integrated. In this paper, operating method of real-time line control in PCB automated assembly line is proposed and for effective control of production line by using multi-tasking technique, proper operating method for relating real-time line control with multi-tasking is proposed by defining the levels of signals and tasks. CIM-Oriented modular programming method considering expandability and flexibility will be added for further research in the future.

  • PDF

Implementation for Real-Time of MIL-STD-1553B Communication in Inspection Equipment Based on Windows with RTiK and DPC Control (RTiK과 DPC 제어를 통한 윈도우즈 기반의 검사장비에서 MIL-STD-1553B 통신의 실시간 구현)

  • Kim, Jong-Jin;Lee, Sang-Gil;Lee, Cheol-Hoon
    • Journal of Korea Multimedia Society
    • /
    • v.24 no.2
    • /
    • pp.199-207
    • /
    • 2021
  • It is very important to support real-time on the inspection equipment based on Windows. In particular, in the system using MIL-STD-1553B communication, which is widely used in military weapon systems, real-time is required for inspection equipment that uses mostly platforms based on Windows such as Industrial PCs. However, in order to use a complete real-time operating system such as VxWorks, the purchase cost is expensive and the implementation is complicated on the system, so it is not suitable for inspection equipment that requires simple functions to just check go or no-go. Therefore, in this paper, a Real-Time implanted Kernel(RTiK) in the Windows kernel is implanted in order to improve these defects, and real-time performance is implemented for periodically MIL-STD-1553B communication by Deferred Procedure Call(DPC) of Windows. Also, it was verified that the period of up to 2ms was guaranteed with a RDTSC into the EDX:EAX registers for measuring the periodicity.

LRF-Based Servo System for a Manipulator Grasping Moving Cylinders (움직이는 원통형 물체를 잡는 매니퓰레이터를 위한 레이저 거리계 기반의 서보시스템)

  • Cheon, Hong-Seok;Kim, Byung-Kook
    • Journal of Institute of Control, Robotics and Systems
    • /
    • v.14 no.3
    • /
    • pp.263-272
    • /
    • 2008
  • We implemented a real-time servo system for a manipulator based on Laser Range Finder (LRF). and established algorithms for grasping a moving cylinder. We devised a manipulator mechanism and driving hardware based on a system board equipped with Xscale Processor with real-time operating system RTAI on Linux. The manipulator motor driver is connected to the system board via CAN communication link, and LRF is connected via RS-232C. We implemented real-time software including CAN device driver, RS-232C device driver, manipulator trajectory generator, and LRF control software. A typical application experiment for grasping a cylinder with circle motion demonstrated our system's real-time performance.

Joint Space Trajectory Planning on RTOS (실시간 운영체제에서 관절 공간 궤적 생성)

  • Yang, Gil-Jin;Choi, Byoung-Wook
    • Journal of the Korean Institute of Intelligent Systems
    • /
    • v.24 no.1
    • /
    • pp.52-57
    • /
    • 2014
  • This paper presents an implementation of a smooth path planning method considering physical limits on a real time operating system for a two-wheel mobile robot. A Bezier curve is utilized to make a smooth path considering a robot's position and direction angle through the defined path. A convolution operator is used to generate the center velocity trajectory to travel the distance of the planned path while satisfying the physical limits. The joint space velocity is computed to drive the two-wheel mobile robot from the center velocity. Trajectory planning, velocity command according to the planned trajectory, and monitoring of encoder data are implemented with a multi-tasking system. And the synchronization of tasks is performed with a real-time mechanism of Event Flag. A real time system with multi-tasks is implemented and the result is compared with a non-real-time system in terms of path tracking to the designed path. The result shows the usefulness of a real-time multi-tasking system to the control system which requires real-time features.