• 제목/요약/키워드: Real Time Operating Systems

검색결과 470건 처리시간 0.034초

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

  • 전영식;김병곤;허신
    • 정보처리학회논문지A
    • /
    • 제16A권6호
    • /
    • pp.463-472
    • /
    • 2009
  • 실시간 운영체제는 효율적인 스케줄링, 최소화된 인터럽트 지연, 우선순위 역전현상 해결 등의 다양한 조건을 만족시킴과 동시에, 응용프로 그램이 정해진 기한 내에 수행되는 것을 보장하여야 한다. 따라서 실시간 운영체제는 상기 조건을 만족시킬 수 있도록 설계/개발되어야 한다. 대중적인 실시간 커널의 한 종류인 MicroC/OS-II에서는 우선순위 역전 현상에 대한 해결 기법으로 뮤텍스(Mutex)를 사용한 기본적인 우선순 위 상속(Basic Priority Inheritance) 프로토콜을 사용한다. 뮤텍스를 구현하려면 우선순위가 같은 여러 태스크를 사용할 수 있도록 커널이 지원 해야 하나 MicroC/OS-II 운영체제는 우선순위가 같은 여러 태스크의 동시 사용을 지원하지 않는다. 이를 해결하기 위해 추가적인 우선순위 예 약을 사용할 수밖에 없게 되고, 결과적으로 제한된 우선순위 자원을 낭비하게 된다. 본 논문에서는 MicroC/OS-II의 불필요한 우선순위 자원을 낭비하는 문제점을 해결할 수 있는 일시적 우선순위 교환 프로토콜(Temporary Priority Swapping Protocol; TPSP)을 설계 및 구현하여, 한정 된 자원 환경을 가진 임베디드 장비에 효율적으로 운용되도록 하는데 목적을 둔다.

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

  • 오성원
    • 한국항행학회논문지
    • /
    • 제28권2호
    • /
    • pp.210-215
    • /
    • 2024
  • 선박의 자동화 수준이 높아지고 자율운항선박의 개발에 따라 선박의 IPMS (integrated platform management system)는 다양한 운영체제로 통제되는 개별 장비들을 통합하고 다량의 데이터를 실시간으로 처리해야 한다. 이러한 상황에서 데이터 처리를 위해 DDS (data distribution service) 미들웨어 기반 선박 IPMS 시뮬레이터를 개발하고 성능을 평가하였다. 이종 운영체제로 동작하고 있는 신호입출력장치와 IPMS 서버에서 초당 1,000개의 토픽을 비동기로 발간하고 구독한 시뮬레이션을 수행하였으며, 초기 4초 동안 일부 토픽의 누락을 제외하고는 오류 없이 데이터를 수신하였다. 개발된 시뮬레이터는 실제 선박에서 DDS를 이용하여 다른 제어체계를 통합할 수 있음을 보여준다.

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

  • Park, Kwang-Hyun;Jeon, Jae-Wook
    • 제어로봇시스템학회:학술대회논문집
    • /
    • 제어로봇시스템학회 2003년도 ICCAS
    • /
    • 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

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

  • 김도형;박승민
    • 정보처리학회논문지A
    • /
    • 제8A권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
    • /
    • 제3권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년도 한국자동제어학술회의논문집(국제학술편); KOEX, Seoul; 22-24 Oct. 1991
    • /
    • 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

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

  • 김종진;이상길;이철훈
    • 한국멀티미디어학회논문지
    • /
    • 제24권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)

  • 천홍석;김병국
    • 제어로봇시스템학회논문지
    • /
    • 제14권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)

  • 양길진;최병욱
    • 한국지능시스템학회논문지
    • /
    • 제24권1호
    • /
    • pp.52-57
    • /
    • 2014
  • 본 논문은 두 바퀴 이동로봇의 주행에 있어서 주어진 경로를 물리적 제한을 만족하면서 주행하는 관절 공간 궤적 생성방법을 실시간 운영체제를 이용하여 구현함으로써 실시간 제어 방법에 대하여 연구하였다. 경로계획에서 이동로봇의 방향을 고려하기 위하여 베지어곡선을 이용하였으며, 컨볼루션 연산자를 이용하여 로봇의 두 바퀴의 속도의 제한을 만족시켰다. 관절 공간의 궤적 생성과 생성된 궤적에 대한 속도명령, 그리고 엔코더 값 감시 등 실시간 태스크를 주기적 태스크로 구현하였으며 동기화를 위하여 실시간 메커니즘인 이벤트 플래그를 이용하여 구현하였다. 실제 로봇에 실시간 태스크를 구현하여 속도명령의 실시간성과 이에 따른 이동로봇의 주행실험 결과를 이용하여 궤적 추종 성능을 비실시간 시스템과 분석하였다. 결과를 통하여 실시간 성을 요구하는 제어시스템에서 실시간 다중 태스크 시스템의 유용성을 검증하였다.