• Title/Summary/Keyword: porting

Search Result 130, Processing Time 0.03 seconds

Porting gcc Based eCos OS and PROFINET Communication Stack to IAR (gcc 기반 eCos 운영체제 및 PROFINET 통신 스택의 IAR 포팅 방법)

  • Jin Ho Kim
    • KIPS Transactions on Computer and Communication Systems
    • /
    • v.12 no.4
    • /
    • pp.127-134
    • /
    • 2023
  • This paper describes how to port the eCos operating system and PROFINET communication stack developed based on gcc to the IAR compiler. The eCos operating system provides basic functions such as multi-thread, TCP/IP, and device driver for PROFINET operation, so there is no need to change it when developing PROFINET applications. Therefore, in this study, we reuse an eCos library built with gcc and it link with PROFINET communication stack that are ported to IAR complier. Due to the different of the gcc and IAR linker, symbol definitions and address of the constructors should be changed using the external tool that generates symbol definitions and address of the constructors from MAP file. In order to verify the proposed method, it was confirmed that the actual I/O was operating normally through PROFINET IRT communication by connecting to the Siemens PLC. IAR compiler has better performance in both the compile time and the size of the generated binary. The proposed method in this study is expected to help port various open sources as well as eCos and PROFINET communication stacks to other compilers.

Vest-type System on Machine Learning-based Algorithm to Detect and Predict Falls

  • Ho-Chul Kim;Ho-Seong Hwang;Kwon-Hee Lee;Min-Hee Kim
    • PNF and Movement
    • /
    • v.22 no.1
    • /
    • pp.43-54
    • /
    • 2024
  • Purpose: Falls among persons older than 65 years are a significant concern due to their frequency and severity. This study aimed to develop a vest-type embedded artificial intelligence (AI) system capable of detecting and predicting falls in various scenarios. Methods: In this study, we established and developed a vest-type embedded AI system to judge and predict falls in various directions and situations. To train the AI, we collected data using acceleration and gyroscope values from a six-axis sensor attached to the seventh cervical and the second sacral vertebrae of the user, considering accurate motion analysis of the human body. The model was constructed using a neural network-based AI prediction algorithm to anticipate the direction of falls using the collected pedestrian data. Results: We focused on developing a lightweight and efficient fall prediction model for integration into an embedded AI algorithm system, ensuring real-time network optimization. Our results showed that the accuracy of fall occurrence and direction prediction using the trained fall prediction model was 89.0% and 78.8%, respectively. Furthermore, the fall occurrence and direction prediction accuracy of the model quantized for embedded porting was 87.0 % and 75.5 %, respectively. Conclusion: The developed fall detection and prediction system, designed as a vest-type with an embedded AI algorithm, offers the potential to provide real-time feedback to pedestrians in clinical settings and proactively prepare for accidents.

LCD Module Initialization and Panel Display for the Virtual Screen of LN2440SBC Embedded Systems (LN2440SBC 임베디드 시스템의 가상 스크린을 위한 LCD 모듈 초기화 및 패널 디스플레이)

  • Oh, Sam-Kweon;Park, Geun-Duk;Kim, Byoung-Kuk
    • Journal of Advanced Navigation Technology
    • /
    • v.14 no.3
    • /
    • pp.452-458
    • /
    • 2010
  • In case of an embedded system with computing resource restrictions such as system power and cpu, the overhead due to displaying data on the computer screen may have a significant influence on the system performance. This paper describes an initialization method for LCD-driving components such as an ARM Core, an LCD controller, and an SPI(serial peripheral interface). It also introduces a pixel display function and a panel display method using virtual screen for reducing the display overhead for an LN2440SBC system with an ARM9-based S3C2440A microprocessor. A virtual screen is a large space of computer memories allocated much larger than those needed for one-time display of an image. Displaying a specific region of a virtual screen is done by assigning it as a view-port region. Such a display is useful in an embedded system when concurrently running tasks produce and display their respective results on the screen; it is especially so when the execution result of each task is partially modified, instead of being totally modified, on its turn and displayed. If the tasks running on such a system divide and make efficient use of the region of the virtual screen, the display overhead can be minimized. For the performance comparison with and without using the virtual screen, two different images are displayed in turn and the amount of time consumed for their display is measured. The result shows that the display time of the former is about 5 times faster than that of the latter.

