• Title/Summary/Keyword: real-time embedded Linux

Search Result 99, Processing Time 0.022 seconds

Separation of Kernel Space and User Space in Zephyr Kernel (Zephyr 커널에서 커널 공간과 사용자 공간의 분리 구현)

  • Kim, Eunyoung;Shin, Dongha
    • IEMEK Journal of Embedded Systems and Applications
    • /
    • v.13 no.4
    • /
    • pp.187-194
    • /
    • 2018
  • The operating system for IoT should have a small memory footprint and provide low power state, real-time, multitasking, various network protocols, and security. Although the Zephyr kernel, an operating system for IoT, released by the Linux Foundation in February 2016, has these features but errors generated by the user code can generate fatal problems in the system because the Zephyr kernel adopts a single-space method that both the user code and kernel code execute in the same space. In this research, we propose a space separation method, which separates kernel space and user space, to solve this problem. The space separation that we propose consists of three modifications in Zephyr kernel. The first is the code separation that kernel code and user code execute in each space while using different stacks. The second is the kernel space protection that generates an exception by using the MPU (Memory Protection Unit) when the user code accesses the kernel space. The third is the SVC based system call that executes the system call using the SVC instruction that generates the exception. In this research, we implemented the space separation in Zephyr v1.8.0 and evaluated safety through abnormal execution of the user code. As the result, the kernel was not crashed by the errors generated by the user code and was normally executed.

A remote vehicle diagnosis and control system based on mobile cellular network (이동 통신망 기반의 차량 원격 진단 및 제어 시스템)

  • Choi Yong-Wun;Hong Won-Kee
    • Journal of Korea Society of Industrial Information Systems
    • /
    • v.11 no.1
    • /
    • pp.69-76
    • /
    • 2006
  • Telematics, which is a compound word of a telecommunication and informatics, provides drivers with useful driving information such as driving path guidance, accident or robbery detection, traffic conditions and other valuable data at real time. This paper proposes and implements how to build a telematics terminal equipped with CDMA and GPS running embedded Linux, to check a vehicle's state through communication between telematics server and vehicle terminals using a cellular phone and to control a vehicle using SMS as shown in Figure 1. In order to do this, we use the SK-VM platform which is mobile terminal platform based on JAVA to design, implement and evaluate it.

  • PDF

An Experimental Performance Evaluation with Xenomai for WSN (WSN을 위한 Xenomai의 실험적 성능평가)

  • Son, Tae-Yeong;Rim, Seong-Rak
    • Journal of the Korea Academia-Industrial cooperation Society
    • /
    • v.18 no.1
    • /
    • pp.709-714
    • /
    • 2017
  • Structures like bridges or buildings need to be checked continuously to diagnose their safety. However, it is extremely difficult for the people who access such structures to check all areas directly. To overcome this problem, there is a lot of active research into structural health monitoring (SHM) with wireless sensor nodes (WSNs). In this paper, for more accurate checking of SHM with WSNs, we experimentally compare and evaluate the performance of Xenomai, which provides real-time processing under the traditional Linux kernel. For this purpose, we patch Xenomai into the traditional Linux kernel of a commercial embedded board, Raspberry Pi, and implement a task that periodically reads vibration data of the z-axis from an accelerometer in order to analyze the natural frequency of cantilever beams. Reading the data from the traditional Linux kernel with the same method, we analyze the natural frequency of the cantilever beams using Smart Office Analyzer. Finally, to review the validity of Xenomai for WSNs, we obtain vibration data on the z-axis from the accelerometer via wired network and compared and analyzed them the same way.

