• Title/Summary/Keyword: Automatic code generation

Search Result 122, Processing Time 0.027 seconds

Optimal Design for 3D Structures Using Artificial Intelligence : Its Application to Micro Accelerometer (인공지능을 이용한 3차원 구조물의 최적화 설계 : 마이크로 가속도계에 적용)

  • Lee, Joon-Seong
    • Journal of the Korean Institute of Intelligent Systems
    • /
    • v.14 no.4
    • /
    • pp.445-450
    • /
    • 2004
  • This paper describes an optimal design system for multi-disciplinary structural design. An automatic finite element (FE) mesh generation technique, which is based on the fuzzy knowledge processing and computational geometry technique, is incorporated into the system, together with a commercial FE analysis code and a commercial solid modelers. An optimum design solution or satisfactory solutions are then automatically searched using the genetic algorithms modified for real search space, together with the automated FE analysis system. With an aid of genetic algorithms, the present design system allows us to effectively obtain a multi-dimensional solutions. The developed system is successfully applied to the shape design of a micro accelerometer based on a tunnel current concept.

A New Integrated Software Development Environment Based on SDL, MSC, and CHILL for Large-scale Switching Systems

  • Lee, Dong-Gill;Lee, Joon-Kyung;Choi, Wan;Lee, Byung-Sun;Han, Chi-Moon
    • ETRI Journal
    • /
    • v.18 no.4
    • /
    • pp.265-286
    • /
    • 1997
  • This paper presents a new software development environment that supports an integrated methodology for covering all phases of software development and gives integrated methods with tools for ITUT (Telecommunication Standardization Section of the International Telecommunication Union) languages. The design of the environment to improve software productivity and quality is based on five main concepts: 1) formal specifications based on SDL (Specification and Description Language) and MSC (Message Sequence Charts) in the design phase, 2) verification and validation of those designs by tools, 3) automatic code generation and a safe separate compilation scheme based on CHILL (CCITT High-Level Language) to facilitate programming-in-the-many and programming-in-the-large. 4) debugging of distributed real-time concurrent CHILL programs, and 5) simulation of application software for integrated testing on the host machine based on CHILL. The application results of the environment compared with other approaches show that the productivity is increased by 19 % because of decreasing implementation and testing cost, and the quality is increased by 83 % because of the formal specifications with its static and dynamic checking facilities.

  • PDF

Design of Test Cases and Automatic Generation of the Test Code for UI Unit Test of an Android Application (안드로이드 애플리케이션 UI 단위 테스트를 위한 테스트 케이스 설계 및 테스트 코드 자동 생성)

  • Yun, Sang-Pil;Seo, Yong-Jin;Ko, Min-Hyuk;Kim, Hyeon-Soo
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2012.06b
    • /
    • pp.129-131
    • /
    • 2012
  • 세계 스마트폰 OS 시장의 절반 이상을 차지한 안드로이드는 향후 태블릿, 스마트 TV, 자동차 등으로 시장의 확대가 전망된다. 현재 안드로이드 OS를 기반으로 수많은 애플리케이션이 개발되고 있지만 애플리케이션의 신뢰성을 보장하기 위한 연구들은 부족한 상태이다. 이는 안드로이드 애플리케이션이 GUI를 기반으로 동작하기 때문에 기존의 테스트 방법을 적용하기 어렵기 때문이다. 구글에서 애플리케이션 테스트를 위한 환경을 제공하지만 개발자가 이를 활용하여 효율적인 테스트 코드를 작성하는 것은 쉽지 않다. 이 논문에서는 안드로이드 앱 개발에서 GUI 구현의 기본 단위인 액티비티에 대한 단위 테스트 방법을 제시한다. 이를 위해 테스트 케이스 설계 방법과 테스트 수행 코드를 자동으로 생성하는 프로그램을 구현한다. 이 방법을 통해 개발자는 쉽게 테스트 코드를 생성할 수 있으며 신뢰성있는 앱을 개발할 수 있다.

