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

Search Result 99, Processing Time 0.023 seconds

Implementation and Performance Evaluation of Preempt-RT Based Multi-core Motion Controller for Industrial Robot (산업용 로봇 제어를 위한 Preempt-RT 기반 멀티코어 모션 제어기의 구현 및 성능 평가)

  • Kim, Ikhwan;Ahn, Hyosung;Kim, Taehyoun
    • IEMEK Journal of Embedded Systems and Applications
    • /
    • v.12 no.1
    • /
    • pp.1-10
    • /
    • 2017
  • Recently, with the ever-increasing complexity of industrial robot systems, it has been greatly attention to adopt a multi-core based motion controller with high cost-performance ratio. In this paper, we propose a software architecture that aims to utilize the computing power of multi-core processors. The key concept of our architecture is to use shared memory for the interplay between threads running on separate processor cores. And then, we have integrated our proposed architecture with an industrial standard compliant IDE for automatic code generation of motion runtime. For the performance evaluation, we constructed a test-bed consisting of a motion controller with Preempt-RT Linux based dual-core industrial PC and a 3-axis industrial robot platform. The experimental results show that the actuation time difference between axes is 10 ns in average and bounded up to 689 ns under $1000{\mu}s$ control period, which can come up with real-time performance for industrial robot.

Fixed Time Synchronous IPC in Zephyr Kernel (Zephyr 커널에서 고정 시간 동기식 IPC 구현)

  • Jung, Jooyoung;Kim, Eunyoung;Shin, Dongha
    • IEMEK Journal of Embedded Systems and Applications
    • /
    • v.12 no.4
    • /
    • pp.205-212
    • /
    • 2017
  • Linux Foundation has announced a real-time kernel, called Zephyr, for IoT applications recently. Zephyr kernel provides synchronous and asynchronous IPC for data communication between threads. Synchronous IPC is useful for programming multi-threads that need to be executed synchronously, since the sender thread is blocked until the data is delivered to the receiver thread and the completion of data transfer can be known to two threads. In general, 'IPC execution time' is defined as the time duration between the sender thread sends data and the receiver thread receives the data sent. Especially, it is important that 'IPC execution time' in the synchronous IPC should be fixed in real-time kernel like Zephyr. However, we have found that the execution time of the synchronous IPC in Zephyr kernel increases in proportion to the number of threads executing in the kernel. In this paper, we propose a method to implement a fixed time synchronous IPC in Zephyr kernel using Direct Thread Switching(DTS) technique. Using the technique, the receiver thread executes directly after the sender thread sends a data during the remaining time slice of the sender thread and we can archive a fixed IPC execution time even when the number of threads executing in the kernel increases. In this paper, we implemented synchronous IPC using DTS in the Zephyr kernel and found the IPC execution time of the IPC is always 389 cycle that is relatively small and fixed.

A Joystick Driving Control Algorithm with a Longitudinal Collision Avoidance Scheme for an Electric Vehicle

  • Won, Mooncheol
    • Journal of Mechanical Science and Technology
    • /
    • v.17 no.10
    • /
    • pp.1399-1410
    • /
    • 2003
  • In this paper, we develop a joystick manual driving algorithm for an electric vehicle called Cycab. Cycab is developed as a public transportation vehicle, which can be driven either by a manual joystick or an automated driving mode. The vehicle uses six motors for driving four wheels, and front/rear steerings. Cycab utilizes one industrial PC with a real time Linux kernel and four Motorola MPC555 micro controllers, and a CAN network for the communication among the five processors. The developed algorithm consists of two automatic vehicle speed control algorithms for normal and emergency situations that override the driver's joystick command and an open loop torque distribution algorithm for the traction motors. In this study, the algorithm is developed using SynDEx, which is a system level CAD software dedicated to rapid prototyping and optimizing the implementation of real-time embedded applications on distributed architectures. The experimental results verify the usefulness of the two automatic vehicle control algorithms.

Design and Implementation of Memory Management Facility for Real-Time Operating System, iRTOS$^{TM}$ (실시간 운영체제 iRTOS$^{TM}$ 를 위한 메모리 관리 체계 설계 및 구현)

  • 박희상;안희중;김용희;이철훈
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2002.04a
    • /
    • pp.58-60
    • /
    • 2002
  • 실시간 운영 체제(Real-Time Operating System)는 특정 태스크가 정해진 시간 안에 수행될 수 있도록 시간 결정성(Determinism)을 보장하는 운영 체제이다. 실시간 운영테제는 멀티태스킹(Multitasking) 및 ITC(InterTask Communication 혹은 IPC, Interprocess Communication)을 제공한다는 점에서는 일반 운영체제인 Unix$^{TM}$, Linux$^{TM}$, Windows$^{TM}$ 등과 같지만, 시간 결정성을 보장한다는 점에서 일반 운영 체제와 다르다. 또만 실시간 운영 체제를 포함한 임베디드 시스템(Embedded System)은 일반적으로 디지털 카메라, 디지털 TV, DVD 등에서 수행되므로 실행 이미지(Image) 크기가 작아야 한다. 본 논문에서는 실시간 운영체제의 실행 이미지를 줄이면서 시간 결정성을 보장한 수 있도록 메모리 관리 체계를 설계하고 구현한 내용을 설명한다.

  • PDF

