• 제목/요약/키워드: modular programming

검색결과 50건 처리시간 0.028초

스크래치에 기반한 로봇 교육에 대한 연구 (A Study on the Robot Education Based on Scratch)

  • 이영대;김순임;서용호;강정진
    • 문화기술의 융합
    • /
    • 제2권2호
    • /
    • pp.29-35
    • /
    • 2016
  • 기존의 교육용 로봇은 산업용 로봇을 사용하거나 토이 로봇을 사용하여 텍스트 기반으로 프로그램 하는 방식을 많이 사용하고 있으며 학습자들은 텍스트 기반 언어 문법으로 인해 로보틱스 학문에 대한 어려움을 겪는 경우가 많았다. 개발된 교육용 로봇은 카메라 및 컬러 트래킹 기능과 탈착 가능한 다양한 센서와 엑츄에이터 모듈, 오픈 하드웨어 지원 및 그래픽 언어기반으로 프로그램 방식을 가지고 있다. 본 연구에서는 최근 초중학교 소프트웨어 교육의 일환으로 사용되어지어 지고 있는 그래픽 모듈 조립방식의 스크래치를 기반으로 한 프로그램 방식을 사용하는 교육용 로봇을 개발하고 이를 현장 교육에 도입하는 새로운 교육 방식에 대해 언급하기로 한다. 또한 개발된 교육용 로봇을 대상으로 한 커리큘럼의 일례가 제시되었으며 실제 초등학교 학습에 적용한 결과 기존 교육에 비해 학생들의 창의성을 살린 교육의 수월성이 좋은 것으로 파악되었으며 이는 제시된 접근 방법이 타당하고 효율적이라는 것을 보여준다.

특성 지향의 제품계열공학을 위한 애스팩트 구현 패턴 (Aspectual Implementation Patterns for Feature-Oriented Product Line Engineering)

  • 이관우
    • 정보처리학회논문지D
    • /
    • 제16D권1호
    • /
    • pp.93-104
    • /
    • 2009
  • 특성 지향 제품계열공학은 특성 관점에서 제품계열의 핵심자산을 개발하고 이를 활용하여 제품을 개발하는 접근방법으로서, 이를 위한 첫번째 단계는 하나의 특성을 하나의 모듈화된 단위로 구현하는 것이다. 관점 지향 프로그래밍은 특성 구현의 모듈화를 향상시키기 위한 효과적인 메커니즘을 제공한다. 하지만, 특성이 일반적으로 서로 독립적이지 않기 때문에 어떤 특성 구현 모듈의 변화는 다른 특성 구현 모듈에 변화를 일으키거나 원하지 않는 부작용을 야기시킬 수도 있다. 뿐만 아니라, 하나의 특성이 제품에 결합되는 시점이 컴파일 시점에서부터 로드 시점, 실행 시점에 이르기까지 다양할 수 있으므로, 특성이 언제 제품에 결합하느냐에 따라 다르게 구현되어야 할지도 모른다. 따라서, 본 논문에서는 각 특성 구현 모듈이 다른 모듈과 독립적이 되도록 하기 위해서, 특성 구현 모듈로부터 특성 의존성 및 특성 결합 시점을 효과적으로 분리시킬 수 있는 애스팩트 패턴을 제안한다. 이러한 패턴들은 특성 구현 모듈이 특성의 선택에 따라서 다른 모듈에 영향을 주지 않고 유연하게 합성될 수 있도록 한다. 이와 같은 접근 방법을 예시하고 평가하기 위해 공학용 계산기 제품계열을 사용한다.

의존성 주입을 활용한 서바이벌 게임 API 설계 및 구현 (Design and Implementation of the Survival Game API Using Dependency Injection)

  • 박인규;최규석
    • 한국인터넷방송통신학회논문지
    • /
    • 제23권4호
    • /
    • pp.183-188
    • /
    • 2023
  • 게임 오브젝트의 상속 및 여러 가지의 컴포넌트를 이용하여 시스템 아키텍처의 시각화, 우수한 코드 재사용 및 빠른 프로토타이핑이 가능하다. 반면에 객체는 게임 오브젝트와 컴포넌트 간의 높은 대기 시간, 정적 형변환과 널 포인터등의 많은 참조에 의존하기 마련이다. 게임 제작시에 여러 클래스에 대한 객체의 의존도를 낮추고 코드의 재사용이 가능하도록 설계하는 것은 중요한 일이다. 따라서 의존성 주입(Dependency Injection)과 GoF(Gang of Four)가 제안한 디자인 패턴들을 적용하여 클래스의 모듈성을 더욱 높일 수 있도록 게임을 설계하였다. 이러한 의존성은 게임 오브젝트의 속성이고 주입은 초기화 패스에서만 발생하므로 게임 루프에서 성능 저하나 성능 페널티는 미세하다. 따라서 본 논문에서는 서바이벌 게임의 설계와 구현에 있어서 API(Application Programming Interface)를 효과적으로 재사용하는 효율적인 설계방법을 제안하였다.

