KR102116333B1 - Method of removing virtual key phenomenon of infrared remote control equipped with conductive rebber contact switch - Google Patents

Method of removing virtual key phenomenon of infrared remote control equipped with conductive rebber contact switch Download PDF

Info

Publication number
KR102116333B1
KR102116333B1 KR1020190039507A KR20190039507A KR102116333B1 KR 102116333 B1 KR102116333 B1 KR 102116333B1 KR 1020190039507 A KR1020190039507 A KR 1020190039507A KR 20190039507 A KR20190039507 A KR 20190039507A KR 102116333 B1 KR102116333 B1 KR 102116333B1
Authority
KR
South Korea
Prior art keywords
switch
microcomputer
row
virtual key
column
Prior art date
Application number
KR1020190039507A
Other languages
Korean (ko)
Inventor
이현창
Original Assignee
공주대학교 산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 공주대학교 산학협력단 filed Critical 공주대학교 산학협력단
Priority to KR1020190039507A priority Critical patent/KR102116333B1/en
Application granted granted Critical
Publication of KR102116333B1 publication Critical patent/KR102116333B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/003Phantom keys detection and prevention
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/02Details

Abstract

The present invention relates to a method for removing a virtual key phenomenon of an infrared remote control having a rubber contact switch. More particularly, the present invention relates to a method for removing a virtual key phenomenon of an infrared remote control having a rubber contact switch which uses an intrinsic resistance of a contact part known as the disadvantage of the rubber contact switch as the reverse, and uses this for the detection of a virtual key by adjusting only a value of a pull-up resistor used in the existing remote control without the addition of additional hardware to configure voltages generated when using a normal key and the virtual key to be different to each other, so that a microcomputer converts the voltage to analog-to-digital and processes only when the normal key is used, thereby removing the virtual key.

Description

고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법{METHOD OF REMOVING VIRTUAL KEY PHENOMENON OF INFRARED REMOTE CONTROL EQUIPPED WITH CONDUCTIVE REBBER CONTACT SWITCH} Method for removing virtual key phenomenon of infrared remote control with rubber contact switch {METHOD OF REMOVING VIRTUAL KEY PHENOMENON OF INFRARED REMOTE CONTROL EQUIPPED WITH CONDUCTIVE REBBER CONTACT SWITCH}

본 발명은 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법에 관한 것으로, 특히 고무접점 스위치의 단점으로 알려진 접점 부분의 고유저항을 역으로 이용해 이를 허상키의 검출용으로 사용하여서 별도의 하드웨어의 추가 없이 기존의 리모컨에서 사용되던 풀-업 저항의 값만 조절함에 의해 정상키와 허상키일 때 각각 발생되는 전압이 다르도록 구성함으로써, 마이컴은 이 전압을 아날로그-디지털 변환해 정상키인 경우만 처리함으로써 허상키가 제거될 수 있는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법에 관한 것이다.The present invention relates to a method of removing a virtual key phenomenon of an infrared remote control having a rubber contact switch, and in particular, uses a specific resistance of a contact part known as a disadvantage of the rubber contact switch in reverse to use it for detection of a virtual key, thereby using separate hardware. By setting only the value of the pull-up resistor used in the existing remote control without adding the value, so that the voltage generated when the normal key and the virtual key are different are configured, the microcomputer converts this voltage to analog-digital and processes it only in the case of the normal key. It relates to a virtual key removal method of the infrared remote control having a rubber contact switch, by which the virtual key can be removed.

최근, 개별 스위치 방식 키보드(기계식 키보드), 멤브레인 스위치 방식 키보드 등에서는 여러 가지 허상키를 검출하는 방법이 제시되고 사용되고 있으나 고무접점 스위치 방식 키보드에서는 허상키를 검출하는 방법이 아직 제시되지 않고 있다. Recently, a method of detecting various virtual keys has been proposed and used in individual switch type keyboards (mechanical keyboard), membrane switch type keyboards, and the like, but a method of detecting virtual key in a rubber contact switch type keyboard has not been proposed.

사실상, 고무접점 스위치 방식은 비교적 스위칭 속도가 느린 응용, 예를 들어 TV 리모컨이나 전자계산기 등에 주로 사용되고 있으며, 이들 기기는 스위치 수가 얼마 되지 않고, 또한 동시에 2개 이상의 스위치를 누르는 경우가 거의 없기 때문에 다른 키보드들에 비해 허상키가 발생하는 경우가 거의 없어 연구의 필요성이 없었다. 그러나 최근에는 고무접점 스위치의 응용 사례가 늘어나고, 특히 기기의 기능이 복잡해짐에 따라 스위치 수가 늘어나 도 1에 도시된 바와 같이 IPTV용 리모컨 또는 스마트TV용 리모컨의 경우 완전한 키보드의 형태를 갖추고 있다.In fact, the rubber contact switch method is mainly used in applications with relatively slow switching speed, for example, TV remote control or electronic calculator, etc., because these devices have few switches and rarely press two or more switches at the same time. Compared to keyboards, virtual keys are rarely generated, so there is no need for research. However, in recent years, the number of applications of rubber contact switches has increased, and especially, as the functions of devices become more complicated, the number of switches increases, and as shown in FIG. 1, in the case of an IPTV remote control or a smart TV remote control, a complete keyboard form is provided.

특히 최근의 IP-TV나 스마트-TV의 경우 TV에서 게임 등이 실행 가능하기 때문에 도 1에 도시된 리모컨을 게임용으로 활용하는 생각을 할 수 있지만, 다이나믹 스캐닝에 의한 허상키가 발생하기 때문에 실제로는 사용할 수 없어 응용에 많은 제약이 따른다.In particular, in the case of recent IP-TVs or smart-TVs, since a game or the like can be executed on a TV, it is possible to think of using the remote control shown in FIG. 1 for gaming, but in reality, a virtual key is generated by dynamic scanning. Since it cannot be used, there are many restrictions on the application.

그러나 고무 접점 스위치는 제한된 면적에 스위치 밀도가 높도록 구성하고, 특히 구성이 간단하고 가격이 저렴한 특성 때문에 대량의 다이오드를 부착하거나 고무 접점 부위에 추가적인 코팅을 시행하는 것은 비용 면에서 상대적으로 부담이 커져 고무접점 스위치로서의 가장 큰 장점인 간단함과 저가격의 장점이 훼손되므로 허상키 현상을 제거하기 어려운 문제점이 있다.However, the rubber contact switch is configured to have a high switch density in a limited area. Especially, due to its simple configuration and low cost, attaching a large number of diodes or applying additional coating to the rubber contact area is relatively expensive in terms of cost. Since the advantages of simplicity and low price, which are the greatest advantages as a rubber contact switch, are damaged, there is a problem that it is difficult to remove the virtual key phenomenon.

따라서 고무접점 스위치를 구비한 적외선 리모컨에서 추가적인 하드웨어 없이 고무접점 스위치의 특성을 이용해 허상키 현상을 제거할 수 있는 방법이 필요하게 되었다.Accordingly, there is a need for a method of removing a virtual key phenomenon by using the characteristics of a rubber contact switch without additional hardware in an infrared remote control equipped with a rubber contact switch.

대한민국 특허 공개 2011-0043198호 "고스트 키 제거를 위한 새로운 키 입력 장치"Republic of Korea Patent Publication 2011-0043198 "New key input device for removing ghost key"

따라서 본 발명은 상기와 같은 종래의 문제점을 해결하기 위해 이루어진 것으로서, 본 발명의 목적은 추가적인 하드웨어 없이 고무접점 스위치의 특성을 이용해 허상키 현상을 제거할 수 있는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법을 제공하는 데에 있다.Therefore, the present invention has been made to solve the conventional problems as described above, and the object of the present invention is to remove the virtual key phenomenon by using the characteristics of the rubber contact switch without additional hardware, the infrared remote control having a rubber contact switch. It is to provide a method for removing the virtual key phenomenon.

상기의 목적을 달성하기 위해 본 발명의 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법은 복수의 스위치가 매트릭스 형태로 배열된 키패드, 상기 키패드와 행 입력 포트 및 열 포트를 통해 데이터 통신 가능한 마이컴, 및 상기 마이컴으로부터 디지털 신호를 입력받아 적외선 형태로 송신하는 적외선 LED를 포함하는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법으로서, 마이컴에 전원이 투입되어 리셋이 발생하면 행 입력 포트 및 열 포트의 입력 및 출력의 방향 설정을 포함하는 하드웨어 초기화가 수행되는 단계; 상기 마이컴이 온(ON) 동작된 스위치의 행, 열 번호와 스위치의 오토 리피트(auto repeat) 상태를 나타내는 타이머 변수를 저장하는 온(ON) 배열의 변수를 포함하는 변수를 초기화하는 단계; 상기 마이컴에 의해 열 카운터를 초기화하는 단계; 상기 마이컴에 의해 검사할 스위치 열의 포트에 로우(Low) 신호를 출력하는 단계; 상기 마이컴은 상기 로우 신호를 입력받은 스위치 열의 출력이 상기 마이컴으로 출력될 수 있도록 해당 스위치 열의 포트를 출력방향으로 설정하는 단계; 상기 마이컴에 의해 행 카운터를 초기화하는 단계; 상기 마이컴이 현재의 열과 행에 해당하는 스위치가 온 배열에 등록 되어 있는지의 여부를 확인하는 단계; 상기 등록 여부 확인 단계에서 현재의 열과 행에 해당하는 스위치가 등록되어 있다면, 이전부터 온 동작된 스위치이므로 상기 마이컴에 의해 온(On) 스위치에 대한 처리를 행하는 단계; 상기 온 스위치에 대한 처리가 완료되면 상기 마이컴이 다음 스위치의 처리를 위해 행 카운터를 감소시키는 단계; 상기 마이컴이 행의 끝인지의 여부를 확인하는 단계; 상기 행 끝 여부 확인 단계에서 행의 끝이면, 상기 마이컴에 의해 현재 열의 포트 방향을 입력으로 설정해 포트 핀이 플로팅 되도록 하는 단계; 상기 마이컴에 의해 열 카운터를 감소하는 단계; 및 상기 마이컴에 의해 현재 열이 끝인지의 여부를 확인하는 단계;를 포함하며, 상기 열 끝 여부 확인 단계에서 현재 열이 끝일 경우, 상기 마이컴에 의해 열 카운터를 초기화하는 단계로 진행되는 것을 특징으로 한다.In order to achieve the above object, a method for removing a virtual key phenomenon of an infrared remote control with a rubber contact switch according to an embodiment of the present invention is a keypad in which a plurality of switches are arranged in a matrix form, the keypad and the row input port and the column port. A microcomputer capable of data communication through, and an infrared LED that receives a digital signal from the microcomputer and transmits it in an infrared form. A method for removing the virtual key phenomenon of an infrared remote controller having a rubber contact switch, the power is supplied to the microcomputer and reset. When this occurs, hardware initialization is performed including setting the input and output directions of the row input port and the column port; Initializing a variable including a variable in an ON array that stores a timer variable indicating a row, column number, and auto repeat state of the switch in which the microcomputer is turned on; Initializing a heat counter by the microcomputer; Outputting a low signal to a port of a switch row to be inspected by the microcomputer; Setting the port of the corresponding switch row in the output direction so that the output of the switch row receiving the low signal can be output to the microcomputer; Initializing a row counter by the microcomputer; Checking whether the switch corresponding to the current column and row is registered in the on-array; If a switch corresponding to the current column and row is registered in the step of checking whether or not the registration is performed, performing a process for the on switch by the microcomputer since the switch has been operated on before; When the processing for the on switch is completed, the microcomputer decrementing a row counter for processing of the next switch; Checking whether the micom is the end of a row; In the step of checking whether the end of the row is the end of the row, setting the port direction of the current column as an input by the micom so that the port pin is floated; Decreasing the heat counter by the microcomputer; And checking whether the current column is the end by the microcomputer; and when the current column is finished in the checking whether the current column is over, initializing the column counter by the microcomputer. do.