Implementation of tractor implement ECU based on ISO11783 using IsoAgLib (IsoAgLib을 이용한 ISO11783 기반 트랙터 작업기 ECU 구현)

  • Roh, Seungku;Kim, Jayu;Tumenjargal, Enkhbaatar;Chong, Kitchong;Ham, Woonchul
    • Proceedings of the Korean Society for Agricultural Machinery Conference
    • /
    • 2017.04a
    • /
    • pp.18-18
    • /
    • 2017
  • ISO11783은 농업 산업분야 통신 프로토콜의 국제 표준으로, 농용트랙터 및 작업기 ECU 간의 통신 프로토콜을 표준화한다. 이 표준은 서로 다른 제조사의 제품 간에 호환성을 갖게 하며, 정밀 농업에 대한 핵심 기반을 제공한다. 현재 해외에서는 이미 ISO11783 기반의 AFS(Advanced Farming System)를 통한 정밀농업이 상용화되어 농가에 보급되고 있다. 이에 비해, 국내에서 이러한 표준을 따르는 농기계들은 미비한 실정이며, 향후 농업의 정밀 농업화를 통한 고부가가치 창출 및 선진국의 무역 장벽에 대비와 해외 수출 판로 개척을 위해 ISO11783 표준에 대한 R&D가 필요로 한다. 이에 IsoAgLib를 분석하고 임베디드 보드에 Porting하여 ISO11783 기반 작업기 ECU를 구현하였고, 이를 기반으로 ISO11783 기반 작업기 ECU의 구현 방법을 발표한다. IsoAgLib의 시스템 아키텍처는 계층화 되어 있어, 타겟에 의존적인 계층만 수정하여, IAR 환경에서 Cortex M3 보드에 포팅을 완료하였다. 작업기 ECU들은 자신만의 인터페이스 화면을 갖으며, 이를 Object pool이라 한다. 이것을 Virtual Terminal(VT)에 업로드 하여, VT가 해당 작업기 ECU의 사용자 인터페이스 기능을 제공하도록 한다. 이에 작업기 ECU 구현 1 단계로, 'VT-Designer'를 통하여 Object pool를 설계한다. 2 단계, 'vt2iso'를 통해서 Object pool을 IsoAgLib 상에서 사용할 수 있도록 변환한다. 3 단계, 포팅된 IsoAgLib project에 변환된 파일을 포함 시킨다. 4 단계, 작업기 ECU의 주기적인 작업 및 각 메시지 수신시 수행할 작업을 코딩한다. 5 단계, 빌드 및 타겟 보드에 업로딩 한 후, New Holland 사의 $Intelliview^{TM}$ iv display (VT)과 연결하여 동작을 확인한다. 확인 결과로 VT에 디자인한 Object pool이 표시 되며 soft key 입력 시 작업기 ECU에서 LED가 변한다. 결론적으로, 연구 결과를 바탕으로 ISO11783 기반의 작업기 ECU의 디자인 및 구현이 가능하며, 이를 통해 향후 국내의 ISO11783 기반의 작업기 ECU의 개발에 도움을 줄 수 있다.

  • PDF

