• 제목/요약/키워드: Machine Language (C Language)

검색결과 118건 처리시간 0.027초

기계요소설계 과목을 위한 교육용 소프트웨어 개발 (Software development for the machine element design course)

  • 박경진;도성희
    • 대한기계학회논문집A
    • /
    • 제21권8호
    • /
    • pp.1348-1355
    • /
    • 1997
  • Machine element design is a very important course in the undergraduate program of mechanical engineering in that it presents traditional design concepts. While computer aided design(CAD) receives more attention, students tend to ignore the machine element design or traditional design concepts. However, design methodologies related to machine elements are utilized quite often in practical fields. Also, design methodologies provide good insight for the decision making process of modern design. Generally, CAD is used for simple drafting without the real design process in the undergraduate program. Design software has been developed for various machine elements. Through menu display, a user can select or furnish the design input such as design objects, dimensions, environmental forces and usages, and safety factors. Then the software carries out the design processes which are the same as those of textbooks. The result of the design is filtered to have the values in the standards. The designed machine element is drawn via commercial CAD software. The software has been developed with C language on a personal computer. The developed software is being utilized successfully in a design course, and the experiences are discussed in this paper. The software can be used in industries which require the repeated process of the machine element design.

C++ 컴파일러에서 중간코드의 검증과 분석을 위한 역컴파일러의 설계 및 구현 (Design and Implementation of a Decompiler for Verification and Analysis of Intermediate Code in C++ Compiler)

  • 배성균;김영근;이양선
    • 한국정보처리학회:학술대회논문집
    • /
    • 한국정보처리학회 2006년도 춘계학술발표대회
    • /
    • pp.1405-1408
    • /
    • 2006
  • C++ 언어는 객체지향 프로그래밍 언어로, 기존의 C++ 프로그램은 각각의 플랫폼에 따른 컴파일러를 통해 목적기계의 코드(object code)로 변환되므로 실행되는 플랫폼에 의존적인 단점이 있다. 이러한 단점을 보완하는 방법으로 스택기반의 가상기계와 가상기계의 입력형태인 중간코드를 이용하는 기법이 있다. EVM(Embedded Virtual Machine)은 ANSI C, ISO/IEC C++ 언어와 SUN사의 Java 언어 등을 모두 수용할 수 있는 임베디드 시스템 기반의 가상기계이며, EVM에서 실행되는 중간코드인 SIL(Standard Intermediate Language)은 객체지향 언어와 순차적인 언어를 모두 수용하기 위한 명령 코드의 집합으로 설계되어 있다. 본 논문에서는 C++ 컴파일러를 통해 생성된 SIL 코드가 올바른지 검증하고 원시코드의 분석을 용이하게 하기 위해서 SIL 코드를 어셈블리 코드와 유사한 형태의 재 표현된 C++ 프로그램으로 역컴파일하는 시스템을 설계하고 구현하였다.

  • PDF

Development of ISO14649 Compliant CNC Milling Machine Operated by STEP-NC in XML Format

    • International Journal of Precision Engineering and Manufacturing
    • /
    • 제4권5호
    • /
    • pp.27-33
    • /
    • 2003
  • G-code, another name of ISO6983, has been a popular commanding language for operating machine tools. This G-code, however, limits the usage of today's fast evolving high-performance hardware. For intelligent machines, the communications between machine and CAD/CAM departments become important, but the loss of information during generating G-code makes the production department isolated. The new standard for operating machine tools, named STEP-NC is just about to be standardized as ISO14649. As this new standard stores CAD/CAM information as well as operation commands of CNC machines, and this characteristic makes this machine able to exchange information with other departments. In this research, the new CNC machine operated by STEP-NC was built and tested. Unlike other prototypes of STEP-NC milling machines, this system uses the STEP-NC file in XML file form as data input. This machine loads information from XML file and deals with XML file structure. It is possible for this machine to exchange information to other databases using XML. The STEP-NC milling machines in this research loads information from the XML file, makes tool paths for two5D features with information of STEP-NC, and machines automatically without making G-code. All software is programmed with Visual $C^{++}$, and the milling machine is built with table milling machine, step motors, and motion control board for PC that can be directly controlled by Visual $C^{++}$ commands. All software and hardware modules are independent from each other; it allows convenient substitution and expansion of the milling machine. Example 1 in ISO14649-11 having the full geometry and machining information and example 2 having only the geometry and tool information were used to test the automatic machining capability of this system.