Synchronization between Real-time threads and Java threads in embedded real-time systems. (내장형 실시간 시스템에서의 실시간 쓰레드와 자바 쓰레드간의 동기화)

  • 임종구;박성호;강순주
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2002.04b
    • /
    • pp.439-441
    • /
    • 2002
  • 내장명 실시간 시스템을 위한 프로그래밍의 방법으로. 플랫폼에 의존적이며 실시간성이 고려되어야 하는 태스크는 실시간 쓰레드를 이용하고, GUI나 인터넷통신과 같은 실시간성이 고려되지 않는 태스크는 자바 쓰레드를 이용해서 프로그래밍하는 것이 편리하다. 이런 경우, 서로 다른 이들 쓰레드간에 동기화를 위한 방법이 필요하게 된다. 따라서, 본 논문에서는 실시간 쓰레드와 자바 쓰레드간의 동기화를 위만 방법을 제시하고 이를 위한 API(Application Programming Interface)를 설계 및 구현한다 즉, 실시간 운영체제인 RT-Linux상에서 수행되는 실시간 쓰레드들이 RT-FIFO와 네이티브 IPC(Inter-process communication) 메커니즘을 사용해 자바 쓰레드들과 동기화 되어질 수 있게 구현한 것이다. 구현된 이 네이티브 IPC API들은 재사용 가능한 공유 라이브러리와 클래스파일로 제작되어 활용될 수도 있다.

  • PDF

Design and Implementation of printf() for Efficient Memory Use in Real-Time Operating System (실시간 운영체제에서 효율적인 메모리 사용을 위한 printf() 함수 설계 및 구현)

  • 이재규;성영락;이철훈
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2003.04a
    • /
    • pp.190-192
    • /
    • 2003
  • 실시간 운영 체제(Real-Time Operating System)는 시스템 동작이 논리적 정확성뿐만 아니라 시간적 정확성에도 좌우되는 운영 체제이다. 또한 실시간 운영체제는 멀티태스킹(Multitasking) 과 ITC(Inter Task Communication)을 제공한다는 점에서 일반 운영 체제인 Windows, Linux. Unix등과 같지만 시간적 정확성을 보장해야 한다는 점에서 일반 운영 체제와 다르다. 이러한 실시간 운영 체제를 포함하는 내장형 시스템(Embedded System)은 각각의 목적에 맞도록 모든 것이 최적화되어야 하므로 실행 이미지의 크기도 작아야 하고 사용 가능한 메모리에도 제한이 있다. 본 논문에서는 실시간 운영 체제에서 이러한 조건들을 고려하여 효율적인 메모리 사용을 위한 printf() 함수를 설계하고 구현한 내용에 대해서 설명한다.

  • PDF

A Real-Time Control Technique of Media Stream in Embedded Web Streaming (임베디드 웹 스트리밍에서의 미디어 스트림의 실시간 제어 기술)

  • Lee, Hyun-Ju;Kim, Sang-Wook
    • Journal of KIISE:Software and Applications
    • /
    • v.32 no.11
    • /
    • pp.1029-1035
    • /
    • 2005
  • Web streaming environment need a suitable video playback service technique, a streaming technique for real-time delivery and an efficient control technique due to its limited environment. In this paper, we propose an effective control technique for real-time media stream playback as a connection technique between the high-quality media player and web browser based on Linux environment. The proposed stream control technique presents control data through 050 on media playback screen of web browser, and process the user's input data. It acts GUI-independently, and is designed considering addition and extension for control data.

Real Time Framework Design based on Android Platform (안드로이드 플랫폼을 기반으로 한 실시간 프레임워크 설계)

  • Kang, Ki-Woong;Han, Kyu-Cheol;Jang, Seung-Jin;Lim, Se-Jung;Kim, Kwang-Jun;Jang, Chang-Soo
    • The Journal of the Korea institute of electronic communication sciences
    • /
    • v.9 no.11
    • /
    • pp.1255-1266
    • /
    • 2014
  • This thesis presents MPU module, Base board and sensor module which are efficient industrial control through design and manufacture as developing S5PV210 CPU of SAMSUNG used by ARM Cortex-A8 based on Android which is Open mobile platform is installed to embedded system. Data for temperature and humidity which are received by sensor module proved the suitability and validity for the real time framework design as implementing application program employed the smart phone App with hybrid application based on DB of web server.

Optical Recognition of Credit Card Numbers (신용카드 번호의 광학적 인식)

  • Jung, Min Chul
    • Journal of the Semiconductor & Display Technology
    • /
    • v.13 no.1
    • /
    • pp.57-62
    • /
    • 2014
  • This paper proposes a new optical recognition method of credit card numbers. Firstly, the proposed method segments numbers from the input image of a credit card. It uses the significant differences of standard deviations between the foreground numbers and the background. Secondly, the method extracts gradient features from the segmented numbers. The gradient features are defined as four directions of grayscale pixels for 16 regions of an input number. Finally, it utilizes an artificial neural network classifier that uses an error back-propagation algorithm. The proposed method is implemented using C language in an embedded Linux system for a high-speed real-time image processing. Experiments were conducted by using real credit card images. The results show that the proposed algorithm is quite successful for most credit cards. However, the method fails in some credit cards with strong background patterns.

Color Segmentation of Vehicle License Plates in the RGB Color Space Using Color Component Binarization (RGB 색상 공간에서 색상 성분 이진화를 이용한차량 번호판 색상 분할)

  • Jung, Min Chul
    • Journal of the Semiconductor & Display Technology
    • /
    • v.13 no.4
    • /
    • pp.49-54
    • /
    • 2014
  • This paper proposes a new color segmentation method of vehicle license plates in the RGB color space. Firstly, the proposed method shifts the histogram of an input image rightwards and then stretches the image of the histogram slide. Secondly, the method separates each of the three RGB color components and performs the adaptive threshold processing with the three components, respectively. Finally, it combines the three components under the condition of making up a segment color and removes noises with the morphological processing. The proposed method is implemented using C language in an embedded Linux system for a high-speed real-time image processing. Experiments were conducted by using real vehicle images. The results show that the proposed algorithm is successful for most vehicle images. However, the method fails in some vehicles when the body and the license plate have the same color.