상기 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법은 상기 등록 여부 확인 단계에서 현재의 열과 행에 해당하는 스위치가 등록되어 있지 않다면, 이전부터 오프 동작된 스위치이므로 상기 마이컴에 의해 오프(Off) 스위치에 대한 처리를 행하는 단계를 더 포함하며; 상기 오프 스위치 처리 단계 이후 상기 행 카운터 감소 단계로 진행될 수 있다. The method for removing the virtual key phenomenon of the infrared remote control having the rubber contact switch according to the above embodiment is the switch that has been operated off before, if the switch corresponding to the current column and row is not registered in the registration confirmation step. Further comprising the step of performing processing for the off switch by; After the off-switch processing step, the row counter may be reduced.

상기 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법은 상기 열 끝 여부 확인 단계에서 현재 열이 끝이 아닐 경우, 상기 로우 신호 출력 단계로 진행될 수 있다.In the embodiment, the method for removing the virtual key phenomenon of the infrared remote control with the rubber contact switch may proceed to the low signal output step if the current column is not the end in the step of checking whether the column is over.

상기 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법은 상기 행 끝 여부 확인 단계에서 행의 끝이 아닐 경우, 상기 등록 여부 확인 단계로 진행될 수 있다.The method for removing the virtual key phenomenon of the infrared remote controller provided with the rubber contact switch according to the above embodiment may proceed to the registration confirmation step if the end of the row is not the end of the row.

상기 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법에 있어서, 상기 온 스위치 처리 단계는 상기 마이컴이 상기 현재의 열과 행에 해당하는 스위치로부터의 입력 전압을 아날로그-디지털 변환하는 단계; 상기 마이컴에 의해 디지털 변환 값이 경계 값 이하 인지의 여부를 확인하는 단계; 상기 디지털 변환 값이 경계 값 이하이면 상기 해당하는 스위치가 여전히 눌려 있는 것이므로 상기 마이컴에 의해 이 스위치의 타이머 변수를 1 감소시키는 단계; 상기 마이컴에 의해 상기 스위치의 타이머 변수가 0 인지의 여부를 판단하는 단계; 상기 0 인지의 여부 판단 단계에서 상기 스위치의 타이머 변수가 0이 아니면 종료하는 한편, 상기 스위치의 타이머 변수가 0 이면 상기 마이컴에 의해 상기 스위치의 다음 오토 리피트(auto repeat)를 위해 타이머 변수를 재설정하는 단계; 상기 마이컴이 상기 스위치에 해당하는 디지털 코드를 적외선 LED를 통해 발신하는 단계; 상기 디지털 변환 값이 경계 값 이하 인지의 여부 확인 단계에서 디지털 변환 값이 상기 경계 값 보다 크면, 상기 마이컴은 현재 스위치의 행열 번호를 온 배열에서 제거하는 단계; 및 상기 마이컴은 채터링 제거를 위해 설정시간 지연시키는 단계;를 포함할 수 있다.In the method for removing the virtual key phenomenon of the infrared remote control with the rubber contact switch according to the above embodiment, the on-switch processing step converts the input voltage from the switch corresponding to the current column and row to analog-digital conversion by the microcomputer. To do; Checking whether the digital conversion value is less than or equal to a boundary value by the microcomputer; If the digital conversion value is less than or equal to the boundary value, the corresponding switch is still depressed, so the timer variable of the switch is decreased by 1 by the microcomputer; Determining whether the timer variable of the switch is 0 by the microcomputer; If the timer variable of the switch is not 0 in the determining whether it is 0 or not, while the timer variable of the switch is 0, resetting the timer variable for the next auto repeat of the switch by the micom step; The microcomputer transmitting a digital code corresponding to the switch through an infrared LED; If the digital conversion value is greater than the boundary value in the step of determining whether the digital conversion value is less than or equal to the boundary value, the micom removes the row number of the current switch from the on-array; And the microcomputer delaying a set time for removing chattering.

상기 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법에 있어서, 상기 오프(Off) 스위치 처리 단계는 상기 마이컴이 상기 현재의 열과 행에 해당하는 스위치로부터의 입력 전압을 아날로그-디지털 변환하는 단계; 상기 마이컴에 의해 디지털 변환 값이 경계 값 이하 인지의 여부를 확인하는 단계; 상기 디지털 변환 값이 경계 값 보다 크면 종료하는 한편, 상기 디지털 변환 값이 경계 값 이하이면 상기 해당하는 스위치가 눌려 있는 것이므로 상기 마이컴에 의해 이 스위치의 행열 번호를 온 배열에 등록하는 단계; 상기 마이컴에 의해 상기 스위치의 타이머 변수를 초기화하는 단계; 상기 마이컴이 상기 스위치에 해당하는 디지털 코드를 적외선 LED를 통해 발신하는 단계; 및 상기 스위치가 새롭게 눌린 상태이므로 이 때 발생하는 채터링을 제거하기 위해 상기 마이컴에 의해 잠시 시간을 지연시키는 단계;를 포함할 수 있다.In the method for removing the virtual key phenomenon of the infrared remote controller having a rubber contact switch according to the above embodiment, the off switch processing step is performed by the microcomputer to analogize the input voltage from the switch corresponding to the current column and row. -Digital conversion; Checking whether the digital conversion value is less than or equal to a boundary value by the microcomputer; End if the digital conversion value is greater than the boundary value, and if the digital conversion value is less than or equal to the boundary value, the corresponding switch is depressed, thereby registering the row number of the switch in the on-array by the microcomputer; Initializing a timer variable of the switch by the microcomputer; The microcomputer transmitting a digital code corresponding to the switch through an infrared LED; And delaying the time for a while by the microcomputer to remove chattering occurring at this time since the switch is in the newly pressed state.

본 발명의 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법에 의하면, 마이컴에 전원이 투입되어 리셋이 발생하면 행 입력 포트 및 열 포트의 입력 및 출력의 방향 설정을 포함하는 하드웨어 초기화가 수행되는 단계(S10); 상기 마이컴이 온(ON) 동작된 스위치의 행, 열 번호와 스위치의 오토 리피트(auto repeat) 상태를 나타내는 타이머 변수를 저장하는 온(ON) 배열의 변수를 포함하는 변수를 초기화하는 단계(S20); 상기 마이컴에 의해 열 카운터를 초기화하는 단계(S30); 상기 마이컴에 의해 검사할 스위치 열의 포트에 로우(Low) 신호를 출력하는 단계(S40); 상기 마이컴은 상기 로우 신호를 입력받은 스위치 열의 출력이 상기 마이컴으로 출력될 수 있도록 해당 스위치 열의 포트를 출력방향으로 설정하는 단계(S50); 상기 마이컴에 의해 행 카운터를 초기화하는 단계(S60); 상기 마이컴이 현재의 열과 행에 해당하는 스위치가 온 배열에 등록 되어 있는지의 여부를 확인하는 단계(S70); 상기 등록 여부 확인 단계(S70)에서 현재의 열과 행에 해당하는 스위치가 등록되어 있다면, 이전부터 온 동작된 스위치이므로 상기 마이컴에 의해 온(On) 스위치에 대한 처리를 행하는 단계(S90); 상기 온 스위치에 대한 처리가 완료되면 상기 마이컴이 다음 스위치의 처리를 위해 행 카운터를 감소시키는 단계(S100); 상기 마이컴이 행의 끝인지의 여부를 확인하는 단계(S110); 상기 행 끝 여부 확인 단계(S110)에서 행의 끝이면, 상기 마이컴에 의해 현재 열의 포트 방향을 입력으로 설정해 포트 핀이 플로팅 되도록 하는 단계(S120); 상기 마이컴에 의해 열 카운터를 감소하는 단계(S130); 및 상기 마이컴에 의해 현재 열이 끝인지의 여부를 확인하는 단계(S140);를 포함하며, 상기 열 끝 여부 확인 단계(S140)에서 현재 열이 끝일 경우, 상기 마이컴에 의해 열 카운터를 초기화하는 단계(S30)로 진행;되도록 구성됨으로써, 추가적인 하드웨어 없이 고무접점 스위치의 특성을 이용해 허상키 현상을 제거할 수 있다는 뛰어난 효과가 있다. According to an embodiment of the present invention, according to a method for removing a virtual key phenomenon of an infrared remote control having a rubber contact switch, when power is supplied to the microcomputer and reset occurs, the input and output directions of the row input port and the column port are included. Hardware initialization is performed (S10); Initializing a variable including a variable in an ON array that stores a timer variable indicating a row, column number, and auto repeat state of the switch in which the microcomputer is turned on (S20). ; Initializing a heat counter by the microcomputer (S30); Outputting a low signal to a port of a switch row to be inspected by the microcomputer (S40); The microcomputer setting the port of the corresponding switch row in the output direction so that the output of the switch row receiving the low signal can be output to the microcomputer (S50); Initializing a row counter by the microcomputer (S60); Checking whether the switch corresponding to the current column and row is registered in the on-array (S70); If the switch corresponding to the current column and row is registered in the registration confirmation step (S70), since the switch has been operated on before, performing a process for the on switch by the microcomputer (S90); When the processing for the on-switch is completed, the microcomputer decrementing a row counter for processing of the next switch (S100); Checking whether the micom is the end of a row (S110); If it is the end of the line in the checking whether the end of the line (S110), setting the port direction of the current column as an input by the micom so that the port pin is floated (S120); Decreasing the heat counter by the microcomputer (S130); And checking whether the current column is over by the microcomputer (S140); Including, if the current column is over at the end of the column verification step (S140), initializing the column counter by the microcomputer Proceeding to (S30); being configured to be, there is an excellent effect that the virtual key phenomenon can be removed using the characteristics of the rubber contact switch without additional hardware.