자바 네이티브 메소드를 위한 통합 개발 환경 (Integrated Development Environment for Java Native Methods)

  • 김상훈
    • 한국콘텐츠학회논문지
    • /
    • 제10권7호
    • /
    • pp.122-132
    • /
    • 2010
  • 다양한 모바일 장비의 등장으로 인하여 해당 장비에서 실행 가능한 응용 프로그램의 요구가 증가하고 있다. 플랫폼 독립적이란 특성을 가지는 자바 언어는 이러한 환경에 최적의 프로그래밍 언어로 급부상하고 있다. 그러나 자바는 가상 기계에 의해 실행되므로 플랫폼 의존적인 기능을 제공하지 못하는 단점을 가진다. 썬 마이크로시스템즈에서는 이러한 문제점을 해결하기 위해 자바 네이티브 메소드라는 JNI 기술을 제시하였다. JNI 기술을 이용하기 위해서는 JVM의 내부구조와 JNI에 대한 풍부한 지식이 필요하다. 또한 수많은 JNI 함수의 사용으로 인하여 프로그램 개발 생산성과 품질의 저하를 초래하고 있다. JNI에 대한 지식 없이 쉽고 빠르게 네이티브 프로그래밍이 가능 하도록 도와주는 지원 도구의 필요성 대두되고 있다. 이를 위해서는 자바 언어와 C/C++ 언어 사이에 존재하는 구문과 의미상 차이점을 자동적으로 처리해 주어야 한다. 본 연구에서 자바와 C/C++언어 간에 차이점과 이를 극복하기 위한 방안을 제시하고 이를 바탕으로 개발한 JNI 통합 개발 환경을 소개한다.

EVM SIL에서 C 프로그램 생성을 위한 역컴파일러의 설계 및 구현 (Design and Implementation of Decompiler for Generating C Program from EVM SIL)

  • 김영근;권혁주;이양선
    • 한국정보처리학회:학술대회논문집
    • /
    • 한국정보처리학회 2005년도 춘계학술발표대회
    • /
    • pp.549-552
    • /
    • 2005
  • 기존의 ANSI C 프로그램은 각각의 플랫폼에 따른 컴파일러를 통해서 목적기계의 코드로 변환되고, 실행되어 플랫폼에 의존적인 단점이 있다. 이러한 단점을 보완하는 방법으로는 스택기반의 가상기계와 가상기계의 입력형태인 중간코드를 이용하는 기법이 있다. EVM(Embedded Virtual Machine)은 ANSI C 언어와 SUN사의 Java 언어 등을 모두 수용할 수 있는 임베디드 시스템을 위한 가상기계이며, SIL(Standard Intermediate Language)은 EVM에서 실행되는 중간언어로 다양한 프로그래밍 언어를 수용하기 위해서 객체지향 언어와 순차적인 언어를 모두 수용하기 위한 연산 코드 집합을 갖고 있다. 본 논문에서는 SIL 코드가 올바른 수행을 하는 것인지를 검증하고 원시코드의 분석을 용이하게 하기 위해서 생성된 SIL 코드를 어셈블리 형태와 유사한 재 표현된 ANSI C 언어로 바꾸는 역컴파일러 시스템을 설계하고 구현하였다.

  • PDF

포켓컴용 Tiny-C에 의한 로봇제어에서의 귀환제어 시스템 구현 (Feedback Control System Embodyment of Robot Control by Tiny-C of Specific Pocketcom)

  • 송자윤
    • 대한전기학회:학술대회논문집
    • /
    • 대한전기학회 1996년도 하계학술대회 논문집 B
    • /
    • pp.987-989
    • /
    • 1996
  • This paper presents feedback control?method of educational robot made up of step motor by specific Tiny-C at PPI 8255 board of pocketcom(pocket computer; PC-E200). Machine language capacity of Tiny-C compiler(Ver 1.0) is about 22kbyte, and so it is easily transmitted from personal computer to pocketcom of conventional memory 32 kbyte. This experimental results show that Tiny-C control programs are practised on the pocketcom connected to PPI 8255 board for educational robot and X-Y plotter, and these are presented to show the effectiveness of the proposed algorithm.

  • PDF

