• Title/Summary/Keyword: Microcontroller

Search Result 532, Processing Time 0.031 seconds

Implementation of an EtherCAT Master with SOEM on STM32 Microcontroller (STM32 마이크로 컨트롤러에서 SOEM을 이용하는 EtherCAT 마스터 구현)

  • Sung Jin Kang;Hwa Il Seo
    • Journal of the Semiconductor & Display Technology
    • /
    • v.22 no.2
    • /
    • pp.11-16
    • /
    • 2023
  • EtherCAT is an Ethernet-based fieldbus system standardized in IEC 61158 and SEMI, and widely used in the fields of factory automation, semiconductor equipment and robotics. In this paper, without operating system, we have implemented an EtherCAT master with an open source EtherCAT master stack SOEM on STM32 Nucleo-144 board with an STM32F767 microcontroller. And its jitter performance has been evaluated at the output of the network port to include all the effects of the entire system in the results. The results show that the implemented EtherCAT master has precise control performance for control frequencies from 1KHz to 8KHz and relatively superior jitter performance compared to the EtherCAT masters with real-time patched Linux operating system.

  • PDF

Development of the Low Power Stand-Alone Smoke and Heat Detector for the Reliability Improvement (신뢰성 개선을 위한 저전력 열연 복합식 단독경보형 감지기 개발)

  • Jee, Seung-Wook;Kim, Si-Kuk;Lee, Jae-Jin;Kim, Pil-Young;Lee, Chun-Ha
    • Fire Science and Engineering
    • /
    • v.26 no.1
    • /
    • pp.74-79
    • /
    • 2012
  • This study is described for development of the stand-alone smoke and heat detector (SASHD) according to the revised in 2011 type approval and performance inspection code for detector. The main improvement of the revised regulation is source. CMOS microcontroller with nano watt technology is use for development of the workable SASHD over 10 years. The low-power SASHD is developed by using the power-saving sleep mode of microcontroller, by making the low-power source voltage checker, heat detector and smoke detector. The stand-alone detector is developed by smoke and heat detector type for reduce false fire alarm. User can choose type of work between the heat detection mode and smoke & heat detection mode. The SASHD can communicate with each them using RS-485 communication supported from microcontroller. So, this study can develop the SASHD that is able to alarm more wide area when fire occurs and reduce a flash fire alarm.

Convenient and Economic Mechatronics Education Using Small Portable Electronic Devices (휴대용 소형 전자장비를 이용한 편리하고 경제적인 메카트로닉스 교육)

  • Kang, Chul-Goo
    • Transactions of the KSME C: Technology and Education
    • /
    • v.4 no.1
    • /
    • pp.63-71
    • /
    • 2016
  • Although mechatronics education in a mechanical engineering curriculum is recently recognized as important, its experimental education has been done generally in the laboratory equipped with all the apparatus and could not be done at home by students. This paper introduces experimental educations on mechatronics, e.g., digital logic circuits, 7-segment LED drive, square wave generation, microcontroller programming using assembly and C languages, timer interrupt, and step motor drive using a small 5 V power supply, a breadboard, various electronic and electric components, a microcontroller and its programmer, a step motor, and a student's PC. In the developed mechatronics course, experimental educations are scheduled in parallel with content's lectures together, and cheap and economic experimental environment is prepared for students in which students can easily practice experimental works in advance or later at home by themselves.

UART-to-APB Interface Circuit Design for Testing a Chip (칩 테스트를 위한 UART-to-APB 인터페이스 회로의 설계)

  • Seo, Young-Ho;Kim, Dong-wook
    • Journal of Advanced Navigation Technology
    • /
    • v.21 no.4
    • /
    • pp.386-393
    • /
    • 2017
  • Field programmable gate arrays (FPGAs) are widely used for verification in chip development. In order to verify the circuit programmed to the FPGA, data must be input to the FPGA. There are many ways to communicate with a chip through a PC and an external board, but the simplest and easiest way is to use a universal asynchronous receiver/transmitter (UART). Most recently, most circuits are designed to be internally connected to the advanced microcontroller bus architecture (AMBA) bus. In other words, to verify the designed circuit easily and simply, data must be transmitted through the AMBA bus through the UART. Also the AMBA bus has been available in various versions since version 4.0 recently. Advanced peripheral bus (APB) is suitable for simple testing. In this paper, we design a circuit for UART-to-APB interface. Circuits designed using Verilog-HDL were implemented in Altera Cyclone FPGAs and were capable of operating at speeds up to 380 MHz.

Simple Digital LCD Backlight Inverter using a Single-chip Microcontroller (단일칩 마이크로컨트롤러를 이용한 간단한 디지털 LCD 백라이트 인버터)

  • Jeong, Gang-Youl
    • Journal of the Korea Academia-Industrial cooperation Society
    • /
    • v.11 no.2
    • /
    • pp.461-468
    • /
    • 2010
  • This paper presents a simple digital LCD backlight inverter using a single-chip microcontroller. The proposed inverter reduces the ignition voltage and eliminates the current spikes and hence improves the ignition behavior of the cold cathode fluorescent lamp(CCFL). Thus it increases the CCFL's life span. This is achieved by implementing a digital dimming control algorithm, that contains the soft-starting algorithm, all on a single-chip microcontroller. The inverter utilizes the full-bridge resonant circuit topology. The design example along with a simple analysis for the inverter is shown, and the experimental results of the designed prototype results in close agreement with the theoretical analysis and explanation. The overall system's power efficiency is approximately 85%. Compared with conventional inverters, the ignition voltage is reduced by around 30% without any lamp current spike occurring during the dimming control operation.