Automation of Fatigue Durability Analysis for Welded Bogie Frame Using a Multi-Agent Based Engineering Framework (멀티 에이전트 기반 엔지니어링 프레임워크를 이용한 용접대차틀 피로내구해석의 자동화)

  • Bang, Je-Sung;Han, Seung-Ho;Lee, Jai-Kyung;Park, Seong-Whan;Rim, Chae-Whan;Song, See-Yeob
    • Korean Journal of Computational Design and Engineering
    • /
    • v.12 no.4
    • /
    • pp.308-320
    • /
    • 2007
  • A multi-agent and web based engineering framework concerning the automation of fatigue durability analysis for welded bogie frame of railway vehicles is presented. Mostly, this kind of design or analysis includes complex workflow, huge amounts of information processing, and problem solving. Macro programs of I-DEAS, APDL of ANSYS, and in-house fatigue code are utilized for parametric geometry representation, automatic mesh generation, static stress analysis, fatigue durability analysis, post-processing, and data sorting. The engineering framework is implemented on the JADE. Since every task requires a fairly complex process and specialized knowledge, the multi-agent based framework is very useful to keep the independency among several disciplines or tasks and to use distributed hardware and software resources. All engineering programs are integrated by XML wrapper. Related database of the engineering framework and web based user interfaces are also developed. A parametric study is carried out to take into account the effect of geometrical change of transom support bracket on its cumulative fatigue damage. The developed engineering framework reduced remarkably the time and costs required in designing and solving engineering problems.

Optimal Shape Design of a 2-D Curved Duct Using a Mathematical Theory (수학적 이론을 이용한 이차원 곡면 덕트의 최적형상 설계)

  • Lim, Seokhyun;Choi, Haecheon
    • Transactions of the Korean Society of Mechanical Engineers B
    • /
    • v.22 no.9
    • /
    • pp.1325-1334
    • /
    • 1998
  • The objectives of the present study are to develop a systematic method rather than a conventional trial-and-error method for an optimal shape design using a mathematical theory, and to apply it to engineering problems. In the present study, an optimal condition for a minimum pressure loss in a two-dimensional curved duct flow is derived and then an optimal shape of the curved duct is designed from the optimal condition. In the design procedure, one needs to solve the adjoint Navier-Stokes equations which are derived from the Navier-Stokes equations and the cost function. Therefore, a computer code of solving both the Navier-Stokes and adjoint Navier-Stokes equations together with an automatic grid generation is developed. In a curved duct flow, flow separation occurs due to an adverse pressure gradient, resulting in an additional pressure loss. Optimal shapes of a curved duct are obtained at three different Reynolds numbers of 100, 300 and 800, respectively. In the optimally shaped curved ducts, the separation region does not exist or is significantly reduced, and thus the pressure loss along the curved duct is significantly reduced.

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.

Automatic Generation of MIB for Network Management (네트웍 관리를 위한 MIB의 자동생성)

  • 유재우;김영철;김성근
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.25 no.6A
    • /
    • pp.848-854
    • /
    • 2000
  • Network management in TMN concerns to the operating system and communication equipments in network, and defines them as objects. GDMO(guidelines for the Definition of Managed Objects) is used to describe those objects. GDMO is not directly used for managing the network, but translated into a language with object-oriented paradigm. And GDMO refers to ASN.1(Abstract Syntax Notation One) for manage objects. This paper presents design and implementation techniques for the translator which automatically translates the specification of ASN.1 and GDMO to the object-oriented language for generating MIB(Managed object Instance Base). This system, unlike the existing source code generator, is designed to generate various object-oriented languages automatically, which are used to generate Managed object Instance Base(MIB). And the system includes various graphic user interface to enhance the development environment of ASn.1 and GDMO

  • PDF