ARM Cortex-M0 DesignStart를 활용한 커스텀 시스템 설계 및 검증 (Custom system design and verification using ARM Cortex-M0 DesignStart)

  • 이성룡;유호영
    • 전기전자학회논문지
    • /
    • 제24권2호
    • /
    • pp.486-491
    • /
    • 2020
  • 본 논문은 ARM Cortex-M0 DesignStart를 기반으로 한 커스텀 시스템을 설계하는 방식을 정리하였다. ARM사에서 무료로 공개 배포하고 있는 ARM Cortex-M0 DesignStart를 활용하여 사용자가 원하는 ARM Cortex-M0 기반의 커스텀 시스템을 구현할 수 있다. 구현에 앞서 ARM Cortex-M0 기반의 하드웨어 구조와 특징을 살펴보고, 제공된 소프트웨어에 대하여 기술한다. 그리고 ARM Cortex-M0 DesignStart의 CMSDK(Cortex-M System Design Kit)을 활용하여 ARM Cortex-M0 기반의 UART 시스템 구현 및 테스트코드를 사용한 검증을 통해 ARM Cortex-M0의 커스텀 시스템 설계할 수 있음을 보인다.

타이어 사이드판의 문자 가공을 위한 4축 가공 시스템 (A 4-axis NC Lettering System for the Side-wall of the Automobile Tire)

  • 이철수;박광렬
    • 산업공학
    • /
    • 제11권2호
    • /
    • pp.65-78
    • /
    • 1998
  • The letters of the automobile tire are usually engraved on the side-wall. The shape of the side-wall is a sculptured surface generated by the rotational sweeping of a profile curve. The letters laid on the side-wall are usually designed by a 2-dimensional CAD. It is impossible to machine the letters on the surface accurately by 3-axis NC machining, because the axis of cutter should be tilted to align with the normal vector of the surface. In this case. the degree of freedom for the machine is at least four. This paper describes an idea for tool path generation of a 4-axis machine by using the 2-dimensional CAD data of the letters and the surface of the side-wall. This study includes the following procedures; (1) measuring the profile of the side-wall surface and curve-fitting of the measured points. (2) the 'non-parallel projection' of the letters on the side-wall, and (3) an inverse kinematics of the 4-axis lettering machine. Procedures in this paper are programmed in C-language on Windows95 environment. With a PC based CNC controller and a 4-axis lettering machine. these are tested sucessfully for the practical use.

  • PDF

가상기계 코드 실행을 위한 역컴파일러 (Decompiler for Executing Virtual Machine Code)

  • 안덕기;오세만
    • 한국정보처리학회:학술대회논문집
    • /
    • 한국정보처리학회 2006년도 춘계학술발표대회
    • /
    • pp.383-386
    • /
    • 2006
  • 최근 가상기계 시스템은 임베디드 유비쿼터스 컴퓨팅의 필수적인 기술로서, 그 중요성이 더욱 강조되고 있으며, 컴파일러, 어셈블러 그리고 가상기계의 구현으로 구축된다. 이러한 시스템의 구축 과정에서 각 컴포넌트의 신뢰성을 위하여 정확한 검증 방법이 요구되며, 검증의 효율성을 위해서 순차적으로 진행되어야 한다. 본 논문에서는 가상기계 시스템의 컴파일러를 검증하기 위해서, 컴파일 된 가상기계 코드를 역컴파일하여 실행하는 기법을 제안하고, 그러한 기법에 따라 EVM(Embedded Virtual Machine) SIL(Standard Intermediate Language) 역컴파일러를 구현하였다. 구현된 역컴파일러는 EVM이 개발되기 전에 효율적인 실행 시스템으로 이용됨은 물론 EVM ANSI C 컴파일러의 검증 도구로서 이용될 수 있으며, EVM 시스템을 체계적으로 개발할 수 있도록 할 것이다.

  • PDF

Paper Machine Industrial Analysis on Moisture Control Using BF-PSO Algorithm and Real Time Implementation Setup through Embedded Controller

  • Senthil Kumar, M.;Mahadevan, K.
    • Journal of Electrical Engineering and Technology
    • /
    • 제11권2호
    • /
    • pp.490-498
    • /
    • 2016
  • Proportional Integral Derivative (PID) controller tuning is an area of interest for researchers in many areas of science and engineering. This paper presents a new algorithm for PID controller tuning based on a combination of bacteria foraging and particle swarm optimization. BFO algorithm has recently emerged as a very powerful technique for real parameter optimization. To overcome delay in an optimization, combine the features of BFOA and PSO for tuning the PID controller. This new algorithm is proposed to combine both the algorithms to get better optimization values. The real time prototype model of paper machine is designed and controlled by using PIC microcontroller embedded with the programming in C language.