Development of a Programmable Multi-Output Adapter (프로그램 가능한 다출력 아답타 개발)

  • Chai, Yong-Yoong;Do, Wang-Lok
    • The Journal of the Korea institute of electronic communication sciences
    • /
    • v.10 no.6
    • /
    • pp.699-706
    • /
    • 2015
  • A previous adapter have a single-ouput, however, a demand of a multi-output adapter increase in the recent industrial site. In order to satisfy the demand, in this research, we implement a programmable high efficiency multi-output adapter. The basic structure of the adapter introduced in this paper is a sort of flyback. The way for producing the reference voltage of the adapter proposed is similar to the way in the general flyback implemented with TL431. In addition to the basic concept of the design, however, we introduce a digital variable resistor, AD5246BKSZ10-RL7 and a microcontroller for changing a programmable multi-output. It makes output be variable that the digital variable resistor change the reference voltage of the adapter by order of the microcontroller. The adapter output voltage is controllable in the range of 20V by the user, and the power efficiency is proven to be 85%.

A Study on Design of Vehicle Control System Based on ${\mu}C/OS-II$ (${\mu}C/OS-II$를 적용한 차량용 제어시스템의 설계에 관한 연구)

  • Song, Young-Ho;Lee, Tae-Yang;Park, Won-Yong;Moon, Chan-Woo;Ahn, Hyun-Sik;Jeong, Gu-Min
    • Journal of the Institute of Convergence Signal Processing
    • /
    • v.10 no.3
    • /
    • pp.193-197
    • /
    • 2009
  • In this paper, we study on design of vehicle control system which is based on ${\mu}C/OS-II$, We component a electric motor drive system for simulator because the most of vehicle part use electric motor for actuator. We use the XC2287 microcontroller which is often used vehicle body controller because XC2287 guarantee high confidence and durability in vehicle industry. The electric motor control system derive PWM from general I/O port in XC2287 microcontroller. The signal is supplied at electric motor after amplifying that using driver circuit. The user control duty of PWM signal through controlling potentiometer which is connected to XC2287. through that, the user control speed of electric motor. we synchronize both input process via controlling potentiometer and PWM output process using semaphore. we verify porting of ${\mu}C/OS-II$ via experimentation.

  • PDF

An Embedded Systems Implementation Technique based on Multiple Finite State Machine Modeling using Microcontroller Interrupts (마이크로컨트롤러 인터럽트를 사용한 임베디드시스템의 다중 상태기계 모델링 기반 구현 기법)

  • Lee, Sang Seol
    • Journal of Korea Multimedia Society
    • /
    • v.16 no.1
    • /
    • pp.75-86
    • /
    • 2013
  • This paper presents a technique to implement embedded systems using interrupts of the one-chip microcontroller with many peripherals based on a multiple finite state machines model. The multiple finite state machine model utilizes the structure of FSMD used for hardware design and the features of flow control by interrupts. The main finite state machine corresponds to the main program and the sub-state machines corresponds to the interrupt subroutines. Therefore, interrupts from the peripherals can be processed immediately in the sub-state machines. The request and reply variables are used to interface between the finite state machines. Additional operating system is not necessary for the context switching between the main state machine and the sub-state machine, because the flow-control caused by interrupt can be replaced with the switching. An embedded system modeled on multiple finite state machine with ASM charts can be easily implemented by the conversion of ASM charts into C-language programs. This implementation technique can be easily adopted to the hardware oriented embedded systems because of the detail description of the model and the fast response to the interrupt events in the sub-state machine.

128duino : An Extension of the Arduino Platform for ATmega128 (128duino : ATmega128을 위한 아두이노 플랫폼의 확장)

  • Choi, Hun;Heo, Gyeongyong
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.24 no.10
    • /
    • pp.1369-1375
    • /
    • 2020
  • Arduino is a microcontroller platform for non-IT major students, and is widely used as a learning tool. Several AVR series microcontrollers are used in Arduino boards, but ATmega128 is not used. ATmega128 is widely used because of its high expandability and competitive price compared to ATmega328 and ATmega2560 used in Arduino boards. Therefore, by allowing ATmega128 to be used in an Arduino environment, the usability of existing hardware and the Arduino platform can be improved. In this paper, proposed are an Arduino-compatible board design based on ATmega128 and ways to use the ATmega128-based board. As the strengthes of the Arduino platform can be used while utilizing existing hardware in the proposed extension, it is expected that the proposed one can be used in various microcontroller-related education and enhance the learning efficiency.

A Study on the Stabilization of Generating Negative Voltage for IT Equipments using Microcontroller (마이크로컨트롤러를 이용한 IT 기기용 마이너스 전압 생성의 안정화에 관한 연구)

  • Lee, Hyun-Chang
    • Journal of Convergence for Information Technology
    • /
    • v.11 no.6
    • /
    • pp.7-13
    • /
    • 2021
  • In this paper, the function of starting the negative voltage used in the IT equipment when it is generated and the method of controlling it using a microcontroller for the function to detect the overload and respond to it are presented. To do this, the limitations of the existing negative voltage generation circuit and the problems that occur during overload were analyzed, and a circuit that detects and controls the overload condition without a separate current sensing circuit was presented. In order to confirm the effect of the proposed method, an experiment was conducted by configuring an experimental circuit. As a result of the experiment, compared to the existing negative voltage generation circuit, which falls into a latch-up state when overloaded and enters a dangerous state, the proposed circuit detects this, stop the operation of the circuit, and informs the user of such an abnormal state to take action. have. In addition, since the starting point of the circuit is determined according to the system state, the experimental result was confirmed that the starting time was significantly shortened by about 23% compared to the time switch method.