A Benchmark of Open Source Data Mining Package for Thermal Environment Modeling in Smart Farm(R, OpenCV, OpenNN and Orange) (스마트팜 열환경 모델링을 위한 Open source 기반 Data mining 기법 분석)

  • Lee, Jun-Yeob;Oh, Jong-wo;Lee, DongHoon
    • Proceedings of the Korean Society for Agricultural Machinery Conference
    • /
    • 2017.04a
    • /
    • pp.168-168
    • /
    • 2017
  • ICT 융합 스마트팜 내의 환경계측 센서, 영상 및 사양관리 시스템의 증가에도 불구하고 이들 장비에서 확보되는 데이터를 적절히 유효하게 활용하는 기술이 미흡한 실정이다. 돈사의 경우 가축의 복지수준, 성장 변화를 실시간으로 모니터링 및 예측할 수 있는 데이터 분석 및 모델링 기술 확보가 필요하다. 이를 위해선 가축의 생리적 변화 및 행동적 변화를 조기에 감지하고 가축의 복지수준을 실시간으로 감시하고 분석 및 예측 기술이 필요한데 이를 위한 대표적인 정보 통신 공학적 접근법 중에 하나가 Data mining 이다. Data mining에 대한 연구 수행에 필요한 다양한 소프트웨어 중에서 Open source로 제공이 되는 4가지 도구를 비교 분석하였다. 스마트 돈사 내에서 열환경 모델링을 목표로 한 데이터 분석에서 고려해야할 요인으로 데이터 분석 알고리즘 도출 시간, 시각화 기능, 타 라이브러리와 연계 기능 등을 중점 적으로 분석하였다. 선정된 4가지 분석 도구는 1) R(https://cran.r-project.org), 2) OpenCV(http://opencv.org), 3) OpenNN (http://www.opennn.net), 4) Orange(http://orange.biolab.si) 이다. 비교 분석을 수행한 운영체제는 Linux-Ubuntu 16.04.4 LTS(X64)이며, CPU의 클럭속도는 3.6 Ghz, 메모리는 64 Gb를 설치하였다. 개발언어 측면에서 살펴보면 1) R 스크립트, 2) C/C++, Python, Java, 3) C++, 4) C/C++, Python, Cython을 지원하여 C/C++ 언어와 Python 개발 언어가 상대적으로 유리하였다. 데이터 분석 알고리즘의 경우 소스코드 범위에서 라이브러리를 제공하는 경우 Cross-Platform 개발이 가능하여 여러 운영체제에서 개발한 결과를 별도의 Porting 과정을 거치지 않고 사용할 수 있었다. 빌트인 라이브러리 경우 순서대로 R 의 경우 가장 많은 수의 Data mining 알고리즘을 제공하고 있다. 이는 R 운영 환경 자체가 개방형으로 되어 있어 온라인에서 추가되는 새로운 라이브러리를 클라우드를 통하여 공유하기 때문인 것으로 판단되었다. OpenCV의 경우 영상 처리에 강점이 있었으며, OpenNN은 신경망학습과 관련된 라이브러리를 소스코드 레벨에서 공개한 것이 강점이라 할 수 있다. Orage의 경우 라이브러리 집합을 제공하는 것에 중점을 둔 다른 패키지와 달리 시각화 기능 및 망 구성 등 사용자 인터페이스를 통합하여 운영한 것이 강점이라 할 수 있다. 열환경 모델링에 요구되는 시간 복잡도에 대응하기 위한 부가 정보 처리 기술에 대한 연구를 수행하여 스마트팜 열환경 모델링을 실시간으로 구현할 수 있는 방안 연구를 수행할 것이다.

  • PDF

Motion Estimation and Mode Decision Algorithm for Very Low-complexity H.264/AVC Video Encoder (초저복잡도 H.264 부호기의 움직임 추정 및 모드 결정 알고리즘)

  • Yoo Youngil;Kim Yong Tae;Lee Seung-Jun;Kang Dong Wook;Kim Ki-Doo
    • Journal of Broadcast Engineering
    • /
    • v.10 no.4 s.29
    • /
    • pp.528-539
    • /
    • 2005
  • The H.264 has been adopted as the video codec for various multimedia services such as DMB and next-generation DVD because of its superior coding performance. However, the reference codec of the standard, the joint model (JM) contains quite a few algorithms which are too complex to be used for the resource-constraint embedded environment. This paper introduces very low-complexity H.264 encoding algorithm which is applicable for the embedded environment. The proposed algorithm was realized by restricting some coding tools on the basis that it should not cause too severe degradation of RD-performance and adding a few early termination and bypass conditions during the motion estimation and mode decision process. In case of encoding of 7.5fps QCIF sequence with 64kbpswith the proposed algorithm, the encoder yields worse PSNRs by 0.4 dB than the standard JM, but requires only $15\%$ of computational complexity and lowers the required memory and power consumption drastically. By porting the proposed H.264 codec into the PDA with Intel PXA255 Processor, we verified the feasibility of the H.264 based MMS(Multimedia Messaging Service) on PDA.

A 16 bit FPGA Microprocessor for Embedded Applications (실장제어 16 비트 FPGA 마이크로프로세서)

  • 차영호;조경연;최혁환
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.5 no.7
    • /
    • pp.1332-1339
    • /
    • 2001
  • SoC(System on Chip) technology is widely used in the field of embedded systems by providing high flexibility for a specific application domain. An important aspect of development any new embedded system is verification which usually requires lengthy software and hardware co-design. To reduce development cost of design effort, the instruction set of microprocessor must be suitable for a high level language compiler. And FPGA prototype system could be derived and tested for design verification. In this paper, we propose a 16 bit FPGA microprocessor, which is tentatively-named EISC16, based on an EISC(Extendable Instruction Set Computer) architecture for embedded applications. The proposed EISC16 has a 16 bit fixed length instruction set which has the short length offset and small immediate operand. A 16 bit offset and immediate operand could be extended using by an extension register and an extension flag. We developed a cross C/C++ compiler and development software of the EISC16 by porting GNU on an IBM-PC and SUN workstation and compared the object code size created after compiling a C/C. standard library, concluding that EISC16 exhibits a higher code density than existing 16 microprocessors. The proposed EISC16 requires approximately 6,000 gates when designed and synthesized with RTL level VHDL at Xilinix's Virtex XCV300 FPGA. And we design a test board which consists of EISC16 ROM, RAM, LED/LCD panel, periodic timer, input key pad and RS-232C controller. 11 works normally at 7MHz Clock.

  • PDF

Hangul Porting and Display Performance Comparison of an Embedded System (임베디드 시스템을 위한 한글 포팅 및 출력 성능 비교)

  • Oh, Sam-Kweon;Park, Geun-Duk;Kim, Byoung-Kuk
    • Journal of Digital Contents Society
    • /
    • v.10 no.4
    • /
    • pp.493-499
    • /
    • 2009
  • Three methods frequently used for Hangul display in computer systems are Standard Johab Code in which each of Hangul consonants and vowels is given a 5-bit code and each syllable created by combining them forms a 2-byte code, Standard Wansung Code in which each of all the syllables generally used for Hangul presentation forms a 2-byte code, and Unicode in which each syllable in most of the world's language systems is given a unique code so that it allows computers to consistently represent and manipulate them in a unified manner. An embedded system in general has a lower processing power and a limited amount of storage space, compared to a personal compute(PC) system. According to its usage, however, the former may have a processing power equal to that of the latter. Hence, when Hangul display needs to be adopted, an embedded system must choose a display method suitable for its own resource environment. This paper introduces a TFT LCD initialization method and pixel display functions of an LN2440SBC embedded board on which an LP35, a 3.5" TFT LCD kit, is attached. Using the initialization and pixel display functions, in addition, we compare three aforementioned Hangul display methods, in terms of their processing speeds and amounts of memory space required. According to experiments, Standard Johab Code requires less amount of memory space but more processing time than Standard Wansung Code, and Unicode requires the largest amount of memory space but the least processing time.

  • PDF

A Study On Design & Implementation of An Attitude Control System of a Lot of Legs Robots (다족형 로봇의 자세 제어 시스템 설계 및 구현에 관한 연구)

  • Nam, Sang-Yep;Hong, Sung-Ho;Kim, Suk-Joong
    • 전자공학회논문지 IE
    • /
    • v.45 no.4
    • /
    • pp.11-18
    • /
    • 2008
  • This study is implementation of attitude control system(ACS - Attitude Control System). for a multi legs robot. This study designs H/W of Inertial Measurement Unit (IMU) and attitude control algorithm S/W. Compare performance with Mtx and MTx in order to verify action performance of this system after implementation, and will verify a system integrated IMU of a multi-legs robot. ACS uses Gyro and an accelerometer and an earth magnetism sensor, and it is a system controlling a roll, pitch angle attitude of an object. Generally, low price MEMS is difficult to calculate a correct situation of an object as an error occurs severely the Inertial sensor. This study implements IMU in order to develop ACS as use MEMS, accelerometer, Gyro sensor and earth magnetism sensor. Design algorithm each a roll, pitch, yaw attitude guaranteeing regular performance, and do poling in a system as include an attitude calculation program in an IMU system implemented. Mixed output of Gyro and an accelerometer, and recompensed a roll, pitch angle, and loaded in this study on a target platform in order to implement the ACS which guaranteed performance more than a continuously regular level, and operated by real time, and did porting, and verified.

A STUDY OF THE STRESS DISTRIBUTION OF THE ABUTMENT AND SUPPORTING TISSUES ACCORDING TO THE SLOPES AND TYPES OF CHIDING FLAMES OF THE LAST ABUTMENT IN DISTAL EXTENSION REMOVABLE PARTIAL DENTURE USING THREE DIMENSIONAL FINITE ELEMENT ANALYSIS METHOD (국소의치 최후방 지대치 유도면의 기울기와 형태가 지대치 및 지지조직의 응력분산에 미치는 영향)

  • Kim, Yang-Kyo;Lee, Cheong-Hee;Jo, Kwang-Hun
    • The Journal of Korean Academy of Prosthodontics
    • /
    • v.37 no.5
    • /
    • pp.581-596
    • /
    • 1999
  • The purpose of this study was to investigate the stress distribution of the abutment and sup-porting tissues according to the slopes and types of the guiding plane of distal extension removable partial dentures. The 3-dimensional finite element method was used and the finite element models were prepared as follows. Model I : Kratochvil type guiding plane with $90^{\circ}$ to residual ridge Model II : Kratochvil type guiding plane with $95^{\circ}$ to residual ridge Model III : Kratochvil type guiding plane with $100^{\circ}$ to residual ridge Model IV : Krol type guiding plane with $90^{\circ}$ to residual ridge Distal extension partial denture which right mandibular first and second molar were lost was used and the second premolar was prepared as primary abutment with RPI type retainer. Then 150N of compressive force was applied to central fossae of the first and second molars and von Mises stress and displacement were measured. The results were as follows 1. Model I and Model IV showed a similar stress distribution pattern and the stress was concentrated on the apex of the root of the abutment. 2. The stress was increased and concentrated on mesial side of the root of the abutment in Model II. The stress was concentrated on buccal and mesiobuccal side of the root of the abutment in Model IV. 3. In Model I, the root of the abutment displaced and twisted a little in clockwise. In Model IV, the root of the abutment displaced to distolingually at apical region of the root and mesiobuccally at cervical region of the root. 4. In Model II, the root of the abutment displaced to mesiolingually at apical region of the root and more displaced and twisted in counterclockwise at cervical region of the root. In Model III, the root of the abutment displaced to mesiobucally at apical region of the root and more displaced and twisted in clockwise at cervical region of the root.

  • PDF