• Title/Summary/Keyword: 타이머/카운터

Search Result 13, Processing Time 0.027 seconds

Analysis of the Timer Management Methods for Real-Time property Enhancement on Linux (실시간성 향상을 위한 리눅스에서의 타이머 운용방안 분석)

  • 김재언;김영호
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 1999.10c
    • /
    • pp.170-172
    • /
    • 1999
  • 본 논문은 실시간 시스템에서 중요한 요소인 타이머 운용에 관련된 방법중 Linux를 위한 접근 방법을 분석한다. 현재 표준 PC는 ISA 버스와 연결된 8254 프로그래머를 카운터를 통해 시스템의 시각부분을 처리하고 있다. 이 경우 ISA 버스의 특성상 10us (in PentiumPro 200MHz) 정도 소요시간을 가지게 된다. 보다 높은 microsec 수준의 실시간성을 요구하는 경우 이러한 근원적 시각처리 방안을 개선함은 필수적인 요소이다. 이를 위해 리눅스에 적용 가능한 타이머 운용방안 들로서 표준 8254 타이머, 펜티엄 프로세서의 TSC 이용방법 및 Intel SMP 보드의 APIC 타이머에 의한 방법들을 비교 분석하였다.

  • PDF

Timer Establishment to Suppress NACK Implosion in SRM (SRM에서 NACK 폭주 억제를 위한 타이머 설정)

  • Lee, Y.S.;Kim, T.H.;Kim, T.H.;Park, H.R.;Lee, K.H.
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2002.11b
    • /
    • pp.1659-1662
    • /
    • 2002
  • SRM[1][2]은 ALF(application level framing)과 LWS(light-weight session)을 위한 신뢰성 있는 멀티캐스트 구조로써 송신자가 아닌 수신자들이 오류가 발생하였는지를 검사하고, 오류가 발생했을 때, NACK 메시지를 전송하여 패킷 손실 복구를 요청한다. 그러나 다수의 수신자들이 송신자에게 패킷의 손실 복구를 요청하게 되면 NACK 폭주(NACK implosion)가 발생한다. 이 논문에서는 NACK 과부하 문제는 해결하기 위해서 수신자가 송신자에서 자신까지의 거리와 request 타이머 인자 값에 의해서 정해지는 구간에서 선택된 임의의 시간동안 기다리는 request 타이머를 개선하여 노드마다 카운터를 주어 안정적인 네트워크에서의 흐름일 경우는 그 구간을 짧게 하고, 반대로 불안정적인 네트워크 일 경우에는 구간을 길게 하여 가변적인 네트워크에 효율적으로 NACK를 억제하는 방법을 제시한다.

  • PDF

Vector Table Composition and Interrupt Control for Exception Handling Based on ARM Core System (ARM 코어 시스템 기반 예외 처리를 위한 벡터 테이블 구성 및 인터럽트 제어)

  • 정준영;정민수;권오형
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2000.04a
    • /
    • pp.457-459
    • /
    • 2000
  • 최근 이동단말기나 PDA, 스마트폰과 같은 정보기기나 디지털 가전기기의 사용이 증대됨에 따라, ARM코어 시스템을 기반으로 하는 프로세서와 이를 운영하기 위한 소프트웨어 수요도 증가하고 있다. 본 논문은 프로세서를 운영하기 위한 소프트웨어 중에서 예외처리를 위한 일반적인 인터럽트 제어를 다룬다. ARM 시스템 상에서 임의의 주변 장치(타이머/카운터)에 의해 발생하는 인터럽트 처리 과정과 예외처리를 제어하기 위한 벡터 테이블을 구성하는 방법에 대해 분석한다. 그리고 인터럽트를 처리하는 인터럽트 코드부분과 벡터 테이블내의 인터럽트의 상호 연관성에 대해 논의한다.

  • PDF

A New input-filtering method for High Speed Counter module of PLC using embedded timer pulse function of general purpose MPU (범용 MPU 내장 타이머 펄스 출력을 이용한 PLC 고속 카운터 모듈의 입력 필터링 기능 개선)

  • Park, Kang-Hee;Lee, Sang-Beak;Han, Kyoung-Sik
    • Proceedings of the KIEE Conference
    • /
    • 2011.07a
    • /
    • pp.1798-1799
    • /
    • 2011
  • In this paper, A new cost-effective and accurate input noise rejection method for High Speed Counter module of PLC (Programmable Logic Controller) is proposed. By using combination of simple additional logic circuit and the Timer Pulse function of general purpose MPU, Cost-effectiveness and improvement of accuracy of filtering function can be achieved. This proposed method is verified by simulation. This proposed method is much useful for simple industrial controller based on simple microprocessor because of simplicity, accuracy and low cost.

  • PDF

A Study on Design and Development of an Engine Control System Based on Crank Angle (크랭크 각 기준의 엔진 제어시스템 설계.제작에 관한 연구)

  • 윤팔주;김명준;선우명호
    • Transactions of the Korean Society of Automotive Engineers
    • /
    • v.6 no.4
    • /
    • pp.198-210
    • /
    • 1998
  • A crank angle-based engine control system has been developed for use as an engine research tool to provide precise control of the fuel injection(timing and duration) and ignition(timing and dwell) in real-time. The engine event information is provided by the engine shaft encoder, and the engine control system uses this information to generate spark and injector control signals for relevant cylinders. Eight different engine types and four different rotary encoder resolutions can be accommodated by this system. Also this system allows a user to individually control the ignition and fuel injection for each cylinder in a simple manner such as through a keyboard or in a real-time operation from a closed-loop control program.

  • PDF

