• Title/Summary/Keyword: modular programming

Search Result 50, Processing Time 0.023 seconds

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

  • Lee, Young-Dae;Kim, Soon-Im;Seo, Young-Ho;Kang, Jeong-Jin
    • The Journal of the Convergence on Culture Technology
    • /
    • v.2 no.2
    • /
    • pp.29-35
    • /
    • 2016
  • The conventional educational robots, which are commonly industrial robots or toy robots, use text-based programming to teach the students. Therefore, students have difficulty in studying robotics due to the difficulties of text based language. The developed robot in this study have a camera, which have the color tracking function, and it has various sensors and actuators. It supports the open hardware and uses graphic language based programming. The developed educational robot is programmed by Scratch, which uses graphic modular language. We also present a curriculum, which is based upon the developed robot and Scratch. We applied the robot and curriculum to the primary school students. We obtained satisfactory results comparing it with the conventional robot education. Furthermore, the imagination and execution ability of students showed enhancement in learning robotics. Thus, this fact means the validity and effectiveness of the proposed approach.

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

  • Lee, Kwan-Woo
    • The KIPS Transactions:PartD
    • /
    • v.16D no.1
    • /
    • pp.93-104
    • /
    • 2009
  • Modular implementation of a feature is a first step toward feature-oriented product line engineering, which develops and then utilizes core assets to configure products in terms of features. Aspect-oriented programming provides effective mechanisms for improving the modularity of feature implementations. However, as features in general are not independent of each other, changes in the implementation of one feature may cause changes to or side effects in the implementation of other features. Moreover, since the time at which a feature is incorporated into products, called feature binding time, may be various from compile time through load time to run time, a feature may have to be implemented differently depending on when the feature is bound into a product. To make each feature implementation module as independent as possible, this paper proposes aspectual implementation patterns that can effectively separate feature dependencies as well as feature binding time from feature implementation modules. These patterns enable flexible composition of feature implementation modules without affecting other modules according to feature selection. The approaches are demonstrated and evaluated based on a product line of scientific calculator applications.

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

  • InKyu Park;GyooSeok Choi
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.23 no.4
    • /
    • pp.183-188
    • /
    • 2023
  • Game object inheritance and multiple components allow for visualization of system architecture, good code reuse, and fast prototyping. On the other hand, objects are more likely to rely on high latency between game objects and components, static casts, and lots of references to things like null pointers. Therefore, It is important to design a game in such a way so that the dependency of objects on multiple classes could be reduced and existing codes could be reused. Therefore, we designed the game to make the classes more modular by applying Dependency Injection and the design patterns proposed by the Gang of Four. Since these dependencies are attributes of the game object and the injection occurs only in the initialization pass, there is little performance degradation or performance penalty in the game loop. Therefore, this paper proposed an efficient design method to effectively reuse APIs in the design and implementation of survival games.

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

  • Ju, Young-Duk;Kim, Kyeong-Beom;Kim, Jin
    • Proceedings of the SAREK Conference
    • /
    • 2008.06a
    • /
    • 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 (메타-인퍼런스와 퍼지추론을 이용한 송변전 설비의 통합 고장진단 전문가 시스템)

  • 이흥재;임찬호;김광원
    • Journal of the Korean Institute of Illuminating and Electrical Installation Engineers
    • /
    • v.12 no.2
    • /
    • pp.38-44
    • /
    • 1998
  • This paper presents an integrated fault diagnosis expert system to assist SCADA operators in local control centers which controls unmanned distribution substations in a power system. The proposed system diagnoses various faults occurred in both substation devices and transmission devices. The system can be easily installed without disturbing main SCADA system. The system simply shares the dynamic information including alarms with main SCADA using dual data link interface. And the proposed expert system utilizes the fuzzy reasoning process in order to consider the uncertainty factor. The system is developed using a low cost personal computer owing to the special modular programming and the meta-inf!'lrence structure. Case studies showed a promising possibility.bility.

  • PDF

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

  • Lee Lae-Kyoung;Park Soo-Min;Kim Hyung-Chul;Kwon Yong-Kwan;Kang Suk-Hee;Choi Byoung-Wook
    • Journal of Institute of Control, Robotics and Systems
    • /
    • v.11 no.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 (범용 유한요소해석 프로그램을 이용한 분산 공유 하이브리드 해석 및 실험 시스템)

  • Yun, Gun-Jin;Han, Bong-Koo
    • Journal of the Computational Structural Engineering Institute of Korea
    • /
    • v.21 no.1
    • /
    • pp.59-71
    • /
    • 2008
  • In this paper, a software framework that integrates computational and experimental simulation has been developed to simulate and test a large-scale structural system under earthquake loading. The proposed software framework does not need development of the computer codes for both dynamic and static simulations. Any general-purpose software can be utilized with a main control module and interface APIs. This opens up a new opportunity to facilitate use of sophisticated finite elements into hybrid simulation regime to enhance accuracy and efficiency of simulations. The software framework described in the paper is modular and uses object oriented programming concepts. A series of illustrative examples demonstrate that the system is fully-functional and is capable of running any number of experimental and/or analytical components.

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
    • /
    • v.55 no.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.

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

  • Jeong Hwa-Young
    • Journal of Digital Contents Society
    • /
    • v.3 no.2
    • /
    • pp.245-254
    • /
    • 2002
  • Currently, communication field for automation system can be divided by simple serial communication for communication between each internal devices and network base remote control system that is based on TCP/IP. In spite of great development of network, communication part for internal control is using simple RS232 base until present. Also, development techniques of system developed by object oriented program in modular programming techniques of each function unit. Currently, it developed by component base development technique that is parts unit of software. This is presented by the new alternative of software development techniques as techniques to composition independent operation unit including business logic and is connected to development of new system. Therefore, this research implemented internal communication Emulate in RS232C based on GUI that apply development techniques of component base. that is, I maked component to commnication control part between receiving and sending and, as composite it, Control part did to handling between send and receive data.

  • PDF

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

  • Bae, Su-Hyeon;Kim, Seon-Ho;Yu, Seon-Guk
    • Journal of Biomedical Engineering Research
    • /
    • v.19 no.2
    • /
    • pp.189-198
    • /
    • 1998
  • 3D medical image reconstruction techniques are useful to figure out complex 3D structures from the set of 2D sections. In the paper, 3D medical image reconstruction system is constructed under PC environment and programmed based on modular programming by using Visual C++ 4.2. The whole procedures are composed of data preparation, gradient estimation, classification, shading, transformation and ray-casting & compositing. Three speed optimization techniques are used for accelerating 3D medical image reconstruction technique. One is to reduce the rays when cast rays to reconstruct 3D medical image, another is to reduce the voxels to be calculated and the other is to apply early ray termination. To implement 3D medical image reconstruction system based on PC, speed optimization techniques are experimented and applied.

  • PDF