Design and Implementation of Wrapper to Support POSIX Standards on UbiFOSTM Real-Time Operating System (UbiFOSTM 실시간 운영체제에서 POSIX지원을 위한 래퍼의 설계 및 구현)

  • Song, Ye-Jin;Cho, Moon-Haeng;Lee, Cheol-Hoon
    • The Journal of the Korea Contents Association
    • /
    • v.7 no.8
    • /
    • pp.31-40
    • /
    • 2007
  • Recently, Embedded systems are different with the past as loading of a simple application program that executed specific functions according to the use and are evolved in the digital convergence integrated multimedia functions and then the complication of the application program is remarkably increased. This application program is combined and evolved with many application program in accordance with the demand of the age. For develope and manage this developing application is necessary standardized interface between developer and manager. POSIX was developed as the standard of the operating system in the standard interface which has the open system structure in computing system, and there is a posix.4 to standard for the system demands the loading of real-time operating system like a digital convergence devices. In this paper, we present the contents of designing and implementing the real-time operating system UbiFOSTM to wrapper for supporting the POSIX.4. Also, Experimental results show that implemented wrapper to application program standardizing POSIX.4 in linux and UbiFOSTM is slight only $3{\sim}9{\mu}s$.

Development of Sensor and Block expandable Teaching-Aids-robot (센서 및 블록 확장 가능한 교구용 보조 로봇 개발)

  • Sim, Hyun;Lee, Hyeong-Ok
    • The Journal of the Korea institute of electronic communication sciences
    • /
    • v.12 no.2
    • /
    • pp.345-352
    • /
    • 2017
  • In this paper, we design and implement an educational robot system that can use scratch education with the function of user demanding to perform robot education in actual school site in an embedded environment. It is developed to enable physical education for sensing information processing, software design and programming practice training that is the basis of robotic system. The development environment of the system is Arduino Uno based product using Atmega 328 core, debugging environment based on Arduino Sketch, firmware development language using C language, OS using Windows, Linux, Mac OS X. The system operation process receives the control command of the server using the Bluetooth communication, and drives various sensors of the educational robot. The curriculum includes Scratch program and Bluetooth communication, which enables real-time scratch training. It also provides smartphone apps and is designed to enable education like C and Python through expansion. Teachers at the school site used the developed products and presented performance processing results satisfying the missionary needs of the missionaries.

Page Replacement Policy for Virtual-memory based Real-time Embedded Systems (가상 메모리 기반의 실시간 임베디드 시스템의 페이지 교체 정책에 대한 연구)

  • Kim, Jong-Chan;Lee, Chang-Gun;Ha, Eun-Yong
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2008.06b
    • /
    • pp.351-354
    • /
    • 2008
  • 실시간 요건을 필요로 하는 임베디드 시스템의 경우 예측가능성(predictability)이 매우 중요하다. 그렇기 때문에 이러한 시스템들은 가상 메모리를 사용하지 않는 단순한 실시간 운영체제(RTOS) 를 사용하는 경우가 일반적이다. 하지만, 임베디드 시스템에 요구되는 기능 요건들이 복잡해짐에 따라 Linux와 같은 가상 메모리 기반의 범용 운영체제를 채택하는 경우가 늘고 있으며, 이런 경향은 앞으로 더욱 심해질 전망이다. 가상메모리 시스템은 필요한 메모리 사용량을 줄일 수 있을 뿐만 아니라 응용 프로그램 개발과 디버깅을 용이하게 하기 때문에 기존의 복잡하고 어려운 실시간 운영체제의 개발환경을 사용하는 경우에 비해 높은 개발 생산성을 기대할 수 있다. 하지만, 가상 메모리 시스템의 요구 페이징 기법은 시스템의 예측가능성을 떨어뜨리기 때문에 일반적으로 실시간 요건을 필요로 하는 시스템에 적용되지 못하고 있다. 본 논문은 요구 페이징 기법의 사용을 전제로 한 임베디드 시스템의 실시간 요건을 만족시키기 위한 페이지 교체 기법을 제안한다.

  • PDF

