DOI QR코드

DOI QR Code

A Study on Software algorithm for Processing n-key roll-over at Matrix Keyboard

매트릭스 구성 키보드의 n-키 롤-오버 처리를 위한 소프트웨어 알고리즘에 관한 연구

  • Received : 2020.06.01
  • Accepted : 2020.06.19
  • Published : 2020.06.30

Abstract

In this paper, we propose a software algorithm that can configure n-key roll-over that detects all keys without limitation on the number of pressed keys in the dynamic scanning detection of a keyboard composed of a matrix. The proposed algorithm uses the timer interrupt of the microcontroller for computer keyboard control, so that a constant and accurate detection interval can be obtained, and an accurate debounce time can be provided. In order to confirm the effectiveness of the proposed algorithm, a microcontroller was connected to a toy keyboard constructed in the form of a clavier and experiments were conducted. As a result of the experiment, it was confirmed that detection of all keys was performed accurately regardless of the number of keys pressed.

본 논문에서는 매트릭스 형태로 구성된 키보드의 다이나믹 스캐닝 검출에 있어 눌리는 키의 수에 제한 없이 모든 키를 감지하는 n-키 롤-오버를 구성할 수 있는 소프트웨어 알고리즘을 제시하였다. 제시한 알고리즘은 컴퓨터 키보드 제어용 마이크로컨트롤러의 타이머 인터럽트를 이용하므로 일정하고 정확한 검출 간격을 얻을 수 있으며, 정확한 디바운스 시간을 부여할 수 있는 장점이 있다. 제시한 알고리즘의 효과를 확인하기 위해 건반 형태로 구성된 장난감 키보드에 마이크로컨트롤러를 접속하고 실험을 진행하였으며, 실험 결과 동시에 눌리는 키의 수에 관계없이 모든 키에 대한 검출이 정확히 이루어짐을 확인하였다.

Keywords

References

  1. Frank Vahid, Tony Givargis, Embedded System Design - A Unified Hardware/Software Introduction, pp.97-98, John Wiley & Sons, 2002. ISBN: 978-0-471-38678-0
  2. Don Johns, "Membrane Versus Mechanical Keyboards", Electronic products vol.38 no.1, pp.43, 1995. www.electrocproducts .com/Electromechanical_Components/Memb rane_versus_mechanical_keyboards.aspx
  3. Steven F. Barrett, Daniel J. Pack, Embedded Systems - Design and Applications, pp.313-319, Pearson Prentice-Hall, 2005. ISBN: 0-13-140141-6
  4. Ronald J. Tocci, Lester P. Laskowski, Microprocessors and Microcomputers Hardware and Software, pp.271-279, Prentice-Hall, 1982. ISBN: 0-07-100248-0
  5. Lan McLoughlin, Computer Peripherals, Chap.4, pp.1-17, Nanyang Technological University, 2001.
  6. HyunChang Lee, MyungSeok Lee, "A study on Detecting a Ghost-key using Additional Coating at the Membrane type Keyboard", Journal of IEIE vol.53, no.7, pp.56-63, Jul. 2016. DOI: 10.5573/ieie.2016.53.7.01
  7. Sung-Yeol Kwon, Hyun-Chang Lee, "A Study on the Method of Detecting the Ghost-Key Phenomenon of Rubber Contact Switch Type Remote Controller for the Smart-TV", IJET, vol.7, no.3.24, pp.153-157, 2018. DOI: 10.14419/ijet.v7i3.24.22526
  8. Shun-Pin Lin, "Input device with Ghost key suppression", US Patent US8754790B2, Jun. 2014.
  9. Chun-Hung Cheng, Ying-Wen Bai, "Anti-Ghost Key Design for a Notebook Keyboard", Canadian Conference on Electrical and Computer Engineering, Proceeding of the IEEE 28th, pp.577-580, May. 2015.
  10. 안마태, "안마태 소리글판의 한글과 중국어 입력방식", 한국어정보학회지 제11권 2호, 40-46쪽, 2009년 12월.