좀 더 상세하게는, 본 발명의 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법에 의하면, 고무접점 스위치의 단점으로 알려진 접점 부분의 고유저항을 역으로 이용해 이를 허상키의 검출용으로 사용하는 방법을 제시하였으며, 이에 따라 별도의 하드웨어의 추가 없이 기존의 리모컨에서 사용되던 풀-업 저항의 값만 조절하여 정상키와 허상키일 때 각각 발생되는 전압이 다르도록 구성함으로써, 최종적으로 마이컴은 이 전압을 아날로그-디지털 변환해 정상키인 경우만 처리함으로써 허상키가 제거될 수 있다는 뛰어난 효과가 있다.More specifically, according to an embodiment of the present invention, according to a method for removing a virtual key phenomenon of an infrared remote control having a rubber contact switch, the virtual resistance of the contact portion known as a disadvantage of the rubber contact switch is reversely used to generate the virtual key. The method to be used for the detection of was proposed, and accordingly, by adjusting only the values of the pull-up resistors used in the existing remote control without adding additional hardware, the voltages generated when the normal key and the virtual key are different are finally configured. As a result, Micom has an excellent effect that the virtual key can be removed by converting this voltage to analog-digital conversion and processing only the normal key.

도 1은 일반적인 IPTV용 리모컨의 예를 나타낸 도면이다..
도 2는 본 발명이 적용되는 고무접점 스위치의 구조를 나타낸 도면이다.
도 3은 도 2의 고무접점 스위치 방식의 키보드 구성예를 나타낸 도면으로서, (a)는 고무 부분을 나타내며, (b)는 PCB 기판 부분을 나타낸다.
도 4는 도 2의 고무접점 스위치의 고무접점 고유 저항의 무시 방법을 나타낸 도면으로서, (a)는 풀-업(full-up) 저항이 작은 경우를 나타내고, (b)는 풀-업 저항이 큰 경우를 나타낸다.
도 5는 도 2의 고무접점 스위치를 2ㅧ2 배열로 했을 때의 등가회로를 나타낸다.
도 6은 도 5의 Y1열 및 Y2열의 검사시의 등가회로를 나타낸 도면으로서, (a)는 Y1열 검사시를 나타내며, (b)는 Y2열 검사시를 나타낸다.
도 7은 도 2의 고무접점 스위치를 2×3 배열로 했을 때의 등가회로를 나타낸다.
도 8은 도 2의 고무접점 스위치를 3×2 배열로 했을 때의 허상키를 설명하기 위한 도면이다.
도 9는 도 8에서 Y2 검사시의 등가회로를 나타낸 도면이다.
도 10은 허상키 검출방법의 효과를 확인하기 위한 실험회로를 나타낸 도면이다.
도 11은 도 10의 실험회로에서 풀-업 저항(Rp)을 고무접점 저항의 100배인 110㏀을 사용한 상태에서 정상키와 허상키의 전압차를 나타낸 도면으로서, (a)는 2×2 및 2×3의 스위치 배열의 경우를 나타내고, (b)는 3×2의 스위치 배열의 경우를 나타낸다.
도 12는 도 10의 실험회로에서 풀-업 저항(Rp)을 1.5㏀을 사용한 상태에서 정상키와 허상키의 전압차를 나타낸 도면으로서, (a)는 2×2 및 2×3의 스위치 배열의 경우를 나타내고, (b)는 3×2의 스위치 배열의 경우를 나타낸다.
도 13은 본 발명의 실시예에 의한 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법을 구현하기 위한 하드웨어 구성을 나타낸 도면이다.
도 14는 온 또는 오프 스위치 처리를 위해 사용되는 온(On)-배열 표이다.
도 15a 및 도 15b는 본 발명의 실시예에 의한 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법을 설명하기 위한 플로우챠트이다.
도 16은 도 15a의 오프 스위치 처리 단계(S80)에 대한 상세 플로우챠트이다.
도 17은 도 15a의 온 스위치 처리 단계(S90)에 대한 상세 플로우챠트이다.
1 is a view showing an example of a general IPTV remote control.
2 is a view showing the structure of a rubber contact switch to which the present invention is applied.
3 is a view showing an example of a keyboard configuration of the rubber contact switch method of FIG. 2, (a) represents the rubber portion, and (b) represents the PCB substrate portion.
4 is a view showing a method of ignoring the intrinsic resistance of the rubber contact of the rubber contact switch of FIG. 2, (a) shows a case where the pull-up resistance is small, and (b) shows the pull-up resistance. It represents a large case.
Fig. 5 shows an equivalent circuit when the rubber contact switch of Fig. 2 is set to a 2'2 arrangement.
FIG. 6 is a view showing an equivalent circuit when inspecting columns Y1 and Y2 of FIG. 5, (a) indicates Y1 column inspection, and (b) indicates Y2 column inspection.
7 shows an equivalent circuit when the rubber contact switch of FIG. 2 is 2 × 3.
FIG. 8 is a view for explaining a virtual key when the rubber contact switch of FIG. 2 is 3 × 2.
FIG. 9 is a view showing an equivalent circuit during Y2 inspection in FIG. 8.
10 is a view showing an experiment circuit for confirming the effect of the virtual key detection method.
FIG. 11 is a diagram showing the voltage difference between the normal key and the virtual key in a state in which the pull-up resistor Rp is 110 인, which is 100 times the rubber contact resistance, in the experiment circuit of FIG. 10, wherein (a) is 2 × 2 and The case of the 2x3 switch arrangement is shown, and (b) shows the case of the 3x2 switch arrangement.
12 is a diagram showing the voltage difference between the normal key and the virtual key in a state in which the pull-up resistor Rp is 1.5 ㏀ in the experiment circuit of FIG. 10, and (a) is a switch arrangement of 2 × 2 and 2 × 3. (B) shows the case of a 3x2 switch arrangement.
13 is a view showing a hardware configuration for implementing a virtual key phenomenon removal method of an infrared remote control with a rubber contact switch according to an embodiment of the present invention.
14 is an on-array table used for on or off switch processing.
15A and 15B are flowcharts for explaining a virtual key removal method of an infrared remote control with a rubber contact switch according to an embodiment of the present invention.
FIG. 16 is a detailed flowchart of the off-switch processing step (S80) of FIG. 15A.
17 is a detailed flowchart of the on-switch processing step (S90) of FIG. 15A.

이하, 본 발명의 실시예를 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

[고무접점 스위치][Rubber contact switch]

본 발명을 설명하기에 앞서 본 발명이 적용되는 고무접점 스위치에 대해서 설명하기로 한다.Before describing the present invention, a rubber contact switch to which the present invention is applied will be described.

도 2는 본 발명이 적용되는 고무접점 스위치의 구조를 나타낸 도면으로서, 고무접점 스위치는 비전도성 고무로 구성된 몸체 내에 전도성 고무가 부착되며, 사용자가 상측을 눌렀을 경우 전도성 고무가 PCB 기판에 형성된 접점에 접촉하는 원리로 스위치 역할을 한다.Figure 2 is a view showing the structure of a rubber contact switch to which the present invention is applied, the rubber contact switch is a conductive rubber is attached to the body made of non-conductive rubber, and when the user presses the upper side, the conductive rubber is on the contact formed on the PCB substrate It acts as a switch on the principle of contact.

이 방식의 스위치는 구조의 간단함과 동일 면적에 고밀도 제작 가능하고 저렴한 제작비용으로 인해 리모컨, 전자계산기, 게임기, 전자사전, 장난감용 건반악기 등에 주로 사용되며, 내부 구성 예를 도 3에 나타내었다.This type of switch is mainly used for remote controls, electronic calculators, game machines, electronic dictionaries, keyboard musical instruments for toys, etc. due to the simplicity of structure and high-density production in the same area and low production cost. .

이 방식의 스위치는 매우 저렴한 가격으로 제작할 수 있다는 것이 가장 큰 장점이므로 수많은 다이오드나 저항을 추가하는 것은 상대적으로 큰 비용증가의 요인이 될 수 있다.The biggest advantage of this type of switch is that it can be manufactured at a very low price, so adding a large number of diodes or resistors can be a relatively large cost increase factor.

고무접점 스위치는 도전성 고무를 도체로 사용하기 때문에 자체적으로 고유저항이 존재하며, 이 저항이 작을수록 우수한 스위치가 되지만 이와 같이 구성하면 가격이 크게 상승하므로 어느 정도의 저항을 허용하고, 대신 풀-업 저항을 수 100㏀ 수준의 큰 값으로 선정해 어느 정도의 접점 저항은 무시될 수 있도록 구성하며, 이에 대한 원리를 도 4에 나타내었다.Since the rubber contact switch uses a conductive rubber as a conductor, it has its own inherent resistance, and the smaller the resistance, the better the switch, but if configured in this way, the price increases significantly, allowing some resistance, and instead pull-up The resistance is selected to be a large value of 100 ㏀ level, so that a certain amount of contact resistance can be neglected, and the principle for this is shown in FIG. 4.