Improving the Performance of TCP/RLP over CDMA Forward Link (CDMA 순방향 무선링크에서의 TCP/RLP 성능 향상에 관한 연구)

  • 송기영;박영근
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.28 no.5B
    • /
    • pp.369-380
    • /
    • 2003
  • In the CDMA wireless link, frame errors are correlated and burst because of fading. The implementation ability of RLP error recovery is dependent on the correlated frame errors. The (1,2,3) retransmission scheme, which is recommended as default in IS-707, is not adapted in high frame loss regime with strong correlations. By using the modified error recovery method, where the total number of retransmission attempts is the same and the retransmission is increased, the proposed retransmission scheme can efficiently recover frame errors than the (1,2,3) retransmission scheme. Since the modified scheme has longer transmission delay due to the increase of retransmission round, we propose the algorithm of retransmission failure prediction to improve the modified error recovery scheme. We simulate the modified error recovery scheme applying our algorithm and compare two schemes. (i.e. default scheme by IS-707 and modified scheme) not applying our algorithm. In the result, we show TCP performance improvement is better than default scheme by IS-707.

The IEEE 802.11 MAC Protocol to solve Unfairness Problem in Multihop Wireless Ad Hoc Networks (다중 무선 에드혹 네트워크에서 불공정 문제를 해결하기 위한 802.11 MAC 프로토콜)

  • Nam, Jae-Hyun
    • Journal of the Korea Society of Computer and Information
    • /
    • v.12 no.6
    • /
    • pp.229-234
    • /
    • 2007
  • In the IEEE 802.11 Wireless Local Area Networks (WLANs), network nodes experiencing collisions on the shared channel need to backoff for a random period of time. which is uniformly selected from the Contention Window (CW) This contention window is dynamically controlled by the Binary Exponential Backoff (BEB) algorithm. The BEB scheme suffers from a unfairness problem and low throughput under high traffic load. In this paper, I propose a new backoff algorithm for use with the IEEE 802.11 Distributed Coordination Function.

  • PDF

Disign and Evaluation of a Versatile Data Acquisition and Control Adaptor for IBM Personal Computers (IBM-PC를 위한 다목적용 데이타 수집 및 컨트롤 장치의 개발)

  • Kim, Haidong;Song, Hyung Soo
    • Analytical Science and Technology
    • /
    • v.5 no.3
    • /
    • pp.295-301
    • /
    • 1992
  • A versatile data acquisition and control adaptor for IBM personal computers has been developed. The data acquisition and control adaptor developed contains major components necessary for computerized data acquisition and control instrumentaions. Up to 4 differential analog signals can be acquired through a choice of dual 12-bit analog-to digital converters depending on the experimental requirements. Also, dual 12-bit digital-to-analog converters, three 16-bit programmable most computerized laboratory data acquisition and control instrumentation. The design principle and its applications are described.

  • PDF

Development of Digital Control Panel for GIS (가스절연 개폐장치용 디지털 제어 패널 개발)

  • Kim, Tae-Wook;Kim, Jung-Bae;Song, Won-Pyo;Kim, Deok-Soo;Koh, Hee-Seok
    • Proceedings of the KIEE Conference
    • /
    • 2002.11a
    • /
    • pp.25-27
    • /
    • 2002
  • 종래 가스절연개폐장치용 제어 패널은 아날로그 제어방식으로 제어 패널의 시퀀스 제어회로를 계전기, 스위치, 카운터, 타이머, 파이로트 램프, 경보 표시장치, 케이블 등을 이용하여 구현한다. 그래서 제어 패널 내부에 각종 계전품과 케이블이 많이 필요하게 되어서 복잡한 것이 단점이다. 또한, 시퀀스 제어회로의 수정이 필요하면 계전품, 배선을 수정해야 하므로 제어 패널의 유연성이 낮다. 이것을 디지털 제어 패널로 대체하면 아날로그 제어방식으로는 구현하기가 어렵거나 불가능한 기능들을 쉽게 구현할 수 있으며, 시퀀스 제어회로의 수정이 필요하면 종래에는 계전품, 결선을 수정해야 했으나 소프트웨어의 수정만으로 가능하여 제어 패널의 유연성이 향상되며 제어기의 내부가 PCB 보드로 되어 있어서 제어 패널의 유지보수성이 향상되며, 종래에는 계전품 케이블을 이용하여 구현한 기능들이 소프트웨어로 가능하게 되므로 제어 패널의 배선이 많이 축소되어 조립 작업성이 향상되고 원가절감이 가능하다. 원격 통신기능이 가능하여 SCADA/REMOTE와 통신으로 연결되어 변전소 종합자동화에 적합하다.

  • PDF

Efficient Programming Method in Microcontrollers for Improving Latency (지연시간을 개선하기 위한 마이크로 컨트롤러의 효율적인 프로그래밍 방법)

  • Lee, Kyungnam;Kim, Youngmin
    • Journal of IKEEE
    • /
    • v.23 no.3
    • /
    • pp.1068-1076
    • /
    • 2019
  • Most of the electronics we use today have built-in microcontrollers, which are called embedded systems. In such a small environment, responsiveness is very important for the microcontroller. In this paper, the basic input/output control, timer/counter interrupt operation principle, and understanding of the microcontroller are described. Program logic is proposed to improve throughput and latency by controlling characteristics of service routine and program execution order. The hardware simulations in this paper were verified using ATmega128 and PIC16F877A from Atmel and Microchip.