해수 담수화 플랜트 제어 시스템 구성 방안 연구 (A Study on Automatic Control Systems for Seawater Desalination Plants)

  • 주영덕;김경범;김진
    • 대한설비공학회:학술대회논문집
    • /
    • 대한설비공학회 2008년도 하계학술발표대회 논문집
    • /
    • pp.3-9
    • /
    • 2008
  • Recently, the plant industries are being activated and plant control systems use various technologies. Because the optimized design for the plants is very important for the reducing of operation and maintenance costs, automatic control systems become more important. Plant control systems consist of the master controller, the plant networks, the programming environment for engineering, monitoring software and the field devices. The control systems should have reliability, availability and safety. Modular architecture of hardware and software makes flexible configuration of the control systems. Each component should have diagnostic functions. It follows industrial standards and makes open systems. Open systems increase accessibility against the data which is distributed in the plants. The controllers including processor and communication modules use the up-to-date technology. They have real time and fault tolerant function by duplicating processors or networks. It also enables to make the distributed control systems. The distributed architecture makes more scalable main control system. Automatic control systems can be operated with better performance. In this paper, we analyzed the requirements of the seawater desalination plants and made some consideration facts for developing the optimized controller. Also we described the design concept of the main controller, which consists of several modules. We should validate and complement the design for the reliability and better performance.

  • PDF

메타-인퍼런스와 퍼지추론을 이용한 송변전 설비의 통합 고장진단 전문가 시스템 (An Integrated Fault Diagnosis System for Power System Devices using Meta-inference and Fuzzy Reasoning)

  • 이흥재;임찬호;김광원
    • 조명전기설비학회논문지
    • /
    • 제12권2호
    • /
    • pp.38-44
    • /
    • 1998
  • 본 논문에서는 변전설비 운용의 자동화를 실현하기 위하여 변전설비에서 발생하는 다양한 사고를 판정할 수 있고, 변전설비 사고가 송전설비로 확산되는 경우에 대비하기 위하여 송전설비의 진단기능을 부가시킨 지역급전분소의 운전자 지원을 위한 지능적 통합 고장진단 시스템을 개발하였다. 본 논문에서 제안한 전문가 시스템은 변전설비와 송전설비에서 발생하는 다양한 사고를 진단할 수 있으며, 데이터 이중화 장치를 통하여 감시제어 시스템의 데이터 베이스를 공유하게 함으로서 최소한의 부담으로 기존의 감시제어 시스템에 설치할 수 있도록 하였다. 또한 지식에 포함된 불확실성을 처리하기 위하여 퍼지추론을 수행하였고, 모듈라 프로그래밍 기법과 메타-인퍼런스 기법을 사용하고 있으며, 저가의 개인용 컴퓨터로 구현하였다.

  • PDF

센서 퓨전을 통한 인공지능 4족 보행 애완용 로봇 (An Intelligence Embedding Quadruped Pet Robot with Sensor Fusion)

  • 이래경;박수민;김형철;권용관;강석희;최병욱
    • 제어로봇시스템학회논문지
    • /
    • 제11권4호
    • /
    • pp.314-321
    • /
    • 2005
  • In this paper an intelligence embedding quadruped pet robot is described. It has 15 degrees of freedom and consists of various sensors such as CMOS image, voice recognition and sound localization, inclinometer, thermistor, real-time clock, tactile touch, PIR and IR to allows owners to interact with pet robot according to human's intention as well as the original features of pet animals. The architecture is flexible and adopts various embedded processors for handling sensors to provide modular structure. The pet robot is also used for additional purpose such like security, gaming visual tracking, and research platform. It is possible to generate various actions and behaviors and to download voice or music files to maintain a close relation of users. With cost-effective sensor, the pet robot is able to find its recharge station and recharge itself when its battery runs low. To facilitate programming of the robot, we support several development environments. Therefore, the developed system is a low-cost programmable entertainment robot platform.

범용 유한요소해석 프로그램을 이용한 분산 공유 하이브리드 해석 및 실험 시스템 (Distributed Hybrid Simulation and Testing System using General-Purpose Finite Element Analysis Program)

  • 윤군진;한봉구
    • 한국전산구조공학회논문집
    • /
    • 제21권1호
    • /
    • pp.59-71
    • /
    • 2008
  • 본 논문에서는 지진하중하의 대형구조물의 시뮬레이션을 위해 실험과 해석을 병합한 분산공유 하이브리드 해석 및 실험소프트웨어 framework를 개발하였다. 제안된 소프트웨어 framework은 별도의 동적 그리고 정적 해석을 위한 프로그램의 개발이 필요 없기 때문에 일반 범용 유한요소해석 프로그램을 개발된 해석 및 실험 제어 프로그램과 interface API를 이용하여 사용할 수 있는 장점이 있다. 본 논문에서 개발된 소프트웨어 framework은 독자적 기능을 가진 module로 구성이 되어 있을 뿐만 아니라 개체지향형 프로그램 개념을 바탕으로 개발되었다. 예제를 통하여 개발된 시스템의 기능과 분산공유하이브리드 해석 및 실험에서의 유용성을 증명하였다.