고무접점 스위치의 도전성 고무는 일반적으로 수 100Ω에서 수 ㏀까지 상당히 큰 고유저항이 존재하며, 만약 스위치 접점 저항(Rsw)이 1㏀일 경우 도 4의 (a)와 같이 풀-업 저항(Rp)을 고무접점 저항에 비해 그다지 크지 않은 5㏀을 사용한다면 이 때의 전압(Vo)은 다음의 [수학식 1]과 같이 상당히 높게 나타난다.The conductive rubber of the rubber contact switch generally has a very large intrinsic resistance ranging from a few 100 Ω to several ㏀, and if the switch contact resistance (Rsw) is 1 ㏀, the pull-up resistance (Rp) as shown in Fig. 4 (a). If 5㏀ is not much larger than the rubber contact resistance, then the voltage (Vo) at this time is quite high as shown in [Equation 1] below.

[수학식 1][Equation 1]

Figure 112019034682715-pat00001
Figure 112019034682715-pat00001

이 정도 전압이면 전원전압의 거의 20%에 가까운 것으로서, 마이컴에서 이 전압을'L' 레벨인 0V로 간주하기 어려워 불안정한 상태로 검출된다. 이에 비해 도 4의 (b)와 같이 스위치 접점 저항(Rsw)에 비해 훨씬 큰 100㏀의 풀-업 저항(Rp)을 사용한다면 다음의 [수학식 2]와 같은 낮은 전압이 나타나므로 이를 감지하는 마이컴에서는 확실하게 안정된 검출 값을 얻을 수 있다.This voltage is almost 20% of the power supply voltage, and it is difficult to detect this voltage as 0V, which is the 'L' level, and is detected as unstable. On the other hand, if a pull-up resistor (Rp) of 100 훨씬 is much larger than the switch contact resistance (Rsw) as shown in FIG. 4 (b), a low voltage as shown in the following [Equation 2] appears to detect this. With MICOM, a stable detection value can be obtained.

[수학식 2][Equation 2]

Figure 112019034682715-pat00002
Figure 112019034682715-pat00002

따라서 일반적으로 리모컨에서의 풀-업 저항은 매우 큰 값을 사용해 고무접점 스위치의 단점인 고유저항에 의한 불안정 문제를 해결하고 있다.Therefore, in general, the pull-up resistor in the remote control uses a very large value to solve the problem of instability caused by the inherent resistance, which is a disadvantage of the rubber contact switch.

본 발명에서는 오히려 이러한 고무접점의 단점인 고유저항을 허상키를 검출하는데 활용하고자 한다.In the present invention, rather, the inherent resistance, which is a disadvantage of the rubber contact, is intended to be used to detect the virtual key.

[정상키와 허상키의 구분 방법][How to distinguish normal key and virtual key]

이제 정상키와 허상키의 구분 방법에 대해 알아보기로 한다.Now, let's see how to distinguish between normal key and virtual key.

2 × 2 배열의 해석Interpretation of 2x2 arrays

일반적인 컴퓨터 게임의 경우 방향키 2개와 공격키 2개의 4개 스위치를 동시에 누르는 경우가 대부분이므로 4개의 스위치가 동시에 눌렸을 경우로 한정해 해석하기로 한다.In the case of a typical computer game, it is most likely to simultaneously press four switches of two arrow keys and two attack keys, so the analysis will be limited to the case where four switches are pressed simultaneously.

도 5는 도 2의 고무접점 스위치를 2×2 배열로 했을 때의 등가회로를 나타낸다.5 shows an equivalent circuit when the rubber contact switch of FIG. 2 is 2 × 2.

만약, 허상키 현상이 발생하는 상황, 즉, 스위치(SW11, SW12, SW21)가 온 동작되고 스위치(SW22)가 오프 동작되어 있을 때 정상적인 스위치만 존재하는 Y1열을 검사하면 등가회로는 도 6의 (a)와 같이 두 검출전압이 동일하게 나타난다.If the virtual key phenomenon occurs, that is, when the switches SW11, SW12, and SW21 are turned on and the switch SW22 is turned off, the equivalent circuit is shown in FIG. As shown in (a), the two detection voltages appear the same.

그러나 허상키가 존재하는 Y2열을 검사하면 등가회로는 도 6의 (b)와 같이 구성되어 정상키에 의한 전압(V1)과 허상키에 의한 전압(V2)의 차이가 발생하며, 마이컴은 이 전압을 아날로그-디지털 변환을 통해 판별할 수 있다.However, if Y2 column in which the virtual key is present is examined, the equivalent circuit is configured as shown in FIG. 6 (b), and a difference between the voltage V 1 by the normal key and the voltage V 2 by the virtual key occurs, and the microcomputer Can determine this voltage through analog-to-digital conversion.

정상키에 의한 전압(V1)과 허상키에 의한 전압(V2)은 차이가 클수록 마이컴에서 확실하게 구분할 수 있으므로 이들의 전압차가 가장 크게 발생할 수 있는 풀-업 저항(Rp)과 스위치 접점 고유저항(Rsw)의 비율을 결정할 필요가 있다. 도 6(b)의 등가회로에서 모든 고유저항(Rsw)들의 값이 동일하고 풀-업 저항(RP)들도 서로 동일하다면 V1과 V2는 다음의 [수학식 3] 및 [수학식 4]와 같이 각각 나타낼 수 있고, 따라서 두 전압의 차는 [수학식 5]와 같이 주어진다.The larger the difference between the normal key voltage (V 1 ) and the virtual key voltage (V 2 ), the more clearly the microcomputer can distinguish it, so the pull-up resistor (Rp) and switch contact characteristics that can cause the greatest voltage difference are unique. It is necessary to determine the ratio of the resistance Rsw. In the equivalent circuit of FIG. 6 (b), if the values of all the intrinsic resistors Rsw are the same and the pull-up resistors R P are equal to each other, V 1 and V 2 are represented by the following [Equation 3] and [Equation 3]. 4], so the difference between the two voltages is given by [Equation 5].

[수학식 3][Equation 3]

Figure 112019034682715-pat00003
Figure 112019034682715-pat00003

[수학식 4][Equation 4]

Figure 112019034682715-pat00004
Figure 112019034682715-pat00004

[수학식 5][Equation 5]

Figure 112019034682715-pat00005
Figure 112019034682715-pat00005

정상키와 허상키에서의 전압차가 최대인 스위치 접점 고유저항(Rsw)과 풀-업 저항(Rp)의 관계를 구하기 위해 [수학식 5]를 풀-업저항(Rp)에 대해 미분하고 이를 0으로 놓아 정리하면 다음의 [수학식 6]과 같은 관계를 얻는다.To find the relationship between the switch contact intrinsic resistance (Rsw) and pull-up resistance (Rp) with the maximum voltage difference between the normal key and the virtual key, [Equation 5] is differentiated with respect to the pull-up resistance (Rp) and this is 0. If you put them together, you get the relationship as shown in [Equation 6].

[수학식 6][Equation 6]

Figure 112019034682715-pat00006
Figure 112019034682715-pat00006

도 6은 도 5의 Y1열 및 Y2열의 검사시의 등가회로를 나타낸 도면으로서, (a)는 Y1열 검사시를 나타내며, (b)는 Y2열 검사시를 나타낸다.FIG. 6 is a view showing an equivalent circuit when inspecting columns Y1 and Y2 of FIG. 5, (a) indicates Y1 column inspection, and (b) indicates Y2 column inspection.

2 × 3 배열의 해석Interpretation of 2x3 arrays

4개의 스위치가 도 7의 (a)와 같이 2 × 3의 배열로 동시에 눌린 경우, 이에 대한 등가회로는 도 7의 (b)와 같으며, 이는 도 6과 동일하므로 [수학식 6]의 조건을 동일하게 적용할 수 있다.When four switches are simultaneously pressed in a 2 × 3 arrangement as shown in FIG. 7 (a), the equivalent circuit for this is the same as in FIG. 7 (b), which is the same as in FIG. 6, so the condition of [Equation 6] The same can be applied.

3 × 2 배열의 해석Interpretation of 3x2 array

4개의 스위치가 도 8과 같이 3 × 2의 배열로 동시에 눌린 상태에서 Y2열을 검사하는 경우의 등가회로는 도 9와 같이 나타낼 수 있다.An equivalent circuit in the case where four switches are simultaneously pressed in an array of 3 × 2 as shown in FIG. 8 and the Y2 column is examined can be represented as in FIG. 9.

도 9에서, 모든 풀-업 저항(Rp)들이 동일하고 스위치 접점 저항(Rsw)들도 서로 동일하다면, 정상키 전압 V1은 다음의 [수학식 7]과 같다.In FIG. 9, if all the pull-up resistors Rp are the same and the switch contact resistors Rsw are the same, the normal key voltage V 1 is as follows.

[수학식 7][Equation 7]

Figure 112019034682715-pat00007
Figure 112019034682715-pat00007

한편, 도 9의 접점 저항(Rsw11)을 통과하는 전류(I1)는 다음의 [수학식 8]과 같이 나타낼 수 있고, 따라서 허상키 전압(V2)은 다음의 [수학식 9]와 같다.Meanwhile, the current I 1 passing through the contact resistance R sw11 of FIG. 9 may be represented as in the following [Equation 8], and thus the virtual key voltage V 2 is in accordance with the following [Equation 9]. same.

[수학식 8][Equation 8]

Figure 112019034682715-pat00008
Figure 112019034682715-pat00008

[수학식 9][Equation 9]

Figure 112019034682715-pat00009
Figure 112019034682715-pat00009

[수학식 9]에 [수학식 8]을 대입하고 정리하면 V2와 V1의 전압차는 다음의 [수학식 10]과 같이 나타낼 수 있다.By substituting [Equation 8] into [Equation 9] and arranging, the voltage difference between V 2 and V 1 can be expressed as [Equation 10] below.

[수학식 10][Equation 10]

Figure 112019034682715-pat00010
Figure 112019034682715-pat00010