Real-Time Communication Support based on Process Priority for Embedded Linux (임베디드 리눅스에서 프로세스 우선순위를 고려한 실시간 통신 지원)

  • Jin, Hyun-Wook;Lee, Sang-Hun;Yun, Yeon-Ji
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2007.10b
    • /
    • pp.429-434
    • /
    • 2007
  • 프로세스의 우선순위는 임베디드 시스템에서 수행되는 여러 가지 작업들의 중요도 또는 작업마감 시간의 임박성에 따라 결정되기 때문에 프로세스의 입출력 작업 시에도 반영되어야 한다. 하지만 많은 임베디드 운영체제들은 기존의 범용 운영체제를 기반으로 설계되었기 때문에 입출력 작업 시 프로세스의 운선순위를 반영하지 못하고 있다. 본 논문에서는 이러한 문제를 해결하기 위해서 새로운 통신 프로토콜 스택 구조를 제안하고 이를 임베디드 리눅스에 구현한다. 또한 본 논문은 이더넷이 산업용 기기 등의 연결에 활용될 수 있음에 주목하고 독립 이더넷 네트워크에 적합한 전송 프로토콜을 제안한다. 측정 결과 제안된 프로토콜 스택 RTDiP($\underline{R}eal-\underline{T}ime\;\underline{Di}rect\;\underline{P}rotocol$)은 UDP/IP와 비교하여 단방향 통신 지연시간을 최대 59% 감소시켰으며 통신처리율을 최대 155% 향상시킬 수 있음을 보인다. 또한 낮은 우선순위를 갖는 배경 통신 프로세스에 의해서 UDP/IP는 532%가 단방향 통신 지연시간이 증가하나, RTDiP은 2% 미만의 증가만을 보임으로써 프로세스의 우선순위에 따라 패킷 처리가 이루어지고 이를 통해서 실시간 통신을 지원해줄 수 있음을 보인다.

  • PDF

Design and Implementation of UHF RFID Reader System Supporting Sensor Data Processing (센서 데이터 처리를 지원하는 UHF RFID 리더 시스템의 설계 및 구현)

  • Shin, Dong-Beom;Lee, Heyung-Sub;Choi, Gil-Young;Kim, Dae-Young
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.34 no.12A
    • /
    • pp.925-932
    • /
    • 2009
  • Precise temperature monitoring is the major preconditioning to supervise quality losses within the transport chain for fresh products. ISO/IEC18000-6REV1 defines new protocols supporting BAP(Battery Assisted Passive) RFID tag which is completely compatible with EPCglobal Class1 Generation2 specification. In this paper, we designed a modem supporting BAP RFID tag with FPGA(Field Programmable Gate Array) and implemented sensor data processing function defined in ISO/IEC18000-6REV1. The transmit block of the modem supports pulse shaping filter and the output signal of the implemented RFID reader is satisfied with the spectrum mask defined in the standard. The receive block of the modem uses Gardner TED to synchronize timing of symbol. In this paper, we designed a modem supporting ISO/IEC18000-6REV1 standard and developed a RFID reader sndard. The developed RFID reader sndard can recognize sensor tag and passive tag in the wireless environment and supports real-time processing of the sensor data in the embedded linux platform.

The signal processing algorithm of the Missile Flight Test Launch Control System (비행시험 발사통제 시스템의 신호처리 알고리즘)

  • Oh, Jino
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.19 no.8
    • /
    • pp.1965-1972
    • /
    • 2015
  • The Missile Flight Test Launch Control System is to operate in conjunction with the Fire Control System during flight test to guided weapons. Also, this is a system for the test control and situation monitoring depending on the type of guided weapons and testing purposes. Message structure, communication protocols, such as data types for interworking with the fire control system and the Missile Flight Test Launch Control System are defined in the Launch Control ICD(Interface Control Document). ICD are composed differently of each guided weapons system and each test object. Previously, in order to interwork with the Fire Control System, the interlocking software was developed, which had a variety of problems. Therefore, we developed a new parsing algorithm in order to recognize the variety of Launch Control ICD and verified that the algorithm operates normally by checking transmitting and receiving various message in conjunction with the fire control system.