INTEGRATED DEVELOPMENT ENVIRONMENT FROM MODELING TO IMPLEMENTATION FOR AUTOMOTIVE REAL-TIME EMBEDDED CONTROL SYSTEMS

  • Ma, J.;Youn, J.;Shin, M.;Hwang, I.;SunWoo, M.
    • International Journal of Automotive Technology
    • /
    • v.7 no.3
    • /
    • pp.345-351
    • /
    • 2006
  • Software-In-the-Loop Simulation(SILS) and Rapid Control Prototyping(RCP) are proposed as an integrated development environment to support the development process from system design to implementation. SILS is an environment used to simulate control systems with temporal behavior. RCP offers seamless phase shift from design to implementation based on automatic code generation. There are several toolsets that support control system design and analysis. A few of these tools generate the control software automatically. However, most of these design toolsets do not cover temporal behavior which appears after implementation. In earlier toolsets, the design and the implementation of a control system are considered as two separate processes which mean the conventional development process is not connected strictly. SILS/RCP environments work under an identical platform and use the same representation for system modeling. An integrated SILS/RCP environment makes it possible to design controllers under conditions similar to real execution during off-line simulation and to realize controllers in the early design phase. SILS/RCP environments integrate the design and implementation phases which reduce the time-to-market and provide greater performance-assured design. The establishment of SILS/RCP and the practical design approaches are presented.

Design for Automatic code generation of Built-In-Test based on XML Description (XML 명세 기반 Built-In-Test 코드 자동 생성 체계)

  • Park, Doo-Ho;Shin, Won;Chang, Chun-Hyon;Roh, Young-Nam;Yu, Suk-Jin;Ha, Dong-Hyun
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2012.04a
    • /
    • pp.1208-1210
    • /
    • 2012
  • BIT(Built-In Test)란 S/W 또는 H/W 의 기능 및 상태를 진단하고 오류에 대응하기 위한 방법론으로 기능에 대한 신뢰성 및 빠른 오류 복구를 보장하기 때문에 다양한 분야에서 BIT 처리를 통해 시스템의 안정성을 높이고 있다. 현업에서의 BIT 는 도메인 특성에 따라 처리해야 하는 작업의 변화가 크기 때문에 구조화 되지 않은 형태로 각각 개발되고 있다. 따라서 BIT 개발 시 반복적인 작업이 수반되며 처리 과정의 수정 또는 처리 범위의 확장을 위해서는 많은 시간 및 인력이 요구된다. 이에 본 논문에서는 BIT 처리를 구조화하기 위하여 처리과정에 필요한 정보들을 일반화된 형태로 기록할 수 있도록 하는 BIT 처리 병세 방안과 BIT 처리 명세를 기반으로 한 자동 코드 생성 체계를 제안한다. 이를 통해 개발 과정의 편의성과 생산성을 향상하고 BIT 처리의 유연성과 확장성을 높일 수 있다.

Implementation and benchmarking of the local weight window generation function for OpenMC

  • Hu, Yuan;Yan, Sha;Qiu, Yuefeng
    • Nuclear Engineering and Technology
    • /
    • v.54 no.10
    • /
    • pp.3803-3810
    • /
    • 2022
  • OpenMC is a community-driven open-source Monte Carlo neutron and photon transport simulation code. The Weight Window Mesh (WWM) function and an automatic Global Variance Reduction (GVR) method was recently developed and implemented in a developmental branch of OpenMC. This WWM function and GVR method broaden OpenMC's usage in general purposes deep penetration shielding calculations. However, the Local Variance Reduction (LVR) method, which suits the source-detector problem, is still missing in OpenMC. In this work, the Weight Window Generator (WWG) function has been developed and benchmarked for the same branch. This WWG function allows OpenMC to generate the WWM for the source-detector problem on its own. Single-material cases with varying shielding and sources were used to benchmark the WWG function and investigate how to set up the particle histories utilized in WWG-run and WWM-run. Results show that there is a maximum improvement of WWM generated by WWG. Based on the above results, instructions on determining the particle histories utilized in WWG-run and WWM-run for optimal computation efficiency are given and tested with a few multi-material cases. These benchmarks demonstrate the ability of the OpenMC WWG function and the above instructions for the source-detector problem. This developmental branch will be released and merged into the main distribution in the future.