[수학식 7]을 [수학식 10]에 대입하고 정리하면 다음의 [수학식 11]을 얻을 수 있으며, 최대 전압차를 얻을 수 있는 저항 비를 구하기 위해 풀-업 저항(Rp)에 대해 미분하고 0으로 놓아 정리하면 다음의 [수학식 12]와 같은 관계를 구할 수 있다.By substituting [Equation 7] into [Equation 10] and arranging, the following [Equation 11] can be obtained, and the derivative of the pull-up resistance (Rp) to obtain the ratio of resistance to obtain the maximum voltage difference is obtained. If you arrange them by 0, you can find the relationship as in [Equation 12].

[수학식 11][Equation 11]

Figure 112019034682715-pat00011
Figure 112019034682715-pat00011

[수학식 12][Equation 12]

Figure 112019034682715-pat00012
Figure 112019034682715-pat00012

조건의 선택Selection of conditions

이상에서 살펴본 바와 같이 2 × 2, 2 × 3 배열에서는 풀-업 저항(RP)과 접점 저항(RSW)이 [수학식 6]으로부터

Figure 112019034682715-pat00013
의 비율일 때 최대 전압차를 얻을 수 있고, 3 × 2 배열에서는 [수학식 12]로부터
Figure 112019034682715-pat00014
의 비율일 때 최대 전압차를 얻을 수 있는 조건들이다. 그런데 키보드 전체의 스위치들에는 이들 중 한 가지 조건만을 획일적으로 적용해야 하므로 어떤 조건이 더 유리한지 선택하기 위해 각 조건들을 스위치 상태들에 대입했을 때 나타나는 전압차를 [수학식 6] 및 [수학식 12]를 이용해 다음의 [표 1]에 나타내었다. 단, 여기서 풀-업 전압(VP)은 건전지 전압인 +3V로 가정하였다.As described above, in the 2 × 2, 2 × 3 arrangement, the pull-up resistor (R P ) and the contact resistance (R SW ) are from [Equation 6].
Figure 112019034682715-pat00013
The maximum voltage difference can be obtained at the ratio of, and in the 3 × 2 array, from [Equation 12]
Figure 112019034682715-pat00014
It is a condition to obtain the maximum voltage difference when the ratio of. However, since only one of these conditions must be uniformly applied to the switches of the entire keyboard, the voltage difference that appears when each condition is substituted into the switch states to select which condition is more advantageous is expressed by [Equation 6] and [Equation]. 12] is shown in the following [Table 1]. However, it is assumed here that the pull-up voltage V P is the battery voltage + 3V.

[표 1][Table 1]

Figure 112019034682715-pat00015
Figure 112019034682715-pat00015

[표 1]을 살펴보면

Figure 112019034682715-pat00016
조건은 3 × 2 배열에 적용했을 때 전압차가 가장 크게 나타나지만, 2 × 2 배열에서는 가장 작은 값이 나타난다. 이에 비해
Figure 112019034682715-pat00017
조건은 비록
Figure 112019034682715-pat00018
조건에서의 최대값보다는 작지만 최소값보다는 크게 나타나므로
Figure 112019034682715-pat00019
조건을 적용하는 것이 더 유리함을 알 수 있다.[Table 1]
Figure 112019034682715-pat00016
The condition shows the largest voltage difference when applied to a 3x2 array, but the smallest value appears in a 2x2 array. In comparison
Figure 112019034682715-pat00017
Although the condition
Figure 112019034682715-pat00018
It is smaller than the maximum value in the condition, but it appears larger than the minimum value.
Figure 112019034682715-pat00019
It can be seen that it is more advantageous to apply the conditions.

다음의 [표 2]에 스위치들의 각 상태에 대해

Figure 112019034682715-pat00020
조건을 대입했을 때 발생하는 전압과 전압차의 시뮬레이션 결과를 나타내었다.Table 2 shows the states of the switches.
Figure 112019034682715-pat00020
The simulation results of the voltage and voltage difference generated when the condition is applied are shown.

[표 2][Table 2]

Figure 112019034682715-pat00021
Figure 112019034682715-pat00021

[실험 결과 및 경계값 결정][Determination of experimental results and boundary values]

실험 및 결과Experiment and results

이상에서 제시한 허상키 검출방법의 효과를 확인하기 위해 도 10에 나타낸 바와 같이 고무접점 스위치로 구성된 리모컨을 개조해 실험회로를 구성하였다. 실험에 사용한 고무접점의 저항은 측정결과 평균 약 1.1㏀ 정도였으며, 따라서 풀-업 저항은 [수학식 6]의 조건에 의해 1.5㏀을 사용하였다.In order to confirm the effect of the virtual key detection method presented above, as shown in FIG. 10, a remote control composed of a rubber contact switch was modified to construct an experimental circuit. The resistance of the rubber contact used in the experiment was about 1.1 평균 on average as a result of the measurement. Therefore, the pull-up resistance was 1.5 ㏀ according to the condition of [Equation 6].

도 11은 리모컨에서 일반적으로 사용되는 비율인, 고무 접점 저항의 100배 인 풀-업 저항(Rp) 110㏀을 사용한 상태에서 도 5의 2 X 2 배열과 도 8의 3 X 2 배열에서 X1, X2행을 관찰한 것으로서, 스위치가 실제로 눌린 경우와 허상키인 경우에 매우 작은 차이만 발생하므로 허상키를 검출할 수 없음을 알 수 있다.FIG. 11 shows X2 in the 2 X 2 array of FIG. 5 and 3 X 2 array of FIG. 8, using the pull-up resistor (Rp) 110 인, which is 100 times the rubber contact resistance, which is a ratio generally used in the remote control. It can be seen that the virtual key cannot be detected because only a very small difference occurs when the switch is actually pressed and when the switch is actually pressed.

이에 비해 도 12는 [수학식 6]에서 구한 비율인 Rp = 1.5㏀을 적용한 경우로서, 2 × 2 배열과 3 × 2 배열에서 모두 정상키와 허상키의 전압차를 육안으로도 쉽게 구분할 수 있다.On the other hand, FIG. 12 is a case where Rp = 1.5 인, which is the ratio obtained in [Equation 6], is applied, and the voltage difference between the normal key and the virtual key in both 2 × 2 and 3 × 2 arrays can be easily distinguished with the naked eye. .

이상의 실험결과에 따라 마이컴의 아날로그-디지털 변환을 이용해 전압을 검출하면 허상키를 쉽게 검출해 제거할 수 있음을 알 수 있다.According to the above experimental results, it can be seen that the virtual key can be easily detected and removed by detecting the voltage using Micom's analog-to-digital conversion.

경계값의 설정Boundary value setting

이상의 실험결과에 따라 현재 검출된 전압이 정상키인지 허상키인지의 경계값을 정할 수 있다.According to the above experimental results, it is possible to determine the boundary value of whether the currently detected voltage is a normal key or a virtual key.

[표 2]에서 정상키 전압 평균을 구하면 1.453V이고, 허상키 전압 평균을 구하면 2.439V이므로 이들의 중간값인 1.946V가 경계전압이 되며, 이를 마이컴의 8-비트 아날로그-디지털 변환기로 변환하면 166, 즉 16진수로 0xA6이 판단 경계값이 된다. 단, 이는 고무접점 스위치의 고유저항이 약 1.1㏀일 경우의 값이다.In Table 2, the normal key voltage average is 1.453V, and the virtual key voltage average is 2.439V, so the median value of 1.946V becomes the boundary voltage. When this is converted to Micom's 8-bit analog-to-digital converter, 166, that is, 0xA6 in hexadecimal becomes a judgment boundary value. However, this is the value when the natural resistance of the rubber contact switch is about 1.1㏀.

[본 발명의 실시예][Example of the present invention]

도 13은 본 발명의 실시예에 의한 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법을 구현하기 위한 하드웨어 구성을 나타낸 도면이다.13 is a view showing a hardware configuration for implementing a virtual key phenomenon removal method of an infrared remote control with a rubber contact switch according to an embodiment of the present invention.

본 발명의 실시예에 의한 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법을 구현하기 위한 하드웨어는, 도 13에 도시된 바와 같이, 마이컴(100), 매트릭스 형태의 키패드(200) 및 적외선 LED(310, 320)를 포함한다.Hardware for implementing the virtual key phenomenon removal method of the infrared remote control with a rubber contact switch according to an embodiment of the present invention, as shown in Figure 13, the microcomputer 100, the matrix type keypad 200 and infrared LED (310, 320).

마이컴(100)은 매트릭스 형태의 키패드(200)와 행 입력 포트 및 열 포트를 통해 서로 데이터 통신 가능하며, 본 발명의 전체 구성요소를 제어하는 역할을 한다. The microcomputer 100 is capable of data communication with each other through a matrix-type keypad 200 and a row input port and a column port, and serves to control all components of the present invention.

매트릭스 형태의 키패드(200)는 복수의 스위치가 매트릭스 형태로 배열된 키패드를 의미하며 마이컴(100)과 서로 데이터를 주고받는다.The matrix-type keypad 200 refers to a keypad in which a plurality of switches are arranged in a matrix form, and exchanges data with the microcomputer 100.

적외선 LED(310, 320)는 마이컴(100)으로부터 디지털 신호를 입력받아 적외선 형태로 송신하는 역할을 한다. The infrared LEDs 310 and 320 receive digital signals from the microcomputer 100 and transmit them in the form of infrared rays.

위와 같이 구성된 고무접점 스위치를 구비한 리모컨의 하드웨어를 이용한 본 발명의 실시예에 의한 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법을 설명하기로 한다.A method of removing the virtual key phenomenon of the infrared remote controller having the rubber contact switch according to the embodiment of the present invention using the hardware of the remote control having the rubber contact switch configured as described above will be described.

도 15a 및 도 15b는 본 발명의 실시예에 의한 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법을 설명하기 위한 플로우챠트로서, 여기서 S는 스텝(step)을 의미한다.15A and 15B are flowcharts for explaining a method of removing a virtual key phenomenon of an infrared remote control having a rubber contact switch according to an embodiment of the present invention, where S denotes a step.