Study on the digitalization of trip equations including dynamic compensators for the Reactor Protection System in NPPs by using the FPGA

  • Kwang-Seop Son;Jung-Woon Lee;Seung-Hwan Seong
    • Nuclear Engineering and Technology
    • /
    • 제55권8호
    • /
    • pp.2952-2965
    • /
    • 2023
  • Advanced reactors, such as Small Modular Reactors or existing Nuclear Power Plants, often use Field Programmable Gate Array (FPGA) based controllers in new Instrumentation and Control (I&C) system architectures or as an alternative to existing analog-based I&C systems. Compared to CPU-based Programmable Logic Controllers (PLCs), FPGAs offer better overall performance. However, programming functions on FPGAs can be challenging due to the requirement for a hardware description language that does not explicitly support the operation of real numbers. This study aims to implement the Reactor Trip (RT) functions of the existing analog-based Reactor Protection System (RPS) using FPGAs. The RT equations for Overtemperature delta Temperature and Overpower delta Temperature involve dynamic compensators expressed with the Laplace transform variable, 's', which is not directly supported by FPGAs. To address this issue, the trip equations with the Laplace variable in the continuous-time domain are transformed to the discrete-time domain using the Z-transform. Additionally, a new operation based on a relative value for the equation range is introduced for the handling of real numbers in the RT functions. The proposed approach can be utilized for upgrading the existing analog-based RPS as well as digitalizing control systems in advanced reactor systems.

자동화시스템을 위한 컴포넌트 기반의 통신 Emulate 구현 (The Implementation of Communication Emulate Based on Component For Automation System)

  • 정화영
    • 디지털콘텐츠학회 논문지
    • /
    • 제3권2호
    • /
    • pp.245-254
    • /
    • 2002
  • 현재, 자동화 시스템을 위한 통신분야는 TCP/IP를 기반으로 하는 네트워크 기반 원격제어 부분과 시스템의 각 내부 장치들간의 통신을 위한 간단한 직렬통신으로 나뉠 수 있다. 네트워크의 비약적인 발전에도 불구하고 내부 제어를 위한 통신부분은 현재까지 간단한 RS232기반을 사용하고 있다. 또한, 시스템의 개발기법은 각 기능단위의 모듈러 프로그래밍 기법에서 객체지향 프로그램으로 발전하였으며, 현재는 소프트웨어의 부품단위인 컴포넌트 기반 개발기법으로 발전하였다. 이는, 비즈니스 로직을 포함하는 독립적인 운영단위를 조립하며 새로운 시스템의 개발로 이어지는 기법으로서 소프트웨어 개발기법의 새로운 대안으로 제시되고 있다. 따라서, 본 연구는 컴포넌트 기반의 개발 기법을 적용한 GUI기반의 RS232C에서의 내부통신 Emulate를 구현하였다. 이는, 수신부와 송신부로 나뉘어지는 통신 제어부분을 컴포넌트화 하였으며, 이를 합성함으로서 제어부에서는 송,수신 데이터의 핸들링을 담당하도록 하였다.

  • PDF

PC 기반의 3차원 의료영상 재구성 시스템의 고속화 설계 (Speed Optimization Design of 3D Medical Image Reconstruction System Based on PC)

  • 배수현;김선호;유선국
    • 대한의용생체공학회:의공학회지
    • /
    • 제19권2호
    • /
    • pp.189-198
    • /
    • 1998
  • 3차원 의료영상 재구성 기법은 2차원 의료영상으로부터 인체의 복잡한 3차원 구조를 이해하는데 많은 도움을 준다. 본 논문에서 구현한 3차원 의료영상 재구성 시스템은 저가의 PC 기반에서 시스템의 환경에 상관없이 사용될 수 있도록 Visual C++4.2를 이용하여 작성하였으며 향후 확장성을 고려하여 각 기능을 모듈화 시켰다. 모듈 설계된 3차원 의료영상 재구성 시스템은 데이터 준비, 그래디언트 근시화, 분할, 음영처리, 좌표시스템 변환, 그리고 광선투사와 합성 모듈로 구성되었다. 본 논문에서는 3차원 의료영상 재구성 방법의 속도문제를 개선하여 저가의 PC 환경에서 구현하였다. PC 환경에서 3차원 의료영상 재구성 시스템을 구현하기 위하여 광선투사를 재구성되는 영상에 영향을 주지 않는 범위에서 조기 중단시키는 알고리듬과 영상 재구성에 참여하는 체적소를 줄이는 방법, 그리고 영상을 재구성하기 위한 광선투사 과정에서 투시되는 광선의 수를 줄이는 방법 등ㄹ을 적용하여 PC환경에서 3차원 의료영상 재구성 시스템의 고속화를 이루었으며 실험에 의해서 PC환경에서도 의료영상 재구성 알고리듬이 효과적으로 사용되었다.

  • PDF