먼저, 마이컴(100)에 전원이 투입되어 리셋이 발생하면 행 입력 포트 및 열 포트의 입력 및 출력의 방향 설정을 포함하는 하드웨어 초기화가 수행된다(S10).First, when power is supplied to the microcomputer 100 and reset occurs, hardware initialization including setting the input and output directions of the row input port and the column port is performed (S10).

이어서, 마이컴(100)이 온(ON) 동작된 스위치의 행, 열 번호와 스위치의 오토 리피트(auto repeat) 상태를 나타내는 타이머 변수를 저장하는 온(ON) 배열의 변수를 포함하는 변수를 초기한다(S20).Subsequently, the microcomputer 100 initializes a variable including a variable in an ON array that stores a timer variable indicating a row, column number, and auto repeat state of the switch in which the ON operation is performed. (S20).

본 발명의 방법을 구현하기 위한, 고무접점 스위치를 구비한 적외선 리모컨의 경우 동시에 4개, 필요에 따라 그 이상의 스위치를 모두 처리해야 하며, 또한 어떤 스위치를 계속 온 동작시키고 있는 경우 자동으로 동일 신호가 반복(오토-리피트)되어야 하므로 온 동작된 것으로 판정된 스위치들은 도 14에 도시된 바와 같은 온(On)-배열의 표를 이용해 그 스위치의 행열 번호와 스위치의 오토-리피트 상태를 나타내는 타이머 변수를 저장한다.In order to implement the method of the present invention, in the case of an infrared remote controller equipped with a rubber contact switch, four or more switches must be processed at the same time, and if the switch is continuously operated, the same signal is automatically generated. Switches that are determined to have been turned on because they have to be repeated (auto-repeat) use the on-array table as shown in FIG. 14 to set the timer number indicating the row number of the switch and the auto-repeat state of the switch. To save.

이후, 마이컴(100)은 열 카운터를 초기화하고(S30), 키패드(200)의 검사할 스위치 열의 포트에 로우(Low) 신호를 출력하며(S40), 로우 신호를 입력받은 스위치 열의 출력이 마이컴(100)으로 출력될 수 있도록 해당 스위치 열의 포트를 출력방향으로 설정한다(S50).Subsequently, the microcomputer 100 initializes the column counter (S30), outputs a low signal to the port of the switch row to be inspected of the keypad 200 (S40), and outputs the switch row that received the low signal to the microcomputer ( 100) so that the port of the corresponding switch column is set to the output direction (S50).

이어서, 마이컴(100)은 행 카운터를 초기화하고(S60), 현재의 열과 행에 해당하는 스위치가 도 14에 도시된 온 배열의 표에 등록 되어 있는지의 여부를 확인하고(S70), 스텝(S70)에서 현재의 열과 행에 해당하는 스위치가 등록되어 있다면(YES), 이전부터 온 동작된 스위치이므로 온(On) 스위치에 대한 처리를 행한다(S90).Subsequently, the microcomputer 100 initializes the row counter (S60), checks whether or not the switch corresponding to the current column and row is registered in the on-array table shown in FIG. 14 (S70), and step (S70). ), If a switch corresponding to the current column and row is registered (YES), since the switch has been operated from before, processing for the on switch is performed (S90).

스텝(S90)에 대해서 도 17을 참고하여 상세히 설명하기로 한다.Step S90 will be described in detail with reference to FIG. 17.

먼저, 마이컴(100)이 현재의 열과 행에 해당하는 스위치로부터의 입력 전압을 아날로그-디지털 변환하고(S91), 디지털 변환 값이 경계 값 이하 인지의 여부를 확인한다(S92).First, the microcomputer 100 performs analog-to-digital conversion of the input voltage from the switch corresponding to the current column and row (S91), and checks whether the digital conversion value is less than or equal to the boundary value (S92).

상기 스텝(S92)에서 디지털 변환 값이 경계 값 이하이면(YES), 해당하는 스위치가 여전히 눌려 있는 것이므로, 마이컴(100)은 이 스위치의 타이머 변수를 1 감소시키고(S93), 해당 스위치의 타이머 변수가 0 인지의 여부를 판단한다(S94).If the digital conversion value in the step (S92) is less than or equal to the boundary value (YES), since the corresponding switch is still pressed, the microcomputer 100 decreases the timer variable of this switch by 1 (S93), and the timer variable of the corresponding switch It is determined whether or not is 0 (S94).

상기 스텝(S94)에서 해당 스위치의 타이머 변수가 0이 아니면(NO) 동작을 종료한다.In step S94, if the timer variable of the corresponding switch is not 0 (NO), the operation ends.

한편, 상기 스텝(S94)에서 해당 스위치의 타이머 변수가 0 이면(YES), 마이컴(100)은 스위치의 다음 오토 리피트(auto repeat)를 위해 타이머 변수를 재설정하고(S95), 해당 스위치에 해당하는 디지털 코드를 적외선 LED(310, 320)를 통해 발신한 후(S96), 동작을 종료한다.On the other hand, if the timer variable of the corresponding switch is 0 in the step S94 (YES), the microcomputer 100 resets the timer variable for the next auto repeat of the switch (S95), and corresponds to the corresponding switch. After transmitting the digital code through the infrared LED (310, 320) (S96), the operation ends.

한편, 상기 스텝(S92)에서 디지털 변환 값이 경계 값 보다 크면(NO), 마이컴(100)은 현재 스위치의 행열 번호를 온 배열에서 제거한 후(S97), 채터링 제거를 위해 설정시간 지연시킨 후(S98), 동작을 종료한다.On the other hand, if the digital conversion value in the step (S92) is greater than the boundary value (NO), the microcomputer 100 removes the row number of the current switch from the on array (S97), and then delays the set time to remove chattering. (S98), the operation ends.

이어서, 스텝(S90)이 완료되면, 마이컴(100)은 다음 스위치의 처리를 위해 행 카운터를 감소시키고(S100), 행의 끝인지의 여부를 확인한다(S110).Subsequently, when step S90 is completed, the microcomputer 100 decrements the row counter for processing of the next switch (S100), and checks whether it is the end of the row (S110).

상기 스텝(S110)에서 행의 끝이면(YES), 마이컴(100)은 현재 열의 포트 방향을 입력으로 설정해 포트 핀이 플로팅 되도록 하고(S120), 열 카운터를 감소한다(S130).In step S110, if the end of the row (YES), the microcomputer 100 sets the port direction of the current column as an input so that the port pins float (S120), and decreases the column counter (S130).

이어서, 마이컴(100)은 현재 열이 끝인지의 여부를 확인한다(S140).Subsequently, the microcomputer 100 checks whether the current column is the end (S140).

상기 스텝(S140)에서 현재 열이 끝일 경우(YES) 상기 스텝(S30)로 진행되는 한편, 현재 열이 끝이 아닐 경우(NO) 상기 스텝(S40)으로 진행된다.In step S140, if the current column ends (YES), the process proceeds to step S30, while when the current column does not end (NO), the process proceeds to step S40.

한편, 상기 스텝(S110)에서 행의 끝이 아니면(NO) 상기 스텝(S70)으로 진행된다.On the other hand, if it is not the end of the row in step S110 (NO), the process proceeds to step S70.

한편, 상기 스텝(S70)에서 현재의 열과 행에 해당하는 스위치가 온 배열에 등록되어 있지 않다면(NO), 이전부터 오프 동작된 스위치이므로, 마이컴(100)은 오프(Off) 스위치에 대한 처리를 행한 후(S80), 상기 스텝(S100)으로 진행된다.On the other hand, if the switch corresponding to the current column and row is not registered in the on-array in step S70 (NO), since it is a switch operated before, the micom 100 processes the off switch. After performing (S80), the process proceeds to step S100.

상기 스텝(S80)에 대해 도 16을 참고하여 설명하기로 한다.The step S80 will be described with reference to FIG. 16.

먼저, 마이컴(100)이 현재의 열과 행에 해당하는 스위치로부터의 입력 전압을 아날로그-디지털 변환하고(S81), 디지털 변환 값이 경계 값 이하 인지의 여부를 확인한다(S82).First, the microcomputer 100 performs analog-to-digital conversion of the input voltage from the switch corresponding to the current column and row (S81), and checks whether the digital conversion value is less than or equal to the boundary value (S82).

상기 스텝(S82)에서 디지털 변환 값이 상기 경계 값 보다 크면(NO) 동작을 종료한다.If the digital conversion value is greater than the boundary value in step S82 (NO), the operation ends.

한편, 상기 스텝(S82)에서 디지털 변환 값이 상기 경계 값 이하이면(YES) 해당하는 스위치가 온 동작되어 있는 것이므로, 마이컴(100)은 해당 스위치의 행열 번호를 온 배열에 등록하고(S83), 해당 스위치의 타이머 변수를 초기화한 후(S84), 해당 스위치에 해당하는 디지털 코드를 적외선 LED(310, 320)를 통해 발신하고(S85), 스위치가 새롭게 눌린 상태이므로 이 때 발생하는 채터링을 제거하기 위해 잠시 시간을 지연시킨 후(S86) 동작을 종료한다.On the other hand, if the digital conversion value in the step (S82) is less than or equal to the boundary value (YES), the corresponding switch is on, so the microcomputer 100 registers the row number of the switch in the on-array (S83), After initializing the timer variable of the switch (S84), the digital code corresponding to the switch is transmitted through the infrared LEDs (310, 320) (S85), and the chattering that occurs at this time is removed because the switch is newly pressed. To delay the time for a while (S86), the operation ends.

한편, 본 발명의 실시형태에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법은 적외선 리모컨뿐만 아니라 고무접점 스위치를 이용하는 다른 기기, 예를 들어 전자계산기, 장난감 건반 악기, 게임용 조이패드, 소형 컴퓨터의 고무접점 키보드 등에서도 모두 적용 가능하다.On the other hand, according to an embodiment of the present invention, the method for removing the virtual key phenomenon of the infrared remote control with the rubber contact switch is not only the infrared remote control but also other devices using the rubber contact switch, for example, an electronic calculator, a toy keyboard musical instrument, a game joypad, It can be applied to all rubber contact keyboards of small computers.

상기와 같이 구성된 본 발명의 실시예에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법에 의하면, 마이컴에 전원이 투입되어 리셋이 발생하면 행 입력 포트 및 열 포트의 입력 및 출력의 방향 설정을 포함하는 하드웨어 초기화가 수행되는 단계(S10); 상기 마이컴이 온(ON) 동작된 스위치의 행, 열 번호와 스위치의 오토 리피트(auto repeat) 상태를 나타내는 타이머 변수를 저장하는 온(ON) 배열의 변수를 포함하는 변수를 초기화하는 단계(S20); 상기 마이컴에 의해 열 카운터를 초기화하는 단계(S30); 상기 마이컴에 의해 검사할 스위치 열의 포트에 로우(Low) 신호를 출력하는 단계(S40); 상기 마이컴은 상기 로우 신호를 입력받은 스위치 열의 출력이 상기 마이컴으로 출력될 수 있도록 해당 스위치 열의 포트를 출력방향으로 설정하는 단계(S50); 상기 마이컴에 의해 행 카운터를 초기화하는 단계(S60); 상기 마이컴이 현재의 열과 행에 해당하는 스위치가 온 배열에 등록 되어 있는지의 여부를 확인하는 단계(S70); 상기 등록 여부 확인 단계(S70)에서 현재의 열과 행에 해당하는 스위치가 등록되어 있다면, 이전부터 온 동작된 스위치이므로 상기 마이컴에 의해 온(On) 스위치에 대한 처리를 행하는 단계(S90); 상기 온 스위치에 대한 처리가 완료되면 상기 마이컴이 다음 스위치의 처리를 위해 행 카운터를 감소시키는 단계(S100); 상기 마이컴이 행의 끝인지의 여부를 확인하는 단계(S110); 상기 행 끝 여부 확인 단계(S110)에서 행의 끝이면, 상기 마이컴에 의해 현재 열의 포트 방향을 입력으로 설정해 포트 핀이 플로팅 되도록 하는 단계(S120); 상기 마이컴에 의해 열 카운터를 감소하는 단계(S130); 및 상기 마이컴에 의해 현재 열이 끝인지의 여부를 확인하는 단계(S140);를 포함하며, 상기 열 끝 여부 확인 단계(S140)에서 현재 열이 끝일 경우, 상기 마이컴에 의해 열 카운터를 초기화하는 단계(S30)로 진행;되도록 구성됨으로써, 추가적인 하드웨어 없이 고무접점 스위치의 특성을 이용해 허상키 현상을 제거할 수 있다. According to the embodiment of the present invention configured as described above, according to the virtual key removal method of the infrared remote control with a rubber contact switch, when power is supplied to the microcomputer and reset occurs, the input and output of the row input port and the column port are generated. Hardware initialization including the direction setting is performed (S10); Initializing a variable including a variable in an ON array that stores a timer variable indicating a row, column number, and auto repeat state of the switch in which the microcomputer is turned on (S20). ; Initializing a heat counter by the microcomputer (S30); Outputting a low signal to a port of a switch row to be inspected by the microcomputer (S40); The micom setting a port of the corresponding switch row in the output direction so that the output of the switch row receiving the low signal can be output to the micom (S50); Initializing a row counter by the microcomputer (S60); Checking whether the microcomputer is registered in an on-array switch corresponding to the current column and row (S70); If a switch corresponding to the current column and row is registered in the registration confirmation step (S70), since the switch has been operated on before, performing a process for the on switch by the microcomputer (S90); When the processing for the on-switch is completed, the microcomputer decrementing a row counter for processing of the next switch (S100); Checking whether the micom is the end of a row (S110); If it is the end of the line in the checking whether the end of the line (S110), setting the port direction of the current column as an input by the micom so that the port pin is floated (S120); Decreasing the heat counter by the microcomputer (S130); And a step (S140) of checking whether the current column is the end by the microcomputer; initializing a column counter by the microcomputer when the current column is finished in the step (140) of checking whether the current column is over or not. Proceeding to (S30); by being configured to eliminate the virtual key phenomenon by using the characteristics of the rubber contact switch without additional hardware.

좀 더 상세하게는, 본 발명의 실시예에 의한, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법에 의하면, 고무접점 스위치의 단점으로 알려진 접점 부분의 고유저항을 역으로 이용해 이를 허상키의 검출용으로 사용하는 방법을 제시하였으며, 이에 따라 별도의 하드웨어의 추가 없이 기존의 리모컨에서 사용되던 풀-업 저항의 값만 조절하여 정상키와 허상키일 때 각각 발생되는 전압이 다르도록 구성함으로써, 최종적으로 마이컴은 이 전압을 아날로그-디지털 변환해 정상키인 경우만 처리함으로써 허상키가 제거될 수 있다.In more detail, according to an embodiment of the present invention, according to a method for removing a virtual key phenomenon of an infrared remote control having a rubber contact switch, the virtual resistance of the contact part known as a disadvantage of the rubber contact switch is reversely used to generate the virtual key. The method to be used for the detection of was proposed, and accordingly, by adjusting only the values of the pull-up resistors used in the existing remote control without adding additional hardware, the voltages generated when the normal key and the virtual key are different are finally configured. As a result, the micom can remove the virtual key by converting this voltage to analog-digital conversion and processing only the normal key.

도면과 명세서에는 최적의 실시예가 개시되었으며, 특정한 용어들이 사용되었으나 이는 단지 본 발명의 실시형태를 설명하기 위한 목적으로 사용된 것이지 의미를 한정하거나 특허 청구범위에 기재된 본 발명의 범위를 제한하기 위하여 사용된 것은 아니다. 그러므로 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시예가 가능하다는 점을 이해할 수 있을 것이다. 따라서 본 발명의 진정한 기술적 보호범위는 첨부된 특허청구범위의 기술적 사상에 의해 정해져야 할 것이다.In the drawings and the specification, an optimal embodiment has been disclosed, and specific terms have been used, but this is only for the purpose of describing the embodiments of the present invention, and is used to limit the meaning or limit the scope of the present invention described in the claims. It is not done. Therefore, those skilled in the art will appreciate that various modifications and other equivalent embodiments are possible. Therefore, the true technical protection scope of the present invention should be determined by the technical spirit of the appended claims.

100: 마이컴
200: 매트릭스 형태의 키패드
310, 320: 적외선 LED
100: microcomputer
200: matrix type keypad
310, 320: infrared LED

Claims (6)

복수의 스위치가 매트릭스 형태로 배열된 키패드(200), 상기 키패드와 행 입력 포트 및 열 포트를 통해 데이터 통신 가능한 마이컴(100), 및 상기 마이컴으로부터 디지털 신호를 입력받아 적외선 형태로 송신하는 적외선 LED(310, 320)를 포함하는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법으로서,
마이컴에 전원이 투입되어 리셋이 발생하면 행 입력 포트 및 열 포트의 입력 및 출력의 방향 설정을 포함하는 하드웨어 초기화가 수행되는 단계(S10);
상기 마이컴이 온(ON) 동작된 스위치의 행, 열 번호와 스위치의 오토 리피트(auto repeat) 상태를 나타내는 타이머 변수를 저장하는 온(ON) 배열의 변수를 포함하는 변수를 초기화하는 단계(S20);
상기 마이컴에 의해 열 카운터를 초기화하는 단계(S30);
상기 마이컴에 의해 검사할 스위치 열의 포트에 로우(Low) 신호를 출력하는 단계(S40);
상기 마이컴은 상기 로우 신호를 입력받은 스위치 열의 출력이 상기 마이컴으로 출력될 수 있도록 해당 스위치 열의 포트를 출력방향으로 설정하는 단계(S50);
상기 마이컴에 의해 행 카운터를 초기화하는 단계(S60);
상기 마이컴이 현재의 열과 행에 해당하는 스위치가 온 배열에 등록 되어 있는지의 여부를 확인하는 단계(S70);
상기 등록 여부 확인 단계(S70)에서 현재의 열과 행에 해당하는 스위치가 등록되어 있다면, 이전부터 온 동작된 스위치이므로 상기 마이컴에 의해 온(On) 스위치에 대한 처리를 행하는 단계(S90);
상기 온 스위치에 대한 처리가 완료되면 상기 마이컴이 다음 스위치의 처리를 위해 행 카운터를 감소시키는 단계(S100);
상기 마이컴이 행의 끝인지의 여부를 확인하는 단계(S110);
상기 행 끝 여부 확인 단계(S110)에서 행의 끝이면, 상기 마이컴에 의해 현재 열의 포트 방향을 입력으로 설정해 포트 핀이 플로팅 되도록 하는 단계(S120);
상기 마이컴에 의해 열 카운터를 감소하는 단계(S130); 및
상기 마이컴에 의해 현재 열이 끝인지의 여부를 확인하는 단계(S140);를 포함하며,
상기 열 끝 여부 확인 단계(S140)에서 현재 열이 끝일 경우, 상기 마이컴에 의해 열 카운터를 초기화하는 단계(S30)로 진행되며,
상기 등록 여부 확인 단계(S70)에서 현재의 열과 행에 해당하는 스위치가 등록되어 있지 않다면, 이전부터 오프 동작된 스위치이므로 상기 마이컴에 의해 오프(Off) 스위치에 대한 처리를 행하는 단계(S80)를 더 포함하며,
상기 오프 스위치 처리 단계(S80) 이후 상기 행 카운터 감소 단계(S100)로 진행되는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법.
A keypad 200 in which a plurality of switches are arranged in a matrix form, a micom 100 capable of data communication through the keypad and a row input port and a column port, and an infrared LED that receives digital signals from the micom and transmits them in infrared form ( 310, 320), as a method of removing the virtual key phenomenon of the infrared remote control having a rubber contact switch,
A step of performing hardware initialization including setting the input and output directions of the row input port and the column port (S10) when reset occurs when power is supplied to the microcomputer;
Initializing a variable including a variable in an ON array that stores a timer variable indicating a row, column number, and auto repeat state of the switch in which the microcomputer is turned on (S20). ;
Initializing a heat counter by the microcomputer (S30);
Outputting a low signal to a port of a switch row to be inspected by the microcomputer (S40);
The microcomputer setting the port of the corresponding switch row in the output direction so that the output of the switch row receiving the low signal can be output to the microcomputer (S50);
Initializing a row counter by the microcomputer (S60);
Checking whether the switch corresponding to the current column and row is registered in the on-array (S70);
If the switch corresponding to the current column and row is registered in the registration confirmation step (S70), since the switch has been operated on before, performing a process for the on switch by the microcomputer (S90);
When the processing for the on-switch is completed, the microcomputer decrementing a row counter for processing of the next switch (S100);
Checking whether the micom is the end of a row (S110);
If it is the end of the line in the checking whether the end of the line (S110), setting the port direction of the current column as an input by the micom so that the port pin is floated (S120);
Decreasing the heat counter by the microcomputer (S130); And
Including the step of checking whether the current column is the end by the microcomputer (S140);
If the current column ends in the checking whether the end of the column (S140), the process proceeds to the step (S30) of initializing the column counter by the micom,
If the switch corresponding to the current column and row is not registered in the registration confirmation step (S70), it is a switch that has been operated off before (S80). Includes,
After the off-switch processing step (S80), the method proceeds to the row counter reduction step (S100), a method for removing the virtual key phenomenon of the infrared remote control with a rubber contact switch.
삭제delete 제 1 항에 있어서,
상기 열 끝 여부 확인 단계(S140)에서 현재 열이 끝이 아닐 경우, 상기 로우 신호 출력 단계(S40)로 진행되는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법.
According to claim 1,
If the current column is not the end in the checking whether the end of the column (S140), the process proceeds to the low signal output step (S40), a virtual key removal method of the infrared remote control with a rubber contact switch.
제 1 항에 있어서,
상기 행 끝 여부 확인 단계(S110)에서 행의 끝이 아닐 경우, 상기 등록 여부 확인 단계(S70)로 진행되는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법.
According to claim 1,
If it is not the end of the line in the step (S110) of checking whether the end of the line, proceed to the step of checking whether the registration (S70), the virtual key removal method of the infrared remote control with a rubber contact switch.
제 1 항에 있어서,
상기 온 스위치 처리 단계(S90)는,
상기 마이컴이 상기 현재의 열과 행에 해당하는 스위치로부터의 입력 전압을 아날로그-디지털 변환하는 단계(S91);
상기 마이컴에 의해 디지털 변환 값이 경계 값 이하 인지의 여부를 확인하는 단계(S92);
상기 디지털 변환 값이 경계 값 이하이면 상기 해당하는 스위치가 여전히 눌려 있는 것이므로 상기 마이컴에 의해 이 스위치의 타이머 변수를 1 감소시키는 단계(S93);
상기 마이컴에 의해 상기 스위치의 타이머 변수가 0 인지의 여부를 판단하는 단계(S94);
상기 0 인지의 여부 판단 단계(S94)에서 상기 스위치의 타이머 변수가 0이 아니면 종료하는 한편, 상기 스위치의 타이머 변수가 0 이면 상기 마이컴에 의해 상기 스위치의 다음 오토 리피트(auto repeat)를 위해 타이머 변수를 재설정하는 단계(S95);
상기 마이컴이 상기 스위치에 해당하는 디지털 코드를 적외선 LED(310, 320)를 통해 발신하는 단계(S96);
상기 디지털 변환 값이 경계 값 이하 인지의 여부 확인 단계(S92)에서 디지털 변환 값이 상기 경계 값 보다 크면, 상기 마이컴은 현재 스위치의 행열 번호를 온 배열에서 제거하는 단계(S97); 및
상기 마이컴이 채터링 제거를 위해 기 설정시간 동안 지연시키는 단계(S98);를 포함하는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법.
According to claim 1,
The on-switch processing step (S90),
An analog-digital conversion of the input voltage from the switch corresponding to the current column and row by the microcomputer (S91);
Checking whether the digital conversion value is less than or equal to a boundary value by the microcomputer (S92);
If the digital conversion value is less than or equal to the boundary value, the corresponding switch is still depressed, so the timer variable of the switch is decreased by 1 by the microcomputer (S93);
Determining whether the timer variable of the switch is 0 by the microcomputer (S94);
In step S94, if the timer variable of the switch is not 0, the timer variable is terminated when the timer variable of the switch is 0, and if the timer variable of the switch is 0, the timer variable for the next auto repeat of the switch by the microcomputer. Resetting (S95);
The microcomputer transmitting a digital code corresponding to the switch through infrared LEDs 310 and 320 (S96);
If the digital conversion value is greater than the boundary value in the checking whether the digital conversion value is less than or equal to the boundary value (S92), the microcomputer removes the row number of the current switch from the array (S97); And
Including the step of delaying the microcomputer for a predetermined time to remove chattering (S98); including, the virtual key removal method of the infrared remote control with a rubber contact switch.
제 1 항에 있어서,
상기 오프(Off) 스위치 처리 단계(S80)는,
상기 마이컴이 상기 현재의 열과 행에 해당하는 스위치로부터의 입력 전압을 아날로그-디지털 변환하는 단계(S81);
상기 마이컴에 의해 디지털 변환 값이 경계 값 이하 인지의 여부를 확인하는 단계(S82);
상기 디지털 변환 값이 경계 값 보다 크면 종료하는 한편, 상기 디지털 변환 값이 경계 값 이하이면 상기 해당하는 스위치가 눌려 있는 것이므로 상기 마이컴에 의해 이 스위치의 행열 번호를 온 배열에 등록하는 단계(S83);
상기 마이컴에 의해 상기 스위치의 타이머 변수를 초기화하는 단계(S84);
상기 마이컴이 상기 스위치에 해당하는 디지털 코드를 적외선 LED(310, 320)를 통해 발신하는 단계(S85); 및
상기 스위치가 새롭게 눌린 상태이므로 이 때 발생하는 채터링을 제거하기 위해 상기 마이컴에 의해 기 설정시간 동안 지연시키는 단계(S86);를 포함하는, 고무접점 스위치를 구비한 적외선 리모컨의 허상키 현상 제거 방법.
According to claim 1,
The off (Off) switch processing step (S80),
An analog-digital conversion of the input voltage from the switch corresponding to the current column and row by the microcomputer (S81);
Checking whether the digital conversion value is less than or equal to a boundary value by the microcomputer (S82);
When the digital conversion value is greater than the boundary value, the process is terminated. If the digital conversion value is less than or equal to the boundary value, the corresponding switch is depressed. Then, by the microcomputer, registering the row number of the switch to the on array (S83);
Initializing the timer variable of the switch by the microcomputer (S84);
The microcomputer transmitting the digital code corresponding to the switch through the infrared LED (310, 320) (S85); And
Since the switch is in a newly pressed state, delaying for a predetermined time by the microcomputer (S86) in order to remove chattering occurring at this time, including; Virtual image removal method of the infrared remote control with a rubber contact switch .
KR1020190039507A 2019-04-04 2019-04-04 Method of removing virtual key phenomenon of infrared remote control equipped with conductive rebber contact switch KR102116333B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190039507A KR102116333B1 (en) 2019-04-04 2019-04-04 Method of removing virtual key phenomenon of infrared remote control equipped with conductive rebber contact switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190039507A KR102116333B1 (en) 2019-04-04 2019-04-04 Method of removing virtual key phenomenon of infrared remote control equipped with conductive rebber contact switch

Publications (1)

Publication Number Publication Date
KR102116333B1 true KR102116333B1 (en) 2020-05-28

Family

ID=70920174

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190039507A KR102116333B1 (en) 2019-04-04 2019-04-04 Method of removing virtual key phenomenon of infrared remote control equipped with conductive rebber contact switch

Country Status (1)

Country Link
KR (1) KR102116333B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110043198A (en) 2009-10-21 2011-04-27 엘지에릭슨 주식회사 Key input device for removing gost key
KR20170058131A (en) * 2015-11-18 2017-05-26 공주대학교 산학협력단 Circuit and method for detecting phantom key in keyboard
KR20180002226A (en) * 2016-06-29 2018-01-08 주식회사 웨스팅하우스코리아 Remocon having locking function, and image system having the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110043198A (en) 2009-10-21 2011-04-27 엘지에릭슨 주식회사 Key input device for removing gost key
KR20170058131A (en) * 2015-11-18 2017-05-26 공주대학교 산학협력단 Circuit and method for detecting phantom key in keyboard
KR20180002226A (en) * 2016-06-29 2018-01-08 주식회사 웨스팅하우스코리아 Remocon having locking function, and image system having the same

Similar Documents

Publication Publication Date Title
US8700829B2 (en) Systems and methods for implementing a multi-function mode for pressure sensitive sensors and keyboards
US7123241B2 (en) Quantitatively force-sensing computer keyboard
US9454239B2 (en) Enabling touch events on a touch sensitive mechanical keyboard
US8780048B2 (en) Membrane keyboard scan circuit, scan method and keyboard having the same
US20100321214A1 (en) Touch sensing method for resistive type touch apparatus
US7158056B2 (en) Method and apparatus for scanning a key or button matrix
US20100066572A1 (en) Resistive switch matrix
US20080088589A1 (en) Scanning circuit and method for keyboard
US5818426A (en) Peripheral-computer interfacing system and method
KR101749336B1 (en) Circuit and method for detecting phantom key in keyboard
US20070247339A1 (en) Keyboard without ghost keys
KR102116333B1 (en) Method of removing virtual key phenomenon of infrared remote control equipped with conductive rebber contact switch
US6717568B1 (en) Method of controlling the movement of a position indicating item, storage medium on which a program implementing said method is stored, and electronic device
US8253604B2 (en) Keyboard scanning circuit
CN104423616B (en) Input device and control unit
JP5075205B2 (en) Microcomputer system
US10817075B2 (en) Keyboard control system and computer input system allowing a single pin to correspond to a single key when pressed on the keyboard key
KR100653864B1 (en) Keyboard formed thin film and signal processing method thereof
US4470037A (en) Input device for electronic apparatus
US11449172B1 (en) Touch control apparatus and touch panel thereof
US20050068303A1 (en) Key inputting circuit of electronic device
CN208145438U (en) A kind of game paddle
TW201314503A (en) Apparatus and scanning method for key input
US20200272253A1 (en) Pressure sensing mouse
US20220171472A1 (en) Key scanning method and input device implemented therewith

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant